*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:#191127;
  --bg2:#180f26;
  --bg3:#23133a;
  --surface:#23133a;
  --surface2:#1f1232;
  --surface3:#2a1647;
  --border:#3a1c63;
  --border2:#5e309d;
  --border3:#9038e959;
  --emerald:#883CF0;
  --emerald2:#7c3aed;
  --emerald3:#883cf0e0;
  --cyan:#af62c8;
  --violet:#818CF8;
  --text:#E4EAF2;
  --text2:#e8e8f0;
  --text3:#d6d6d6;
  --muted:#d6d6d6;
  --glow:0 0 40px rgba(140, 34, 211, 0.15);
  --glow2:0 0 60px rgba(184, 34, 211, 0.08);
  /* legacy aliases */
  --purple-950: #191127;
  --purple-900: #180f26;
  --purple-700: #883CF0;
  --purple-600: #3a1c63;
  --purple-500: #5e309d;
  --purple-400: #c4a0f7;
  --purple-300: #d8b4fe;
  --purple-100: #f3e8ff;
  --teal-300: #af62c8;
  --teal-100: #2a1647;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.65;
}

/* ---- BACKGROUND SYSTEM ---- */
.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-layer::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(136,60,240,0.28) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(175,98,200,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 60%, rgba(136,60,240,0.06) 0%, transparent 60%);
}

.bg-layer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(136,60,240,0.05) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(136,60,240,0.05) 80px);
}

/* ---- LAYOUT ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  backdrop-filter: blur(20px);
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}

.logo-mark {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--border), var(--border2));
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 0 16px rgba(136,60,240,0.45);
}

.logo-mark::after {
  content: '';
  width: 10px; height: 10px;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  position: absolute;
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px;
  color: rgba(228,234,242,0.65);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: rgba(136,60,240,0.15);
  border: 1px solid rgba(136,60,240,0.35);
  color: #d8b4fe !important;
  padding: 8px 20px;
  border-radius: 7px;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: all 0.2s !important;
}
.nav-cta:hover {
  background: rgba(136,60,240,0.28) !important;
  border-color: rgba(136,60,240,0.6) !important;
  color: #fff !important;
}

/* ---- HERO ---- */
.hero {
  padding: 160px 0 120px;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(136,60,240,0.12);
  border: 1px solid rgba(136,60,240,0.25);
  border-radius: 100px;
  padding: 6px 14px 6px 8px;
  margin-bottom: 36px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d8b4fe;
  font-family: 'DM Mono', monospace;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  background: #af62c8;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  box-shadow: 0 0 8px #883CF0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(48px, 6.5vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 820px;
  margin-bottom: 28px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan) 0%, #d8b4fe 50%, var(--emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: rgba(228,234,242,0.65);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(135deg, var(--border), var(--border2));
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  box-shadow: 0 0 24px rgba(136,60,240,0.38), 0 4px 12px rgba(0,0,0,0.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 36px rgba(136,60,240,0.55), 0 8px 20px rgba(0,0,0,0.4);
}
.btn-primary svg { width: 16px; height: 16px; }

.btn-ghost {
  background: transparent;
  color: rgba(232,230,245,0.7);
  border: 1px solid rgba(232,230,245,0.12);
  padding: 14px 28px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.btn-ghost:hover {
  border-color: rgba(136,60,240,0.4);
  color: #fff;
  background: rgba(136,60,240,0.06);
}

.hamburger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  padding:4px;
}

.hamburger span{
  width:22px;
  height:2px;
  background:#fff;
  border-radius:2px;
  transition:all .3s;
}

.mobile-menu{
  display:none;
  position:fixed;
  top:72px;
  left:0;
  right:0;

  background:rgba(24,15,38,.98);

  border-bottom:1px solid var(--border);

  padding:20px 5vw 28px;

  flex-direction:column;
  gap:4px;

  z-index:1999;

  backdrop-filter:blur(18px);
}

.mobile-menu a{
  color:#d7d7e9;
  text-decoration:none;
  font-size:.95rem;
  font-weight:500;
  padding:12px 16px;
  border-radius:8px;
  display:block;
  transition:all .2s;
}

.mobile-menu a:hover{
  background:rgba(136,60,240,0.12);
  color:#fff;
}

.hamburger.active span:nth-child(1){
  transform:rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2){
  opacity:0;
}

.hamburger.active span:nth-child(3){
  transform:rotate(-45deg) translate(5px,-5px);
}

