:root {
  --primary: #883CF0;
  --primary-dim: #883cf050;
  --primary-glow: #883cf030;
  --secondary: #7c3aed;
  --text: #f0f8ff;
  --muted: #d6d6d6;
  --bg: #191127;
  --bg-header: #180f26;
  --card: #23133a;
  --card-hover: #1f1232;
  --border: #3a1c63;
  --border-hover: #5e309d;
  --grad: linear-gradient(90deg, #3a1c63, #684895);
  --overlay1: #cb56f90a;
  --overlay2: #7c5cfc1f;
  --success: #60c090;
  --error: #ff5f57;
  --code-bg: #0f0818;
  --tag-bg: #291a3e;
  --font-head: 'Syne', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #873cf015; }
::-webkit-scrollbar-thumb { background: #873cf015; border-radius: 3px; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.logo-wrap img{
	width:150px;
	vertical-align: middle;
}

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: #1f1232; color: var(--primary);
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  padding: 5px 12px; border-radius: 100px;
  border: 1px solid var(--border); letter-spacing: 0.04em; text-transform: uppercase;
}
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); display: inline-block; animation: pulse-dot 2s infinite; }

@keyframes pulse-dot {
  0%,100% { opacity:1; box-shadow: 0 0 0 0 var(--primary-dim); }
  50% { opacity:.7; box-shadow: 0 0 0 4px transparent; }
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary); color: #fff;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  padding: 12px 28px; border-radius: 8px; border: none; cursor: pointer;
  text-decoration: none; transition: all 0.25s;
  box-shadow: 0 0 20px var(--primary-glow);
}
.btn-primary:hover { background: #9b55f7; box-shadow: 0 0 35px var(--primary-dim); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--muted);
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  padding: 12px 28px; border-radius: 8px;
  border: 1px solid var(--border); cursor: pointer;
  text-decoration: none; transition: all 0.25s;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--text); background: var(--overlay1); }

.section-label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--primary); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }

.section-title {
  font-family: var(--font-head); font-size: clamp(28px,4vw,44px); font-weight: 700;
  line-height: 1.15; color: var(--text);
}
.section-sub { font-size: 16px; color: var(--muted); max-width: 560px; line-height: 1.7; margin-top: 14px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── NAVBAR ── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(24,15,38,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
#navbar.scrolled { background: rgba(24,15,38,0.97); box-shadow: 0 4px 30px rgba(0,0,0,0.4); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 32px; max-width: 1240px; margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-head); font-weight: 800; font-size: 20px;
  color: var(--text); text-decoration: none; letter-spacing: -0.02em;
}
.nav-logo span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  text-decoration: none; padding: 7px 14px; border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover{ color: var(--text); background: #23133a; }
.nav-links a.active { color: var(--text); background: #3a1c63; }

.nav-status {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid #3a1c63;
  padding: 5px 12px; border-radius: 100px;
  font-family: var(--font-mono); font-size: 11px; color: var(--primary);
  letter-spacing: 0.04em;
}
.nav-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); display: block; animation: pulse-dot 2s infinite; }

.nav-right { display: flex; align-items: center; gap: 12px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--muted); border-radius: 2px; transition: all 0.3s; }

.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 999;
  background: var(--bg-header); border-bottom: 1px solid var(--border);
  padding: 20px 24px; flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 15px; color: var(--muted); text-decoration: none; padding: 10px 14px; border-radius: 8px; transition: all 0.2s; }
.mobile-menu a:hover { color: var(--text); background: var(--overlay1); }
.mobile-menu .mobile-ctas { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }

@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 700px) { .nav-right .btn-primary, .nav-right .btn-ghost { display: none; } .hamburger { display: flex; } .nav-status { display: none; } }

