/* =====================================================
   TRIVORA — Industry-Standard Design System
   Inspired by: Vercel, Linear, Framer, Stripe
   ===================================================== */

/* ---- Tokens ---- */
:root {
  /* Colours */
  --bg:       #030712;
  --bg-card:  #0a0f1e;
  --bg-card2: #0d1426;
  --border:   rgba(255,255,255,.07);
  --border-hi:rgba(255,255,255,.14);
  --accent:   #7c3aed;
  --accent-hi:#9f5eff;
  --cyan:     #06b6d4;
  --green:    #10b981;
  --red:      #ef4444;
  --yellow:   #f59e0b;
  --pink:     #ec4899;
  --orange:   #f97316;
  --text:     #f8fafc;
  --text-2:   #94a3b8;
  --muted:    #475569;

  /* Typography */
  --font-body:    'Inter', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing */
  --px: clamp(20px, 5vw, 48px);
  --section-py: clamp(72px, 10vw, 120px);

  /* Radii */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Shadows */
  --shadow-card: 0 1px 0 0 rgba(255,255,255,.05), 0 4px 24px rgba(0,0,0,.35);
  --shadow-glow: 0 0 80px rgba(124,58,237,.25);
  --shadow-xl:   0 24px 80px rgba(0,0,0,.6);

  /* Transition */
  --ease: .22s cubic-bezier(.4,0,.2,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

/* ---- Utility ---- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* =====================================================
   HEADER / NAV
   ===================================================== */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 900;
  border-bottom: 1px solid transparent;
  transition: background var(--ease), border-color var(--ease), backdrop-filter var(--ease);
}
.site-header.scrolled {
  background: rgba(3,7,18,.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 var(--px); height: 60px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  text-decoration: none; flex-shrink: 0;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  color: var(--text); letter-spacing: -.3px;
}
.nav-menu {
  display: flex; list-style: none; gap: 2px; margin-left: auto;
}
.nav-menu a {
  display: block; padding: 7px 13px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
  text-decoration: none; transition: color var(--ease), background var(--ease);
}
.nav-menu a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-btn-ghost {
  padding: 7px 15px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
  text-decoration: none; transition: color var(--ease), background var(--ease);
}
.nav-btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav-btn-solid {
  padding: 8px 18px; border-radius: var(--r-sm);
  background: var(--accent); color: #fff;
  font-size: 13.5px; font-weight: 600; text-decoration: none;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 0 0 1px rgba(124,58,237,.5), 0 4px 16px rgba(124,58,237,.3);
}
.nav-btn-solid:hover {
  background: var(--accent-hi); transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(159,94,255,.6), 0 6px 24px rgba(124,58,237,.5);
}
.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto; width: 40px; height: 40px;
}
.nav-hamburger span {
  display: block; width: 20px; height: 1.5px;
  background: var(--text-2); border-radius: 2px; transition: var(--ease);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mobile {
  display: none; flex-direction: column; gap: 0;
  padding: 8px var(--px) 20px;
  background: rgba(3,7,18,.97); border-bottom: 1px solid var(--border);
}
.nav-mobile a {
  display: block; padding: 13px 0; font-size: 16px; font-weight: 500;
  color: var(--text-2); text-decoration: none;
  border-bottom: 1px solid var(--border); transition: color var(--ease);
}
.nav-mobile a:hover { color: var(--text); }
.nav-mobile-cta {
  margin-top: 14px; padding: 13px !important;
  background: var(--accent) !important; color: #fff !important;
  text-align: center; border-radius: var(--r) !important;
  border: none !important; font-weight: 700 !important; font-size: 15px !important;
}

@media (max-width: 860px) {
  .nav-menu, .nav-actions { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile.open { display: flex; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 100px var(--px) 60px;
  max-width: 1200px; margin: 0 auto;
  position: relative;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 90px; }
}
.hero-noise {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
.hero-orbs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(120px); animation: orb-float 12s ease-in-out infinite;
}
.orb-a { width: min(800px,120vw); height: min(800px,120vw); background: rgba(124,58,237,.18); top: -30%; right: -20%; }
.orb-b { width: min(500px,90vw); height: min(500px,90vw); background: rgba(6,182,212,.12); bottom: -20%; left: -15%; animation-delay: 4s; }
.orb-c { width: min(350px,70vw); height: min(350px,70vw); background: rgba(236,72,153,.09); top: 40%; left: 35%; animation-delay: 8s; }
@keyframes orb-float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(2%,3%) scale(1.05); } 66% { transform: translate(-2%,-2%) scale(.97); } }

.hero-container { z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(124,58,237,.1);
  border: 1px solid rgba(124,58,237,.25);
  border-radius: 50px; padding: 6px 14px;
  font-size: 12.5px; font-weight: 500; color: #a78bfa;
  margin-bottom: 24px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(74,222,128,.2);
  animation: live-blink 2s ease-in-out infinite;
}
@keyframes live-blink { 0%,100% { opacity:1; } 50% { opacity: .4; } }

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 800; line-height: 1.06; letter-spacing: -2.5px;
  margin-bottom: 22px; color: var(--text);
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-body {
  font-size: clamp(15px, 2vw, 18px); color: var(--text-2); line-height: 1.75;
  margin-bottom: 36px; max-width: 480px;
}
@media (max-width: 900px) { .hero-body { margin-inline: auto; } }

.hero-cta-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .hero-cta-row { justify-content: center; } }

.cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; text-decoration: none;
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  padding: 13px 26px; border-radius: var(--r); border: none; cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 0 0 1px rgba(124,58,237,.5), 0 8px 32px rgba(124,58,237,.35);
  line-height: 1;
}
.cta-primary:hover {
  background: var(--accent-hi); transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(159,94,255,.6), 0 12px 40px rgba(124,58,237,.55);
}
.cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-2); text-decoration: none;
  font-size: 14px; font-weight: 500; padding: 13px 20px;
  border-radius: var(--r); border: 1px solid var(--border-hi);
  background: rgba(255,255,255,.04);
  transition: color var(--ease), background var(--ease), border-color var(--ease);
}
.cta-ghost:hover { color: var(--text); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.cta-xl { font-size: 17px; padding: 16px 36px; border-radius: var(--r-lg); }

.hero-social-proof {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
@media (max-width: 900px) { .hero-social-proof { justify-content: center; } }
.proof-faces {
  display: flex;
}
.proof-faces img {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--bg); object-fit: cover;
  margin-left: -8px;
}
.proof-faces img:first-child { margin-left: 0; }
.proof-stars { color: #fbbf24; font-size: 12px; letter-spacing: 1px; }
.proof-text { font-size: 13px; color: var(--text-2); line-height: 1.4; }
.proof-text strong { color: var(--text); }

/* Phone mockup */
.hero-phone-wrap {
  position: relative; display: flex; justify-content: center; z-index: 1;
}
.hero-phone {
  width: clamp(200px,26vw,248px);
  background: #0f0f1a;
  border-radius: 36px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), var(--shadow-xl), 0 0 80px rgba(124,58,237,.2);
  overflow: hidden;
  animation: phone-float 6s ease-in-out infinite;
}
@keyframes phone-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.phone-chrome {
  height: 28px; background: #0c0c18; display: flex;
  align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.phone-cam {
  width: 8px; height: 8px; border-radius: 50%; background: #1c1c2e;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.phone-body {
  background: linear-gradient(170deg, #100820 0%, #1a0d35 100%);
  padding: 18px 14px 22px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.pb-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 6px;
  box-shadow: 0 0 0 3px rgba(168,85,247,.25), 0 0 24px rgba(168,85,247,.3);
}
.pb-name { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: #fff; }
.pb-bio { font-size: 10px; color: rgba(255,255,255,.45); margin-bottom: 10px; text-align: center; }
.pb-links { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.pb-link {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  border-radius: 10px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.9);
  border: 1px solid; transition: var(--ease);
}
.pb-l1 { background: rgba(168,85,247,.18); border-color: rgba(168,85,247,.4); }
.pb-l2 { background: rgba(236,72,153,.12); border-color: rgba(236,72,153,.3); }
.pb-l3 { background: rgba(99,102,241,.12); border-color: rgba(99,102,241,.3); }
.pb-l4 { background: rgba(16,185,129,.12); border-color: rgba(16,185,129,.3); }
.pb-l5 { background: rgba(249,115,22,.12); border-color: rgba(249,115,22,.3); }
.pb-socials { display: flex; gap: 10px; margin-top: 6px; font-size: 9px; font-weight: 700; color: rgba(255,255,255,.3); }
.pb-powered { font-size: 9px; color: rgba(255,255,255,.2); text-decoration: none; margin-top: 4px; }

.phone-pill {
  position: absolute; background: var(--bg-card);
  border: 1px solid var(--border-hi); border-radius: 50px;
  padding: 7px 14px; font-size: 12px; font-weight: 600;
  box-shadow: var(--shadow-card);
  white-space: nowrap; backdrop-filter: blur(12px);
}
.pill-1 { top: 14%; left: -18%; animation: pill-float 4s ease-in-out infinite; }
.pill-2 { bottom: 24%; left: -22%; animation: pill-float 5s ease-in-out infinite reverse; }
.pill-3 { top: 38%; right: -22%; animation: pill-float 6s ease-in-out infinite; }
@keyframes pill-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@media (max-width: 640px) { .phone-pill { display: none; } }

/* =====================================================
   LOGOS STRIP
   ===================================================== */
.logos-strip {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: rgba(10,15,30,.6); padding: clamp(20px,4vw,32px) var(--px);
  text-align: center;
}
.logos-label { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.logos-row {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 6px; max-width: 800px; margin: 0 auto;
}
.logos-row span { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--muted); }
.logos-row span:hover { color: var(--text-2); }
.logos-sep { width: 1px; height: 14px; background: var(--border); flex-shrink: 0; }

/* =====================================================
   SECTIONS — common
   ===================================================== */
.section { padding: var(--section-py) var(--px); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  display: inline-block; font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px; color: #a78bfa;
  background: rgba(124,58,237,.1); border: 1px solid rgba(124,58,237,.2);
  padding: 4px 13px; border-radius: 50px; margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 46px); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.12;
  margin-bottom: 14px; text-align: center;
}
.section-sub {
  font-size: clamp(14px,2vw,17px); color: var(--text-2); line-height: 1.7;
  text-align: center; max-width: 560px; margin: 0 auto;
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.steps-grid {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0; margin-top: 56px;
}
.step {
  flex: 1; min-width: 220px; max-width: 300px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: clamp(24px,4vw,36px) clamp(20px,3vw,28px);
  text-align: center; margin: 8px; transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--border-hi); box-shadow: var(--shadow-card); }
.step-idx {
  font-family: var(--font-display); font-size: 48px; font-weight: 800;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: 12px;
}
.step-icon-wrap {
  width: 52px; height: 52px; border-radius: var(--r);
  background: rgba(124,58,237,.12); border: 1px solid rgba(124,58,237,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 16px;
}
.step h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.step-connector { width: 64px; flex-shrink: 0; }
.step-connector svg { width: 100%; }
@media (max-width: 680px) { .step-connector { display: none; } }

/* =====================================================
   BENTO GRID
   ===================================================== */
.bento-section { padding: var(--section-py) var(--px); background: rgba(10,15,30,.4); }
.bento-section .section-title { text-align: center; }
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 14px; margin-top: 52px;
}
@media (max-width: 900px) { .bento-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .bento-grid { grid-template-columns: 1fr; } }

.bento-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: clamp(22px,3vw,30px);
  position: relative; overflow: hidden;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.bento-card:hover { border-color: var(--border-hi); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.bento-wide { grid-column: span 2; }
@media (max-width: 900px) { .bento-wide { grid-column: span 2; } }
@media (max-width: 540px) { .bento-wide { grid-column: span 1; } }

.bento-glow-purple::before { content:''; position:absolute; top:0; right:0; width:200px; height:200px; background:radial-gradient(circle at top right, rgba(124,58,237,.15), transparent 70%); pointer-events:none; }
.bento-glow-cyan::before   { content:''; position:absolute; top:0; right:0; width:200px; height:200px; background:radial-gradient(circle at top right, rgba(6,182,212,.12), transparent 70%); pointer-events:none; }
.bento-glow-green::before  { content:''; position:absolute; top:0; right:0; width:200px; height:200px; background:radial-gradient(circle at top right, rgba(16,185,129,.12), transparent 70%); pointer-events:none; }
.bento-glow-pink::before   { content:''; position:absolute; top:0; right:0; width:200px; height:200px; background:radial-gradient(circle at top right, rgba(236,72,153,.12), transparent 70%); pointer-events:none; }
.bento-glow-orange::before { content:''; position:absolute; top:0; right:0; width:200px; height:200px; background:radial-gradient(circle at top right, rgba(249,115,22,.12), transparent 70%); pointer-events:none; }

.bento-tag { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.bento-card h3 { font-family: var(--font-display); font-size: clamp(16px,2.5vw,20px); font-weight: 700; margin-bottom: 8px; }
.bento-card p { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.bento-visual { margin-top: 20px; }
.bv-design { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.palette-dot { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.bv-design span { font-size: 13px; color: var(--muted); margin-left: 4px; }
.bv-speed { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.speed-bar { display: flex; align-items: center; gap: 10px; height: 28px; }
.speed-bar span { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #7c3aed, #06b6d4); transition: width .8s ease; min-width: 4px; }
.speed-bar b { font-size: 12px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.bv-devices { display: flex; align-items: flex-end; gap: 10px; margin-top: 20px; }
.mini-phone { width: 32px; height: 56px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.mp-screen { width: 22px; height: 38px; background: linear-gradient(135deg, rgba(124,58,237,.3), rgba(6,182,212,.2)); border-radius: 4px; }
.mini-tablet { width: 56px; height: 44px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.mt-screen { width: 44px; height: 32px; background: linear-gradient(135deg, rgba(124,58,237,.3), rgba(6,182,212,.2)); border-radius: 4px; }
.mini-desktop { width: 80px; height: 52px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.md-screen { width: 66px; height: 40px; background: linear-gradient(135deg, rgba(124,58,237,.3), rgba(6,182,212,.2)); border-radius: 4px; }

/* =====================================================
   EXAMPLES GRID
   ===================================================== */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 16px; margin-top: 52px;
}
@media (max-width: 640px) { .examples-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .examples-grid { grid-template-columns: 1fr; } }

.ex-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.ex-card:hover { transform: translateY(-5px); border-color: var(--border-hi); box-shadow: var(--shadow-xl); }
.ex-preview {
  background: var(--pg-bg, #0a0f1e); padding: clamp(16px,3vw,24px) clamp(12px,2vw,18px);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
}
.ex-av {
  width: clamp(40px,6vw,52px); height: clamp(40px,6vw,52px); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: clamp(18px,3vw,24px);
  margin-bottom: 4px;
}
.ex-handle { font-family: var(--font-display); font-size: clamp(11px,1.8vw,14px); font-weight: 700; color: rgba(255,255,255,.9); }
.ex-tagline { font-size: clamp(9px,1.4vw,11px); color: rgba(255,255,255,.4); margin-bottom: 8px; text-align: center; }
.ex-lks { display: flex; flex-direction: column; gap: 5px; width: 100%; }
.ex-lk { padding: clamp(6px,1.2vw,9px) 10px; border-radius: 8px; border: 1px solid; font-size: clamp(9px,1.4vw,11px); font-weight: 600; color: rgba(255,255,255,.85); text-align: center; }
.ex-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(12px,2vw,18px);
  border-top: 1px solid rgba(255,255,255,.05);
}
.ex-niche { font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; text-transform: uppercase; letter-spacing: .5px; }
.ex-action { font-size: 11px; font-weight: 600; color: var(--muted); transition: color var(--ease); }
.ex-card:hover .ex-action { color: var(--text-2); }

/* =====================================================
   PRICING
   ===================================================== */
.pricing-section { padding: var(--section-py) var(--px); }
.pricing-section .section-inner { max-width: 1100px; }
.plans-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; align-items: start; margin-top: 56px; margin-bottom: 40px;
}
@media (max-width: 860px) { .plans-row { grid-template-columns: 1fr; } }

.plan-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: clamp(24px,4vw,36px);
  display: flex; flex-direction: column; gap: 0; position: relative;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.plan-card:hover { transform: translateY(-4px); border-color: var(--border-hi); box-shadow: var(--shadow-card); }
.plan-featured {
  background: linear-gradient(170deg, rgba(124,58,237,.1) 0%, var(--bg-card) 50%);
  border-color: rgba(124,58,237,.4);
  box-shadow: 0 0 0 1px rgba(124,58,237,.2), 0 0 40px rgba(124,58,237,.1);
}
.plan-featured:hover {
  border-color: rgba(159,94,255,.6);
  box-shadow: 0 0 0 1px rgba(124,58,237,.3), 0 20px 60px rgba(124,58,237,.2);
}
@media (min-width: 860px) { .plan-featured { transform: scale(1.03); } .plan-featured:hover { transform: scale(1.03) translateY(-4px); } }
.plan-popular-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .5px;
  padding: 4px 16px; border-radius: 50px; white-space: nowrap;
}
.plan-header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 24px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.plan-icon { font-size: 28px; flex-shrink: 0; }
.plan-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.2; }
.plan-tagline { font-size: 12px; color: var(--muted); }
.plan-price-wrap { margin-left: auto; text-align: right; flex-shrink: 0; }
.plan-price { font-family: var(--font-display); font-size: 36px; font-weight: 800; letter-spacing: -1.5px; display: block; line-height: 1; }
.plan-once { font-size: 11px; color: var(--muted); }
.plan-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 28px; flex: 1; }
.plan-list li { display: flex; align-items: baseline; gap: 10px; font-size: 14px; line-height: 1.5; }
.pi-yes { color: var(--green); font-weight: 700; flex-shrink: 0; }
.pi-no  { color: var(--muted); flex-shrink: 0; }
.plan-btn {
  width: 100%; padding: 13px; border-radius: var(--r); cursor: pointer;
  font-family: var(--font-display); font-size: 14.5px; font-weight: 700;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease); border: none;
}
.plan-btn-default { background: rgba(255,255,255,.07); color: var(--text); border: 1px solid var(--border-hi); }
.plan-btn-default:hover { background: rgba(255,255,255,.13); }
.plan-btn-featured {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,.4);
}
.plan-btn-featured:hover { background: var(--accent-hi); transform: translateY(-1px); box-shadow: 0 8px 32px rgba(124,58,237,.6); }

/* Add-ons */
.addons-block { margin-bottom: 36px; }
.addons-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; text-align: center; margin-bottom: 20px; }
.addons-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,200px),1fr)); gap: 12px; }
.addon {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto;
  gap: 2px 10px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r);
  padding: 16px; cursor: pointer; transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.addon:hover { border-color: var(--border-hi); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.addon span { font-size: 22px; grid-row: 1/3; }
.addon b { font-size: 14px; font-weight: 600; }
.addon em { font-size: 12px; color: var(--muted); font-style: normal; }
.addon strong { grid-row: 1/3; font-family: var(--font-display); font-size: 16px; font-weight: 800; color: #a78bfa; }

/* Guarantee */
.guarantee-strip {
  display: flex; align-items: flex-start; gap: 16px;
  background: rgba(16,185,129,.06); border: 1px solid rgba(16,185,129,.18);
  border-radius: var(--r-lg); padding: clamp(18px,3vw,28px);
}
.gs-icon { font-size: 32px; flex-shrink: 0; }
.guarantee-strip strong { font-family: var(--font-display); font-size: 16px; display: block; margin-bottom: 6px; color: var(--green); }
.guarantee-strip p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* =====================================================
   REVIEWS
   ===================================================== */
.reviews-section { background: rgba(10,15,30,.5); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,300px),1fr));
  gap: 16px; margin-top: 52px;
}
@media (max-width: 480px) { .reviews-grid { grid-template-columns: 1fr; } }
.review-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: clamp(20px,3vw,28px);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.review-card:hover { transform: translateY(-4px); border-color: var(--border-hi); box-shadow: var(--shadow-card); }
.review-feat { border-color: rgba(124,58,237,.3); background: linear-gradient(160deg, rgba(124,58,237,.07), var(--bg-card)); }
.rc-stars { color: #fbbf24; font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.review-card p { font-size: 14px; color: var(--text-2); line-height: 1.75; font-style: italic; margin-bottom: 20px; }
.rc-author { display: flex; align-items: center; gap: 12px; }
.rc-author img { border-radius: 50%; object-fit: cover; }
.rc-author b { display: block; font-size: 14px; font-weight: 700; }
.rc-author span { display: block; font-size: 11.5px; color: var(--muted); }

/* =====================================================
   VS TABLE
   ===================================================== */
.vs-section { padding: var(--section-py) var(--px); }
.vs-table-wrap { overflow-x: auto; margin-top: 48px; border-radius: var(--r-xl); border: 1px solid var(--border); }
.vs-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.vs-table th, .vs-table td { padding: 14px 20px; text-align: left; font-size: 14px; }
.vs-table thead th { background: var(--bg-card2); border-bottom: 1px solid var(--border); font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--text-2); white-space: nowrap; }
.vs-table tbody tr { border-bottom: 1px solid var(--border); transition: background var(--ease); }
.vs-table tbody tr:last-child { border-bottom: none; }
.vs-table tbody tr:hover { background: rgba(255,255,255,.02); }
.vs-table td:first-child { color: var(--text-2); font-weight: 500; }
.vs-trivora { color: var(--green) !important; font-weight: 600 !important; background: rgba(16,185,129,.04) !important; }
.vs-them { color: var(--muted) !important; }
thead .vs-trivora { background: rgba(124,58,237,.1) !important; color: #a78bfa !important; }
thead .vs-them { background: transparent !important; }

/* =====================================================
   FAQ
   ===================================================== */
.faq-inner {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px,6vw,80px);
  align-items: start;
}
@media (max-width: 860px) { .faq-inner { grid-template-columns: 1fr; } .faq-inner .section-title, .faq-inner .section-sub { text-align: center; } .faq-inner a { display: flex; justify-content: center; } }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r);
  padding: clamp(14px,2.5vw,18px) clamp(16px,3vw,22px); cursor: pointer;
  transition: border-color var(--ease), background var(--ease);
}
.faq-item:hover { border-color: var(--border-hi); }
.faq-item.open { border-color: rgba(124,58,237,.35); background: rgba(124,58,237,.04); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: clamp(13.5px,2vw,15px); font-weight: 600;
}
.faq-q span { font-size: 20px; color: #a78bfa; flex-shrink: 0; transition: transform var(--ease); }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a {
  display: none; margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 14px; color: var(--text-2); line-height: 1.75;
}
.faq-item.open .faq-a { display: block; }

/* =====================================================
   FINAL CTA
   ===================================================== */
.final-cta {
  position: relative; overflow: hidden;
  padding: clamp(80px,14vw,140px) var(--px);
  text-align: center;
}
.fcta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 60%, rgba(124,58,237,.22) 0%, transparent 65%);
}
.fcta-inner { position: relative; max-width: 680px; margin: 0 auto; }
.fcta-sup { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: #a78bfa; margin-bottom: 18px; }
.final-cta h2 {
  font-family: var(--font-display); font-size: clamp(32px,6vw,68px);
  font-weight: 800; letter-spacing: -2px; line-height: 1.08; margin-bottom: 20px;
}
.final-cta h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #a78bfa, #38bdf8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.fcta-sub { font-size: clamp(15px,2vw,18px); color: var(--text-2); margin-bottom: 40px; line-height: 1.7; }
.fcta-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer { padding: clamp(48px,8vw,80px) var(--px) 24px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 2fr; gap: clamp(32px,6vw,80px); margin-bottom: 48px; }
@media (max-width: 640px) { .footer-inner { grid-template-columns: 1fr; gap: 36px; } }
.footer-brand p { font-size: 13.5px; color: var(--muted); margin-top: 14px; line-height: 1.7; max-width: 280px; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,4vw,40px); }
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: 13.5px; margin-bottom: 11px; transition: color var(--ease); }
.footer-col a:hover { color: var(--text-2); }
.footer-bottom { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--border); padding-top: 24px; font-size: 12.5px; color: var(--muted); }

