/* ============================================================
   AnyStats.kz landing — modern dual-theme styles
   ============================================================ */

:root {
  --accent: #E53935;
  --accent-2: #C42826;
  --pos: #16A34A;
  --info: #3B82F6;
  --warn: #F59E0B;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --container: 1200px;
  --header-h: 68px;
}

:root[data-theme="dark"] {
  --bg: #0E0F12;
  --bg-2: #0E0F12;
  --bg-3: #191B21;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.70);
  --muted-2: rgba(255, 255, 255, 0.55);
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
  --card: #15171C;
  --card-2: rgba(255, 255, 255, 0.04);
  --row-alt: #191B21;
  --nav-bg: rgba(14, 15, 18, 0.78);
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
  --grid-line: rgba(255, 255, 255, 0.04);
  --hero-glow-1: rgba(229, 57, 53, 0.18);
  --hero-glow-2: rgba(229, 57, 53, 0.06);
}

:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #FAFAF7;
  --bg-3: #F4F6F9;
  --fg: #0E0F12;
  --muted: rgba(14, 15, 18, 0.65);
  --muted-2: rgba(14, 15, 18, 0.55);
  --border: rgba(14, 15, 18, 0.08);
  --border-strong: rgba(14, 15, 18, 0.16);
  --card: #ffffff;
  --card-2: #FAFAF7;
  --row-alt: #FFF7ED;
  --nav-bg: rgba(255, 255, 255, 0.78);
  --shadow: 0 24px 60px -20px rgba(14, 15, 18, 0.18);
  --grid-line: rgba(14, 15, 18, 0.05);
  --hero-glow-1: rgba(229, 57, 53, 0.18);
  --hero-glow-2: rgba(120, 80, 255, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}
html[lang="kz"] body, html[lang="kz"] h1, html[lang="kz"] h2, html[lang="kz"] h3 {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}
html[lang="kz"] h1, html[lang="kz"] h2 { letter-spacing: -1.5px; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img, svg { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

@keyframes as-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes as-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(229,57,53,0.45); } 50% { box-shadow: 0 0 0 12px rgba(229,57,53,0); } }
@keyframes as-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes as-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Reveal: only animate transform, keep opacity 1 so content is never invisible
   if the IntersectionObserver fails to fire for any reason. */
[data-reveal] {
  transform: translateY(16px);
  opacity: 0.001;
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
[data-reveal][data-revealed="true"] { transform: translateY(0); opacity: 1; }
/* Safety: after 2s, force reveal everything even if observer never fired. */
@keyframes as-reveal-safety { to { transform: translateY(0); opacity: 1; } }
[data-reveal] { animation: as-reveal-safety 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) 2s forwards; }
[data-reveal][data-revealed="true"] { animation: none; }

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}
.brand {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.brand-any { color: var(--accent); }
.brand-stats { color: var(--fg); }
.brand-tld { color: var(--muted-2); font-weight: 800; font-size: inherit; margin-left: 2px; }

#site-nav { display: contents; }
.nav-links {
  display: flex;
  gap: 22px;
  margin-left: 12px;
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
}
.nav-links a { cursor: pointer; }
.nav-links a:hover { color: var(--fg); }

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle, .theme-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 600;
}
.lang-toggle button {
  background: transparent;
  border: none;
  color: var(--muted-2);
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}
.lang-toggle button.is-active {
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}
:root[data-theme="dark"] .lang-toggle button.is-active { background: rgba(255, 255, 255, 0.15); }

