/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #08080d;
  --bg-2: #0f0f18;
  --bg-card: #12121c;
  --accent: #f4a040;
  --accent-dim: #c47c2a;
  --text: #e8e4dd;
  --text-muted: #8a867c;
  --border: #1e1e2e;
  --green: #4ade80;
}
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; line-height: 1.15; }

/* ─── Section Label ─── */
.section-label {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.section-label.light { color: var(--accent); }

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 2.5rem;
  background: rgba(8, 8, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: baseline; gap: 0.8rem; }
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 8rem 2.5rem 4rem;
  max-width: 1300px;
  margin: 0 auto;
}
.hero-label {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.8rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.hero-stats {
  display: flex;
  gap: 3rem;
}
.hero-stat { display: flex; flex-direction: column; }
.stat-val {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── Data Trace Visual ─── */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.data-trace {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.8rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 0 60px rgba(244, 160, 64, 0.06);
}
.trace-header { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.4rem; }
.trace-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.trace-dot.live { background: var(--green); box-shadow: 0 0 8px var(--green); animation: pulse 2s infinite; }
.trace-title { font-family: 'Syne', sans-serif; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.trace-line { display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.4rem; }
.trace-step {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.8rem; color: var(--text-muted);
}
.trace-step.done { color: var(--text); }
.trace-step.active { color: var(--accent); font-weight: 500; }
.trace-icon { font-size: 0.7rem; width: 18px; text-align: center; }
.trace-step.done .trace-icon { color: var(--green); }
.pulse { animation: blink 1s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 4px var(--green); } 50% { box-shadow: 0 0 12px var(--green); } }
.trace-output { margin-bottom: 1.4rem; }
.output-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.2rem;
}
.output-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 0.4rem; font-family: 'Syne', sans-serif; }
.output-value { font-size: 0.88rem; color: var(--text); line-height: 1.5; margin-bottom: 0.5rem; }
.output-meta { font-size: 0.68rem; color: var(--text-muted); }
.trace-bar {
  height: 3px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.7rem;
}
.trace-bar-fill {
  height: 100%;
  width: 78%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  border-radius: 99px;
  animation: fillBar 3s ease-out infinite alternate;
}
@keyframes fillBar { from { width: 0%; } to { width: 78%; } }
.trace-time { font-size: 0.72rem; color: var(--text-muted); text-align: right; }
.trace-time strong { color: var(--accent); }

/* ─── Problem Section ─── */
.problem { padding: 6rem 2.5rem; background: var(--bg-2); }
.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem-header { text-align: center; margin-bottom: 4rem; }
.problem-header h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; color: var(--text); margin-top: 0.5rem; }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}
.problem-card.accent { border-color: var(--accent-dim); }
.problem-title { font-family: 'Syne', sans-serif; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 0.5rem; }
.problem-days { font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--accent); margin-bottom: 1.5rem; }
.problem-steps { display: flex; flex-direction: column; gap: 0.7rem; }
.step { font-size: 0.85rem; color: var(--text-muted); display: flex; gap: 0.7rem; align-items: baseline; }
.step.faded { opacity: 0.4; font-style: italic; }
.step-n { font-family: 'Syne', sans-serif; font-size: 0.7rem; color: var(--accent-dim); flex-shrink: 0; width: 24px; }
.problem-quote { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.problem-quote em { font-size: 0.85rem; color: var(--text); font-style: normal; display: block; margin-bottom: 0.3rem; }
.problem-quote span { font-size: 0.7rem; color: var(--text-muted); }
.problem-divider { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem; padding-top: 2rem; }
.divider-line { width: 1px; height: 60px; background: var(--border); }
.divider-vs { font-family: 'Syne', sans-serif; font-size: 0.7rem; color: var(--accent); font-weight: 700; }

/* ─── Workflow ─── */
.workflow { padding: 6rem 2.5rem; }
.workflow-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.workflow-inner h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; color: var(--text); margin: 0.5rem 0 3rem; }
.workflow-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  text-align: left;
}
.wf-step { flex: 1; padding: 2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; }
.wf-connector { width: 48px; display: flex; align-items: center; justify-content: center; }
.wf-connector::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--border), var(--accent-dim), var(--border));
}
.wf-num { font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 700; color: var(--accent); letter-spacing: 0.12em; margin-bottom: 0.8rem; }
.wf-step h3 { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 0.7rem; }
.wf-step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.2rem; }
.wf-demo {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  font-size: 0.8rem;
}
.accent-demo {
  border-color: var(--accent-dim);
}
.demo-query { color: var(--text-muted); font-style: italic; margin-bottom: 0.5rem; }
.demo-arrow { color: var(--accent); text-align: center; font-size: 1rem; margin: 0.3rem 0; }
.demo-response { color: var(--text-muted); line-height: 1.6; }
.demo-insight { color: var(--text); line-height: 1.6; font-size: 0.85rem; }
.audit-badge { display: flex; gap: 0.8rem; align-items: flex-start; }
.audit-icon { color: var(--green); font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.audit-title { font-family: 'Syne', sans-serif; font-size: 0.78rem; font-weight: 600; color: var(--text); }
.audit-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ─── Features ─── */
.features { padding: 6rem 2.5rem; background: var(--bg-2); }
.features-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.features-inner h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 700; color: var(--text); margin: 0.5rem 0 3rem; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
  margin-bottom: 3rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.8rem;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: var(--accent-dim); }
