/* Social Scale Studio — design tokens + full UI (matches reference) */
:root {
  --color-primary: #2563EB;
  --color-primary-dark: #1D4ED8;
  --color-secondary: #7C3AED;
  --color-accent: #EC4899;
  --color-success: #22C55E;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --color-dark: #0F172A;
  --color-dark-2: #111827;
  --color-text: #1E293B;
  --color-muted: #64748B;
  --color-border: #E2E8F0;
  --color-bg: #F8FAFC;
  --color-white: #FFFFFF;

  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --text: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --page-bg: #F8FAFC;
  --header-bg: rgba(255, 255, 255, 0.92);

  --grad-brand: linear-gradient(135deg, #2563EB 0%, #7C3AED 50%, #EC4899 100%);
  --grad-hero: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 35%, #F5D0FE 70%, #FCE7F3 100%);
  --grad-offer: linear-gradient(115deg, #2563EB 0%, #7C3AED 48%, #EC4899 100%);
  --grad-newsletter: linear-gradient(115deg, #1D4ED8 0%, #6D28D9 55%, #9333EA 100%);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-card: 18px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, .08);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 48px rgba(15, 23, 42, .12);

  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container: 1320px;
  --header-h: 72px;
  --announce-h: 40px;
  --focus: 0 0 0 3px rgba(37, 99, 235, .35);
}

html[data-theme="dark"] {
  --surface: #111827;
  --surface-2: #0B1220;
  --text: #E2E8F0;
  --text-muted: #94A3B8;
  --border: #1F2937;
  --page-bg: #0B1220;
  --header-bg: rgba(17, 24, 39, 0.92);
  --color-bg: #0B1220;
  --color-white: #111827;
  --color-text: #E2E8F0;
  --color-muted: #94A3B8;
  --color-border: #1F2937;
  --color-dark: #0F172A;
  --grad-hero: linear-gradient(135deg, #0F172A 0%, #1E1B4B 40%, #4C1D95 70%, #831843 100%);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .35);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, .4);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; color: var(--text); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 9999;
  background: var(--color-primary); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.muted { color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  border: 2px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--color-primary); color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .28);
}
.btn--primary:hover { background: var(--color-primary-dark); }
.btn--secondary {
  background: var(--surface); color: var(--text); border-color: var(--border);
}
.btn--secondary:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--outline {
  background: transparent; color: var(--color-primary); border-color: var(--color-primary);
}
.btn--outline:hover { background: rgba(37, 99, 235, .08); }
.btn--ghost { background: transparent; color: var(--text); }
.btn--sm { min-height: 38px; padding: 6px 16px; font-size: 14px; }
.btn--lg { min-height: 52px; padding: 12px 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--icon {
  width: 44px; height: 44px; min-height: 44px; padding: 0;
  border-radius: var(--radius-sm);
  background: var(--surface); border: 1.5px solid var(--border); color: var(--text);
}
.btn--icon:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn--cart { flex-shrink: 0; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  color: var(--text); transition: background .15s ease, color .15s ease;
  position: relative;
}
.icon-btn:hover { background: var(--surface-2); color: var(--color-primary); }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; font-family: var(--font-display);
  line-height: 1.3;
}
.badge--purple { background: rgba(124, 58, 237, .12); color: #6D28D9; }
html[data-theme="dark"] .badge--purple { background: rgba(167, 139, 250, .15); color: #C4B5FD; }
.badge--card {
  background: #FEF3C7; color: #B45309; font-size: 11px; padding: 4px 8px;
  align-self: flex-start; white-space: nowrap;
}
.badge--trending { background: #DCFCE7; color: #15803D; }
.badge--hot { background: #FEE2E2; color: #B91C1C; }

.demo-chip {
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border);
  padding: 1px 6px; border-radius: var(--radius-pill); margin-left: 6px;
}

.alert {
  padding: 12px 16px; border-radius: var(--radius-md); margin-bottom: 8px; font-size: 14px;
  border: 1px solid var(--border); background: var(--surface);
}
.alert--success { border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .1); color: #15803D; }
.alert--error { border-color: rgba(239, 68, 68, .4); background: rgba(239, 68, 68, .1); color: #B91C1C; }

/* Stars */
.stars { display: inline-flex; gap: 1px; color: #CBD5E1; font-size: var(--star-size, 14px); line-height: 1; }
.star--on { color: #FBBF24; }

/* Platform icons */
.platform-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; color: #fff; flex-shrink: 0;
}
.platform-icon--sm { width: 28px; height: 28px; border-radius: 8px; }
.platform-icon--sm svg { width: 16px; height: 16px; }
.platform-icon--ig { background: linear-gradient(135deg, #F58529, #DD2A7B 50%, #8134AF); }
.platform-icon--yt { background: #FF0000; }
.platform-icon--tt { background: #0F172A; }
html[data-theme="dark"] .platform-icon--tt { background: #1E293B; border: 1px solid #334155; }
.platform-icon--fb { background: #1877F2; }
.platform-icon--tw { background: #0F172A; }
html[data-theme="dark"] .platform-icon--tw { background: #000; border: 1px solid #334155; }
.platform-icon--tg { background: #26A5E4; }
.platform-icon--sp { background: #1DB954; }
.platform-icon--dc { background: #5865F2; }
.platform-icon--in { background: #0A66C2; }
.platform-icon--ot { background: #64748B; }

/* Announcement — advanced auto-running slider bar */
.announce {
  background: linear-gradient(90deg, #020617 0%, #1E1B4B 45%, #4C1D95 80%, #6D28D9 100%);
  color: #E2E8F0; font-size: 13px;
  min-height: var(--announce-h); display: flex; align-items: center;
  position: relative; z-index: 60; overflow: hidden;
}
.announce::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 140px; left: -180px;
  transform: skewX(-18deg); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
  animation: announceShine 6s ease-in-out infinite;
}
@keyframes announceShine { 0%, 55% { left: -180px; } 100% { left: 110%; } }
html[data-theme="dark"] .announce { background: linear-gradient(90deg, #020617 0%, #1E1B4B 50%, #3B0764 100%); border-bottom: 1px solid #1E293B; }
.announce__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: min(100% - 32px, var(--container)); padding: 8px 0;
  flex-wrap: wrap; position: relative; z-index: 1;
}
.announce__slider { position: relative; flex: 1 1 auto; min-width: 0; height: 24px; overflow: hidden; }
.announce__track { position: relative; height: 100%; }
.announce__slide {
  position: absolute; inset: 0; margin: 0; font-weight: 500;
  display: flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(110%); transition: opacity .45s ease, transform .45s ease;
}
.announce__slide.is-on { opacity: 1; transform: translateY(0); }
.announce__slide.was-on { opacity: 0; transform: translateY(-110%); }
.announce__slide strong { color: #FDE047; }
.announce__timer { color: #FDE047; font-weight: 700; font-variant-numeric: tabular-nums; }
.announce__code {
  font: inherit; font-weight: 800; letter-spacing: 1.5px; color: #fff;
  background: rgba(255,255,255,.12); border: 1.5px dashed rgba(255,255,255,.6);
  border-radius: 8px; padding: 1px 9px; cursor: pointer; transition: background .15s ease;
}
.announce__code:hover { background: rgba(255,255,255,.25); }
.announce__offer { margin: 0; font-weight: 500; }
.announce__links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.announce__links a {
  display: inline-flex; align-items: center; gap: 6px; color: #CBD5E1;
  transition: color .15s ease;
}
.announce__links a:hover { color: #fff; }
.announce__currency { color: #CBD5E1; font-weight: 500; }
.announce__theme {
  display: inline-flex; align-items: center; gap: 6px; color: #CBD5E1;
  padding: 4px 8px; border-radius: var(--radius-pill);
}
.announce__theme:hover { color: #fff; background: rgba(255,255,255,.08); }
.theme-icon--sun { display: none; }
html[data-theme="dark"] .theme-icon--moon { display: none; }
html[data-theme="dark"] .theme-icon--sun { display: inline-flex; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.logo__mark { display: flex; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name {
  font-family: var(--font-display); font-weight: 700; font-size: 20px; color: var(--color-primary);
  letter-spacing: -.02em;
}
.logo__name-accent {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo__tag { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.logo--footer .logo__name { color: #fff; font-size: 22px; }
.logo--footer .logo__tag { color: #94A3B8; }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: block; padding: 8px 12px; font-size: 15px; font-weight: 500;
  color: var(--text); border-radius: 8px; position: relative;
  transition: color .15s ease, background .15s ease;
}
.nav__link:hover { color: var(--color-primary); background: rgba(37, 99, 235, .06); }
.nav__link.is-active { color: var(--color-primary); font-weight: 600; }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px;
  height: 2px; background: var(--color-primary); border-radius: 2px;
}

.site-header__actions { display: flex; align-items: center; gap: 8px; }
.nav__auth { white-space: nowrap; }
.nav__auth--register { margin-left: 2px; }
.nav__user {
  display: inline-flex; align-items: center; gap: 6px;
  max-width: 140px; font-size: 13px; font-weight: 600; color: var(--text);
  padding: 6px 8px; border-radius: var(--radius-sm, 8px); background: var(--surface-2);
}
.nav__user-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-btn__count {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--color-primary); color: #fff;
  font-size: 11px; font-weight: 700; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
.menu-toggle { display: none; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline-flex; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 80; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__backdrop {
  position: absolute; inset: 0; background: rgba(15, 23, 42, .55);
  opacity: 0; transition: opacity .25s ease;
}
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; width: min(360px, 92vw); height: 100%;
  background: var(--surface); padding: 20px; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .28s ease;
  box-shadow: var(--shadow-lg); overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__list a {
  display: block; padding: 12px 14px; border-radius: var(--radius-sm);
  font-weight: 500; font-size: 16px;
}
.mobile-menu__list a:hover, .mobile-menu__list a.is-active {
  background: rgba(37, 99, 235, .08); color: var(--color-primary);
}

/* Search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 90; }
.search-overlay[hidden] { display: none; }
.search-overlay__backdrop {
  position: absolute; inset: 0; background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(4px);
}
.search-overlay__dialog {
  position: relative; width: min(640px, calc(100% - 32px));
  margin: 10vh auto 0; background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border);
}
.search-overlay__form {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}
.search-overlay__icon { color: var(--text-muted); display: flex; }
.search-overlay__input {
  flex: 1; border: none; background: transparent; font-size: 17px;
  padding: 8px 4px; color: var(--text); outline: none; min-width: 0;
}
.search-overlay__results { padding: 12px; max-height: 50vh; overflow-y: auto; }
.search-overlay__hint { color: var(--text-muted); font-size: 14px; margin: 8px; }
.search-result {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px; border-radius: var(--radius-md); transition: background .15s ease;
}
.search-result:hover { background: var(--surface-2); }
.search-result__info { min-width: 0; }
.search-result__title { font-weight: 600; font-family: var(--font-display); font-size: 15px; }
.search-result__meta { font-size: 13px; color: var(--text-muted); }
.search-result__price { font-weight: 700; color: var(--color-primary); white-space: nowrap; }
.search-empty { text-align: center; padding: 24px 12px; color: var(--text-muted); }
.search-loading { padding: 20px; text-align: center; color: var(--text-muted); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-hero);
  padding: 48px 0 72px;
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.hero__badge { margin-bottom: 18px; }
.hero__title {
  font-size: clamp(2.1rem, 4.5vw, 3.5rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.08;
  margin-bottom: 16px; color: var(--color-dark);
}
html[data-theme="dark"] .hero__title { color: #F8FAFC; }
.hero__title-grad {
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__desc {
  font-size: 16px; color: var(--text-muted); max-width: 540px; margin-bottom: 28px;
  line-height: 1.7;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero__cta-play {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(37, 99, 235, .1); color: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
.hero__proof { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatar-img {
  width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid #fff;
  margin-left: -10px; object-fit: cover; background: #C7D2FE;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #3730A3; font-family: var(--font-display);
  box-shadow: var(--shadow-xs);
}
.avatar-img:first-child { margin-left: 0; }
.hero__proof-text strong {
  display: block; font-family: var(--font-display); font-size: 14px; color: var(--text);
}
.hero__proof-text span { font-size: 13px; color: var(--text-muted); }
.hero__rating { display: flex; align-items: center; gap: 8px; }

.hero__visual { position: relative; min-height: 420px; }
.hero__stage {
  position: relative; width: 100%; aspect-ratio: 1 / 1.02; max-height: 520px;
}
.hero__person {
  position: absolute; inset: 8% 10% 0;
  border-radius: 40% 40% 24px 24px / 32% 32% 24px 24px;
  background:
    radial-gradient(circle at 50% 28%, #FDE68A 0%, #FBBF24 18%, transparent 19%),
    linear-gradient(160deg, #E9D5FF 0%, #C4B5FD 35%, #A5B4FC 65%, #93C5FD 100%);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero__person::before {
  content: "";
  position: absolute; left: 50%; top: 14%; transform: translateX(-50%);
  width: 42%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FCD9B8, #F3B48A 60%, #E8A06A);
  box-shadow: 0 8px 0 -2px #78350F inset;
}
.hero__person::after {
  content: "";
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 78%; height: 52%;
  border-radius: 40% 40% 0 0;
  background: linear-gradient(180deg, #7C3AED 0%, #6D28D9 100%);
}
.hero__phone {
  position: absolute; left: 50%; bottom: 18%; transform: translateX(-50%) rotate(-8deg);
  width: 22%; aspect-ratio: 9/17; background: #0F172A;
  border-radius: 12px; border: 3px solid #1E293B; z-index: 2;
  box-shadow: var(--shadow-md);
}
.hero__phone::after {
  content: ""; position: absolute; inset: 8% 10% 40%;
  background: linear-gradient(145deg, #38BDF8, #818CF8 40%, #F472B6);
  border-radius: 6px; opacity: .9;
}

.float-card {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: var(--shadow-md);
  animation: floaty 5s ease-in-out infinite;
  min-width: 148px;
}
html[data-theme="dark"] .float-card {
  background: rgba(17, 24, 39, .85); border-color: rgba(148, 163, 184, .2);
}
.float-card__icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0;
}
.float-card__title { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--text); line-height: 1.2; }
.float-card__sub { font-size: 11px; color: var(--text-muted); }
.float-card--followers { top: 10%; left: 8%; animation-delay: 0s; }
.float-card--likes { bottom: 22%; left: 2%; animation-delay: 1.2s; }
.float-card--views { top: 34%; right: 0; animation-delay: .6s; }
.float-card--analytics { bottom: 8%; right: 4%; animation-delay: 1.8s; min-width: 168px; }

.hero__social-ico {
  position: absolute; z-index: 3; width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: var(--shadow-md); animation: floaty 6s ease-in-out infinite;
}
.hero__social-ico svg { width: 28px; height: 28px; }
.hero__social-ico--ig { top: 4%; right: 28%; background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); animation-delay: .3s; }
.hero__social-ico--tt { top: 18%; left: 38%; background: #0F172A; animation-delay: 1s; }
.hero__social-ico--fb { top: 8%; right: 8%; background: #1877F2; animation-delay: .9s; }
.hero__social-ico--yt { top: 30%; left: 12%; background: #FF0000; animation-delay: 1.5s; }

.hero__scribble {
  position: absolute; top: 4%; right: 2%; z-index: 4;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 22px; color: #1D4ED8; transform: rotate(8deg);
  line-height: 1.2; text-align: center; max-width: 140px;
}
html[data-theme="dark"] .hero__scribble { color: #93C5FD; }

.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(40px); opacity: .5; z-index: 0;
}
.hero__blob--1 { width: 200px; height: 200px; background: #A5B4FC; top: 10%; right: 20%; }
.hero__blob--2 { width: 160px; height: 160px; background: #F9A8D4; bottom: 20%; left: 20%; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Stats — advanced gradient cards */
.stats-wrap { margin-top: 22px; position: relative; z-index: 5; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 14px; padding: 24px 20px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(135deg, rgba(37,99,235,.55), rgba(124,58,237,.55), rgba(236,72,153,.55)) border-box;
  border: 1.5px solid transparent;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}
.stats::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(37,99,235,.12) 1.3px, transparent 1.3px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 75%);
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
html[data-theme="dark"] .stats {
  box-shadow: 0 14px 34px rgba(0, 0, 0, .45);
}
.stat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  padding: 20px 10px 18px; position: relative;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stat::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-brand);
}
.stat:nth-child(1)::before { background: linear-gradient(90deg, #2563EB, #7C3AED); }
.stat:nth-child(2)::before { background: linear-gradient(90deg, #22C55E, #0EA5E9); }
.stat:nth-child(3)::before { background: linear-gradient(90deg, #F59E0B, #EF4444); }
.stat:nth-child(4)::before { background: linear-gradient(90deg, #06B6D4, #6366F1); }
.stat::after {
  content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%;
  right: -45px; bottom: -55px; opacity: .12; pointer-events: none;
  background: var(--grad-brand);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,.35); }
.stat__icon {
  width: 54px; height: 54px; border-radius: 17px; color: #fff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(15, 23, 42, .25);
}
.stat__icon svg { width: 26px; height: 26px; }
.stat:nth-child(1) .stat__icon { background: linear-gradient(135deg, #2563EB, #7C3AED); box-shadow: 0 10px 20px rgba(37,99,235,.4); }
.stat:nth-child(2) .stat__icon { background: linear-gradient(135deg, #22C55E, #0EA5E9); box-shadow: 0 10px 20px rgba(34,197,94,.4); }
.stat:nth-child(3) .stat__icon { background: linear-gradient(135deg, #F59E0B, #EF4444); box-shadow: 0 10px 20px rgba(245,158,11,.4); }
.stat:nth-child(4) .stat__icon { background: linear-gradient(135deg, #06B6D4, #6366F1); box-shadow: 0 10px 20px rgba(6,182,212,.4); }
.stat__text { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stat__value {
  font-family: var(--font-display); font-weight: 800; font-size: 26px;
  line-height: 1.15; letter-spacing: -.02em; white-space: nowrap;
}
.stat:nth-child(1) .stat__value { background: linear-gradient(135deg, #2563EB, #7C3AED); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat:nth-child(2) .stat__value { background: linear-gradient(135deg, #16A34A, #0EA5E9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat:nth-child(3) .stat__value { background: linear-gradient(135deg, #D97706, #EF4444); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat:nth-child(4) .stat__value { background: linear-gradient(135deg, #0891B2, #6366F1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* Sections */
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--flush-top { padding-top: 56px; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.section-head__left { min-width: 0; }
.section-head h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem); font-weight: 700; letter-spacing: -.02em;
  margin-bottom: 6px;
}
.section-head__sub { color: var(--text-muted); font-size: 15px; margin: 0; max-width: 640px; }
.section-head__link {
  font-weight: 600; color: var(--color-primary); font-size: 15px;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
}
.section-head__link:hover { text-decoration: underline; }
.section-head__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(239, 68, 68, .1); color: #DC2626;
  font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill);
  margin-left: 10px; vertical-align: middle;
}

/* Categories */
.categories-grid {
  display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 12px;
}
.category-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); padding: 18px 10px 16px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  min-width: 0;
}
.category-card:hover {
  transform: translateY(-4px); border-color: rgba(37, 99, 235, .45);
  box-shadow: var(--shadow-sm); color: var(--color-primary);
}
.category-card__name {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  color: var(--text); line-height: 1.25;
}
.category-card:hover .category-card__name { color: var(--color-primary); }
.category-card__label { font-size: 12px; color: var(--text-muted); }
.category-card .platform-icon { width: 48px; height: 48px; border-radius: 14px; }
.category-card .platform-icon svg { width: 26px; height: 26px; }

/* Filter tabs */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.filter-tab {
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; font-family: var(--font-display);
  background: var(--surface); border: 1.5px solid var(--border); color: var(--text-muted);
  transition: all .15s ease; min-height: 38px;
}
.filter-tab:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-tab.is-active {
  background: var(--color-primary); border-color: var(--color-primary); color: #fff;
}

/* Service grid — 4 columns desktop */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 20px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  min-width: 0;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, .5);
  box-shadow: var(--shadow-md);
}
.service-card.is-hidden { display: none; }
.service-card__top {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px;
  flex-wrap: wrap;
}
.service-card__icon { width: 44px; height: 44px; border-radius: 12px; }
.service-card__icon svg { width: 24px; height: 24px; }
.service-card__title-wrap { flex: 1; min-width: 120px; }
.service-card__title {
  font-size: 16px; font-weight: 700; margin: 0 0 2px; letter-spacing: -.01em;
}
.service-card__title a:hover { color: var(--color-primary); }
/* Blue verified tick on card titles (services + packages, all pages) */
.svc-verified {
  display: inline-flex; align-items: center; justify-content: center;
  color: #1D9BF0; flex-shrink: 0; vertical-align: -5px; margin-left: 7px;
  background: rgba(29, 155, 240, .12);
  border: 1px solid rgba(29, 155, 240, .3);
  border-radius: 50%; padding: 2px;
  filter: drop-shadow(0 2px 6px rgba(29, 155, 240, .45));
  transition: transform .2s ease;
}
.svc-verified svg { display: block; }
article:hover .svc-verified { transform: scale(1.15) rotate(-6deg); }
.service-card__subtitle { font-size: 13px; color: var(--text-muted); margin: 0; }
.service-card__body { flex: 1; display: flex; flex-direction: column; }
.service-card__features {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px;
  font-size: 13.5px; color: var(--text);
}
.service-card__features li { display: flex; align-items: flex-start; gap: 8px; }
.check {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(37, 99, 235, .12); color: var(--color-primary);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.service-card__rating {
  display: flex; align-items: center; gap: 6px; font-size: 13px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.service-card__rating .star { font-size: 15px; color: #FBBF24; }
.service-card__rating strong { font-family: var(--font-display); }
.service-card__price {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  margin-top: auto; padding-top: 4px;
}
.price-current {
  font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--text);
}
.price-old { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.price-off {
  font-size: 12px; font-weight: 700; color: #DC2626;
  background: rgba(239, 68, 68, .1); padding: 2px 8px; border-radius: var(--radius-pill);
}
.service-card__footer {
  margin-top: 16px; display: grid; gap: 10px;
}
/* Advanced "Choose Package" card buttons — shared by home cards + services page */
.pick-btn {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px 10px 10px; border-radius: 15px;
  background: var(--pick-grad, linear-gradient(135deg, #2563EB, #7C3AED));
  color: #fff; box-shadow: 0 12px 24px -12px rgba(15, 23, 42, .55);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.pick-btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; left: -120px;
  transform: skewX(-18deg); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  animation: pickShine 4.5s ease-in-out infinite;
}
@keyframes pickShine { 0%, 55% { left: -120px; } 100% { left: 115%; } }
.pick-btn:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 18px 34px -12px rgba(15, 23, 42, .6); }
.pick-btn__ic {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3);
  display: flex; align-items: center; justify-content: center;
}
.pick-btn__ic svg { width: 18px; height: 18px; }
.pick-btn__tx { flex: 1 1 auto; min-width: 0; overflow: hidden; line-height: 1.35; }
.pick-btn__tx b { display: block; font-family: var(--font-display); font-size: 13px; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-btn__tx small { display: block; font-size: 10.5px; opacity: .88; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-btn__count {
  font-size: 10px; font-weight: 800; white-space: nowrap; flex: 0 0 auto;
  background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .4);
  padding: 3px 8px; border-radius: var(--radius-pill);
}
.pick-btn__arrow { display: flex; flex: 0 0 auto; transition: transform .25s ease; }
.pick-btn:hover .pick-btn__arrow { transform: translateX(5px); }
.pick-order {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  border-radius: 14px; padding: 11px; transition: border-color .2s ease, color .2s ease, background .2s ease, transform .2s ease;
}
.pick-order svg { transition: transform .25s ease; }
.pick-order:hover {
  border-color: var(--color-primary); color: var(--color-primary);
  background: rgba(37, 99, 235, .07); transform: translateY(-1px);
}
.pick-order:hover svg { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .pick-btn::after { animation: none; }
}

/* Empty / error states */
.state-block {
  text-align: center; padding: 48px 20px; background: var(--surface);
  border: 1.5px dashed var(--border); border-radius: var(--radius-lg);
}
.state-block h3 { margin-bottom: 8px; }
.state-block p { color: var(--text-muted); margin-bottom: 16px; }

/* Video proof */
.video-proof {
  background: linear-gradient(180deg, rgba(124, 58, 237, .07) 0%, rgba(37, 99, 235, .05) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin: 24px auto;
}
.video-proof__inner {
  display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 2fr);
  gap: 36px; align-items: center;
}
.video-proof__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--color-secondary); font-weight: 700; font-size: 13px;
  letter-spacing: .04em; margin-bottom: 12px;
}
.video-proof__play {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--color-secondary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.video-proof__title {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem); font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 12px;
}
.video-proof__desc { color: var(--text-muted); margin-bottom: 20px; font-size: 15px; }
.video-proof__checks {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin-top: 22px;
  font-size: 13.5px; font-weight: 500;
}
.video-proof__checks li { display: flex; align-items: center; gap: 8px; }
.video-proof__checks .check { background: rgba(34, 197, 94, .15); color: #16A34A; }

.video-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.video-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  min-width: 0;
}
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.video-card__media {
  position: relative; aspect-ratio: 9 / 12; background: var(--ph); overflow: hidden;
}
.video-card__video, .video-card__placeholder {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.video-card__placeholder { display: flex; align-items: center; justify-content: center; }
.video-card__placeholder-icon { width: 56px; height: 56px; border-radius: 16px; opacity: .9; }
.video-card__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--color-dark);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: transform .2s ease, opacity .2s ease;
  z-index: 2;
}
.video-card__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.video-card.is-playing .video-card__play { opacity: 0; pointer-events: none; }
.video-card__duration {
  position: absolute; right: 8px; bottom: 8px; z-index: 2;
  background: rgba(15, 23, 42, .8); color: #fff; font-size: 11px; font-weight: 600;
  padding: 3px 7px; border-radius: 6px;
}
.video-card__meta { padding: 12px; }
.video-card__platform { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.video-card__title {
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px; line-height: 1.3;
}
.video-card__rating { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.video-card__review-info { font-size: 12px; color: var(--text-muted); margin: 6px 0 0; }

/* Offer banner */
.offer-banner {
  position: relative; overflow: hidden;
  background: var(--grad-offer);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 40px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.offer-banner::after {
  content: ""; position: absolute; top: -50%; left: -30%;
  width: 40%; height: 200%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.18), transparent);
  transform: skewX(-18deg);
  animation: shine 4.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shine {
  0%, 60% { left: -40%; }
  100% { left: 120%; }
}
.offer-banner__title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; margin: 0 0 6px; color: #fff;
}
.offer-banner__sub { margin: 0; opacity: .92; font-size: 15px; }
.offer-banner__actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.coupon-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .18); border: 1.5px dashed rgba(255, 255, 255, .7);
  padding: 10px 16px; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; letter-spacing: .06em;
  cursor: pointer; color: #fff;
}
.coupon-chip:hover { background: rgba(255, 255, 255, .28); }
.btn--white {
  background: #fff; color: var(--color-primary); border: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}
.btn--white:hover { background: #F8FAFC; }

/* Why choose — premium two-panel layout */
.why-section .hl {
  background: linear-gradient(120deg, #2563EB, #7C3AED);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.why-layout {
  display: grid; grid-template-columns: 1fr; gap: 26px; align-items: stretch;
  margin-top: 26px;
}
/* Left: dark proof panel */
.why-proof {
  position: relative; overflow: hidden;
  border-radius: var(--radius-card); padding: 30px 28px;
  color: #fff;
  background: linear-gradient(155deg, #0B1B4D 0%, #1E2A78 48%, #5B21B6 100%);
  box-shadow: 0 30px 60px -30px rgba(30, 42, 120, .7);
  display: flex; flex-direction: column; gap: 18px;
}
.why-proof::before, .why-proof::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none;
}
.why-proof::before { width: 280px; height: 280px; top: -110px; right: -90px; background: #F472B6; }
.why-proof::after { width: 240px; height: 240px; bottom: -120px; left: -80px; background: #38BDF8; opacity: .35; }
.why-proof > * { position: relative; z-index: 1; }
.why-eyebrow {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
}
.why-proof__title { font-family: var(--font-display); font-size: 25px; font-weight: 800; line-height: 1.25; margin: 0; }
.why-proof__desc { font-size: 14px; line-height: 1.65; color: rgba(255, 255, 255, .78); margin: 0; }
.why-counters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.why-counter {
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px; padding: 12px 14px; backdrop-filter: blur(6px);
}
.why-counter strong { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 800; line-height: 1.2; }
.why-counter span { font-size: 11.5px; color: rgba(255, 255, 255, .7); font-weight: 600; }
.why-bars { display: grid; gap: 11px; }
.why-bar__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; margin-bottom: 6px; }
.why-bar__row span { color: rgba(255, 255, 255, .85); font-weight: 600; }
.why-bar__row strong { font-weight: 800; }
.why-bar__track { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .16); overflow: hidden; }
.why-bar__track i {
  display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, #FBBF24, #F472B6);
  transition: width 1.25s cubic-bezier(.2, .7, .3, 1) .25s;
}
.why-proof.is-visible .why-bar__track i { width: var(--w); }
.why-guarantees { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.why-g {
  font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
}
.why-proof__cta { align-self: flex-start; margin-top: 2px; }
/* Right: numbered feature list — 2 columns */
.why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.why-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: 16px; padding: 15px 16px; position: relative; overflow: hidden;
  transition: transform .28s cubic-bezier(.2, .7, .3, 1), border-color .28s ease, box-shadow .28s ease;
}
.why-item::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px;
  background: linear-gradient(180deg, #2563EB, #7C3AED);
  opacity: 0; transition: opacity .28s ease;
}
.why-item:hover { transform: translateX(6px); border-color: rgba(37, 99, 235, .38); box-shadow: 0 18px 36px -24px rgba(15, 23, 42, .5); }
.why-item:hover::after { opacity: 1; }
.why-item__num {
  font-family: var(--font-display); font-size: 12.5px; font-weight: 800; line-height: 1;
  color: #2563EB; background: rgba(37, 99, 235, .1);
  border: 1px solid rgba(37, 99, 235, .22);
  padding: 6px 8px; border-radius: 9px; margin-top: 2px; flex-shrink: 0;
}
.why-item__icon {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, #2563EB, #1D4ED8);
  box-shadow: 0 10px 18px -10px rgba(37, 99, 235, .8);
}
.why-item:nth-child(2) .why-item__icon { background: linear-gradient(135deg, #059669, #047857); box-shadow: 0 10px 18px -10px rgba(5, 150, 105, .8); }
.why-item:nth-child(3) .why-item__icon { background: linear-gradient(135deg, #F59E0B, #D97706); box-shadow: 0 10px 18px -10px rgba(245, 158, 11, .8); }
.why-item:nth-child(4) .why-item__icon { background: linear-gradient(135deg, #8B5CF6, #6D28D9); box-shadow: 0 10px 18px -10px rgba(139, 92, 246, .8); }
.why-item:nth-child(5) .why-item__icon { background: linear-gradient(135deg, #EC4899, #BE185D); box-shadow: 0 10px 18px -10px rgba(236, 72, 153, .8); }
.why-item:nth-child(6) .why-item__icon { background: linear-gradient(135deg, #0EA5E9, #0369A1); box-shadow: 0 10px 18px -10px rgba(14, 165, 233, .8); }
.why-item__icon svg { width: 23px; height: 23px; }
.why-item__body { flex: 1; min-width: 0; }
.why-item__body h3 {
  font-family: var(--font-display); font-size: 15.5px; font-weight: 700; margin: 0 0 5px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.why-item__chip {
  font-size: 11px; font-weight: 700; white-space: nowrap;
  color: #1D4ED8; background: rgba(37, 99, 235, .09); border: 1px solid rgba(37, 99, 235, .25);
  padding: 2px 9px; border-radius: var(--radius-pill);
}
.why-item__body p { font-size: 13.5px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* Reviews */
.rv-section {
  position: relative;
  background:
    radial-gradient(900px 320px at 50% 0%, rgba(37, 99, 235, .07), transparent 70%),
    radial-gradient(700px 300px at 85% 100%, rgba(124, 58, 237, .06), transparent 70%);
}
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.review-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); padding: 22px;
  position: relative; height: 100%;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1), border-color .3s ease, box-shadow .3s ease;
}
.review-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: linear-gradient(90deg, #FBBF24, #F59E0B 45%, rgba(245, 158, 11, 0));
  opacity: .55; transition: opacity .3s ease;
}
.review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, .35);
  box-shadow: 0 22px 44px -26px rgba(15, 23, 42, .55);
}
.review-card:hover::before { opacity: 1; }
.review-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-right: 26px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #C7D2FE, #E9D5FF);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: #4338CA; font-size: 15px;
  overflow: hidden; flex-shrink: 0;
}
.avatar--grad {
  background: linear-gradient(135deg, hsl(var(--av-hue, 230) 72% 62%), hsl(var(--av-hue2, 272) 72% 52%));
  color: #fff; font-size: 14.5px; letter-spacing: .02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 6px 14px -8px hsl(var(--av-hue, 230) 70% 45%);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-card__meta { flex: 1; min-width: 0; }
.review-card__name {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.verified { color: var(--color-primary); display: inline-flex; }
.review-card__stars { display: flex; align-items: center; gap: 8px; margin-top: 5px; }
.rv-rating-num {
  font-size: 11.5px; font-weight: 700; color: #B45309;
  background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .35);
  padding: 1px 7px; border-radius: var(--radius-pill); line-height: 1.5;
}
html[data-theme="dark"] .rv-rating-num { color: #FBBF24; }
.review-card__quote {
  position: absolute; top: 16px; right: 18px;
  font-size: 52px; line-height: 1; color: var(--border);
  font-family: Georgia, serif; font-weight: 700;
}
html[data-theme="dark"] .review-card__quote { color: #334155; }
.review-card__text { font-size: 14px; color: var(--text-muted); line-height: 1.68; margin: 0; }
.review-card__foot {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border);
}
.rv-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 600; color: var(--text-muted);
  background: var(--surface-2); border: 1px solid var(--border);
  padding: 3px 9px; border-radius: var(--radius-pill);
}
.rv-dot { width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, #2563EB, #7C3AED); flex-shrink: 0; }

/* Reviews — auto right-to-left rail */
.rv-rail {
  position: relative; margin-top: 26px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.rv-track {
  display: flex; width: max-content; padding: 14px 0 18px;
  animation: rv-rtl var(--rv-duration, 80s) linear infinite;
  will-change: transform;
}
.rv-track:hover { animation-play-state: paused; }
.rv-clone { display: contents; }
.rv-track .review-card {
  width: 336px; flex: 0 0 336px; height: auto; margin-right: 18px;
  display: flex; flex-direction: column;
}
.rv-track .review-card__text {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  line-clamp: 4; overflow: hidden; flex: 1;
}
.rv-track .review-card__foot { margin-top: auto; }
@keyframes rv-rtl {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Reviews — rating summary strip */
.rv-summary {
  display: grid; grid-template-columns: auto minmax(220px, 1fr) auto;
  gap: 26px; align-items: center;
  margin-top: 8px; padding: 22px 26px;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
}
.rv-summary__score { display: flex; align-items: center; gap: 14px; }
.rv-summary__num {
  font-family: var(--font-display); font-size: 42px; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, #F59E0B, #F97316);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rv-summary__meta { display: grid; gap: 6px; }
.rv-summary__count { font-size: 12.5px; color: var(--text-muted); font-weight: 600; }
.rv-summary__bars { display: grid; gap: 6px; }
.rv-bar { display: grid; grid-template-columns: 44px 1fr 26px; gap: 10px; align-items: center; font-size: 11.5px; color: var(--text-muted); }
.rv-bar__label { text-align: right; font-weight: 600; }
.rv-bar__track { height: 8px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.rv-bar__fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #FBBF24, #F59E0B); }
.rv-bar__val { font-weight: 700; color: var(--text); }
.rv-trust { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; font-size: 13px; font-weight: 600; white-space: nowrap; }
.rv-trust__ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; margin-right: 8px; border-radius: 50%;
  background: rgba(34, 197, 94, .15); color: #16A34A; font-size: 11px; font-weight: 800;
}

/* FAQ */
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px;
  align-items: start;
}
.faq-item {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: border-color .2s ease;
}
.faq-item.is-open { border-color: rgba(37, 99, 235, .4); }
.faq-item__heading { margin: 0; font-size: 15px; }
.faq-item__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  color: var(--text);
}
.faq-item__btn:hover { color: var(--color-primary); }
.faq-item__chevron {
  display: flex; color: var(--text-muted); transition: transform .25s ease; flex-shrink: 0;
}
.faq-item.is-open .faq-item__chevron { transform: rotate(180deg); color: var(--color-primary); }
.faq-item__panel[hidden] { display: none; }
.faq-item__content {
  padding: 0 18px 16px; color: var(--text-muted); font-size: 14.5px; line-height: 1.65;
}

/* Newsletter */
.newsletter {
  background: var(--grad-newsletter);
  border-radius: var(--radius-lg);
  color: #fff; padding: 36px 40px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center;
}
.newsletter__left { display: flex; align-items: center; gap: 18px; }
.newsletter__icon {
  width: 60px; height: 60px; border-radius: 18px;
  background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .25);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.newsletter__icon svg { width: 30px; height: 30px; fill: #fff; stroke: none; }
.newsletter__title { font-size: 24px; font-weight: 800; margin: 0 0 4px; color: #fff; }
.newsletter__text { margin: 0; opacity: .9; font-size: 14.5px; }
.newsletter__form { display: flex; gap: 10px; width: 100%; }
.newsletter__input {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  background: #fff; color: #0F172A; font-size: 15px;
}
.newsletter__input::placeholder { color: #94A3B8; }
.newsletter__input:focus { outline: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.newsletter__btn {
  height: 48px; padding: 0 22px; border-radius: var(--radius-sm);
  background: var(--color-dark); color: #fff; font-weight: 700;
  font-family: var(--font-display); font-size: 15px;
  transition: background .15s ease, transform .15s ease;
}
.newsletter__btn:hover { background: #1E293B; transform: translateY(-1px); }
.newsletter__msg { grid-column: 1 / -1; font-size: 14px; margin: 0; min-height: 1.2em; }
.newsletter__msg.is-success { color: #BBF7D0; }
.newsletter__msg.is-error { color: #FECACA; }

/* Footer */
.site-footer {
  background: var(--color-dark); color: #CBD5E1; margin-top: 56px;
}
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px;
  padding: 56px 0 40px;
}
.site-footer__desc { font-size: 14px; color: #94A3B8; line-height: 1.65; margin: 14px 0 18px; max-width: 280px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials__link {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease;
}
.socials__link:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.socials__link .platform-icon { width: 22px; height: 22px; background: transparent !important; border-radius: 0; }
.socials__link .platform-icon svg { width: 18px; height: 18px; }
.site-footer__title {
  font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 16px;
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a {
  font-size: 14px; color: #94A3B8; transition: color .15s ease;
}
.site-footer__col a:hover { color: #fff; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.pay-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 58px; height: 36px; padding: 0 10px;
  background: #fff; color: #0F172A; border-radius: 8px;
  font-size: 11px; font-weight: 800; font-family: var(--font-display);
  letter-spacing: .02em;
}
.pay-badge--visa { color: #1A1F71; }
.pay-badge--mc { color: #EB001B; font-size: 9px; }
.pay-badge--pp { color: #003087; font-size: 10px; }
.pay-badge--upi { background: linear-gradient(90deg, #0F7B4C, #F26522); color: #fff; }
.site-footer__secure {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: #86EFAC; font-weight: 500; margin: 0;
}
.site-footer__contact { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.site-footer__contact-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: #CBD5E1; margin: 0; line-height: 1.5;
}
.site-footer__contact-row svg { flex-shrink: 0; margin-top: 2px; color: #86EFAC; }
a.site-footer__contact-row:hover { color: #fff; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 18px 0;
}
.site-footer__bottom-inner {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: #94A3B8;
}
.site-footer__bottom p { margin: 0; }

/* Toast */
.toast-root {
  position: fixed; right: 16px; bottom: 16px; z-index: 100;
  display: flex; flex-direction: column; gap: 8px; max-width: min(360px, calc(100vw - 32px));
}
.toast {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md); padding: 12px 16px;
  box-shadow: var(--shadow-md); font-size: 14px;
  animation: toast-in .25s ease;
}
.toast--success { border-left-color: var(--color-success); }
.toast--error { border-left-color: var(--color-danger); }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Forms (inner pages) */
.form-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  max-width: 520px; margin: 0 auto;
}
.form-card--wide { max-width: 720px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.input, .textarea, .select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  font-size: 15px; font-family: var(--font-body);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--color-primary); box-shadow: var(--focus);
}
.textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-error { color: var(--color-danger); font-size: 13px; margin-top: 4px; }
.page-hero {
  padding: 48px 0 24px; text-align: center;
}
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.02em; }
.page-hero p { color: var(--text-muted); max-width: 640px; margin: 0 auto; }

/* Cart table */
.cart-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-md); overflow: hidden; }
.cart-table th, .cart-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14.5px; }
.cart-table th { background: var(--surface-2); font-family: var(--font-display); font-weight: 600; }
.qty-input { width: 72px; padding: 8px; border-radius: 8px; border: 1.5px solid var(--border); text-align: center; }
.cart-summary { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 24px; }
.cart-summary__row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14.5px; }
.cart-summary__row--total { font-size: 18px; font-weight: 800; font-family: var(--font-display); border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }

/* Simple page content */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.4rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--text-muted); }

.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); padding: 24px;
}
.info-card h3 { font-size: 18px; }

/* Animations / reduced motion */
[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .float-card, .hero__social-ico { animation: none; }
  .offer-banner::after { display: none; }
  /* Reviews rail: stop the auto slide and let the row be scrolled by hand */
  .rv-track { animation: none !important; }
  .rv-rail {
    overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin;
    -webkit-mask-image: none; mask-image: none;
  }
}

/* ========== Responsive ========== */
@media (max-width: 1199.98px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .categories-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .why-layout { grid-template-columns: 1fr; gap: 22px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1.2fr repeat(2, 1fr); }
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .video-proof__inner { grid-template-columns: 1fr; }
}

@media (max-width: 991.98px) {
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 16px 10px; }
  .stat { padding: 14px 4px 12px; gap: 8px; min-width: 0; }
  .stat__icon { width: 40px; height: 40px; border-radius: 13px; }
  .stat__icon svg { width: 21px; height: 21px; }
  .stat__value { font-size: 14px; letter-spacing: 0; }
  .stat__label { font-size: 10px; line-height: 1.35; }
  .faq-grid { grid-template-columns: 1fr; }
  .newsletter { grid-template-columns: 1fr; padding: 28px 24px; }
  .newsletter__form { flex-direction: column; }
  .why-proof { padding: 26px 22px; }
  .why-item__num { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .rv-summary { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
  .rv-trust { grid-template-columns: repeat(2, max-content); white-space: normal; }
  .rv-track .review-card { width: 300px; flex-basis: 300px; }
  .offer-banner { padding: 28px 24px; }
  .section { padding: 56px 0; }
  .video-proof { padding: 32px 20px; }
}

@media (max-width: 767.98px) {
  .nav__auth { display: none; }
  .nav__user { display: none; }
  .announce__offer { font-size: 12px; }
  .announce__links { gap: 10px; font-size: 12px; }
  .announce__theme-label { display: none; }
  .logo__tag { display: none; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding: 32px 0 56px; }
  .hero__ctas .btn { width: 100%; }
  .hero__visual { min-height: 340px; }
  .float-card { min-width: 120px; padding: 8px 10px; }
  .float-card__title { font-size: 13px; }
  .float-card--analytics { display: none; }
  .hero__scribble { display: none; }
  .stats-wrap { margin-top: 14px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 14px; padding: 40px 0 28px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__title { font-size: 14px; margin-bottom: 12px; }
  .site-footer__col ul { gap: 8px; }
  .site-footer__col a { font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
  .form-row { grid-template-columns: 1fr; }
  .why-proof__title { font-size: 21px; }
  .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .why-item { padding: 12px; gap: 10px; border-radius: 14px; }
  .why-item__icon { width: 36px; height: 36px; border-radius: 10px; }
  .why-item__icon svg { width: 19px; height: 19px; }
  .why-item__body h3 { font-size: 13.5px; }
  .why-item__body p { font-size: 12px; }
  .why-item__chip { font-size: 10px; padding: 1px 7px; }
  .rv-track .review-card { width: 272px; flex-basis: 272px; margin-right: 14px; }
  .rv-summary__num { font-size: 34px; }
  .rv-trust { grid-template-columns: 1fr; }
  .rv-bar { grid-template-columns: 38px 1fr 22px; gap: 8px; }
  .video-proof__checks { grid-template-columns: 1fr; }
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 419.98px) {
  .why-counters { grid-template-columns: 1fr 1fr; gap: 8px; }
  .why-counter strong { font-size: 19px; }
  .video-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; }
  .site-footer__title { font-size: 13px; }
  .site-footer__col a { font-size: 12.5px; }
  .stat:not(:last-child)::after { display: none; }
  .stats { gap: 8px; padding: 12px 8px; }
  .stat { padding: 12px 2px 10px; border-radius: 14px; }
  .stat__icon { width: 35px; height: 35px; border-radius: 12px; }
  .stat__icon svg { width: 19px; height: 19px; }
  .stat__value { font-size: 12.5px; }
  .stat__label { font-size: 9px; }
}

/* ================= Legal & support pages ================= */
.page-hero--legal {
  background: linear-gradient(135deg, rgba(37, 99, 235, .10) 0%, rgba(124, 58, 237, .10) 55%, rgba(236, 72, 153, .08) 100%);
  border-bottom: 1px solid var(--border);
  padding: 34px 0 28px;
}
html[data-theme="dark"] .page-hero--legal {
  background: linear-gradient(135deg, rgba(37, 99, 235, .18) 0%, rgba(124, 58, 237, .16) 55%, rgba(236, 72, 153, .12) 100%);
}
.crumbs {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 12px;
  flex-wrap: wrap;
}
.crumbs a { color: var(--color-primary); }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-current] { color: var(--text); }
.legal-updated {
  display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 600;
  color: var(--text-muted); background: var(--surface); border: 1px solid var(--border);
  padding: 5px 14px; border-radius: var(--radius-pill);
}

.legal-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start;
}
.legal-toc { order: 2; }
.legal-content { order: 1; min-width: 0; display: grid; gap: 16px; }
.legal-toc__box {
  position: sticky; top: calc(var(--header-h) + 16px);
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); padding: 18px 20px; box-shadow: var(--shadow-xs);
}
.legal-toc__box summary {
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  color: var(--text);
}
.legal-toc__box summary::-webkit-details-marker { display: none; }
.legal-toc__box summary::after {
  content: ""; width: 8px; height: 8px; border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted); transform: rotate(45deg); transition: transform .2s ease;
}
.legal-toc__box[open] summary::after { transform: rotate(-135deg); }
.legal-toc__box nav { margin-top: 12px; }
.legal-toc__box ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.legal-toc__box li a {
  display: block; padding: 7px 10px; border-radius: 8px; font-size: 13.5px;
  color: var(--text-muted); text-decoration: none; border-left: 2px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.legal-toc__box li a:hover,
.legal-toc__box li a:focus-visible {
  background: var(--surface-2); color: var(--color-primary); border-left-color: var(--color-primary);
}

.legal-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); padding: 26px 28px; box-shadow: var(--shadow-xs);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.legal-card h2 {
  font-family: var(--font-display); font-size: 19px; font-weight: 700;
  margin: 0 0 14px; letter-spacing: -.01em; color: var(--text);
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.legal-card h3 { font-size: 16px; margin: 20px 0 8px; }
.legal-card p { margin: 0 0 12px; color: var(--text-muted); font-size: 15px; line-height: 1.7; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card a { color: var(--color-primary); font-weight: 600; }
.legal-card a:hover { text-decoration: underline; }
.legal-card strong { color: var(--text); }
.legal-card ul, .legal-card ol { margin: 0 0 12px; padding-left: 20px; }
.legal-card li { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 7px; }
.legal-ol { list-style: decimal; }
.legal-ol li { margin-bottom: 10px; }

.callout {
  border-radius: var(--radius-md); padding: 14px 16px; font-size: 14px;
  line-height: 1.6; margin: 4px 0 14px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text);
}
.callout--info { border-color: rgba(37, 99, 235, .35); background: rgba(37, 99, 235, .08); }
.callout--warn { border-color: rgba(245, 158, 11, .4); background: rgba(245, 158, 11, .1); }

.legal-notice {
  font-size: 12.5px; line-height: 1.6; color: var(--text-muted);
  background: var(--surface-2); border: 1px dashed var(--border);
  border-radius: var(--radius-md); padding: 14px 16px; margin: 0;
}
.legal-related {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding-top: 4px;
}
.legal-related__label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--text-muted);
}
.chip-link {
  display: inline-flex; align-items: center; padding: 7px 15px;
  border-radius: var(--radius-pill); border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text); font-size: 13.5px; font-weight: 600;
  text-decoration: none; transition: .18s ease;
}
.chip-link:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-1px); }

/* ---------- Support center ---------- */
.sc-actions {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 34px;
}
.sc-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-xs);
  display: flex; flex-direction: column; gap: 10px; transition: .2s ease;
}
.sc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, .35); }
.sc-card__icon {
  width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, .16), rgba(37, 99, 235, .06)); color: var(--color-primary);
}
.sc-card__icon--purple { background: linear-gradient(135deg, rgba(124, 58, 237, .16), rgba(124, 58, 237, .06)); color: var(--color-secondary); }
.sc-card__icon--pink { background: linear-gradient(135deg, rgba(236, 72, 153, .16), rgba(236, 72, 153, .06)); color: var(--color-accent); }
.sc-card__title { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin: 0; }
.sc-card__text { font-size: 14px; color: var(--text-muted); margin: 0; flex: 1; line-height: 1.6; }

.sc-section { margin-bottom: 38px; scroll-margin-top: calc(var(--header-h) + 20px); }
.sc-panel {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); padding: 24px 26px; box-shadow: var(--shadow-xs);
}
.sc-panel__title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.sc-panel--center { text-align: center; }
.sc-panel--center p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
.sc-panel--center a { color: var(--color-primary); font-weight: 700; }
.sc-panel__sub { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin: 10px 0 6px; }
.sc-panel__ic {
  width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, .14), rgba(124, 58, 237, .14)); color: var(--color-primary);
}
.sc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sc-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.sc-track { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.sc-track .form-group { margin-bottom: 0; }
.sc-result { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }

.sc-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sc-cat {
  font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: var(--radius-pill);
  background: rgba(37, 99, 235, .08); color: var(--color-primary); border: 1px solid rgba(37, 99, 235, .22);
}

.check-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.check-list li {
  position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text-muted); line-height: 1.55;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(34, 197, 94, .16);
}
.check-list li::after {
  content: ""; position: absolute; left: 5px; top: 8px; width: 5px; height: 8px;
  border-right: 2px solid #16A34A; border-bottom: 2px solid #16A34A; transform: rotate(45deg);
}

/* Order status stepper */
.stepper {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px 0; margin: 0 0 20px; padding: 0;
}
.stepper__step {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px; font-size: 13px; font-weight: 600;
  background: var(--surface-2); color: var(--text-muted); border: 1px solid var(--border);
  border-radius: var(--radius-pill); margin-right: 8px;
}
.stepper__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); flex-shrink: 0; }
.stepper__step.is-done {
  background: rgba(34, 197, 94, .12); color: #15803D; border-color: rgba(34, 197, 94, .4);
}
.stepper__step.is-done .stepper__dot { background: #22C55E; }
.stepper__step.is-terminal {
  background: rgba(239, 68, 68, .1); color: #B91C1C; border-color: rgba(239, 68, 68, .35);
}
.stepper__step.is-terminal .stepper__dot { background: #EF4444; }

.sc-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0;
}
.sc-facts > div {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 12px 14px;
}
.sc-facts dt {
  font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); margin-bottom: 4px;
}
.sc-facts dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--text); }

/* Responsive � legal + support */
@media (max-width: 991.98px) {
  .legal-layout { grid-template-columns: 1fr; gap: 18px; }
  .legal-toc { order: 1; }
  .legal-content { order: 2; }
  .legal-toc__box { position: static; }
  .legal-toc__box nav { max-height: 260px; overflow-y: auto; }
  .sc-actions { grid-template-columns: 1fr; }
  .sc-grid-2, .sc-grid-3 { grid-template-columns: 1fr; }
  .sc-track { grid-template-columns: 1fr; }
  .sc-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .legal-card { padding: 20px 18px; }
  .legal-card h2 { font-size: 17px; }
  .legal-card p, .legal-card li { font-size: 14.5px; }
  .sc-panel { padding: 20px 18px; }
  .sc-facts { grid-template-columns: 1fr; }
  .sc-card .btn, .sc-panel .btn { width: 100%; }
  .stepper__step { margin-right: 6px; font-size: 12px; padding: 7px 11px; }
}

.sc-grid-contact {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px;
}

/* ================= Payment page ================= */
.pay-wrap { max-width: 1040px; }
.breadcrumbs {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; flex-wrap: wrap;
}
.breadcrumbs a { color: var(--color-primary); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text); }

.pay-steps { display: flex; align-items: center; list-style: none; margin: 4px 0 22px; padding: 0; }
.pay-steps li {
  flex: 1; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700;
  color: var(--text-muted); position: relative; padding: 10px 4px;
}
.pay-steps li:not(:last-child)::after {
  content: ""; flex: 1; height: 2px; border-radius: 2px; background: var(--border); margin-left: 10px;
}
.pay-steps .n {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: inline-flex;
  align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
  background: var(--surface-2); border: 1.5px solid var(--border); color: var(--text-muted);
}
.pay-steps li.is-done { color: var(--text); }
.pay-steps li.is-done .n { background: #16A34A; border-color: #16A34A; color: #fff; }
.pay-steps li.is-now { color: var(--text); }
.pay-steps li.is-now .n {
  background: linear-gradient(135deg, #2563EB, #7C3AED); border-color: transparent; color: #fff;
  box-shadow: 0 6px 16px rgba(124, 58, 237, .4);
}

.pay-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; max-width: 780px; margin: 0 auto; }
.pay-left, .pay-right { display: grid; gap: 18px; min-width: 0; }

.pay-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  overflow: hidden; box-shadow: var(--shadow-md);
}
.pay-card__head {
  position: relative; overflow: hidden; color: #fff; padding: 16px 22px;
  display: flex; align-items: center; gap: 11px;
  background: linear-gradient(135deg, #0F172A, #1E1B4B 55%, #4C1D95 100%);
}
.pay-card__head::before {
  content: ""; position: absolute; width: 230px; height: 230px; border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, .35), transparent 70%);
  top: -115px; right: -60px; pointer-events: none;
}
.pay-card__head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, #EC4899, #7C3AED, #2563EB);
}
.pay-card__head h2 {
  font-size: 15.5px; margin: 0; display: flex; align-items: center; gap: 10px;
  color: #fff; position: relative; z-index: 1; letter-spacing: .04em; text-transform: uppercase;
}
.pay-head__ic {
  width: 32px; height: 32px; border-radius: 10px; flex-shrink: 0; display: inline-flex;
  align-items: center; justify-content: center; color: #fff;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
}
.pay-ref {
  margin-left: auto; font-size: 11.5px; font-weight: 800; letter-spacing: .6px; color: #fff;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  padding: 5px 11px; border-radius: 999px; white-space: nowrap; position: relative; z-index: 1;
}
.pay-card__body { padding: 16px 22px 22px; }
.pay-row {
  display: flex; justify-content: space-between; gap: 12px; font-size: 14px;
  padding: 9px 0; border-bottom: 1px dashed var(--border);
}
.pay-row span { color: var(--text-muted); }
.pay-row strong { text-align: right; font-weight: 600; }
.pay-row--total {
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .08), rgba(236, 72, 153, .08));
  border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; margin-top: 10px;
}
.pay-row--total span:first-child { color: var(--text); }

/* Method cards */
.pm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pm { position: relative; display: block; cursor: pointer; }
.pm input { position: absolute; opacity: 0; width: 0; height: 0; }
.pm__tile {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 14px;
  border: 1.5px solid var(--border); border-radius: 15px; background: var(--surface);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.pm:hover .pm__tile { border-color: rgba(37, 99, 235, .5); transform: translateY(-2px); }
.pm input:focus-visible + .pm__tile { outline: 2px solid var(--color-primary); outline-offset: 2px; }
.pm.is-selected .pm__tile,
.pm input:checked + .pm__tile {
  border-color: transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(135deg, #2563EB, #7C3AED, #EC4899) border-box;
  box-shadow: 0 12px 26px -14px rgba(124, 58, 237, .65);
}
.pm__ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; display: flex;
  align-items: center; justify-content: center; color: #fff; overflow: hidden;
}
.pm__ic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm__ic--img { border: 1px solid var(--border); }
.pm__ic--wide { width: 64px; }
.pm__ic--wide img { object-fit: contain; padding: 4px; background: #fff; }
.pm__mark { font-size: 13px; font-weight: 800; letter-spacing: .5px; }
.pm__tx { flex: 1; min-width: 0; }
.pm__tx b { display: block; font-size: 14.5px; }
.pm__tx small { font-size: 12px; color: var(--text-muted); }
.pm__radio {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--border);
  flex-shrink: 0; position: relative; transition: .2s ease;
}
.pm.is-selected .pm__radio,
.pm input:checked + .pm__tile .pm__radio { border-color: #16A34A; }
.pm.is-selected .pm__radio::after,
.pm input:checked + .pm__tile .pm__radio::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #16A34A;
}
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pay-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700;
  color: var(--text-muted); background: var(--surface-2); border: 1px solid var(--border);
  padding: 6px 11px; border-radius: 999px;
}

/* Secure panel */
.pay-secure-sub {
  margin: 0; padding: 12px 22px 0; font-size: 13.5px; font-weight: 700; color: var(--color-primary);
}
.pay-card--secure .pay-card__body { padding-top: 14px; }
.pm-selected {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 15px;
  background: var(--surface-2); border: 1px solid var(--border); margin-bottom: 14px;
}
.pm-selected__ic {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: flex;
  align-items: center; justify-content: center; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #097939, #16A34A);
}
.pm-selected__ic img { width: 100%; height: 100%; object-fit: cover; }
.pm-selected__tx { flex: 1; min-width: 0; }
.pm-selected__tx small { display: block; font-size: 11.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.pm-selected__tx b { font-size: 15.5px; }
.pm-selected__badge {
  font-size: 11px; font-weight: 800; color: #15803D; background: #DCFCE7;
  border: 1px solid #BBF7D0; padding: 4px 10px; border-radius: 999px;
}
html[data-theme="dark"] .pm-selected__badge { color: #86EFAC; background: rgba(34, 197, 94, .16); border-color: rgba(34, 197, 94, .4); }

.pay-now { position: relative; overflow: hidden; margin-bottom: 14px; }
.pay-now::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; left: -120px;
  transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  animation: payShine 4s ease-in-out infinite; pointer-events: none;
}
@keyframes payShine { 0%, 55% { left: -120px; } 100% { left: 115%; } }
@media (prefers-reduced-motion: reduce) { .pay-now::after { animation: none; } }

/* QR card */
.qr-card {
  border: 1.5px dashed var(--border); border-radius: 16px; background: var(--surface-2);
  padding: 14px; margin-bottom: 14px;
}
.qr-card.is-active { border-style: solid; border-color: rgba(37, 99, 235, .35); }
.qr-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.qr-card__head h3 { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin: 0; }
.qr-card__body { text-align: center; animation: qrIn .35s ease both; }
@keyframes qrIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .qr-card__body { animation: none; } }
.qr-box {
  width: min(224px, 100%); margin: 6px auto 0; background: #fff; border-radius: 14px;
  padding: 10px; box-shadow: var(--shadow-sm, 0 4px 14px rgba(15, 23, 42, .1));
}
.qr-box svg { width: 100%; height: auto; display: block; }
.qr-fallback { font-size: 13px; color: #0F172A; margin: 8px 0; }
.qr-scan { font-size: 12.5px; font-weight: 700; color: var(--text-muted); margin: 10px 0 4px; }
.qr-timer { font-size: 13.5px; color: var(--text); margin: 0; }
.qr-timer b {
  font-family: var(--font-display); font-size: 17px; letter-spacing: .06em;
  color: var(--color-primary); font-variant-numeric: tabular-nums;
}
.qr-expired { text-align: center; padding: 6px 0 2px; }
.qr-expired p { margin: 0 0 8px; font-size: 14px; }
.qr-expired strong { color: #B45309; }

/* Copy rows */
.pay-copy { display: grid; gap: 8px; margin-bottom: 12px; }
.pay-copy__row {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--border); flex-wrap: wrap;
}
.pay-copy__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.pay-copy__row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; font-weight: 700;
  color: var(--text); background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 3px 9px; word-break: break-all; flex: 1; min-width: 120px;
}
.pay-copy__row .btn { margin-left: auto; }
.pay-note { font-size: 12.5px; color: var(--text-muted); margin: 0 0 12px; }

/* Fallback */
.pay-fallback {
  border: 1px solid rgba(245, 158, 11, .45); background: rgba(245, 158, 11, .1);
  border-radius: 14px; padding: 13px 14px; margin-bottom: 14px;
}
.pay-fallback__title { font-weight: 700; font-size: 14px; margin: 0 0 4px; }
.pay-fallback p { font-size: 13px; margin: 0 0 10px; line-height: 1.55; }
.pay-fallback__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Status */
.pay-status {
  display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600;
  padding: 12px 14px; border-radius: 13px; background: var(--surface-2);
  border: 1px solid var(--border); margin-bottom: 12px; color: var(--text);
}
.pay-status__dot {
  width: 10px; height: 10px; border-radius: 50%; background: #F59E0B; flex-shrink: 0;
  animation: payPulse 1.4s ease-in-out infinite;
}
@keyframes payPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
.pay-status[data-state="waiting"] .pay-status__dot { background: #F59E0B; }
.pay-status[data-state="loading"] .pay-status__dot,
.pay-status[data-state="opening"] .pay-status__dot { background: #2563EB; }
.pay-status[data-state="paid"] .pay-status__dot { background: #22C55E; animation: none; }
.pay-status[data-state="paid"] { border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .1); }
.pay-status[data-state="failed"] .pay-status__dot { background: #EF4444; animation: none; }
.pay-status[data-state="failed"] { border-color: rgba(239, 68, 68, .4); background: rgba(239, 68, 68, .08); }
.pay-status[data-state="expired"] .pay-status__dot { background: #94A3B8; animation: none; }
.pay-status[data-state="error"] .pay-status__dot { background: #EF4444; animation: none; }
.pay-status[data-state="error"] { border-color: rgba(239, 68, 68, .4); }
@media (prefers-reduced-motion: reduce) { .pay-status__dot { animation: none; } }

.pay-expired {
  text-align: center; border: 1px dashed var(--border); border-radius: 14px;
  padding: 14px; margin-bottom: 12px; background: var(--surface-2);
}
.pay-expired p { margin: 0 0 8px; font-size: 14px; }

.pay-secure {
  display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; font-weight: 600;
  color: var(--text-muted); background: rgba(37, 99, 235, .07);
  border: 1px solid rgba(37, 99, 235, .2); border-radius: 13px; padding: 12px 13px; margin: 4px 0 0;
}
.pay-secure svg { flex-shrink: 0; color: var(--color-primary); margin-top: 1px; }

@media (max-width: 991.98px) {
  .pay-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pay-card__head { padding: 14px 16px; }
  .pay-card__body { padding: 14px 16px 18px; }
  .pay-secure-sub { padding: 12px 16px 0; }
  .pay-steps li { font-size: 11.5px; gap: 7px; }
  .pay-steps .n { width: 26px; height: 26px; font-size: 12px; }
  .pm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .pm__tile { flex-direction: column; text-align: center; gap: 8px; padding: 13px 8px; }
  .pm__radio { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; background: var(--surface); }
  .pm__tx b { font-size: 13.5px; }
  .pm__tx small { display: none; }
  .pay-copy__row .btn { margin-left: 0; width: 100%; }
  .pay-fallback__actions .btn { flex: 1 1 auto; }
}

.alert--info { border-color: rgba(37, 99, 235, .35); background: rgba(37, 99, 235, .1); color: #1D4ED8; }
.pay-success-mark {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(135deg, #22C55E, #16A34A);
  box-shadow: 0 14px 34px -12px rgba(34, 197, 94, .7);
  animation: payMarkIn .45s cubic-bezier(.2, .9, .3, 1.3) both;
}
@keyframes payMarkIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pay-success-mark { animation: none; } }

/* hidden copies/details */
.pay-copy[hidden], .pay-note[hidden] { display: none; }

/* Why-choose items merged into a single card */
.why-card {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); padding: 6px 20px;
  box-shadow: 0 30px 60px -46px rgba(15, 23, 42, .75);
}
.why-card .why-list { grid-template-columns: 1fr; gap: 0; }
.why-card .why-item {
  background: transparent; border: none; border-bottom: 1px dashed var(--border);
  border-radius: 0; padding: 16px 6px; overflow: visible;
}
.why-card .why-item:last-child { border-bottom: none; }
.why-card .why-item:hover {
  transform: none; border-color: transparent; box-shadow: none;
  background: rgba(37, 99, 235, .05);
}
.why-card .why-item:hover::after { opacity: 0; }
@media (max-width: 767px) {
  .why-card { padding: 4px 14px; }
  .why-card .why-item { padding: 13px 4px; }
}

/* ================= Blog ================= */
.blog-hero { padding-bottom: 18px; }
.blog-hero h1 { font-size: clamp(26px, 4vw, 38px); margin: 8px 0 10px; }
.blog-hero > .container > p { max-width: 720px; }
.blog-cat {
  display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: #1D4ED8; background: rgba(37, 99, 235, .1);
  border: 1px solid rgba(37, 99, 235, .22); padding: 4px 11px; border-radius: var(--radius-pill);
}
.blog-meta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 13px; color: var(--text-muted); margin: 6px 0 0;
}
.blog-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-chips--hero { margin-top: 16px; }
.blog-chip {
  font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none;
  border: 1px solid var(--border); background: var(--surface);
  padding: 6px 14px; border-radius: var(--radius-pill); transition: .2s ease;
}
.blog-chip:hover { color: var(--color-primary); border-color: rgba(37, 99, 235, .4); }
.blog-chip.is-on { color: #fff; background: var(--color-primary); border-color: var(--color-primary); }

.blog-cover--1 { background: linear-gradient(135deg, #1E3A8A, #2563EB 55%, #38BDF8); }
.blog-cover--2 { background: linear-gradient(135deg, #4C1D95, #7C3AED 55%, #F472B6); }
.blog-cover--3 { background: linear-gradient(135deg, #064E3B, #059669 55%, #A3E635); }
.blog-cover--4 { background: linear-gradient(135deg, #7C2D12, #EA580C 55%, #FBBF24); }
.blog-cover--5 { background: linear-gradient(135deg, #0F172A, #334155 55%, #2563EB); }
.blog-cover--6 { background: linear-gradient(135deg, #831843, #DB2777 55%, #F9A8D4); }
.blog-cover__cat {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: #fff; background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .35); padding: 4px 11px; border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
}

.blog-feat {
  display: grid; grid-template-columns: 1.02fr 1fr; overflow: hidden;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); text-decoration: none; color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-feat:hover { transform: translateY(-3px); border-color: rgba(37, 99, 235, .35); box-shadow: 0 26px 50px -34px rgba(15, 23, 42, .7); }
.blog-feat__cover { min-height: 290px; padding: 16px; display: flex; align-items: flex-start; }
.blog-feat__body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.blog-feat__body h2 { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 27px); line-height: 1.28; margin: 4px 0 0; }
.blog-feat__body p { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; margin: 0; }
.blog-feat__cta {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 6px;
  font-size: 14px; font-weight: 700; color: var(--color-primary);
}

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.blog-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-card:hover { transform: translateY(-3px); border-color: rgba(37, 99, 235, .35); box-shadow: 0 24px 46px -34px rgba(15, 23, 42, .7); }
.blog-card__cover { height: 158px; padding: 13px; display: flex; align-items: flex-start; text-decoration: none; }
.blog-card__body { padding: 15px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card__body h3 { font-family: var(--font-display); font-size: 16.5px; line-height: 1.35; margin: 0; }
.blog-card__body h3 a { color: inherit; text-decoration: none; }
.blog-card__body h3 a:hover { color: var(--color-primary); }
.blog-card__body .muted { font-size: 13.5px; line-height: 1.6; margin: 0; }
.blog-card__more { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--color-primary); text-decoration: none; }
.blog-card__more:hover { text-decoration: underline; }

.blog-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.blog-pager__nums { display: flex; gap: 6px; }
.blog-pager__num, .blog-pager__btn {
  min-width: 38px; height: 38px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600; text-decoration: none;
  border: 1.5px solid var(--border); border-radius: 11px;
  background: var(--surface); color: var(--text); transition: .2s ease;
}
.blog-pager__num:hover, .blog-pager__btn:hover { border-color: rgba(37, 99, 235, .45); color: var(--color-primary); }
.blog-pager__num.is-on { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

.blog-article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; }
.blog-article {
  background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--radius-card); padding: 24px;
}
.blog-article > .blog-cover { height: 240px; border-radius: 16px; margin-bottom: 18px; padding: 16px; display: flex; align-items: flex-start; }

.blog-share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.blog-share__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.blog-share__btn {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: 50%; background: var(--surface);
  color: var(--text); cursor: pointer; transition: .2s ease;
}
.blog-share__btn:hover { color: #fff; background: var(--color-primary); border-color: var(--color-primary); }

.blog-toc {
  border: 1.5px solid var(--border); background: rgba(37, 99, 235, .05);
  border-radius: 14px; padding: 15px 18px; margin-bottom: 22px;
}
.blog-toc b { display: block; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 8px; }
.blog-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 5px; }
.blog-toc a { font-size: 14px; color: var(--color-primary); text-decoration: none; }
.blog-toc a:hover { text-decoration: underline; }

.blog-article .prose { max-width: none; }
.blog-article .prose h2 { font-family: var(--font-display); font-size: 22px; margin: 1.6em 0 .5em; scroll-margin-top: 90px; }
.blog-article .prose h3 { font-family: var(--font-display); font-size: 17.5px; margin: 1.4em 0 .45em; }
.blog-article .prose p, .blog-article .prose li { color: var(--text-muted); font-size: 15.5px; line-height: 1.78; }
.blog-article .prose p { margin: 0 0 1em; }
.blog-article .prose ul, .blog-article .prose ol { margin: 0 0 1.2em; padding-left: 22px; display: grid; gap: 7px; }
.blog-article .prose li::marker { color: var(--color-primary); font-weight: 700; }
.blog-article .prose a { color: var(--color-primary); font-weight: 600; }
.blog-article .prose strong { color: var(--text); }
.blog-article .prose table {
  width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 14px;
  border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden;
}
.blog-article .prose th, .blog-article .prose td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.blog-article .prose th { background: rgba(37, 99, 235, .07); font-weight: 700; }
.blog-article .prose code {
  font-size: 13.5px; background: rgba(15, 23, 42, .07);
  padding: 2px 6px; border-radius: 6px;
}
.blog-article .prose h2 + p { margin-top: 0; }

.blog-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 26px; padding: 20px 22px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .1), rgba(124, 58, 237, .1));
  border: 1.5px solid rgba(37, 99, 235, .3); border-radius: 16px;
}
.blog-cta h3 { font-family: var(--font-display); font-size: 18px; margin: 0 0 5px; }
.blog-cta p { margin: 0; font-size: 14px; color: var(--text-muted); }

.blog-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.blog-pn__item {
  display: flex; flex-direction: column; gap: 5px; padding: 14px 16px; text-decoration: none; color: inherit;
  border: 1.5px solid var(--border); border-radius: 14px; transition: .2s ease;
}
.blog-pn__item:hover { border-color: rgba(37, 99, 235, .45); }
.blog-pn__item span { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text-muted); }
.blog-pn__item b { font-size: 14.5px; line-height: 1.4; }
.blog-pn__item--right { text-align: right; align-items: flex-end; }

.blog-side { display: grid; gap: 16px; }
.blog-side__box { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-card); padding: 18px; }
.blog-side__box h2 { font-family: var(--font-display); font-size: 15px; margin: 0 0 12px; letter-spacing: .02em; }
.blog-side__box--dark {
  color: #fff; border: none;
  background: linear-gradient(155deg, #0B1B4D 0%, #1E2A78 50%, #5B21B6 100%);
}
.blog-side__box--dark p { font-size: 13.5px; color: rgba(255, 255, 255, .78); margin: 0 0 14px; line-height: 1.6; }

.blog-mini { display: flex; gap: 11px; align-items: center; padding: 9px 0; text-decoration: none; color: inherit; border-bottom: 1px dashed var(--border); }
.blog-mini:last-child { border-bottom: none; padding-bottom: 0; }
.blog-mini__cover { width: 54px; height: 54px; border-radius: 11px; flex-shrink: 0; }
.blog-mini__tx { display: grid; gap: 4px; min-width: 0; }
.blog-mini__tx b { font-size: 13.5px; line-height: 1.4; }
.blog-mini:hover b { color: var(--color-primary); }
.blog-mini__tx small { font-size: 12px; color: var(--text-muted); }

@media (max-width: 1100px) {
  .blog-article-layout { grid-template-columns: 1fr; }
  .blog-side { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .blog-feat { grid-template-columns: 1fr; }
  .blog-feat__cover { min-height: 210px; }
  .blog-feat__body { padding: 20px; }
  .blog-side { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-article { padding: 16px; }
  .blog-article > .blog-cover { height: 180px; }
  .blog-pn { grid-template-columns: 1fr; }
  .blog-pn__item--right { text-align: left; align-items: flex-start; }
}

/* Blog cover images */
.blog-feat__cover, .blog-card__cover, .blog-article > .blog-cover, .blog-mini__cover { position: relative; overflow: hidden; }
.blog-cover-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s cubic-bezier(.2, .7, .3, 1);
}
.blog-feat:hover .blog-cover-img, .blog-card:hover .blog-cover-img { transform: scale(1.05); }
.blog-cover__cat { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .blog-cover-img, .blog-feat:hover .blog-cover-img, .blog-card:hover .blog-cover-img { transition: none; transform: none; }
}

.blog-cover__credit {
  position: absolute; right: 12px; bottom: 10px; z-index: 1;
  max-width: 60%; font-size: 10.5px; line-height: 1.35; letter-spacing: .02em;
  color: rgba(255, 255, 255, .85); text-decoration: none;
  background: rgba(0, 0, 0, .42); backdrop-filter: blur(4px);
  padding: 3px 9px; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, .18);
}
.blog-cover__credit:hover { color: #fff; background: rgba(0, 0, 0, .6); }

/* ================= Preloader / page transitions ================= */
body.ff-has-loader { overflow: hidden; }
.ff-loader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background:
    radial-gradient(700px 380px at 15% 10%, rgba(56, 189, 248, .28), transparent 65%),
    radial-gradient(760px 420px at 85% 90%, rgba(236, 72, 153, .26), transparent 65%),
    linear-gradient(155deg, #0B1B4D 0%, #1E2A78 45%, #5B21B6 100%);
  opacity: 1; visibility: visible;
  transition: opacity .5s ease, visibility .5s ease;
}
.ff-loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.ff-loader__inner { width: min(330px, 86vw); text-align: center; color: #fff; }
.ff-loader__mark {
  position: relative; width: 88px; height: 88px; margin: 0 auto 16px;
  display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 26px; backdrop-filter: blur(6px);
  animation: ffMark 2.2s ease-in-out infinite;
}
.ff-loader__mark svg { position: relative; z-index: 1; }
.ff-loader__pulse {
  position: absolute; inset: -4px; border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, .5);
  animation: ffPulse 1.9s cubic-bezier(.2, .7, .3, 1) infinite;
}
.ff-loader__pulse--2 { animation-delay: .65s; }
.ff-loader__name {
  font-family: var(--font-display); font-size: 14px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; opacity: .95;
}
.ff-loader__bar {
  height: 6px; margin: 16px 0 9px; overflow: hidden;
  background: rgba(255, 255, 255, .18); border-radius: 99px;
}
.ff-loader__bar i {
  display: block; width: 0; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #38BDF8, #A78BFA, #F472B6);
  box-shadow: 0 0 16px rgba(167, 139, 250, .9);
  transition: width .4s cubic-bezier(.2, .7, .3, 1);
}
.ff-loader__meta {
  display: flex; justify-content: space-between; gap: 10px;
  font-size: 11.5px; letter-spacing: .05em; color: rgba(255, 255, 255, .72);
}
.ff-loader.is-transition .ff-loader__bar i { animation: ffInfinite 1s ease-in-out infinite; }
.ff-loader.is-transition .ff-loader__meta { opacity: .55; }
@keyframes ffMark {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.03); }
}
@keyframes ffPulse {
  from { transform: scale(.96); opacity: .8; }
  to { transform: scale(1.45); opacity: 0; }
}
@keyframes ffInfinite {
  0% { width: 8%; margin-left: 0; }
  50% { width: 55%; margin-left: 25%; }
  100% { width: 8%; margin-left: 92%; }
}
.ff-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 10001;
  pointer-events: none; opacity: 0; transition: opacity .25s ease;
  background: rgba(37, 99, 235, .12);
}
.ff-progress.is-on { opacity: 1; }
.ff-progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #2563EB, #7C3AED, #EC4899);
  box-shadow: 0 0 12px rgba(124, 58, 237, .8);
  animation: ffTop 1.5s ease-in-out infinite;
}
@keyframes ffTop {
  0% { width: 0; margin-left: 0; }
  55% { width: 62%; margin-left: 12%; }
  100% { width: 24%; margin-left: 76%; }
}

/* ================= Button feedback ================= */
.btn, .icon-btn, .pm, .blog-chip { position: relative; overflow: hidden; isolation: isolate; }
.btn:active { transform: scale(.965); }
.icon-btn:active, .pm:active { transform: scale(.975); }
.btn { transition: transform .16s cubic-bezier(.2, .7, .3, 1), background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease; }
.ff-ripple {
  position: absolute; z-index: 0; border-radius: 50%;
  background: currentColor; opacity: .3;
  transform: scale(0); pointer-events: none;
  animation: ffRipple .62s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes ffRipple {
  to { transform: scale(2.7); opacity: 0; }
}
.btn.is-loading, .btn[aria-busy="true"] {
  pointer-events: none; cursor: progress; opacity: .88;
  transform: none;
}
.btn .btn-spin {
  display: inline-block; width: 16px; height: 16px; flex-shrink: 0;
  border: 2.5px solid currentColor; border-top-color: transparent;
  border-radius: 50%; animation: ffSpin .7s linear infinite;
}
@keyframes ffSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .ff-loader, .ff-loader__mark, .ff-loader__pulse, .ff-progress i, .ff-ripple, .btn .btn-spin { animation: none !important; transition: none !important; }
  .btn:active, .icon-btn:active, .pm:active { transform: none; }
}