.theme-toggle {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}
.theme-toggle:hover { color: var(--fg); }
.theme-toggle svg { width: 16px; height: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(229, 57, 53, 0.4), 0 0 0 1px rgba(229, 57, 53, 0.2);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(229, 57, 53, 0.45); }
.btn-primary.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-ghost {
  background: var(--card-2);
  color: var(--fg);
  border: 1px solid var(--border-strong);
  padding: 18px 24px;
  font-weight: 600;
  font-size: 15px;
}
.btn-ghost:hover { background: var(--card); }
.btn-link-quiet {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 4px;
}
.btn-link-quiet:hover { color: var(--fg); }
.cta-pulse { animation: as-pulse 2.4s ease-out infinite; }

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  color: var(--fg);
  align-items: center;
  justify-content: center;
  position: relative;
}
.nav-toggle::before, .nav-toggle::after, .nav-toggle span {
  content: '';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.nav-toggle::before { top: 13px; }
.nav-toggle span { top: 19px; }
.nav-toggle::after { top: 25px; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg-glow-1, .hero-bg-glow-2 {
  position: absolute;
  pointer-events: none;
  filter: blur(40px);
  border-radius: 50%;
}
.hero-bg-glow-1 {
  top: 30%; left: -15%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--hero-glow-1) 0%, transparent 65%);
}
.hero-bg-glow-2 {
  bottom: -25%; right: -15%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, var(--hero-glow-2) 0%, transparent 65%);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 88px 32px 96px;
  position: relative;
  z-index: 1;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: var(--card-2);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 28px;
}
.hero-pill-live {
  background: var(--pos);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.hero h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: -3px;
  font-size: 96px;
  line-height: 0.95;
  color: var(--fg);
  margin: 0 0 28px;
}
.hero h1 .accent {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M2,8 Q60,2 120,8 T198,8' stroke='%23E53935' stroke-width='3' fill='none' stroke-linecap='round' opacity='0.5'/></svg>") center / 100% 100% no-repeat;
}
.hero h1 .dim { color: var(--muted-2); }
.hero h1 .h1-line { white-space: nowrap; display: inline-block; }
@media (max-width: 480px) {
  .hero h1 .h1-line { white-space: normal; }
}

.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 36px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-trial { font-size: 13px; color: var(--muted-2); margin-left: 4px; }
.btn-play-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-play-icon svg { width: 9px; height: 10px; fill: #fff; }

.hero-cards {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 880px;
}
.hero-card {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  animation: as-float 4s ease-in-out infinite;
}
.hero-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.hero-card-label { font-size: 11px; color: var(--muted-2); font-weight: 600; letter-spacing: 0.6px; }
.hero-card-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-card-icon svg { width: 14px; height: 14px; }
.hero-card-value {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -1px;
}
.hero-card-delta { font-size: 12px; margin-top: 2px; font-weight: 600; }

/* Live Ticker */
.ticker {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
  padding: 14px 0;
  font-size: 13px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.ticker-track {
  display: flex;
  gap: 48px;
  animation: as-marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-item { display: inline-flex; align-items: center; gap: 10px; }
.ticker-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--pos);
  box-shadow: 0 0 8px var(--pos);
  flex-shrink: 0;
}

/* Counters */
.counters {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.counters-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.counter-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
}
.counter-num .suf { color: var(--accent); }
.counter-label { font-size: 13px; margin-top: 8px; color: var(--muted); font-weight: 500; }

/* Section header */
.section { padding: 88px 0; }
.section-bg-2 { background: var(--bg-2); }

.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin: 0 auto 48px; text-align: center; }
.section-kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -1.6px;
  margin: 0;
  color: var(--fg);
}
.section-sub {
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  margin: 16px 0 0;
  max-width: 600px;
}
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* Before / After */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.ba-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  height: 100%;
  border: 1px solid var(--border);
  background: var(--card);
}
.ba-card--pos {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 24px 60px -20px rgba(229, 57, 53, 0.4);
}
.ba-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
}
.ba-head-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
}
.ba-card--pos .ba-head-icon { background: rgba(255, 255, 255, 0.18); color: #fff; }
.ba-head-icon svg { width: 16px; height: 16px; }

.ba-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ba-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--muted);
}
.ba-card--pos .ba-item { color: rgba(255, 255, 255, 0.9); }
.ba-bullet {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  margin-top: 2px;
  flex-shrink: 0;
  background: var(--bg-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--fg);
}
.ba-card--pos .ba-bullet { background: rgba(255, 255, 255, 0.2); color: #fff; }
.ba-bullet svg { width: 11px; height: 11px; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.step-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 13px;
  color: var(--accent);
  background: rgba(229, 57, 53, 0.12);
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.step-arrow {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px dashed var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}
.step-arrow svg { width: 14px; height: 14px; }
.step-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -10px rgba(14, 15, 18, 0.18);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(229, 57, 53, 0.12);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-tag {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted-2);
  background: var(--bg-3);
  padding: 3px 8px;
  border-radius: 999px;
}
.feature-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.feature-desc { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0; }

/* Differentiators */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.diff-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.diff-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: var(--accent);
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.diff-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}
.diff-desc { font-size: 15px; color: var(--muted); line-height: 1.55; margin: 0; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.stars { color: var(--warn); letter-spacing: 4px; font-size: 16px; margin-bottom: 14px; }
.testimonial-text { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0 0 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 700; font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--muted-2); margin-top: 2px; }