.feature-icon { color: var(--accent); margin-bottom: 1rem; }
.feature-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }
.features-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.feat-stat { background: var(--bg-card); padding: 1.8rem 1rem; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }
.feat-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; }
.feat-stat > span:last-child { font-size: 0.72rem; color: var(--text-muted); }

/* ─── Pillars ─── */
.pillars { padding: 6rem 2.5rem; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.pillars-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.pillars-inner h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); font-weight: 700; margin: 0.5rem 0 1rem; }
.pillars-sub { font-size: 1rem; color: var(--text-muted); max-width: 540px; margin: 0 auto 3rem; }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: left; margin-bottom: 3rem; }
.pillar { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; }
.pillar-num { font-family: 'Syne', sans-serif; font-size: 2.5rem; font-weight: 800; color: var(--accent); opacity: 0.3; margin-bottom: 0.8rem; line-height: 1; }
.pillar h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 0.7rem; }
.pillar p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.pillar-quote { border-top: 1px solid var(--border); padding-top: 1rem; }
.pillar-quote em { font-size: 0.8rem; color: var(--accent); font-style: normal; }
.pillar-note { font-family: 'Syne', sans-serif; font-size: 0.78rem; color: var(--text-muted); font-style: italic; letter-spacing: 0.04em; }

/* ─── Security ─── */
.security { padding: 6rem 2.5rem; }
.security-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.security-left h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; color: var(--text); margin: 0.5rem 0 1rem; }
.security-left > p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }
.security-badges { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.badge { display: flex; align-items: flex-start; gap: 0.8rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1rem; }
.badge-icon { color: var(--green); font-size: 0.9rem; flex-shrink: 0; margin-top: 0.1rem; }
.badge-title { font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--text); }
.badge-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.15rem; }
.deploy-grid { display: flex; flex-direction: column; gap: 1rem; }
.deploy-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.deploy-icon { color: var(--accent); flex-shrink: 0; }
.deploy-card h4 { font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 0.3rem; }
.deploy-card p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

/* ─── Closing ─── */
.closing { padding: 6rem 2.5rem; background: var(--bg-2); }
.closing-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.layers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; text-align: left; margin: 2.5rem 0 4rem; }
.layer-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; }
.layer-badge {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(74, 222, 128, 0.1);
  color: var(--green);
  border: 1px solid rgba(74, 222, 128, 0.3);
  margin-bottom: 0.8rem;
}
.layer-badge.research { background: rgba(244, 160, 64, 0.1); color: var(--accent); border-color: rgba(244, 160, 64, 0.3); }
.layer-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 0.8rem; }
.layer-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.layer-tag { font-size: 0.72rem; color: var(--accent); font-family: 'Syne', sans-serif; font-weight: 600; }
.closing-cta h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1.2rem; }
.closing-cta p { font-size: 1rem; color: var(--text-muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ─── Footer ─── */
.footer { padding: 2.5rem; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.footer-brand { display: flex; align-items: baseline; gap: 0.8rem; }
.footer-logo { font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--text); }
.footer-sub { font-size: 0.72rem; color: var(--text-muted); }
.footer-note { font-size: 0.78rem; color: var(--text-muted); max-width: 400px; text-align: right; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 6rem; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-divider { display: none; }
  .workflow-steps { flex-direction: column; }
  .wf-connector { width: 100%; height: 24px; }
  .wf-connector::after { width: 60px; height: 1px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .features-stats { grid-template-columns: 1fr 1fr; }
  .pillar-grid { grid-template-columns: 1fr; }
  .security-inner { grid-template-columns: 1fr; gap: 3rem; }
  .layers-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-note { text-align: center; }
  .hero-stats { gap: 2rem; }
}
@media (max-width: 600px) {
  .feature-grid { grid-template-columns: 1fr; }
  .security-badges { grid-template-columns: 1fr; }
  .features-stats { grid-template-columns: 1fr 1fr; }
  .navbar { padding: 1rem 1.5rem; }
  .hero { padding: 5rem 1.5rem 3rem; }
  .problem { padding: 4rem 1.5rem; }
  .workflow, .features, .pillars, .security, .closing { padding: 4rem 1.5rem; }
}