/* ============================================
   TVB.GG - Site Styles
   Single source of truth for both pages.
   ============================================ */

/* Self-hosted fonts (no Google Fonts call needed) */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('fonts/bricolage-grotesque-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('fonts/bricolage-grotesque-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('fonts/bricolage-grotesque-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('fonts/bricolage-grotesque-latin-700-normal.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('fonts/geist-latin-300-normal.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('fonts/geist-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('fonts/geist-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('fonts/geist-latin-600-normal.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}

:root {
  /* Color tokens */
  --bg:            #0a0612;
  --bg-2:          #100819;
  --surface:       #150b22;
  --surface-2:     #1c0f2c;
  --surface-3:     #241338;
  --border:        #2a1a3d;
  --border-bright: #3d2456;
  --text:          #ece8f5;
  --text-dim:      #a89cc0;
  --text-muted:    #6e6584;
  --primary:       #9146ff;
  --primary-bright:#b07cff;
  --primary-soft:  #c9a7ff;
  --primary-glow:  rgba(145, 70, 255, 0.55);
  --primary-faint: rgba(145, 70, 255, 0.10);
  --accent:        #00ffa3;
  --danger:        #ff5577;
  --warn:          #ffb547;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(1rem, 4vw, 2rem);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Motion */
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* Fonts */
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
}

/* Atmospheric background - fixed layer, subtle aurora + grain */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 800px 600px at 15% -10%, rgba(145, 70, 255, 0.18), transparent 60%),
    radial-gradient(ellipse 700px 500px at 95% 20%, rgba(176, 124, 255, 0.10), transparent 65%),
    radial-gradient(ellipse 1200px 800px at 50% 110%, rgba(145, 70, 255, 0.12), transparent 60%);
}
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.4' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .12 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Global wrapper */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); position: relative; z-index: 1; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.05;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
p  { color: var(--text-dim); }

a { color: inherit; text-decoration: none; }

::selection { background: var(--primary); color: #fff; }

/* Eyebrow / kicker */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-soft);
  padding: 7px 14px;
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(145, 70, 255, 0.08), rgba(145, 70, 255, 0.02));
  backdrop-filter: blur(6px);
}
.kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary-bright);
  box-shadow: 0 0 12px var(--primary-bright);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s var(--ease);
  white-space: nowrap;
  letter-spacing: -0.01em;
  position: relative;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(180deg, #a063ff, #7a2eff);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10) inset,
    0 1px 0 rgba(255,255,255,.18) inset,
    0 8px 24px -8px var(--primary-glow),
    0 16px 48px -16px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.18) inset,
    0 1px 0 rgba(255,255,255,.22) inset,
    0 12px 32px -8px var(--primary-glow),
    0 24px 64px -12px var(--primary-glow);
}
.btn-ghost {
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-color: var(--border-bright);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--primary);
}
.btn .arrow {
  display: inline-block;
  transition: transform .25s var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

/* Top promo banner */
.promo-bar {
  position: relative;
  z-index: 50;
  background: linear-gradient(90deg, #1a0a30, #2a1248, #1a0a30);
  border-bottom: 1px solid var(--border-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.promo-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-block: 10px;
  text-align: center;
  flex-wrap: wrap;
}
.promo-bar .badge {
  background: var(--primary);
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.promo-bar a {
  color: var(--primary-bright);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(176, 124, 255, .35);
  transition: text-decoration-color .2s;
}
.promo-bar a:hover { text-decoration-color: var(--primary-bright); }

/* Header / Nav */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px) saturate(160%);
  background: rgba(10, 6, 18, 0.72);
  border-bottom: 1px solid rgba(42, 26, 61, 0.6);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 18px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--text);
}
.logo img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 24px var(--primary-glow); }
.logo .dot-gg { color: var(--primary-bright); }
nav.primary {
  display: flex;
  gap: 6px;
  align-items: center;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  padding: 5px;
  border-radius: 999px;
}
nav.primary a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 9px 16px;
  border-radius: 999px;
  transition: all .2s;
}
nav.primary a:hover { color: var(--text); background: rgba(255,255,255,.04); }
nav.primary a.active { color: var(--text); background: var(--surface-2); box-shadow: 0 0 0 1px var(--border-bright) inset; }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-bright);
  width: 42px; height: 42px;
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 920px) {
  nav.primary { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  nav.primary.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 78px; left: var(--gutter); right: var(--gutter);
    padding: 14px;
    background: rgba(20, 9, 25, 0.96);
    backdrop-filter: blur(20px);
    border-radius: 18px;
    align-items: stretch;
  }
  nav.primary.open a { padding: 14px 16px; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding-top: clamp(60px, 9vw, 110px);
  padding-bottom: clamp(60px, 9vw, 130px);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(145, 70, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(145, 70, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero .glow {
  position: absolute;
  width: 900px; height: 900px;
  left: 50%; top: -200px;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: .65;
  z-index: -1;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-grid .kicker { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
}
.hero-eyebrow { margin-bottom: 28px; }
.hero h1 {
  margin-bottom: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #d8c9ff 60%, #a87cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .accent {
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 500;
  background: linear-gradient(180deg, #c9a7ff 0%, #9146ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-dim);
  max-width: 520px;
  margin-bottom: 36px;
}
@media (max-width: 980px) { .hero p.lede { margin-inline: auto; } }
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stats .stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}
.hero-stats .stat .num .unit { color: var(--primary-bright); }
.hero-stats .stat .label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}
.hero-visual .device {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(145, 70, 255, 0.35)) drop-shadow(0 60px 120px rgba(0,0,0,.6));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-visual .ticker {
  position: absolute;
  background: rgba(20, 9, 25, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.hero-visual .ticker .live {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
.hero-visual .ticker.t1 { top: 10%; left: -8%; }
.hero-visual .ticker.t2 { bottom: 12%; right: -6%; }
@media (max-width: 980px) {
  .hero-visual .ticker.t1 { left: 0; }
  .hero-visual .ticker.t2 { right: 0; }
}

/* Marquee logo strip */
.marquee {
  margin-top: 40px;
  padding-block: 28px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(20, 9, 25, 0.4);
  backdrop-filter: blur(8px);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track {
  display: flex;
  gap: 70px;
  white-space: nowrap;
  animation: scroll 36s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  align-items: center;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; }
.marquee-track span::after {
  content: '';
  width: 5px; height: 5px;
  background: var(--primary);
  border-radius: 50%;
  margin-left: 70px;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================
   SECTIONS - common
   ============================================ */
section.area {
  padding-block: clamp(70px, 10vw, 130px);
  position: relative;
  z-index: 1;
}
.section-top {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(50px, 7vw, 80px);
}
.section-top .kicker { margin-bottom: 22px; }
.section-top h2 { margin-bottom: 18px; }
.section-top p { font-size: 1.05rem; }

/* ============================================
   OFFER - "What We Offer" - 4 cards
   ============================================ */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .offer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .offer-grid { grid-template-columns: 1fr; } }

.offer-card {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.offer-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(145, 70, 255, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.offer-card:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.offer-card:hover::before { opacity: 1; }
.offer-card .icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(145, 70, 255, 0.16), rgba(145, 70, 255, 0.04));
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  margin-bottom: 22px;
  box-shadow: 0 0 24px rgba(145, 70, 255, 0.18) inset;
}
.offer-card .icon svg { width: 26px; height: 26px; color: var(--primary-bright); }
.offer-card h3 { margin-bottom: 10px; }
.offer-card p { font-size: 0.95rem; line-height: 1.6; }

/* ============================================
   EXPECT - "Fast, Reliable & Easy"
   Two-column: feature list + showcase image
   ============================================ */
.expect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 980px) { .expect-grid { grid-template-columns: 1fr; gap: 40px; } }

.expect-list { display: flex; flex-direction: column; gap: 14px; }
.expect-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all .3s var(--ease);
  cursor: pointer;
}
.expect-item:hover, .expect-item.active {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(145, 70, 255, 0.08), var(--surface));
  box-shadow: 0 0 0 1px var(--primary) inset, 0 20px 60px -20px var(--primary-glow);
}
.expect-item .icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(145, 70, 255, 0.12);
  border: 1px solid var(--border-bright);
  border-radius: 13px;
}
.expect-item .icon svg { width: 24px; height: 24px; color: var(--primary-bright); }
.expect-item h3 { margin-bottom: 6px; font-size: 1.2rem; }
.expect-item p { font-size: 0.92rem; }

.expect-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}
.expect-visual::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--primary-glow), transparent 60%);
  pointer-events: none;
}
.expect-visual img { position: relative; width: 100%; height: auto; border-radius: 16px; }