/* Pricing */
.pricing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: start;
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.pricing-from { color: var(--muted-2); font-size: 16px; font-weight: 500; }
.pricing-price {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 72px;
  letter-spacing: -2.5px;
  color: var(--fg);
  line-height: 1;
}
.pricing-currency { font-size: 22px; color: var(--muted); font-weight: 600; }
.pricing-unit { color: var(--muted-2); font-size: 15px; margin-bottom: 24px; }

.pricing-included-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.pricing-included {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.pricing-included li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--fg);
}
.pricing-check {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.15);
  color: var(--pos);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-check svg { width: 12px; height: 12px; }

.pricing-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.pricing-trial { font-size: 12px; color: var(--muted-2); margin-top: 14px; }

.pricing-side {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.pricing-side-tag {
  display: inline-block;
  background: rgba(229, 57, 53, 0.12);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.pricing-side-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 6px;
  letter-spacing: -0.4px;
}
.pricing-side-sub { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.adv-list { display: flex; flex-direction: column; gap: 14px; }
.adv-item { border-top: 1px dashed var(--border); padding-top: 12px; }
.adv-item:first-child { border-top: none; padding-top: 0; }
.adv-item h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 4px;
}
.adv-item p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }

.pricing-more { margin-top: 24px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.pricing-more strong { color: var(--fg); display: block; margin-bottom: 4px; }

/* FAQ */
.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 880px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.2px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s, background 0.25s, color 0.25s;
}
.faq-plus svg { width: 14px; height: 14px; }
.faq-item[open] .faq-plus {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}
.faq-answer { padding: 0 24px 22px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* Final CTA */
.final-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.final-cta-inner { position: relative; z-index: 1; }
.final-cta h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1.05;
  letter-spacing: -1.6px;
  margin: 0 0 18px;
}
.final-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 32px;
  max-width: 620px;
}
.btn-on-red {
  background: #fff;
  color: var(--accent);
  padding: 18px 32px;
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--radius-md);
}
.btn-on-red:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.3); }

/* Footer */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 28px;
}
.footer-col h5 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted-2);
}
.footer-col p, .footer-col a { font-size: 14px; color: var(--muted); }
.footer-col a:hover { color: var(--fg); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: color 0.15s, border-color 0.15s, transform 0.15s;
}
.footer-socials a:hover { color: var(--fg); border-color: var(--border-strong); transform: translateY(-2px); }
.footer-socials .icon-wa:hover { color: #25D366; }
.footer-socials .icon-tg:hover { color: #0088cc; }
.footer-socials .icon-yt:hover { color: #FF0000; }
.footer-socials svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted-2);
}

/* Demo modal */
.demo-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(14, 15, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 32px;
  animation: as-fade-in 0.2s ease-out;
}
.demo-modal.is-open { display: flex; }
.demo-modal-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}
.demo-modal-frame iframe { width: 100%; height: 100%; border: 0; }
.demo-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.demo-modal-close:hover { background: rgba(255, 255, 255, 0.2); }