/* ---- CODE TERMINAL ---- */
.hero-terminal {
  margin-top: 80px;
  background: rgba(25,17,39,0.88);
  border: 1px solid rgba(136,60,240,0.22);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(136,60,240,0.14),
    0 32px 80px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.terminal-header {
  display: flex; align-items: center; gap: 7px;
  padding: 14px 18px;
  background: rgba(42,22,71,0.4);
  border-bottom: 1px solid rgba(136,60,240,0.15);
}

.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.terminal-tabs {
  display: flex; gap: 2px; margin-left: 16px;
}

.tab {
  font-size: 12px;
  font-family: 'DM Mono', monospace;
  padding: 4px 12px;
  border-radius: 5px;
  color: rgba(212,180,254,0.4);
  cursor: pointer;
}
.tab.active {
  background: rgba(136,60,240,0.18);
  color: #d8b4fe;
}

.terminal-body {
  padding: 28px 28px 24px;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  line-height: 1.7;
}

.code-line { display: flex; gap: 16px; }
.ln { color: rgba(136,60,240,0.3); user-select: none; min-width: 20px; text-align: right; }
.code { color: #d4caee; }

.c-comment { color: rgba(175,98,200,0.55); }
.c-keyword { color: #c4a0f7; }
.c-string { color: #af62c8; }
.c-func { color: #d8b4fe; }
.c-var { color: var(--text); }
.c-num { color: #FAC775; }
.c-op { color: rgba(228,234,242,0.5); }

.terminal-output {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(136,60,240,0.12);
}

.output-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #af62c8;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}

.output-label::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: #af62c8;
  box-shadow: 0 0 6px #af62c8;
}

.output-json { color: rgba(232,230,245,0.75); }
.j-key { color: #d8b4fe; }
.j-str { color: #2a1647; }
.j-num { color: #FAC775; }

/* ---- STATS STRIP ---- */
.stats-strip {
  padding: 60px 0;
  border-top: 1px solid rgba(136,60,240,0.12);
  border-bottom: 1px solid rgba(136,60,240,0.12);
  position: relative; z-index: 1;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }

.stat-item {
  padding: 32px 36px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(136,60,240,0.15);
}

.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 13px;
  color: rgba(232,230,245,0.45);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ---- SECTION BASE ---- */
section { padding: 100px 0; position: relative; z-index: 1; }

.section-tag {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #af62c8;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.section-tag::before {
  content: '';
  width: 20px; height: 1px;
  background: #af62c8;
}

.section-h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 17px;
  color: rgba(228,234,242,0.5);
  max-width: 520px;
  line-height: 1.7;
  font-weight: 300;
}

/* ---- HOW IT WORKS ---- */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 64px;
}

.steps { display: flex; flex-direction: column; gap: 4px; }

.step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  border: 1px solid transparent;
}

.step:hover, .step.active {
  background: rgba(136,60,240,0.08);
  border-color: rgba(136,60,240,0.22);
}

.step-num {
  width: 32px; height: 32px; min-width: 32px;
  border-radius: 8px;
  background: rgba(42,22,71,0.85);
  border: 1px solid rgba(136,60,240,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: #c4a0f7;
  transition: all 0.2s;
}

.step.active .step-num {
  background: var(--purple-700);
  border-color: #af62c8;
  color: #fff;
  box-shadow: 0 0 12px rgba(136,60,240,0.45);
}

.step-title {
  font-size: 15px;
  font-weight: 500;
  color: rgba(228,234,242,0.88);
  margin-bottom: 6px;
}
.step.active .step-title { color: #fff; }
.step-desc {
  font-size: 14px;
  color: rgba(228,234,242,0.45);
  line-height: 1.6;
}
.step.active .step-desc { color: rgba(228,234,242,0.65); }

.how-visual {
  min-height: 360px;
  background: rgba(25,17,39,0.7);
  border: 1px solid rgba(136,60,240,0.2);
  border-radius: 16px;
  padding: 32px;
  aspect-ratio: 1 / 1.1;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  overflow: hidden;
}

.how-visual::before {
  content: '';
  position: absolute; top: -40%; left: -20%;
  width: 80%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(136,60,240,0.14) 0%, transparent 70%);
}

.visual-diagram {
  display: flex; flex-direction: column; gap: 12px;
  position: relative; z-index: 1;
}

.flow-row {
  display: flex; align-items: center; gap: 8px;
}

.flow-box {
  flex: 1;
  background: rgba(42,22,71,0.65);
  border: 1px solid rgba(136,60,240,0.22);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: rgba(212,180,254,0.85);
  font-family: 'DM Mono', monospace;
}

.flow-box.highlight {
  border-color: rgba(136,60,240,0.5);
  background: rgba(136,60,240,0.15);
  color: #d8b4fe;
  box-shadow: 0 0 16px rgba(136,60,240,0.22);
}

.flow-box .box-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(136,60,240,0.55);
  margin-bottom: 4px;
}

.flow-arrow {
  color: rgba(136,60,240,0.45);
  font-size: 14px;
  flex-shrink: 0;
}

.flow-metric {
  display: flex; gap: 12px; margin-top: 16px;
}

.metric-pill {
  background: rgba(136,60,240,0.1);
  border: 1px solid rgba(136,60,240,0.22);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 12px;
  font-family: 'DM Mono', monospace;
}
.metric-pill span { color: #af62c8; }
.metric-pill small { color: rgba(228,234,242,0.45); display: block; font-size: 10px; margin-top: 2px; }

/* ---- FEATURES ---- */
.features-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(136,60,240,0.1);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: rgba(25,17,39,0.93);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: rgba(32,18,50,0.98); }

.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
}

.feature-icon svg { width: 20px; height: 20px; }

.fi-purple { background: rgba(136,60,240,0.15); border: 1px solid rgba(136,60,240,0.25); }
.fi-teal { background: rgba(136,60,240,0.15); border: 1px solid rgba(136,60,240,0.25); }
.fi-pink { background: rgba(136,60,240,0.15); border: 1px solid rgba(136,60,240,0.25); }

.feature-title {
  font-family: 'Syne', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.feature-desc {
  font-size: 14px;
  color: rgba(232,230,245,0.45);
  line-height: 1.65;
}

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
}

.price-card {
  background: rgba(25,17,39,0.75);
  border: 1px solid rgba(136,60,240,0.16);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: border-color 0.2s;
}
.price-card:hover { border-color: rgba(136,60,240,0.38); }

.price-card.featured {
  border-color: rgba(136,60,240,0.5);
  background: rgba(42,22,71,0.28);
  box-shadow: 0 0 40px rgba(136,60,240,0.18);
  position: relative;
}

.price-badge {
  display: inline-block;
  background: rgba(136,60,240,0.28);
  border: 1px solid rgba(136,60,240,0.35);
  color: #d8b4fe;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
  margin-bottom: 24px;
  font-family: 'DM Mono', monospace;
}

.price-name {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.price-amount sup { font-size: 20px; vertical-align: super; letter-spacing: 0; }
.price-amount small { font-size: 15px; color: rgba(228,234,242,0.45); letter-spacing: 0; font-weight: 300; }

.price-desc {
  font-size: 13px;
  color: rgba(228,234,242,0.45);
  margin-bottom: 28px;
  line-height: 1.5;
}

.price-sep {
  height: 1px;
  background: rgba(136,60,240,0.15);
  margin-bottom: 24px;
}

.price-features { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; }

.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: rgba(228,234,242,0.65);
}

.check {
  width: 16px; height: 16px; min-width: 16px;
  border-radius: 50%;
  background: rgba(136,60,240,0.14);
  border: 1px solid rgba(136,60,240,0.32);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.check svg { width: 9px; height: 9px; }

.price-cta {
  margin-top: 28px;
  width: 100%;
  padding: 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
  display: block;
}

.cta-outline {
  background: transparent;
  color: rgba(232,230,245,0.7);
  border: 1px solid rgba(136,60,240,0.25);
}
.cta-outline:hover {
  border-color: rgba(136,60,240,0.5);
  color: #fff;
  background: rgba(136,60,240,0.06);
}

.cta-filled {
  background: linear-gradient(135deg, var(--emerald), var(--border));
  color: #fff;
  border: none;
  box-shadow: 0 0 20px rgba(136,60,240,0.35);
}
.cta-filled:hover {
  box-shadow: 0 0 32px rgba(136,60,240,0.5);
  transform: translateY(-1px);
}

/* ---- MODELS CATALOG ---- */
.catalog-scroll {
  display: flex;
  gap: 16px;
  margin-top: 52px;
  overflow-x: auto;
  padding-bottom: 12px;
}
.catalog-scroll::-webkit-scrollbar { height: 4px; }
.catalog-scroll::-webkit-scrollbar-track { background: rgba(136,60,240,0.06); }
.catalog-scroll::-webkit-scrollbar-thumb { background: rgba(136,60,240,0.22); border-radius: 2px; }

.model-card {
  min-width: 220px;
  background: rgba(25,17,39,0.75);
  border: 1px solid rgba(136,60,240,0.16);
  border-radius: 12px;
  padding: 24px 20px;
  transition: all 0.2s;
  cursor: pointer;
}
.model-card:hover {
  border-color: rgba(136,60,240,0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.model-type {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  font-family: 'DM Mono', monospace;
}

.mt-llm { background: rgba(136,60,240,0.15); color: #c4a0f7; }
.mt-img { background: rgba(129,140,248,0.12); color: #818CF8; }
.mt-speech { background: rgba(175,98,200,0.15); color: #af62c8; }
.mt-embed { background: rgba(136,60,240,0.08); color: #d6d6d6; }
.mt-vision { background: rgba(136,60,240,0.12); color: #d8b4fe; }

.model-name {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.model-desc {
  font-size: 13px;
  color: rgba(228,234,242,0.45);
  line-height: 1.5;
  margin-bottom: 16px;
}

.model-price {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: #af62c8;
}

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 100px 0 120px;
  position: relative; z-index: 1;
}

.cta-card {
  background: rgba(42,22,71,0.22);
  border: 1px solid rgba(136,60,240,0.25);
  border-radius: 24px;
  padding: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(136,60,240,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card h2 {
  font-family: 'Syne', sans-serif;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
}

.cta-card p {
  font-size: 17px;
  color: rgba(228,234,242,0.5);
  margin-bottom: 44px;
  position: relative;
  font-weight: 300;
}

.cta-actions { display: flex; justify-content: center; gap: 14px; position: relative; }

.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.75);
  backdrop-filter:blur(12px);
  z-index:9999;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:20px;

  opacity:0;
  pointer-events:none;

  transition:opacity .3s ease;
}

.modal-overlay.open{
  opacity:1;
  pointer-events:auto;
}

.modal-box{
  width:100%;
  max-width:460px;

  background:#161022;
  border:1px solid #34214f;

  border-radius:22px;

  padding:32px;

  position:relative;

  transform:translateY(20px);
  transition:transform .3s ease;

  box-shadow:0 40px 100px rgba(0,0,0,.6);

  max-height:90vh;
  overflow-y:auto;
}

.modal-overlay.open .modal-box{
  transform:translateY(0);
}

.modal-close{
  position:absolute;
  top:16px;
  right:16px;

  width:34px;
  height:34px;

  border:none;
  border-radius:10px;

  background:#221630;
  color:#cfcfe7;

  cursor:pointer;

  transition:.2s;
}

.modal-close:hover{
  background:#2c1c41;
  color:#fff;
}

.modal-box h3{
  font-size:1.55rem;
  color:#fff;
  margin-bottom:10px;
}

.modal-box p{
  font-size:.92rem;
  color:#b8b8cc;
  line-height:1.7;
  margin-bottom:24px;
}

.form-group{
  margin-bottom:14px;
}

.form-label{
  display:block;
  font-size:.78rem;
  margin-bottom:7px;
  color:#d7d7e9;
  font-weight:600;
}

.form-input{
  width:100%;

  background:#0f0b17;

  border:1px solid #312047;

  border-radius:12px;

  padding:13px 14px;

  color:#fff;
  font-size:.92rem;

  outline:none;

  transition:border-color .2s;
}

.form-input:focus{
  border-color:#8d53ff;
}

.form-input::placeholder{
  color:#7e7e97;
}

.btn-submit{
  width:100%;

  border:none;

  background:linear-gradient(135deg,#8d53ff,#6d38d8);

  color:#fff;

  padding:14px;

  border-radius:12px;

  font-size:.95rem;
  font-weight:700;

  cursor:pointer;

  transition:.25s;
}

.btn-submit:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 30px rgba(141,83,255,.35);
}

#modal-success{
  display:none;
  text-align:center;
  padding:20px 0;
}

.success-icon{
  font-size:3rem;
  color:#8d53ff;
  display:block;
  margin-bottom:18px;
}

.price-cta{
  display:flex;
  align-items:center;
  justify-content:center;

  width:100%;
  margin-top:24px;

  padding:14px 18px;

  border-radius:12px;

  text-decoration:none;

  font-size:.92rem;
  font-weight:700;

  transition:.25s;
}

.cta-outline{
  border:1px solid #4c2e74;
  color:#fff;
  background:transparent;
}

.cta-outline:hover{
  background:#251635;
  border-color:#8d53ff;
}

.cta-filled{
  background:linear-gradient(135deg,#8d53ff,#6d38d8);
  color:#fff;
}

.cta-filled:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 35px rgba(141,83,255,.35);
}

@media(max-width:768px){

  .modal-box{
    padding:26px 20px;
    border-radius:18px;
  }

  .modal-box h3{
    font-size:1.3rem;
  }

}


/* ---- FOOTER ---- */
footer {
  border-top: 1px solid rgba(136,60,240,0.12);
  padding: 40px 0;
  position: relative; z-index: 1;
}

.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
}

.footer-copy {
  font-size: 13px;
  color: rgba(228,234,242,0.38);
}

.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px;
  color: rgba(228,234,242,0.38);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(228,234,242,0.65); }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.55s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero h1, .stat-value, .cta-card h2 { font-size: 34px; }
  .how-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .features-header { grid-template-columns: 1fr; gap: 20px; }
  .cta-card { padding: 48px 32px; }
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger{
    display:flex;
  }

  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 600px) {
  .hero h1, .stat-value, .section-h2 , .cta-card h2{ font-size: 28px; }
  .stats-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
}