/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0b14;
  --bg-2: #13111c;
  --bg-card: #1a1520;
  --fg: #f5f0e8;
  --fg-muted: #a09890;
  --fg-dim: #5c5550;
  --accent: #ff5c2b;
  --accent-dim: rgba(255, 92, 43, 0.12);
  --accent-glow: rgba(255, 92, 43, 0.08);
  --border: rgba(245, 240, 232, 0.07);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(13, 11, 20, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.nav-tag {
  font-size: 0.75rem;
  color: var(--fg-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 100px;
}

/* === SECTION SHARED === */
section {
  padding: 6rem 2rem;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--fg);
  margin-bottom: 3rem;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  padding-top: 6rem;
  padding-bottom: 4rem;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 92, 43, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 92, 43, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--fg);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.08;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  margin-bottom: 2rem;
  max-width: 420px;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--fg-muted);
  background: var(--accent-dim);
  border: 1px solid rgba(255, 92, 43, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
}

/* === HERO VISUAL === */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.neural-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.neural-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(255, 92, 43, 0.15));
}

.status-bar {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3dde8c;
  box-shadow: 0 0 8px #3dde8c;
  flex-shrink: 0;
}

.status-dot-amber {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.status-bar-2 {
  margin-top: 0.5rem;
  opacity: 0.7;
}

/* === HOW IT WORKS === */
.howitworks {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 0 2rem;
}

.step:first-child {
  padding-left: 0;
}

.step-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 1rem;
  line-height: 1;
}

.step-body h3 {
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.step-body p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step-connector {
  width: 40px;
  flex-shrink: 0;
  height: 1px;
  background: linear-gradient(to right, var(--border), var(--accent), var(--border));
  margin-top: 2rem;
  position: relative;
}

.step-connector::after {
  content: '→';
  position: absolute;
  right: -2px;
  top: -0.9rem;
  color: var(--accent);
  font-size: 1rem;
  opacity: 0.5;
}

/* === FEATURES === */
.features {
  padding: 5rem 2rem;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.feature-card-main {
  background: var(--accent-dim);
  border-color: rgba(255, 92, 43, 0.2);
}

.feature-icon {
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1rem;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === DIFFERENCE === */
.difference {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.difference-inner {
  max-width: 900px;
  margin: 0 auto;
}

.diff-label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.diff-heading {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.diff-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 3rem;
}

.vs-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}

.vs-col-header {
  margin-bottom: 1.5rem;
}

.vs-tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
}

.vs-tag-old {
  background: rgba(245, 240, 232, 0.06);
  color: var(--fg-muted);
  border: 1px solid var(--border);
}

.vs-tag-new {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(255, 92, 43, 0.25);
}

.vs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vs-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

.vs-others li { color: var(--fg-dim); }

.vs-pageflow li { color: var(--fg); }

.vs-icon {
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.vs-icon-x { color: var(--fg-dim); }
.vs-icon-check { color: var(--accent); }

.vs-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 3rem;
}

.vs-divider-line {
  width: 1px;
  height: 30px;
  background: var(--border);
}

.vs-divider-icon {
  color: var(--accent);
  font-size: 1.2rem;
  opacity: 0.6;
}

/* === CLOSING === */
.closing {
  padding: 8rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(255, 92, 43, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.closing-inner {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}

.closing-statement {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 500;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.closing-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.closing-footer {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.closing-note {
  font-size: 0.82rem;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--fg-dim);
}

.footer-meta {
  font-size: 0.72rem;
  color: var(--fg-dim);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .neural-wrap {
    max-width: 320px;
  }

  .features-inner {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card-main {
    grid-column: 1 / -1;
  }

  .steps {
    flex-direction: column;
    gap: 2rem;
  }

  .step {
    padding: 0;
  }

  .step-connector {
    display: none;
  }

  .vs-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .vs-divider {
    flex-direction: row;
    padding-top: 0;
  }

  .vs-divider-line {
    width: 40px;
    height: 1px;
  }

  .vs-divider-icon {
    transform: rotate(90deg);
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  section {
    padding: 4rem 1.25rem;
  }

  .features-inner {
    grid-template-columns: 1fr;
  }

  .feature-card-main {
    grid-column: auto;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-card); border-radius: 3px; }