/* SEO keyword block — visually hidden but readable by search bots */
.seo-keywords {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Floating WhatsApp */
.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  z-index: 999;
  transition: transform 0.3s ease;
  animation: as-pulse 2s infinite;
}
.whatsapp-fab:hover { transform: scale(1.08); animation: none; }
.whatsapp-fab svg { width: 30px; height: 30px; fill: #fff; }

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 72px; letter-spacing: -2px; }
  .section-title { font-size: 42px; }
  .features-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav { padding: 10px 16px; gap: 8px; }

  /* Hide hamburger entirely — controls fit horizontally */
  .nav-toggle { display: none; }
  /* Hide section nav-links on mobile, but keep brand + lang/theme/login/signup */
  .nav-links { display: none; }
  .nav-actions {
    margin-left: auto;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .lang-toggle { padding: 2px; font-size: 11px; }
  .lang-toggle button { padding: 4px 7px; }
  .theme-toggle { width: 32px; height: 32px; }
  .btn-link-quiet { font-size: 13px; padding: 6px 4px; }
  .btn-primary { padding: 8px 12px; font-size: 13px; }

  .hero-inner { padding: 48px 20px 56px; }
  .hero h1 { font-size: 44px; letter-spacing: -1.5px; line-height: 1; }
  .hero-sub { font-size: 16px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn-lg { padding: 14px 20px; font-size: 14px; flex: 1; justify-content: center; }
  .hero-ctas .btn-ghost { padding: 14px 18px; font-size: 14px; flex: 1; justify-content: center; }
  .hero-trial { width: 100%; text-align: center; margin: 4px 0 0; }
  .hero-cards { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }

  .counters-grid { grid-template-columns: 1fr; gap: 24px; padding: 28px 20px; }
  .counter-num { font-size: 36px; }

  .section { padding: 56px 0; }
  .section-title { font-size: 32px; letter-spacing: -1px; }
  .section-sub { font-size: 15px; }
  .section-head { margin-bottom: 32px; }

  .ba-grid { grid-template-columns: 1fr; gap: 16px; }
  .ba-card { padding: 24px; }

  .steps-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .features-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .diff-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }

  .pricing-card { padding: 24px; margin-top: 32px; border-radius: 18px; }
  .pricing-price { font-size: 56px; }
  .pricing-included { grid-template-columns: 1fr; }
  .pricing-ctas .btn { width: 100%; justify-content: center; }
  .pricing-side { padding: 22px; }

  .faq-item summary { padding: 16px 18px; font-size: 15px; }
  .faq-answer { padding: 0 18px 18px; font-size: 14px; }

  .final-cta { padding: 56px 0; }
  .final-cta h2 { font-size: 36px; letter-spacing: -1px; }
  .final-cta p { font-size: 15px; }
  .btn-on-red { padding: 14px 22px; font-size: 15px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .whatsapp-fab { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }

  .demo-modal { padding: 16px; }
  .demo-modal-close { top: -40px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 36px; }
  .pricing-price { font-size: 44px; }
  .section-title { font-size: 28px; }
  .final-cta h2 { font-size: 30px; }
  .nav { padding: 10px 12px; gap: 6px; }
  .nav-actions { gap: 4px; }
  .brand { font-size: 17px; }
  .brand-tld { font-size: 17px; }
  .lang-toggle button { padding: 3px 6px; font-size: 10px; }
  .theme-toggle { width: 30px; height: 30px; }
  .btn-link-quiet { font-size: 12px; padding: 6px 6px; }
  .btn-primary { padding: 7px 10px; font-size: 12px; }
}

@media (max-width: 360px) {
  /* Ultra-tight: drop the language toggle to free space — login + signup keep priority */
  .nav-actions .lang-toggle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { transform: none; opacity: 1; transition: none; }
  .ticker-track, .hero-card, .cta-pulse, .whatsapp-fab { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Sale-popup styles (used by child templates' {% block sale_popup %})
   ============================================================ */
.modal-content.sale-modal {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  color: #1a1a1a;
  background: #fff;
}
.modal-content.sale-modal .modal-header {
  background: linear-gradient(135deg, #ff3e55 0%, #ff6b6b 100%);
  color: #fff;
  border: 0;
}
.modal-content.sale-modal .badge-sale {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}
.modal-content.sale-modal .btn-sale {
  background: linear-gradient(135deg, #ff3e55 0%, #ff6b6b 100%);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
}
.modal-content.sale-modal .btn-sale:hover { filter: brightness(1.05); color: #fff; }
.modal-content.sale-modal .sale-timer {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.modal-content.sale-modal.pulse { position: relative; }
.modal-content.sale-modal.pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 16px;
  box-shadow: 0 0 0 0 rgba(255,62,85,0.55);
  animation: pulseGlow 1.6s infinite;
  pointer-events: none;
}
@keyframes pulseGlow {
  0%   { box-shadow: 0 0 0 0 rgba(255,62,85,0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(255,62,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,62,85,0); }
}
