/* ============================================================
   HEXA STRATEGIES — Design System v2 (modern / dynamic)
   Font: Poppins. Inspiration: Linear · Vercel · Raycast · Stripe · Dapta.
   Hybrid theme: dark hero -> light -> dark close, heavy motion.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --purple: #6F10C9;
  --violet: #973DEF;
  --violet-2: #B06CFF;
  --black: #07070C;
  --black-2: #0A0A12;
  --surface: #13111E;
  --surface-2: #1A1828;
  --white: #FFFFFF;
  --tint: #F6F4FF;
  --tint-2: #EFEBFF;
  --ink: #0C0A18;
  --muted: #6B7280;
  --muted-2: #8A8699;
  --subtle: #C4A8F5;
  --border: #E7E2F7;
  --border-dark: #2A2740;

  --grad: linear-gradient(120deg, #6F10C9, #973DEF, #B06CFF);
  --grad-line: linear-gradient(90deg, #6F10C9, #973DEF, transparent);

  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'Fira Code', ui-monospace, 'SF Mono', Menlo, monospace;

  --section-y: clamp(84px, 11vw, 168px);
  --container: 1200px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--purple); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---------- Global FX layers ---------- */
/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 200; background: var(--grad); box-shadow: 0 0 12px rgba(151,61,239,.6); transition: width .1s linear; }
/* Grain overlay */
.grain { position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Typography ---------- */
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.06; font-weight: 700; text-wrap: balance; }
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--violet-2); display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 30px; background: rgba(151,61,239,.10); border: 1px solid rgba(151,61,239,.22);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 8px var(--violet); }
section.light .eyebrow, section.tint .eyebrow { color: var(--purple); background: rgba(111,16,201,.07); border-color: rgba(111,16,201,.16); }
.accent-line { height: 2px; background: var(--grad-line); border: none; width: 64px; }