/* =====================================================
   MODAL
   ===================================================== */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(3,7,18,.82); backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center; padding: var(--px);
  opacity: 0; pointer-events: none; transition: opacity var(--ease);
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card); border: 1px solid var(--border-hi);
  border-radius: var(--r-xl); padding: clamp(24px,5vw,40px);
  max-width: 500px; width: 100%; position: relative;
  box-shadow: var(--shadow-xl), 0 0 80px rgba(124,58,237,.15);
  transform: scale(.94) translateY(10px); transition: transform var(--ease);
  max-height: 92svh; overflow-y: auto;
}
.modal-backdrop.open .modal { transform: scale(1) translateY(0); }
.modal-close-btn {
  position: absolute; top: 16px; right: 16px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  color: var(--text-2); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--ease), color var(--ease);
}
.modal-close-btn:hover { background: rgba(255,255,255,.12); color: var(--text); }
.modal-header { margin-bottom: 24px; }
.modal-emoji { font-size: 32px; display: block; margin-bottom: 10px; }
.modal-header h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.modal-price { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: #a78bfa; margin-bottom: 6px; }
.modal-perks { font-size: 12px; color: var(--muted); }
.modal-form { display: flex; flex-direction: column; gap: 14px; }
.mf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .mf-cols { grid-template-columns: 1fr; } }
.mf-group { display: flex; flex-direction: column; gap: 6px; }
.mf-group label { font-size: 12px; font-weight: 600; color: var(--text-2); }
.mf-prefix-wrap { position: relative; }
.mf-prefix { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; color: var(--muted); pointer-events: none; white-space: nowrap; }
.mf-group input, .mf-group textarea {
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 11px 14px; width: 100%;
  color: var(--text); font-size: 14px; font-family: var(--font-body);
  transition: border-color var(--ease), box-shadow var(--ease); resize: vertical;
}
.mf-group input:focus, .mf-group textarea:focus {
  outline: none; border-color: rgba(124,58,237,.5);
  box-shadow: 0 0 0 3px rgba(124,58,237,.12);
}
.mf-group input::placeholder, .mf-group textarea::placeholder { color: var(--muted); }
.modal-submit-btn { width: 100%; justify-content: center; padding: 14px; font-size: 15px; }
.modal-security { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.order-success {
  background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.25);
  border-radius: var(--r-sm); padding: 14px; text-align: center;
  font-size: 14px; color: var(--green); line-height: 1.6;
}

/* =====================================================
   TOAST
   ===================================================== */
.toast {
  position: fixed; bottom: 20px; right: 18px; z-index: 2000;
  background: var(--bg-card); border: 1px solid var(--border-hi);
  border-radius: var(--r); padding: 12px 18px; font-size: 13.5px; font-weight: 500;
  box-shadow: var(--shadow-xl);
  max-width: min(300px, calc(100vw - 36px));
  transform: translateY(80px); opacity: 0; transition: var(--ease);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.ok  { border-color: rgba(16,185,129,.4); color: var(--green); }
.toast.err { border-color: rgba(239,68,68,.4);  color: #f87171; }

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