/* ============================================
   FEATURES - bento grid, 6 cards
   ============================================ */
.features-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: auto;
  gap: 18px;
}
.feat {
  position: relative;
  padding: 32px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}
.feat:hover { border-color: var(--border-bright); transform: translateY(-3px); }
.feat .feat-illo {
  height: 160px;
  margin: -8px -8px 22px;
  background: radial-gradient(circle at 50% 50%, rgba(145, 70, 255, 0.10), transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
}
.feat h3 { margin-bottom: 8px; font-size: 1.25rem; }
.feat p { font-size: 0.95rem; }

.feat.f1 { grid-column: span 3; grid-row: span 2; display: flex; flex-direction: column; }
.feat.f1 .feat-illo { flex: 1; min-height: 240px; }
.feat.f2 { grid-column: span 3; }
.feat.f3 { grid-column: span 3; }
.feat.f4 { grid-column: span 2; }
.feat.f5 { grid-column: span 2; }
.feat.f6 { grid-column: span 2; }
.feat.f7 { grid-column: span 6; }

@media (max-width: 1024px) {
  .features-bento { grid-template-columns: repeat(2, 1fr); }
  .feat.f1, .feat.f2, .feat.f3, .feat.f4, .feat.f5, .feat.f6, .feat.f7 { grid-column: span 1; grid-row: auto; }
  .feat.f1 .feat-illo { min-height: 180px; }
}
@media (max-width: 600px) {
  .features-bento { grid-template-columns: 1fr; }
}

/* ============================================
   PRICING
   ============================================ */
.pricing-tabs {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 999px;
  margin: 0 auto 50px;
  gap: 4px;
}
.pricing-tabs-wrap { text-align: center; }
.pricing-tab {
  font-family: var(--font-body);
  background: transparent;
  border: none;
  color: var(--text-dim);
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.pricing-tab.active {
  background: linear-gradient(180deg, #a063ff, #7a2eff);
  color: #fff;
  box-shadow: 0 8px 20px -8px var(--primary-glow);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.pricing-grid.aio { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1180px) {
  .pricing-grid, .pricing-grid.aio { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pricing-grid, .pricing-grid.aio { grid-template-columns: 1fr; }
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: relative;
  transition: transform .3s, border-color .3s;
}
.plan:hover { transform: translateY(-4px); border-color: var(--border-bright); }
.plan.featured {
  border-color: var(--primary);
  background:
    linear-gradient(180deg, rgba(145, 70, 255, 0.10), var(--surface));
  box-shadow: 0 0 0 1px var(--primary) inset, 0 30px 80px -30px var(--primary-glow);
}
.plan.featured::before {
  content: 'MOST POPULAR';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #b07cff, #9146ff);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px -6px var(--primary-glow);
}
.plan h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.plan .desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 56px;
  margin-bottom: 18px;
  line-height: 1.5;
}
.plan .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--border);
}
.plan .price .amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}
.plan .price .per {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}
.plan ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  flex: 1;
}
.plan ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.plan ul li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background: rgba(145, 70, 255, 0.16);
  border: 1px solid var(--primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2.5 6 5 8.5 9.5 4' fill='none' stroke='%23b07cff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.plan .btn { width: 100%; justify-content: center; }

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .25s;
}
.faq[open] { border-color: var(--border-bright); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--primary-bright);
  flex-shrink: 0;
  transition: transform .25s;
  line-height: 1;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq .answer {
  padding: 0 26px 22px;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq .answer a { color: var(--primary-bright); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================
   CTA
   ============================================ */
.cta-area {
  position: relative;
  padding-block: clamp(80px, 12vw, 140px);
}
.cta-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(145, 70, 255, 0.10), rgba(20, 9, 25, 0.6)),
    var(--surface);
  border: 1px solid var(--border-bright);
  border-radius: var(--r-xl);
  padding: clamp(50px, 8vw, 90px) clamp(30px, 6vw, 70px);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 60px 120px -40px rgba(145, 70, 255, 0.25);
}
.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(145, 70, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(145, 70, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent);
  pointer-events: none;
}
.cta-card .glow-orb {
  position: absolute;
  width: 600px; height: 600px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--primary-glow), transparent 60%);
  pointer-events: none;
  opacity: 0.6;
}
.cta-card > * { position: relative; }
.cta-card h2 { margin-bottom: 18px; }
.cta-card p { max-width: 540px; margin: 0 auto 36px; font-size: 1.1rem; }
.cta-card .btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
footer.site {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding-block: 70px 30px;
  position: relative;
  z-index: 1;
}
footer .grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
@media (max-width: 820px) {
  footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  footer .grid { grid-template-columns: 1fr; }
}
footer .about p {
  font-size: 0.92rem;
  margin: 18px 0 22px;
  max-width: 360px;
}
footer .col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary-bright);
  margin-bottom: 18px;
  font-weight: 500;
}
footer .col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
footer .col ul a { color: var(--text-dim); font-size: 0.92rem; transition: color .2s; }
footer .col ul a:hover { color: var(--text); }
footer .col img.cryptos { width: 100%; max-width: 280px; opacity: .7; }
footer .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  flex-wrap: wrap;
  gap: 14px;
}
footer .bottom .legal { display: flex; gap: 22px; }
footer .bottom .legal a:hover { color: var(--text); }