/* ── HERO ── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.18;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); animation: orb-float 8s ease-in-out infinite;
}
.hero-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #883cf020, transparent 70%); top: -100px; left: 50%; transform: translateX(-50%); }
.hero-orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #7c3aed15, transparent 70%); bottom: 0; right: -100px; animation-delay: -3s; }
.hero-orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, #cb56f910, transparent 70%); top: 100px; left: -80px; animation-delay: -6s; }

@keyframes orb-float {
  0%,100% { transform: translateY(0) translateX(-50%); }
  50% { transform: translateY(-30px) translateX(-50%); }
}
.hero-orb-2, .hero-orb-3 { animation: orb-float2 8s ease-in-out infinite; }
@keyframes orb-float2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 1000px; }
.hero-title {
  font-family: var(--font-head); font-size: clamp(38px,7vw,80px);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin: 20px 0 24px;
}
.hero-title .accent { color: var(--primary); position: relative; }
.hero-title .accent::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 3px;
  background: var(--primary); border-radius: 2px; opacity: 0.5;
}
.hero-sub { font-size: clamp(15px,2vw,18px); color: var(--muted); max-width: 600px; margin: 0 auto 36px; line-height: 1.75; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { font-family: var(--font-mono); font-size: 11px; color: #6b5787; letter-spacing: 0.08em; text-transform: uppercase; }

/* hero terminal widget */
.hero-terminal {
  margin: 56px auto 0; max-width: 700px;
  background: var(--code-bg); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 40px rgba(136,60,240,0.12), 0 20px 60px rgba(0,0,0,0.5);
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border);
}
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #ffbd2e; } .dot-g { background: #28ca41; }
.terminal-title { font-family: var(--font-mono); font-size: 12px; color: #6b5787; margin-left: 10px; }
.terminal-body { padding: 20px 20px; font-family: var(--font-mono); font-size: 13px; line-height: 1.8; text-align: left; }
.terminal-line { display: flex; gap: 12px; align-items: baseline; }
.t-prompt { color: var(--primary); user-select: none; }
.t-cmd { color: #c084fc; }
.t-output { color: #9ca3af; }
.t-key { color: var(--primary); }
.t-val-green { color: var(--success); }
.t-val-red { color: var(--error); }
.t-val { color: #e2d9f3; }
.t-comment { color: #4b3a63; }
.cursor { display: inline-block; width: 8px; height: 14px; background: var(--primary); animation: blink 1.2s step-end infinite; vertical-align: middle; margin-left: 2px; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* ── MARQUEE ── */
.marquee-section { padding: 20px 0; overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(136,60,240,0.04); position: relative; z-index: 1; }
.marquee-track { display: flex; gap: 0; animation: marquee 28s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 32px; font-family: var(--font-mono); font-size: 12px;
  color: #6b5787; white-space: nowrap; letter-spacing: 0.04em;
}
.marquee-item .dot { color: var(--primary); font-size: 16px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── STATS ── */
#stats { padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.stat-card {
  background: var(--card); padding: 36px 28px; text-align: center;
  position: relative; transition: background 0.3s;
}
.stat-card:hover { background: var(--card-hover); }
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); opacity: 0; transition: opacity 0.3s;
}
.stat-card:hover::before { opacity: 1; }
.stat-num { font-family: var(--font-head); font-size: 44px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; }
.stat-label { font-size: 13px; color: var(--muted); font-weight: 500; }

@media (max-width: 700px) { 
  .hero-terminal{
    max-width: 300px;
  }

  .hero-title{ font-size: 28px; line-height: 38px;}
  .stats-grid { grid-template-columns:1fr; } } 

/* ── PROBLEM ── */
#problem { padding: 100px 0; }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 60px; }
.problem-list { display: flex; flex-direction: column; gap: 20px; }
.problem-item {
  display: flex; gap: 16px; padding: 20px;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  transition: all 0.3s;
}
.problem-item:hover { border-color: var(--border-hover); background: var(--card-hover); }
.problem-icon {
  width: 40px; height: 40px; border-radius: 8px; background: rgba(220,20,60,0.1);
  border: 1px solid rgba(220,20,60,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.problem-icon svg { width: 18px; height: 18px; }
.problem-text h4 { font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.problem-text p { font-size: 13px; color: var(--muted); line-height: 1.6; }

.problem-visual {
  background: var(--code-bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
}
.pv-header { padding: 14px 18px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.pv-header span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.pv-badge { background: rgba(220,20,60,0.15); color: #ff5f57; padding: 3px 10px; border-radius: 4px; font-size: 11px; font-family: var(--font-mono); }
.pv-body { padding: 20px 18px; }
.bill-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(58,28,99,0.5); font-size: 13px; }
.bill-row:last-child { border-bottom: none; }
.bill-row .bill-label { color: var(--muted); }
.bill-row .bill-val { font-family: var(--font-mono); font-weight: 600; }
.bill-val.red { color: var(--error); }
.bill-val.green { color: var(--success); }
.bill-val.muted { color: #6b5787; }
.bill-total { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: rgba(136,60,240,0.06); border-top: 1px solid var(--border); }
.bill-total .t-label { font-weight: 600; font-size: 14px; }
.bill-total .t-val { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--error); }

@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; } }

/* ── SOLUTION ── */
#solution { padding: 100px 0; background: linear-gradient(180deg, var(--bg) 0%, #150d22 50%, var(--bg) 100%); }
.solution-intro { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.solution-intro .section-sub { margin: 0 auto; }
.vp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; margin-top: 48px; }
.vp-card {
  background: var(--card); padding: 32px 28px;
  position: relative; transition: all 0.3s; overflow: hidden;
}
.vp-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, var(--overlay2), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.vp-card:hover { background: var(--card-hover); }
.vp-card:hover::before { opacity: 1; }
.vp-icon {
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--overlay2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.vp-icon svg { width: 22px; height: 22px; }
.vp-card h3 { font-family: var(--font-head); font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.vp-card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

@media (max-width: 860px) { .vp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vp-grid { grid-template-columns: 1fr; } }

/* ── FEATURES ── */
#features { padding: 100px 0; }
.features-intro { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.features-intro .section-sub { margin: 0 auto; }

.feature-tabs { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 4px; margin-bottom: 40px; flex-wrap: wrap; }
.ft-tab {
  flex: 1; min-width: 100px; padding: 9px 16px; border-radius: 7px; cursor: pointer;
  font-size: 13px; font-weight: 500; color: var(--muted); text-align: center;
  border: none; background: transparent; transition: all 0.2s; font-family: var(--font-body);
}
.ft-tab.active { background: var(--primary); color: #fff; box-shadow: 0 0 16px var(--primary-glow); }
.ft-tab:hover:not(.active) { color: var(--text); background: var(--overlay1); }

.feature-panel { display: none; }
.feature-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.fp-content h3 { font-family: var(--font-head); font-size: 26px; font-weight: 700; margin-bottom: 14px; }
.fp-content p { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 24px; }
.fp-list { display: flex; flex-direction: column; gap: 12px; }
.fp-list-item { display: flex; gap: 12px; align-items: flex-start; }
.fp-list-item .check { width: 20px; height: 20px; border-radius: 50%; background: rgba(96,192,144,0.15); border: 1px solid rgba(96,192,144,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.fp-list-item .check svg { width: 10px; height: 10px; }
.fp-list-item span { font-size: 14px; color: var(--muted); line-height: 1.5; }

.fp-visual {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; min-height: 320px; position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.fp-vis-header { padding: 12px 16px; background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.fp-vis-header span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.fp-vis-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); animation: pulse-dot 2s infinite; }
.fp-vis-body { padding: 20px; }

/* meter bars */
.meter-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.meter-label { font-family: var(--font-mono); font-size: 11px; color: var(--muted); width: 100px; flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter-bar-wrap { flex: 1; height: 8px; background: rgba(58,28,99,0.5); border-radius: 4px; overflow: hidden; }
.meter-bar { height: 100%; border-radius: 4px; background: var(--primary); transition: width 1s ease; }
.meter-bar.green { background: var(--success); }
.meter-bar.orange { background: #f59e0b; }
.meter-val { font-family: var(--font-mono); font-size: 11px; color: var(--muted); width: 50px; text-align: right; flex-shrink: 0; }

/* router visual */
.router-vis { padding: 20px; }
.router-flow { display: flex; align-items: center; gap: 0; flex-direction: column; gap: 8px; }
.router-box {
  width: 100%; padding: 10px 14px; border-radius: 8px; display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--border); background: var(--code-bg); font-family: var(--font-mono); font-size: 12px;
}
.router-arrow { color: var(--primary); font-size: 18px; text-align: center; }
.rbox-label { color: var(--muted); }
.rbox-model { color: var(--text); }
.rbox-cost { font-size: 11px; }
.rbox-cost.green { color: var(--success); }
.rbox-cost.muted { color: var(--muted); }

@media (max-width: 760px) { .feature-panel.active { grid-template-columns: 1fr; } }

/* ── WORKFLOW ── */
#workflow { padding: 100px 0; background: linear-gradient(180deg, var(--bg) 0%, #130c1e 100%); }
.workflow-intro { text-align: center; max-width: 560px; margin: 0 auto 64px; }
.workflow-intro .section-sub { margin: 0 auto; }
.steps-timeline { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; position: relative; }
.steps-timeline::before {
  content: ''; position: absolute; top: 38px; left: 16.5%; right: 16.5%; height: 1px;
  background: var(--grad); z-index: 0;
}
.step-item { padding: 0 24px; text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--card); border: 2px solid var(--primary);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
  font-family: var(--font-head); font-size: 20px; font-weight: 800; color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}
.step-item h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-item p { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

.code-snippet-block {
  margin-top: 56px; background: var(--code-bg); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 40px rgba(0,0,0,0.4);
}
.code-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); overflow-x: auto; }
.code-tab {
  padding: 10px 20px; font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  border: none; background: transparent; cursor: pointer; border-bottom: 2px solid transparent;
  white-space: nowrap; transition: all 0.2s; font-size: 12px;
}
.code-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.code-tab:hover:not(.active) { color: var(--text); }
.code-block { padding: 24px; font-family: var(--font-mono); font-size: 13px; line-height: 1.8; display: none; }
.code-block.active { display: block; }
.kw { color: #c084fc; } .str { color: var(--success); } .fn { color: #60a5fa; }
.cm { color: #4b3a63; } .num { color: #fb923c; } .var2 { color: var(--text); }

@media (max-width: 760px) { .steps-timeline { grid-template-columns: 1fr; gap: 32px; } .steps-timeline::before { display: none; } }

/* ── BENEFITS ── */
#benefits { padding: 100px 0; }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 60px; }
.benefit-list { display: flex; flex-direction: column; gap: 16px; }
.benefit-item {
  padding: 24px; background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; transition: all 0.3s; cursor: default;
}
.benefit-item:hover { border-color: var(--border-hover); background: var(--card-hover); transform: translateX(4px); }
.benefit-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.b-icon { width: 36px; height: 36px; border-radius: 8px; background: var(--overlay2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.b-icon svg { width: 16px; height: 16px; }
.benefit-item h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; }
.benefit-item p { font-size: 13.5px; color: var(--muted); line-height: 1.6; padding-left: 48px; }

.benefits-viz {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; position: sticky; top: 90px;
}
.bv-title { font-family: var(--font-mono); font-size: 12px; color: var(--primary); margin-bottom: 20px; letter-spacing: 0.06em; }
.savings-chart { display: flex; flex-direction: column; gap: 16px; }
.sc-row { display: flex; flex-direction: column; gap: 6px; }
.sc-label { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.sc-bar-wrap { height: 10px; background: rgba(58,28,99,0.5); border-radius: 5px; overflow: hidden; }
.sc-bar { height: 100%; border-radius: 5px; background: var(--grad); transition: width 1.5s ease; }
.bv-summary {
  margin-top: 24px; padding: 16px; background: rgba(96,192,144,0.06); border: 1px solid rgba(96,192,144,0.15);
  border-radius: 10px; text-align: center;
}
.bv-summary .big-num { font-family: var(--font-head); font-size: 36px; font-weight: 800; color: var(--success); }
.bv-summary p { font-size: 12px; color: var(--muted); margin-top: 4px; }

@media (max-width: 860px) { .benefits-grid { grid-template-columns: 1fr; } }

/* ── USE CASES ── */
#usecases { padding: 100px 0; background: linear-gradient(180deg, var(--bg) 0%, #130c1e 100%); }
.uc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 60px; }
.uc-card {
  padding: 32px; background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; transition: all 0.3s; position: relative; overflow: hidden;
}
.uc-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transition: transform 0.3s;
}
.uc-card:hover { border-color: var(--border-hover); background: var(--card-hover); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
.uc-card:hover::after { transform: scaleX(1); }
.uc-tag { display: inline-flex; background: var(--tag-bg); color: var(--primary); font-family: var(--font-mono); font-size: 10px; padding: 3px 10px; border-radius: 4px; border: 1px solid var(--border); margin-bottom: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.uc-card h3 { font-family: var(--font-head); font-size: 19px; font-weight: 700; margin-bottom: 12px; }
.uc-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }
.uc-metric { margin-top: 20px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--overlay1); border-radius: 8px; border: 1px solid var(--border); }
.uc-metric .m-num { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--primary); }
.uc-metric .m-desc { font-size: 12px; color: var(--muted); line-height: 1.4; }

@media (max-width: 700px) { .uc-grid { grid-template-columns: 1fr; } }

/* ── INTEGRATIONS ── */
#integrations { padding: 100px 0; }
.int-intro { text-align: center; max-width: 540px; margin: 0 auto 60px; }
.int-intro .section-sub { margin: 0 auto; }
.int-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 12px; margin-bottom: 32px; }
.int-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 20px 16px; text-align: center; transition: all 0.3s; cursor: default;
}
.int-card:hover { border-color: var(--primary); background: var(--card-hover); box-shadow: 0 0 20px var(--primary-glow); }
.int-logo { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 4px; }
.int-type { font-family: var(--font-mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.int-note { text-align: center; font-size: 13px; color: var(--muted); }
.int-note span { color: var(--primary); }

@media (max-width: 860px) { .int-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px) { .int-grid { grid-template-columns: repeat(2,1fr); } }

/* ── COMPLIANCE ── */
#compliance { padding: 100px 0; background: linear-gradient(180deg, var(--bg) 0%, #130c1e 100%); }
.comp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 60px; }
.compliance-badges { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.comp-badge {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 24px 16px; text-align: center; transition: all 0.3s;
}
.comp-badge:hover { border-color: var(--primary); background: var(--card-hover); }
.comp-badge-icon { font-size: 28px; margin-bottom: 10px; }
.comp-badge-label { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.comp-badge-desc { font-size: 11px; color: var(--muted); }

.comp-text h3 { font-family: var(--font-head); font-size: 26px; font-weight: 700; margin-bottom: 16px; }
.comp-text p { color: var(--muted); font-size: 14px; line-height: 1.75; margin-bottom: 20px; }
.comp-feature-list { display: flex; flex-direction: column; gap: 10px; }
.cfl-item { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted); }
.cfl-check { width: 18px; height: 18px; border-radius: 50%; background: rgba(96,192,144,0.15); border: 1px solid rgba(96,192,144,0.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cfl-check svg { width: 9px; height: 9px; }

@media (max-width: 760px) { .comp-grid { grid-template-columns: 1fr;  .compliance-badges{ grid-template-columns: 1fr; } } }

/* ── TESTIMONIALS ── */
#testimonials { padding: 100px 0; }
.testimonials-intro { text-align: center; max-width: 540px; margin: 0 auto 60px; }
.testimonials-intro .section-sub { margin: 0 auto; }
.testimonials-slider { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card {
  min-width: 100%; padding: 40px 40px;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  text-align: center;
}
.t-quote { font-size: clamp(16px,2.5vw,20px); color: var(--text); line-height: 1.75; font-weight: 400; margin-bottom: 28px; max-width: 700px; margin-left: auto; margin-right: auto; font-style: italic; }
.t-quote::before { content: '"'; font-family: var(--font-head); font-size: 60px; color: var(--primary); opacity: 0.3; line-height: 0; vertical-align: -30px; margin-right: 4px; }
.t-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 16px; font-weight: 700; }
.t-name { font-weight: 600; font-size: 14px; }
.t-role { font-size: 12px; color: var(--muted); }
.slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all 0.2s; border: none; }
.slider-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }
.slider-controls { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.slider-btn { width: 36px; height: 36px; border-radius: 50%; background: var(--card); border: 1px solid var(--border); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.slider-btn:hover { border-color: var(--primary); }
.slider-btn svg { width: 14px; height: 14px; color: var(--muted); }

/* ── PRICING ── */
#pricing { padding: 100px 0; background: linear-gradient(180deg, var(--bg) 0%, #130c1e 100%); }
.pricing-intro { text-align: center; max-width: 560px; margin: 0 auto 60px; }
.pricing-intro .section-sub { margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.pricing-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px 28px; display: flex; flex-direction: column; position: relative; transition: all 0.3s;
}
.pricing-card.featured {
  border-color: var(--primary); background: linear-gradient(180deg, #23133a 0%, #1a0d30 100%);
  box-shadow: 0 0 40px var(--primary-glow);
}
.pricing-card:hover:not(.featured) { border-color: var(--border-hover); background: var(--card-hover); }
.pricing-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 3px 14px; border-radius: 100px; font-family: var(--font-mono); font-size: 11px; white-space: nowrap; }
.pricing-plan { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.pricing-price { font-family: var(--font-head); font-size: 40px; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.pricing-price sub { font-size: 16px; font-weight: 400; color: var(--muted); }
.pricing-period { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.pricing-limit { font-family: var(--font-mono); font-size: 11px; color: var(--primary); background: var(--tag-bg); padding: 4px 10px; border-radius: 4px; border: 1px solid var(--border); display: inline-block; margin-bottom: 24px; }
.pricing-features { flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.pf-item { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.pf-check { color: var(--success); flex-shrink: 0; margin-top: 1px; }

.pricing-guarantee { text-align: center; margin-top: 40px; padding: 20px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }
.pricing-guarantee p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.pricing-guarantee strong { color: var(--text); }

@media (max-width: 860px) { .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } 
.pricing-card { padding: 20px; }  .pricing-price { font-size: 24px; } }

/* ── FAQ ── */
#faq { padding: 100px 0; }
.faq-intro { text-align: center; max-width: 540px; margin: 0 auto 60px; }
.faq-intro .section-sub { margin: 0 auto; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--border-hover); }
.faq-q {
  padding: 20px 24px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; font-size: 15px; color: var(--text); user-select: none;
}
.faq-q:hover { background: rgba(255,255,255,0.02); }
.faq-chevron { width: 20px; height: 20px; border-radius: 50%; background: var(--overlay1); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--primary-glow); border-color: var(--primary); }
.faq-chevron svg { width: 10px; height: 10px; color: var(--muted); }
.faq-item.open .faq-chevron svg { color: var(--primary); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 24px 20px; font-size: 14px; color: var(--muted); line-height: 1.75; border-top: 1px solid var(--border); padding-top: 16px; }

/* ── CTA BANNER ── */
#cta-banner { padding: 100px 0; }
.cta-inner {
  background: linear-gradient(135deg, #1a0d30 0%, #23133a 50%, #1a0d30 100%);
  border: 1px solid var(--border); border-radius: 20px; padding: 80px 60px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-inner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(136,60,240,0.12), transparent);
}
.cta-inner::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.cta-inner * { position: relative; z-index: 1; }
.cta-inner h2 { font-family: var(--font-head); font-size: clamp(28px,5vw,52px); font-weight: 800; margin-bottom: 16px; line-height: 1.1; }
.cta-inner p { font-size: 16px; color: var(--muted); max-width: 540px; margin: 0 auto 36px; line-height: 1.7; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 860px){
  .cta-inner { padding: 30px; }
  .cta-inner h2 { font-size: 24px; }
}


/* ── FOOTER ── */
footer {
  background: var(--bg-header); border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1240px; margin: 0 auto; padding: 0 32px; flex-wrap: wrap; gap: 20px;
}
.footer-logo { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: var(--text); }
.footer-logo span { color: var(--primary); }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--primary); }
.footer-copy { font-size: 12px; color: #eae6f0; }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center;
  background: rgba(10,5,20,0.85); backdrop-filter: blur(8px); padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-header); border: 1px solid var(--border); border-radius: 16px;
  width: 100%; max-width: 520px; box-shadow: 0 0 60px rgba(136,60,240,0.2);
  overflow: hidden; animation: modal-in 0.3s ease;
}
@keyframes modal-in { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-header { padding: 24px 28px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; }
.modal-close { width: 32px; height: 32px; border-radius: 8px; background: var(--card); border: 1px solid var(--border); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 18px; transition: all 0.2s; }
.modal-close:hover { border-color: var(--primary); color: var(--text); }
.modal-body { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-mono); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--card); border: 1px solid var(--border); border-radius: 8px;
  padding: 11px 14px; color: var(--text); font-family: var(--font-body); font-size: 14px;
  transition: all 0.2s; resize: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #4b3a63; }
.form-group select option { background: var(--card); }
.modal-footer { padding: 0 28px 28px; display: flex; gap: 12px; }
.modal-footer .btn-primary { flex: 1; justify-content: center; }
.modal-footer .btn-ghost { justify-content: center; }

/* ── TABLE (in compliance) ── */
.comp-table-wrap { margin-top: 48px; overflow-x: auto; }
.comp-table { width: 100%; border-collapse: collapse; }
.comp-table th { background: var(--tag-bg); font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.06em; padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.comp-table td { padding: 12px 16px; font-size: 13px; color: var(--muted); border-bottom: 1px solid rgba(58,28,99,0.3); }
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tr:hover td { background: var(--overlay1); }
.check-y { color: var(--success); font-size: 16px; }
.check-n { color: var(--error); font-size: 16px; }

/* ── GLOW DIVIDER ── */
.glow-divider { height: 1px; background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%); opacity: 0.3; margin: 0; }

/* misc */
.text-gradient { background: linear-gradient(135deg, var(--primary) 0%, #c084fc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }