/* ============================================================
   RevvIQ — Design System
   Style: Premium Dark / Motion-Driven  •  Bento Grid Showcase
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* Canvas */
  --bg:           #070B14;
  --bg-2:         #0A1020;
  --bg-elev:      #0E1626;

  /* Glass surfaces */
  --surface:      rgba(255, 255, 255, 0.035);
  --surface-2:    rgba(255, 255, 255, 0.06);
  --border:       rgba(255, 255, 255, 0.09);
  --border-2:     rgba(255, 255, 255, 0.14);

  /* Text */
  --text:         #EAF0FA;
  --text-muted:   #9AA8BF;
  --text-dim:     #828FAA;

  /* Brand — electric intelligence */
  --cyan:         #38D9F0;
  --blue:         #4F8DF7;
  --indigo:       #6C63FF;
  --violet:       #8B5CF6;

  /* Performance accent — the "revv" */
  --amber:        #FFB347;
  --coral:        #FF6B5E;

  /* Semantic */
  --success:      #34D399;
  --danger:       #FB7185;

  /* Signature gradients */
  --grad-brand:   linear-gradient(115deg, var(--cyan) 0%, var(--blue) 45%, var(--indigo) 100%);
  --grad-soft:    linear-gradient(115deg, rgba(56,217,240,.16), rgba(108,99,255,.16));
  --grad-text:    linear-gradient(100deg, #BFEFFF 0%, #9CC1FF 50%, #C3BBFF 100%);
  --grad-warm:    linear-gradient(115deg, var(--amber), var(--coral));

  /* Shadows / glow */
  --shadow-sm:    0 2px 8px rgba(0,0,0,.3);
  --shadow-md:    0 12px 40px rgba(0,0,0,.45);
  --shadow-lg:    0 30px 80px rgba(2,6,18,.6);
  --glow-brand:   0 0 0 1px rgba(79,141,247,.35), 0 20px 60px -12px rgba(79,141,247,.45);

  /* Geometry */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --maxw: 1200px;

  /* Type */
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient page backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 600px at 78% -8%, rgba(108,99,255,.18), transparent 60%),
    radial-gradient(900px 600px at 8% 12%, rgba(56,217,240,.12), transparent 55%),
    radial-gradient(700px 500px at 60% 100%, rgba(79,141,247,.10), transparent 60%),
    var(--bg);
}
/* Subtle grid texture */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan);
  padding: 7px 14px;
  border: 1px solid var(--border-2);
  border-radius: 100px;
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 12px var(--cyan); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; }

.h-display { font-size: clamp(2.5rem, 6.5vw, 4.6rem); }
.h-2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.h-3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); }

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.brand-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-muted); max-width: 60ch; }

.section-head { max-width: 720px; margin-inline: auto; margin-bottom: 56px; }
.section-head .lead { margin-inline: auto; margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 100px; border: 1px solid transparent;
  min-height: 48px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  color: #05111E;
  background: var(--grad-brand);
  box-shadow: 0 10px 30px -8px rgba(79,141,247,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -8px rgba(79,141,247,.75); }
.btn-ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-2px); background: var(--surface-2); border-color: var(--cyan); }
.btn-lg { padding: 17px 34px; font-size: 16px; min-height: 56px; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,11,20,.72);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand .logo-mark { width: 34px; height: 34px; }
.brand .iq { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tm { font-size: .5em; font-weight: 500; vertical-align: .5em; margin-left: .08em; letter-spacing: 0; opacity: .7; -webkit-text-fill-color: currentColor; background: none; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--text-muted);
  padding: 9px 14px; border-radius: 100px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 11px 22px; min-height: 44px; font-size: 14.5px; }

.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--border-2); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--text); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 72px 0 auto 0; z-index: 99;
  background: rgba(8,12,22,.96); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 18px 24px 28px;
  display: none; flex-direction: column; gap: 6px;
  transform: translateY(-12px); opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; }
.mobile-menu a { padding: 14px 16px; border-radius: 12px; color: var(--text); font-weight: 500; font-size: 17px; }
.mobile-menu a:hover { background: var(--surface); }
.mobile-menu .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { padding-top: 150px; padding-bottom: 90px; position: relative; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 16px; height: 16px; stroke: var(--success); }

/* Floating orbs */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: -1; pointer-events: none; }
.orb-1 { width: 380px; height: 380px; background: radial-gradient(circle, rgba(56,217,240,.5), transparent 70%); top: -60px; right: -40px; }
.orb-2 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(108,99,255,.5), transparent 70%); bottom: -80px; left: -60px; }

/* Hero visual — RepIQ screenshot carousel */
.hero-visual { position: relative; }
.repiq-carousel { width: 100%; max-width: 270px; margin-inline: auto; }
.repiq-track {
  position: relative;
  width: 100%;
  aspect-ratio: 1320 / 2868;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--glow-brand);
}
.repiq-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.repiq-slide.is-active { opacity: 1; pointer-events: auto; }
.repiq-dots { display: flex; justify-content: center; gap: 4px; margin-top: 18px; }
.repiq-dot {
  appearance: none;
  border: none;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  line-height: 0;
  border-radius: 50%;
}
.repiq-dot::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  opacity: .45;
  transition: background .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}
.repiq-dot:hover::before { opacity: .8; }
.repiq-dot:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.repiq-dot.is-active::before { background: var(--cyan); opacity: 1; transform: scale(1.2); }

/* ---------- Trust strip ---------- */
.trust { padding-block: 30px; border-block: 1px solid var(--border); }
.trust p { text-align: center; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 22px; font-family: var(--font-display); font-weight: 600; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px 56px; align-items: center; }
.trust-logos span { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--text-dim); opacity: .7; transition: opacity .3s, color .3s; letter-spacing: -.01em; }
.trust-logos span:hover { opacity: 1; color: var(--text-muted); }

/* ---------- Stats ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px 26px; text-align: center; backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.stat:hover { transform: translateY(-4px); border-color: var(--border-2); background: var(--surface-2); }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.stat .lbl { color: var(--text-muted); font-size: 14px; margin-top: 6px; }

/* ---------- Products ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.product + .product { margin-top: clamp(80px, 12vw, 150px); }
.product.reverse .product-text { order: 2; }
.product-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .04em;
  padding: 7px 14px 7px 9px; border-radius: 100px; margin-bottom: 20px;
  border: 1px solid var(--border-2); background: var(--surface);
}
.product-tag .ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--grad-brand); }
.product-tag .ico svg { width: 15px; height: 15px; stroke: #06121F; }
.product-text h2 { margin-bottom: 18px; }
.product-text .lead { margin-bottom: 26px; }
.feat-list { display: flex; flex-direction: column; gap: 14px; }
.feat-list li { display: flex; gap: 13px; align-items: flex-start; list-style: none; }
.feat-list .tick { flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.3); margin-top: 1px; }
.feat-list .tick svg { width: 13px; height: 13px; stroke: var(--success); }
.feat-list strong { font-weight: 600; color: var(--text); }
.feat-list p { color: var(--text-muted); font-size: 14.5px; }
.product-text .btn { margin-top: 30px; }

/* Product visuals */
.pv {
  background: linear-gradient(180deg, rgba(18,26,44,.85), rgba(11,17,32,.92));
  border: 1px solid var(--border-2); border-radius: var(--r-xl);
  padding: 26px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.pv::before { content:""; position:absolute; inset:0; background: var(--grad-soft); opacity:.5; z-index:-1; }

/* Acquire feed */
.acq-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.acq-head h4 { font-size: 15px; }
.acq-head .live { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--success); font-family: var(--font-display); font-weight: 600; }
.acq-head .live i { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(52,211,153,.55);} 70%{box-shadow:0 0 0 8px rgba(52,211,153,0);} 100%{box-shadow:0 0 0 0 rgba(52,211,153,0);} }
.acq-list { display: flex; flex-direction: column; gap: 11px; }
.acq-item { display: flex; gap: 14px; align-items: center; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-md); padding: 13px; transition: border-color .25s, transform .25s; }
.acq-item:hover { border-color: var(--border-2); transform: translateX(3px); }
.acq-thumb { flex-shrink: 0; width: 58px; height: 44px; border-radius: 9px; background: linear-gradient(135deg, #1B2540, #28365C); display: grid; place-items: center; }
.acq-thumb svg { width: 24px; height: 24px; stroke: var(--text-dim); }
.acq-info { flex: 1; min-width: 0; }
.acq-info h5 { font-family: var(--font-display); font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acq-info .meta { display: flex; gap: 9px; align-items: center; margin-top: 3px; }
.src { font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 6px; font-family: var(--font-display); }
.src.fb { background: rgba(79,141,247,.16); color: #7FB0FF; }
.src.ou { background: rgba(52,211,153,.16); color: #5BE3AC; }
.src.cl { background: rgba(255,179,71,.16); color: #FFC877; }
.acq-info .price { font-size: 12.5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.acq-match { flex-shrink: 0; text-align: right; }
.acq-match .pct { font-family: var(--font-display); font-weight: 700; font-size: 16px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.acq-match .pct-lbl { font-size: 10px; color: var(--text-dim); }

/* Coach chat */
.coach-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.coach-avatar { width: 42px; height: 42px; border-radius: 12px; background: var(--grad-brand); display: grid; place-items: center; flex-shrink: 0; }
.coach-avatar svg { width: 22px; height: 22px; stroke: #06121F; }
.coach-head h4 { font-size: 15px; }
.coach-head p { font-size: 12px; color: var(--text-dim); }
.coach-head .role-pill { margin-left: auto; font-size: 11px; font-family: var(--font-display); font-weight: 600; color: var(--cyan); background: rgba(56,217,240,.12); border: 1px solid rgba(56,217,240,.28); padding: 5px 11px; border-radius: 100px; }
.chat { display: flex; flex-direction: column; gap: 13px; }
.bubble { max-width: 82%; padding: 12px 15px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.bubble.ai { align-self: flex-start; background: var(--bg-elev); border: 1px solid var(--border); border-bottom-left-radius: 5px; color: var(--text); }
.bubble.me { align-self: flex-end; background: var(--grad-brand); color: #06121F; border-bottom-right-radius: 5px; font-weight: 500; }
.chat .score { margin-top: 6px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); font-family: var(--font-display); }
.chat .score .bar { width: 90px; height: 6px; border-radius: 100px; background: var(--bg-elev); overflow: hidden; border: 1px solid var(--border); }
.chat .score .bar i { display: block; height: 100%; width: 78%; background: var(--grad-warm); border-radius: 100px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(170px, auto); gap: 20px; }
.bento-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; backdrop-filter: blur(8px); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.bento-card:hover { transform: translateY(-5px); border-color: var(--border-2); background: var(--surface-2); }
.bento-card::after { content:""; position:absolute; width:160px; height:160px; right:-50px; top:-50px; background: radial-gradient(circle, rgba(79,141,247,.18), transparent 70%); opacity:0; transition:opacity .35s; }
.bento-card:hover::after { opacity:1; }
.b-wide { grid-column: span 3; }
.b-tall { grid-column: span 3; }
.b-third { grid-column: span 2; }
.bento-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border-2); margin-bottom: 18px; }
.bento-icon svg { width: 23px; height: 23px; stroke: var(--cyan); }
.bento-card h3 { font-size: 18px; margin-bottom: 9px; }
.bento-card p { color: var(--text-muted); font-size: 14.5px; }
.b-feature { display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(150deg, rgba(56,217,240,.10), rgba(108,99,255,.10)); }
.b-feature .big-num { font-family: var(--font-display); font-size: clamp(2.4rem,4vw,3.4rem); font-weight:700; background: var(--grad-text); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 32px 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); backdrop-filter: blur(8px); }
.step .step-num { font-family: var(--font-display); font-weight: 700; font-size: 14px; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-brand); color: #06121F; margin-bottom: 20px; }
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--text-muted); font-size: 14.5px; }
.step:not(:last-child)::after { content:""; position:absolute; right:-16px; top:50%; width:14px; height:14px; border-top:2px solid var(--border-2); border-right:2px solid var(--border-2); transform: translateY(-50%) rotate(45deg); }

/* ---------- Testimonial ---------- */
.testi {
  max-width: 880px; margin-inline: auto; text-align: center;
  background: linear-gradient(160deg, rgba(18,26,44,.7), rgba(11,17,32,.7));
  border: 1px solid var(--border-2); border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 70px); backdrop-filter: blur(10px); box-shadow: var(--shadow-md); position: relative;
}
.testi .quote-mark { font-family: var(--font-display); font-size: 80px; line-height: .6; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: .5; margin-bottom: 8px; }
.testi blockquote { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 600; line-height: 1.35; letter-spacing: -.01em; margin-bottom: 28px; }
.testi .author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testi .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #06121F; font-size: 18px; }
.testi .author .name { font-family: var(--font-display); font-weight: 600; }
.testi .author .title { font-size: 13.5px; color: var(--text-muted); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; max-width: 800px; margin-inline: auto; }
.price-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: 34px 30px; backdrop-filter: blur(8px); position: relative;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.price-card:hover { transform: translateY(-6px); border-color: var(--border-2); }
.price-card.featured { border-color: rgba(79,141,247,.5); background: linear-gradient(170deg, rgba(56,217,240,.08), rgba(108,99,255,.08)); box-shadow: var(--glow-brand); }
.price-card .pop { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .04em; padding: 6px 16px; border-radius: 100px; background: var(--grad-brand); color: #06121F; white-space: nowrap; }
.price-card .tier { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--cyan); letter-spacing: .03em; }
.price-card .price-was { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--text-dim); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.32); margin-top: 14px; }
.price-card .price { font-family: var(--font-display); font-weight: 700; font-size: 42px; margin: 2px 0 0; letter-spacing: -.02em; }
.price-card .price small { font-size: 15px; font-weight: 500; color: var(--text-dim); }
.price-card .price-intro { font-family: var(--font-display); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin: 4px 0 18px; }
.price-card .price-quote { font-size: 28px; margin-top: 14px; }
.price-card .price-quote-sub { font-family: var(--font-display); font-size: 13.5px; font-weight: 600; color: var(--cyan); margin: 7px 0 18px; }
.price-card .desc { color: var(--text-muted); font-size: 14px; min-height: 42px; margin-bottom: 22px; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; flex: 1; }
.price-card li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; color: var(--text-muted); }
.price-card li svg { flex-shrink: 0; width: 18px; height: 18px; stroke: var(--cyan); margin-top: 2px; }
.price-foot { text-align: center; margin-top: 30px; color: var(--text-dim); font-size: 14px; }

/* ---------- Final CTA ---------- */
.cta-wrap {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border-2);
  background: linear-gradient(150deg, rgba(20,28,48,.85), rgba(10,16,30,.9));
  box-shadow: var(--shadow-lg);
}
.cta-wrap .orb { opacity: .6; }
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: clamp(36px, 5vw, 64px); }
.cta-left h2 { margin-bottom: 18px; }
.cta-left .lead { margin-bottom: 26px; }
.cta-perks { display: flex; flex-direction: column; gap: 12px; }
.cta-perks li { list-style: none; display: flex; gap: 11px; align-items: center; font-size: 15px; color: var(--text-muted); }
.cta-perks svg { width: 20px; height: 20px; stroke: var(--success); flex-shrink: 0; }