/* ============================================
   AI Chatbot page-specific
   ============================================ */
.aichat-hero {
  position: relative;
  padding-top: clamp(70px, 10vw, 120px);
  padding-bottom: clamp(60px, 8vw, 100px);
  text-align: center;
  overflow: hidden;
}
.aichat-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(145, 70, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(145, 70, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.aichat-hero .wrap > * { position: relative; }
.aichat-hero h1 { max-width: 880px; margin: 28px auto 22px; }
.aichat-hero p.lede {
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
}
.aichat-hero .hero-cta { justify-content: center; }

.chat-demo {
  max-width: 720px;
  margin: 70px auto 0;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-bright);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-align: left;
  box-shadow: 0 60px 120px -40px var(--primary-glow), 0 30px 60px rgba(0,0,0,.6);
}
.chat-demo .head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(20, 9, 25, 0.6);
}
.chat-demo .head .dots { display: flex; gap: 6px; }
.chat-demo .head .dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--border-bright);
}
.chat-demo .head .dots span.live {
  background: var(--primary);
  border-color: var(--primary-bright);
  box-shadow: 0 0 12px var(--primary-glow);
}
.chat-demo .head .title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-left: auto;
}
.chat-demo .body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
}
.chat-msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  opacity: 0;
  animation: fadeUp .5s var(--ease) forwards;
}
.chat-msg .avatar {
  width: 32px; height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}