/* Animated gradient text */
.gradient-text {
  background: linear-gradient(120deg, #6F10C9, #B06CFF, #973DEF, #6F10C9);
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradient-pan 6s linear infinite;
}
@keyframes gradient-pan { to { background-position: 300% 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; padding: 14px 26px; border-radius: 12px;
  transition: transform .3s var(--spring), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap; min-height: 50px; position: relative; will-change: transform;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 8px 24px -10px rgba(111,16,201,.7); }
.btn-primary::after { content: ""; position: absolute; inset: 0; border-radius: 12px; background: var(--grad); opacity: 0; transition: opacity .3s; z-index: 0; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -10px rgba(151,61,239,.75); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary .arrow { transition: transform .3s var(--spring); }
.btn-primary:hover .arrow { transform: translateX(5px); }
.btn-ghost { color: var(--white); border: 1px solid var(--border-dark); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--violet); background: rgba(151,61,239,.10); transform: translateY(-3px); }
.btn-lg { padding: 17px 34px; font-size: 16px; min-height: 58px; }
section.light .btn-ghost, section.tint .btn-ghost { color: var(--ink); border-color: var(--border); background: #fff; }
section.light .btn-ghost:hover, section.tint .btn-ghost:hover { border-color: var(--purple); background: var(--tint); }

/* ---------- Section base ---------- */
section { position: relative; padding-block: var(--section-y); overflow: clip; }
section.light { background: var(--white); color: var(--ink); }
section.tint { background: linear-gradient(180deg, var(--tint), #fff); color: var(--ink); }
section.dark { background: var(--black); color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head h2 { font-size: clamp(33px, 5vw, 54px); margin: 20px 0; font-weight: 700; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 560px; }
section.dark .section-head p { color: var(--subtle); }

/* Grid texture + aurora */
.grid-texture {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(151,61,239,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151,61,239,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 0%, #000 55%, transparent 100%);
}
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora span {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5;
  background: radial-gradient(circle, var(--violet), transparent 65%);
  animation: drift 18s ease-in-out infinite;
}
.aurora .a1 { width: 540px; height: 540px; top: -160px; left: -120px; background: radial-gradient(circle, rgba(111,16,201,.55), transparent 65%); }
.aurora .a2 { width: 460px; height: 460px; top: 20%; right: -140px; background: radial-gradient(circle, rgba(151,61,239,.45), transparent 65%); animation-delay: -6s; }
.aurora .a3 { width: 420px; height: 420px; bottom: -160px; left: 30%; background: radial-gradient(circle, rgba(176,108,255,.35), transparent 65%); animation-delay: -11s; }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(60px,40px) scale(1.12); }
  66% { transform: translate(-40px,30px) scale(.94); }
}

/* Spotlight (cursor-follow) cards */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx,50%) var(--my,50%), rgba(151,61,239,.16), transparent 60%);
}
.spotlight:hover::before { opacity: 1; }
.spotlight > * { position: relative; z-index: 1; }

/* Animated gradient border */
.grad-border { position: relative; }
.grad-border::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 0;
  background: conic-gradient(from var(--ang,0deg), transparent 0%, var(--violet) 20%, transparent 40%, transparent 60%, var(--purple) 80%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin-border 6s linear infinite; opacity: .8;
}
@keyframes spin-border { to { --ang: 360deg; } }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

/* ============================================================ NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: transform .4s var(--ease), background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7,7,12,.7); backdrop-filter: blur(16px) saturate(150%); border-bottom-color: var(--border-dark); }
.nav.hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14.5px; color: var(--subtle); transition: color .2s; font-weight: 500; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--grad); transition: width .3s var(--ease); }
.nav-links a:hover { color: #fff; } .nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; transition: transform .3s var(--spring); }
.logo:hover { transform: scale(1.04); }
.logo-img { height: 30px; width: auto; }
.footer .logo-img { height: 32px; }
.lang-toggle { display: inline-flex; border: 1px solid var(--border-dark); border-radius: 9px; overflow: hidden; font-size: 13px; font-weight: 600; }
.lang-toggle button { padding: 7px 11px; color: var(--muted-2); transition: all .25s; }
.lang-toggle button.active { background: var(--purple); color: #fff; }
.nav-toggle { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; }
.nav-toggle span { width: 20px; height: 2px; background: #fff; position: relative; transition: .3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; transition: .3s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================ HERO */
.hero { padding-top: 168px; padding-bottom: 120px; background: radial-gradient(120% 80% at 50% -10%, #160F2A 0%, var(--black) 55%); }
.hero .container { position: relative; z-index: 2; }

/* Disruptive layered background */
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
/* Rotating conic beam */
.hero-bg .beam { position: absolute; top: -40%; left: 50%; width: 130%; height: 130%; transform: translateX(-50%);
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(151,61,239,.16) 40deg, transparent 90deg, transparent 270deg, rgba(111,16,201,.14) 320deg, transparent 360deg);
  animation: beam-rot 24s linear infinite; mix-blend-mode: screen; }
@keyframes beam-rot { to { transform: translateX(-50%) rotate(360deg); } }
/* Perspective floor grid */
.hero-bg .floor { position: absolute; left: -25%; right: -25%; bottom: -10%; height: 70%;
  background-image: linear-gradient(rgba(151,61,239,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(151,61,239,.16) 1px, transparent 1px);
  background-size: 56px 56px; transform: perspective(420px) rotateX(62deg); transform-origin: bottom center;
  mask-image: linear-gradient(to top, #000 0%, transparent 75%); animation: floor-pan 14s linear infinite; opacity: .55; z-index: 2; }
@keyframes floor-pan { to { background-position: 0 56px; } }
/* Vignette */
.hero-bg .vignette { position: absolute; inset: 0; background: radial-gradient(75% 55% at 50% 35%, transparent 40%, var(--black) 100%); z-index: 3; }

/* Background Gradient Animation (Aceternity-style morphing blobs) */
.bga { position: absolute; inset: 0; overflow: hidden; filter: blur(46px) saturate(150%); z-index: 1; }
.bga .g { position: absolute; border-radius: 50%; mix-blend-mode: screen; opacity: .6; will-change: transform; }
.bga .g1 { width: 62%; height: 62%; top: 8%; left: 6%; background: radial-gradient(circle, rgba(111,16,201,.85), transparent 60%); animation: bga-v 17s ease-in-out infinite; }
.bga .g2 { width: 56%; height: 56%; top: 16%; right: 2%; background: radial-gradient(circle, rgba(151,61,239,.75), transparent 60%); animation: bga-h 21s ease-in-out infinite; }
.bga .g3 { width: 52%; height: 52%; bottom: 0%; left: 22%; background: radial-gradient(circle, rgba(58,28,150,.8), transparent 60%); animation: bga-c 26s linear infinite; }
.bga .g4 { width: 46%; height: 46%; top: 28%; left: 30%; background: radial-gradient(circle, rgba(176,108,255,.6), transparent 60%); animation: bga-v 19s ease-in-out infinite reverse; }
.bga-interactive { position: absolute; top: 0; left: 0; width: 42%; height: 42%; border-radius: 50%; mix-blend-mode: screen; opacity: .5; pointer-events: none; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(151,61,239,.7), transparent 60%); }
@keyframes bga-v { 0%,100% { transform: translateY(-9%); } 50% { transform: translateY(9%); } }
@keyframes bga-h { 0%,100% { transform: translateX(-7%); } 50% { transform: translateX(7%); } }
@keyframes bga-c { from { transform: rotate(0deg) translateX(7%) rotate(0deg); } to { transform: rotate(360deg) translateX(7%) rotate(-360deg); } }

/* Typewriter caret */
.typewriter { position: relative; }
.typewriter::after { content: ""; display: inline-block; width: 3px; height: 0.9em; background: var(--violet); margin-left: 4px; vertical-align: -2px; border-radius: 2px; animation: blink 1s steps(2) infinite; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 30px; background: rgba(151,61,239,.10); border: 1px solid rgba(151,61,239,.26); font-size: 13px; font-weight: 500; color: var(--subtle); margin-bottom: 28px; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #28CA41; animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(40,202,65,.5); } 70% { box-shadow: 0 0 0 8px rgba(40,202,65,0); } 100% { box-shadow: 0 0 0 0 rgba(40,202,65,0); } }
.hero h1 { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 24px; font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.hero h1 .em { display: block; }
.hero-sub { font-size: clamp(16px, 1.7vw, 18.5px); color: var(--subtle); max-width: 500px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: var(--muted-2); flex-wrap: wrap; }
.hero-trust .stars { color: #FFBD2E; letter-spacing: 2px; }
.hero-trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--border-dark); }
.hero-visual { position: relative; }

/* Terminal */
.terminal { background: var(--surface); border: 1px solid var(--border-dark); border-radius: 16px; overflow: hidden; box-shadow: 0 50px 110px -40px rgba(111,16,201,.55); position: relative; }
.terminal-bar { background: var(--surface-2); padding: 13px 16px; display: flex; align-items: center; gap: 7px; border-bottom: 1px solid var(--border-dark); }
.terminal-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.terminal-bar .title { margin-left: 12px; font: 500 12px var(--mono); color: var(--muted-2); }
.terminal pre { padding: 22px 24px; margin: 0; font-family: var(--mono); font-size: 13px; color: var(--subtle); line-height: 1.9; min-height: 240px; }
.terminal .ln { display: block; opacity: 0; transform: translateY(4px); animation: line-in .4s var(--ease) forwards; }
.terminal .prompt { color: var(--violet-2); } .terminal .ok { color: #28CA41; } .terminal .val { color: #fff; font-weight: 500; }
.terminal .cursor { display: inline-block; width: 8px; height: 15px; background: var(--violet); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes line-in { to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 50% { opacity: 0; } }
.engine-float { position: absolute; right: -16px; bottom: -26px; z-index: 3; background: rgba(19,17,30,.92); backdrop-filter: blur(12px); border: 1px solid var(--border-dark); border-radius: 14px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; box-shadow: 0 24px 60px -22px rgba(0,0,0,.75); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.engine-float .ring { width: 42px; height: 42px; border-radius: 50%; background: conic-gradient(var(--violet) 0% 82%, var(--border-dark) 82% 100%); display: grid; place-items: center; }
.engine-float .ring span { width: 32px; height: 32px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font: 600 11px var(--font); }
.engine-float .lbl { font-size: 12px; color: var(--muted-2); }
.engine-float .num { font-size: 17px; font-weight: 700; color: #fff; }

/* Floating live notification cards */
.notif { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 15px; border-radius: 13px;
  background: rgba(19,17,30,.9); backdrop-filter: blur(12px); border: 1px solid var(--border-dark);
  box-shadow: 0 22px 50px -24px rgba(0,0,0,.8); opacity: 0; animation: notif-in .6s var(--spring) forwards, float 6s ease-in-out infinite; }
.notif .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.notif .ic.lead { background: rgba(151,61,239,.16); color: var(--violet-2); }
.notif .ic.cal { background: rgba(56,140,255,.16); color: #6CA8FF; }
.notif .ic.win { background: rgba(40,202,65,.16); color: #34D058; }
.notif .ic svg { width: 17px; height: 17px; }
.notif .tx { font-size: 12.5px; font-weight: 600; color: #fff; white-space: nowrap; }
.notif .sb { font-size: 11px; color: var(--muted-2); margin-top: 1px; }
.notif .val { font-size: 13px; font-weight: 700; }
.notif.n1 { top: -60px; left: 2%; animation-delay: .8s, .8s; }
.notif.n2 { bottom: -60px; left: 0; animation-delay: 1.5s, 1.5s; }
.notif.n3 { bottom: -60px; right: 2%; animation-delay: 2.2s, 2.2s; }
@keyframes notif-in { from { opacity: 0; transform: translateY(14px) scale(.92); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ============================================================ INDUSTRIES */
.industries { padding-block: clamp(54px, 7vw, 86px); background: var(--white); color: var(--ink); }
.ind-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 36px; flex-wrap: wrap; }
.ind-head h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; max-width: 560px; }
.ind-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ind-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 26px 14px; border: 1px solid var(--border); border-radius: 14px; text-align: center; transition: transform .3s var(--ease), border-color .3s, background .3s; }
.ind-card:hover { transform: translateY(-5px); border-color: rgba(111,16,201,.35); background: var(--tint); }
.ind-card .ic { width: 44px; height: 44px; color: var(--purple); display: grid; place-items: center; }
.ind-card .ic svg { width: 30px; height: 30px; }
.ind-card span { font-size: 13.5px; font-weight: 600; color: var(--ink); }

/* ============================================================ COMPARISON TABLE */
.cmp-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: 18px 20px; text-align: center; border-bottom: 1px solid var(--border); }
.cmp-table thead th { font-size: 13.5px; font-weight: 600; color: var(--muted); background: var(--tint); }
.cmp-table thead th.hexa-col { color: #fff; background: var(--ink); position: relative; font-weight: 700; font-size: 16px; }
.cmp-table thead th.hexa-col::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.cmp-table tbody td:first-child, .cmp-table thead th:first-child { text-align: left; font-weight: 600; color: var(--ink); font-size: 14.5px; }
.cmp-table td.hexa-col { background: rgba(111,16,201,.05); }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-yes { color: var(--purple); display: inline-flex; }
.cmp-yes svg { width: 22px; height: 22px; }
.cmp-no { color: #C9C4D6; font-size: 19px; font-weight: 600; }
.cmp-mid { color: #C2410C; font-size: 13px; font-weight: 600; }
.cmp-table td.hexa-col .cmp-yes { color: var(--violet); }

/* ============================================================ LATINO BAND */
.latino { background: var(--ink); color: #fff; }
.latino .container { position: relative; z-index: 1; }
.lat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.lat-copy h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; margin: 20px 0; }
.lat-copy > p { color: var(--subtle); font-size: 18px; max-width: 460px; }
.lat-points { display: flex; flex-direction: column; gap: 16px; }
.lat-point { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border: 1px solid var(--border-dark); border-radius: 14px; background: linear-gradient(180deg, var(--surface), var(--black-2)); transition: transform .3s var(--ease), border-color .3s; }
.lat-point:hover { transform: translateX(6px); border-color: rgba(151,61,239,.4); }
.lat-point .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(151,61,239,.14); border: 1px solid rgba(151,61,239,.25); display: grid; place-items: center; color: var(--violet-2); flex-shrink: 0; }
.lat-point .ic svg { width: 22px; height: 22px; }
.lat-point h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.lat-point p { font-size: 13.5px; color: var(--muted-2); }

@media (max-width: 980px) {
  .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .lat-grid { grid-template-columns: 1fr; gap: 40px; }
  .cmp-table th, .cmp-table td { padding: 14px 10px; font-size: 12.5px; }
}
@media (max-width: 620px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .cmp-wrap { overflow-x: auto; }
  .cmp-table { min-width: 560px; }
  .notif.n2 { left: 0; } .notif.n1 { right: 6%; }
}

/* ============================================================ TRUST marquee */
.trust { padding-block: 52px; border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark); background: var(--black-2); }
.trust p { text-align: center; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 30px; font-weight: 600; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 60px; align-items: center; padding-right: 60px; animation: scroll 28s linear infinite; flex-shrink: 0; }
.trust:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.brand-logo { display: inline-flex; align-items: center; gap: 9px; color: #807C92; transition: color .3s, transform .3s; flex-shrink: 0; }
.brand-logo:hover { color: #fff; transform: translateY(-2px); }
.brand-logo svg { height: 22px; width: auto; fill: currentColor; }
.brand-logo span { font-weight: 600; font-size: 17px; letter-spacing: -.02em; }

/* ============================================================ COMPARE */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.compare-col { border-radius: var(--radius); padding: 40px 36px; border: 1px solid var(--border); position: relative; transition: transform .4s var(--ease); }
.compare-col:hover { transform: translateY(-4px); }
.compare-col.old { background: #fff; }
.compare-col.new { background: var(--ink); color: #fff; border-color: var(--border-dark); overflow: hidden; }
.compare-col.new::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background: var(--grad); }
.compare-col h3 { font-size: 22px; margin-bottom: 6px; font-weight: 700; }
.compare-col .tag { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.compare-col.new .tag { color: var(--subtle); }
.compare-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.compare-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; }
.compare-list li svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.compare-col.old .ico-x { color: #C2410C; }
.compare-col.new .ico-c { color: var(--violet-2); }
.compare-col.old li { color: #4B5563; }

/* ============================================================ SYSTEM (bento + pipeline) */
.pipeline { position: relative; border: 1px solid var(--border-dark); border-radius: var(--radius); padding: 38px 34px; margin-bottom: 26px; background: linear-gradient(180deg, rgba(26,24,40,.5), rgba(10,10,18,.2)); overflow: hidden; }
.pipeline-label { font: 600 12px var(--mono); color: var(--violet-2); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 26px; display: block; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.flow-node { position: relative; text-align: center; padding: 0 12px; }
.flow-node .ico { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border-dark); display: grid; place-items: center; color: var(--violet-2); position: relative; z-index: 2; transition: all .4s var(--ease); }
.flow-node .ico svg { width: 24px; height: 24px; }
.flow-node.active .ico { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(151,61,239,.16), 0 0 30px rgba(151,61,239,.4); transform: translateY(-3px); }
.flow-node h4 { font-size: 14.5px; font-weight: 600; color: #fff; }
.flow-node .t { font: 500 11px var(--mono); color: var(--muted-2); margin-top: 4px; }
.flow-line { position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px; background: var(--border-dark); z-index: 1; }
.flow-line .dot { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--violet); transform: translate(-50%,-50%); box-shadow: 0 0 14px var(--violet); animation: flow-travel 5s linear infinite; }
@keyframes flow-travel { 0% { left: 0; } 100% { left: 100%; } }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.bento-card { position: relative; padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--border-dark); background: linear-gradient(180deg, var(--surface), var(--black-2)); overflow: hidden; transition: transform .4s var(--ease), border-color .4s; }
.bento-card:hover { transform: translateY(-5px); border-color: rgba(151,61,239,.4); }
.bento-card .num { position: absolute; top: 18px; right: 20px; font: 800 50px var(--font); color: rgba(151,61,239,.12); line-height: 1; }
.bento-card .ico { width: 50px; height: 50px; border-radius: 13px; background: rgba(151,61,239,.12); border: 1px solid rgba(151,61,239,.25); display: grid; place-items: center; color: var(--violet-2); margin-bottom: 20px; transition: transform .4s var(--spring); }
.bento-card:hover .ico { transform: scale(1.1) rotate(-4deg); }
.bento-card .ico svg { width: 24px; height: 24px; }
.bento-card h3 { font-size: 17px; margin-bottom: 10px; font-weight: 600; }
.bento-card p { font-size: 14px; color: var(--subtle); line-height: 1.6; }
.bento-card .meta { margin-top: 14px; font: 600 12px var(--mono); color: var(--violet-2); display: inline-flex; align-items: center; gap: 6px; }

/* ============================================================ STATS */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { position: relative; padding-left: 24px; }
.stat::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; background: var(--grad); border-radius: 3px; }
.stat .num { font-size: clamp(48px, 6vw, 76px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.stat .num .unit { color: var(--purple); }
.stat .lbl { font-size: 14.5px; color: var(--muted); margin-top: 12px; max-width: 190px; }

/* ============================================================ CASE */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.case-visual { background: var(--ink); border-radius: var(--radius); padding: 38px; color: #fff; position: relative; overflow: hidden; border: 1px solid var(--border-dark); transition: transform .3s var(--ease); transform-style: preserve-3d; }
.case-visual .grid-texture { mask-image: none; opacity: .5; }
.case-visual .inner { position: relative; z-index: 1; }
.case-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(151,61,239,.16); border: 1px solid rgba(151,61,239,.3); color: var(--subtle); font: 600 12px var(--font); padding: 6px 14px; border-radius: 20px; letter-spacing: .04em; }
.case-big { font-size: clamp(56px, 8vw, 92px); font-weight: 800; letter-spacing: -.04em; margin: 22px 0 4px; line-height: 1; }
.case-big small { font-size: .42em; color: var(--subtle); font-weight: 600; }
.case-visual .row { display: flex; gap: 30px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border-dark); }
.case-visual .row .num { font-size: 27px; font-weight: 700; color: #fff; }
.case-visual .row .lbl { font-size: 12.5px; color: var(--subtle); }
.case-quote { font-size: clamp(23px, 3vw, 31px); font-weight: 600; line-height: 1.35; letter-spacing: -.02em; margin: 22px 0 26px; color: var(--ink); }
.case-quote .gradient-text { font-weight: 700; }
.case-author { display: flex; align-items: center; gap: 13px; }
.case-author .av { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; font-weight: 700; }
.case-author .nm { font-weight: 600; font-size: 15px; color: var(--ink); }
.case-author .ro { font-size: 13px; color: var(--muted); }

/* ============================================================ MODEL */
.model { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.model h2 { font-size: clamp(31px, 4.5vw, 48px); margin: 20px 0 20px; font-weight: 700; }
.model > div > p { color: var(--subtle); font-size: 17px; margin-bottom: 32px; max-width: 440px; }
.model-card { background: var(--surface); border: 1px solid var(--border-dark); border-radius: var(--radius); overflow: hidden; }
.model-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 28px; border-bottom: 1px solid var(--border-dark); transition: background .3s; }
.model-row:hover { background: rgba(151,61,239,.05); }
.model-row:last-child { border-bottom: none; }
.model-row.highlight { background: rgba(111,16,201,.10); }
.model-row .l { display: flex; align-items: center; gap: 14px; }
.model-row .ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(151,61,239,.12); display: grid; place-items: center; color: var(--violet-2); flex-shrink: 0; }
.model-row .ico svg { width: 19px; height: 19px; }
.model-row .t { font-weight: 600; font-size: 15.5px; }
.model-row .d { font-size: 13px; color: var(--muted-2); margin-top: 2px; }
.model-row .price { font-weight: 700; font-size: 17px; white-space: nowrap; }
.model-row .price.free { color: #28CA41; }

/* ============================================================ FAQ */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; margin-bottom: 14px; overflow: hidden; transition: border-color .3s, box-shadow .3s; background: #fff; }
.faq-item.open { border-color: rgba(111,16,201,.3); box-shadow: 0 16px 40px -24px rgba(111,16,201,.3); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 26px; text-align: left; font-size: 17.5px; font-weight: 600; color: var(--ink); transition: color .2s; }
.faq-q:hover { color: var(--purple); }
.faq-q .pm { position: relative; width: 22px; height: 22px; flex-shrink: 0; transition: transform .3s var(--spring); }
.faq-item.open .pm { transform: rotate(135deg); }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--purple); border-radius: 2px; }
.faq-q .pm::before { top: 10px; left: 0; width: 22px; height: 2px; }
.faq-q .pm::after { left: 10px; top: 0; width: 2px; height: 22px; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 26px 26px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* ============================================================ CTA + FORM */
.cta .container { position: relative; z-index: 2; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta h2 { font-size: clamp(34px, 5vw, 56px); margin: 20px 0 20px; font-weight: 800; letter-spacing: -.03em; }
.cta-sub { color: var(--subtle); font-size: 18px; max-width: 440px; margin-bottom: 30px; }
.cta-points { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.cta-points li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: #fff; }
.cta-points li svg { width: 21px; height: 21px; color: var(--violet-2); flex-shrink: 0; }
.form-card { background: var(--surface); border: 1px solid var(--border-dark); border-radius: 22px; padding: 38px; box-shadow: 0 50px 110px -50px rgba(111,16,201,.6); position: relative; }
.form-card > * { position: relative; z-index: 2; }
.form-card h3 { font-size: 21px; margin-bottom: 6px; font-weight: 700; }
.form-card .fc-sub { color: var(--muted-2); font-size: 14px; margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--subtle); margin-bottom: 7px; }
.field input, .field select { width: 100%; background: var(--black); border: 1px solid var(--border-dark); border-radius: 11px; padding: 14px 15px; color: #fff; font-size: 15px; font-family: inherit; transition: border-color .25s, box-shadow .25s; }
.field input::placeholder { color: #4B4860; }
.field input:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(151,61,239,.2); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23C4A8F5' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-note { font-size: 12px; color: var(--muted-2); text-align: center; margin-top: 14px; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; animation: pop-in .5s var(--spring); }
@keyframes pop-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.form-success .check { width: 66px; height: 66px; border-radius: 50%; background: rgba(40,202,65,.14); display: grid; place-items: center; margin: 0 auto 20px; color: #28CA41; }
.form-success h3 { font-size: 22px; margin-bottom: 10px; }
.form-success p { color: var(--subtle); font-size: 15px; }

/* ============================================================ FOOTER */
.footer { background: var(--black); border-top: 1px solid var(--border-dark); padding-block: 62px 36px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--border-dark); }
.footer-brand { max-width: 330px; }
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { color: var(--muted-2); font-size: 14.5px; line-height: 1.7; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--subtle); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted-2); font-size: 14.5px; margin-bottom: 11px; transition: color .2s, transform .2s; }
.footer-col a:hover { color: #fff; transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; flex-wrap: wrap; }
.footer-bottom p { color: var(--muted-2); font-size: 13px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-dark); display: grid; place-items: center; color: var(--muted-2); transition: all .3s var(--spring); }
.footer-social a:hover { color: #fff; border-color: var(--violet); background: rgba(151,61,239,.1); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }

/* ============================================================ REVEAL variants */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.94); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-scale.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-left.in { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-right.in { opacity: 1; transform: none; }
.reveal-blur { opacity: 0; filter: blur(14px); transition: opacity .9s var(--ease), filter .9s var(--ease); }
.reveal-blur.in { opacity: 1; filter: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; } .reveal-d4 { transition-delay: .32s; } .reveal-d5 { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .reveal-left, .reveal-right, .reveal-blur { opacity: 1; transform: none; filter: none; transition: none; }
  .aurora span, .engine-float, .marquee-track, .hero-badge .dot, .flow-line .dot, .gradient-text, .grad-border::after { animation: none; }
  * { scroll-behavior: auto; }
}

/* ============================================================ RESPONSIVE */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 540px; }
  .bento { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .flow-line { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .case, .model, .cta-grid { grid-template-columns: 1fr; gap: 44px; }
  .compare { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0; background: rgba(7,7,12,.97); backdrop-filter: blur(16px); padding: 24px; gap: 6px; border-bottom: 1px solid var(--border-dark); }
  .nav.open .nav-links a { padding: 12px 0; font-size: 16px; }
  .hero { padding-top: 122px; }
  .bento { grid-template-columns: 1fr; }
  .notif { display: none; }
  .engine-float { right: 10px; bottom: -18px; }
  .stats { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .nav-right .btn-primary { display: none; }
}

/* ============================================================ SEO CONTENT PAGES */
.page-hero { padding: 142px 0 72px; background: radial-gradient(120% 80% at 50% -10%, #160F2A 0%, var(--black) 60%); position: relative; overflow: clip; }
.page-hero .aurora { z-index: 0; }
.page-hero .container { position: relative; z-index: 2; }
.bc { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted-2); margin-bottom: 26px; flex-wrap: wrap; }
.bc a { color: var(--subtle); transition: color .2s; } .bc a:hover { color: #fff; } .bc .sep { opacity: .4; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 18px; max-width: 780px; }
.page-hero .lead { font-size: clamp(16px, 1.8vw, 19px); color: var(--subtle); max-width: 620px; margin-bottom: 30px; }
.prose { max-width: 780px; }
.prose p { color: var(--muted); font-size: 16.5px; line-height: 1.75; margin-bottom: 18px; }
section.dark .prose p { color: var(--subtle); }
.prose strong { color: var(--ink); font-weight: 600; }
section.dark .prose strong { color: #fff; }
.prose h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; margin: 40px 0 14px; }
.city-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.city-chip { padding: 9px 16px; border: 1px solid var(--border); border-radius: 30px; font-size: 14px; font-weight: 500; color: var(--ink); background: #fff; transition: all .25s; }
section.dark .city-chip { border-color: var(--border-dark); color: var(--subtle); background: var(--surface); }
.city-chip:hover { border-color: var(--purple); color: var(--purple); transform: translateY(-2px); }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 12px; }
.fact-card { padding: 26px; border: 1px solid var(--border-dark); border-radius: 16px; background: linear-gradient(180deg, var(--surface), var(--black-2)); }
.fact-card .n { font-size: 32px; font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1; }
.fact-card .n .unit { color: var(--violet-2); }
.fact-card .l { font-size: 13.5px; color: var(--subtle); margin-top: 8px; }
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.link-card { display: block; padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: #fff; transition: all .3s var(--ease); }
.link-card:hover { transform: translateY(-4px); border-color: rgba(111,16,201,.35); box-shadow: 0 18px 40px -26px rgba(111,16,201,.3); }
.link-card h4 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 5px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.link-card h4 svg { width: 17px; height: 17px; color: var(--purple); flex-shrink: 0; }
.link-card p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.soon { padding: 24px; border: 1px dashed var(--border); border-radius: 14px; color: var(--muted-2); font-size: 14.5px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
@media (max-width: 760px) { .fact-grid, .link-grid { grid-template-columns: 1fr; } }

/* ============================================================ CAPABILITIES (system extra) */
.caps-head { font: 600 12.5px var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--violet-2); margin: 60px 0 26px; text-align: center; }
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .caps { grid-template-columns: 1fr; } }

/* ============================================================ GUARANTEE BAND */
.guarantee { position: relative; overflow: clip; }
.guarantee .container { position: relative; z-index: 2; }
.guar-card { max-width: 880px; margin: 0 auto; text-align: center; padding: clamp(40px, 6vw, 64px) 40px; border: 1px solid var(--border-dark); border-radius: 24px; background: linear-gradient(180deg, var(--surface), var(--black-2)); position: relative; overflow: hidden; }
.guar-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.guar-shield { width: 66px; height: 66px; border-radius: 18px; background: rgba(151,61,239,.14); border: 1px solid rgba(151,61,239,.32); display: grid; place-items: center; color: var(--violet-2); margin: 0 auto 24px; }
.guar-shield svg { width: 31px; height: 31px; }
.guar-card h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 16px; }
.guar-card p { color: var(--subtle); font-size: clamp(16px, 2vw, 19px); max-width: 620px; margin: 0 auto; line-height: 1.65; }
.guar-card p .big { color: #fff; font-weight: 700; }