/* Form */
.demo-form { background: rgba(8,12,22,.55); border: 1px solid var(--border-2); border-radius: var(--r-lg); padding: 28px; backdrop-filter: blur(10px); }
.demo-form h3 { font-size: 19px; margin-bottom: 6px; }
.demo-form .form-sub { font-size: 13.5px; color: var(--text-muted); margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--text-muted); margin-bottom: 7px; font-family: var(--font-display); }
.field label .req { color: var(--coral); }
.field input, .field select {
  width: 100%; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--r-sm);
  padding: 13px 15px; color: var(--text); font-family: var(--font-body); font-size: 15px; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56,217,240,.16); }
.field input.invalid, .field select.invalid { border-color: var(--coral); }
.field .err { display: none; color: var(--coral); font-size: 12.5px; margin-top: 6px; }
.field .err.show { display: block; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%239AA8BF' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.35); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .check svg { width: 30px; height: 30px; stroke: var(--success); }
.form-success h3 { font-size: 20px; margin-bottom: 8px; }
.form-success p { color: var(--text-muted); font-size: 14.5px; }
.consent-field { margin: 4px 0 16px; }
.consent-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  font-size: 12px; font-weight: 400; font-family: var(--font-body); color: var(--text-dim); line-height: 1.55; margin-bottom: 0; }
.consent-check input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0;
  accent-color: var(--cyan); cursor: pointer; }