.chat-msg .avatar.viewer {
  background: linear-gradient(180deg, #4a2980, #2d1850);
  color: var(--primary-soft);
}
.chat-msg .avatar.bot {
  background: linear-gradient(180deg, #a063ff, #7a2eff);
  color: #fff;
  box-shadow: 0 0 14px var(--primary-glow);
}
.chat-msg .content { flex: 1; min-width: 0; }
.chat-msg .meta {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 4px;
}
.chat-msg .name {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-soft);
}
.chat-msg .name.bot { color: var(--primary-bright); }
.chat-msg .time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
}
.chat-msg .text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.5;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.aichat-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 90px;
}
@media (max-width: 900px) { .aichat-features { grid-template-columns: 1fr; } }

/* AOS-lite - fade-in on scroll. Hidden only after JS marks the page ready,
   so users without JS still see the full page. */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.js-ready .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   LEGAL PAGES (privacy, refund, terms)
   ============================================ */
.legal-page {
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
  position: relative;
  z-index: 1;
}
.legal-page .wrap { max-width: var(--maxw); }
.legal-page .kicker { margin-bottom: 24px; }
.legal-page h1 {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  margin-bottom: 16px;
}
.legal-page .subtitle {
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 680px;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.legal-page h2 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin-top: 48px;
  margin-bottom: 18px;
}
.legal-page p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
}
.legal-page ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
  padding-left: 4px;
}
.legal-page ul li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.7;
}
.legal-page ul li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 11px;
  background: var(--primary);
  border-radius: 50%;
}
.legal-page a {
  color: var(--primary-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(176, 124, 255, .35);
  transition: text-decoration-color .2s;
}
.legal-page a:hover { text-decoration-color: var(--primary-bright); }
.legal-page strong { color: var(--text); font-weight: 600; white-space: nowrap; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero-visual .device { animation: none; }
}