.consent-check:hover span { color: var(--text-muted); }
.form-disclaimer { font-size: 11.5px; color: var(--text-dim); text-align: center; margin-top: 14px; line-height: 1.5; }
.form-disclaimer a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }
.form-disclaimer a:hover { color: var(--text); }
.form-error { display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); font-size: 13.5px; line-height: 1.45; color: #FFD8D3; background: rgba(251,113,133,.10); border: 1px solid rgba(251,113,133,.35); }
.form-error.show { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-block: 64px 36px; margin-top: clamp(60px,9vw,110px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 30ch; margin-bottom: 18px; }
.footer-loc { display: flex; align-items: flex-start; gap: 9px; color: var(--text-dim); font-size: 13.5px; }
.footer-loc svg { width: 17px; height: 17px; stroke: var(--cyan); flex-shrink: 0; margin-top: 2px; }
.footer-col h4 { font-family: var(--font-display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--text-muted); font-size: 14.5px; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 13.5px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, transform .2s; }
.footer-social a:hover { border-color: var(--cyan); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; stroke: var(--text-muted); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { width: 100%; max-width: 300px; margin-inline: auto; }
  .repiq-carousel { max-width: 300px; }
  .product, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .product.reverse .product-text { order: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .b-wide, .b-tall { grid-column: span 4; }
  .b-third { grid-column: span 2; }
  .price-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .price-card.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-wide, .b-tall, .b-third { grid-column: span 2; }
}
@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .bento { grid-template-columns: 1fr; }
  .b-wide, .b-tall, .b-third { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .hero { padding-top: 120px; }
}

/* ============================================================
   AI Chat Widget
   ============================================================ */
.cw-btn {
  position: fixed; bottom: 22px; right: 22px; z-index: 1000;
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad-brand); color: #06121F;
  display: grid; place-items: center;
  box-shadow: 0 12px 34px -8px rgba(79,141,247,.7), 0 0 0 1px rgba(255,255,255,.12) inset;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cw-btn:hover { transform: translateY(-3px) scale(1.04); }
.cw-btn svg { width: 26px; height: 26px; stroke: #06121F; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cw-btn .ic-close { display: none; }
.cw-btn.open .ic-chat { display: none; }
.cw-btn.open .ic-close { display: block; }
.cw-btn .badge { position: absolute; top: -2px; right: -2px; width: 14px; height: 14px; border-radius: 50%; background: var(--success); border: 2px solid var(--bg); }

.cw-panel {
  position: fixed; bottom: 94px; right: 22px; z-index: 1000;
  width: 380px; max-width: calc(100vw - 32px);
  height: 560px; max-height: calc(100dvh - 130px);
  display: flex; flex-direction: column; overflow: hidden;
  background: linear-gradient(180deg, rgba(14,22,38,.98), rgba(10,16,30,.98));
  border: 1px solid var(--border-2); border-radius: 20px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  opacity: 0; transform: translateY(14px) scale(.98); pointer-events: none;
  transition: opacity .28s var(--ease-out), transform .28s var(--ease-out);
}
.cw-panel.open { opacity: 1; transform: none; pointer-events: auto; }

.cw-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.02); }
.cw-head .avatar { width: 40px !important; height: 40px !important; flex-shrink: 0; display: block; }
.cw-head .who h4 { font-family: var(--font-display); font-size: 15px; font-weight: 600; line-height: 1.1; }
.cw-head .who p { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.cw-head .who p i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); }
.cw-head .x { margin-left: auto; background: transparent; border: 0; color: var(--text-muted); cursor: pointer; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; }
.cw-head .x:hover { background: var(--surface); color: var(--text); }
.cw-head .x svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }

.cw-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.cw-msg { max-width: 84%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.cw-msg.ai { align-self: flex-start; background: var(--bg-elev); border: 1px solid var(--border); border-bottom-left-radius: 5px; color: var(--text); }
.cw-msg.me { align-self: flex-end; background: var(--grad-brand); color: #06121F; border-bottom-right-radius: 5px; font-weight: 500; }
.cw-typing { align-self: flex-start; display: flex; gap: 4px; padding: 13px 15px; background: var(--bg-elev); border: 1px solid var(--border); border-radius: 16px; border-bottom-left-radius: 5px; }
.cw-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--text-dim); animation: cw-bounce 1.2s infinite ease-in-out; }
.cw-typing span:nth-child(2) { animation-delay: .15s; }
.cw-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes cw-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

.cw-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; }
.cw-chip { font-family: var(--font-display); font-size: 12.5px; font-weight: 500; color: var(--cyan); background: var(--surface); border: 1px solid var(--border-2); border-radius: 100px; padding: 7px 13px; cursor: pointer; transition: background .2s, border-color .2s; }
.cw-chip:hover { background: var(--surface-2); border-color: var(--cyan); }

.cw-foot { padding: 12px 14px; border-top: 1px solid var(--border); }
.cw-form { display: flex; gap: 8px; align-items: flex-end; }
.cw-form textarea {
  flex: 1; resize: none; max-height: 96px; min-height: 44px;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px;
  color: var(--text); font-family: var(--font-body); font-size: 14px; padding: 12px 14px; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
.cw-form textarea::placeholder { color: var(--text-dim); }
.cw-form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56,217,240,.14); }
.cw-send { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; border: none; cursor: pointer; background: var(--grad-brand); display: grid; place-items: center; transition: transform .2s, opacity .2s; }
.cw-send:hover { transform: translateY(-1px); }
.cw-send:disabled { opacity: .5; cursor: default; transform: none; }
.cw-send svg { width: 19px; height: 19px; stroke: #06121F; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cw-disclaimer { text-align: center; font-size: 10.5px; color: var(--text-dim); margin-top: 8px; }

@media (max-width: 600px) {
  .cw-panel { right: 12px; left: 12px; width: auto; bottom: calc(86px + env(safe-area-inset-bottom)); height: calc(100dvh - 110px - env(safe-area-inset-bottom)); }
  .cw-btn { bottom: calc(16px + env(safe-area-inset-bottom)); right: 16px; }
  .cw-head .avatar { width: 36px !important; height: 36px !important; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .acq-head .live i { animation: none; }
}
