:root {
  --ink: #0B1220;
  --ink-soft: #16213A;
  --paper: #F7F8FA;
  --paper-line: #E4E7EC;
  --signal: #0A5BFF;
  --signal-deep: #003DA5;
  --text-muted: #5B6472;
  --white: #FFFFFF;

  --line-red: #E31E25;
  --line-yellow: #FFD320;
  --line-violet: #7B2D8E;
  --line-orange: #F26522;
  --line-lucknow: #ED1C24;
  --line-agra: #FFFF00;
  --line-bhopal: #FFA500;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 18px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

:focus-visible {
  outline: 2.5px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  text-decoration: none;
}

.nav-brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(10,91,255,0.25);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--white); }

/* ---------- HERO ---------- */
.hero {
  background: var(--ink);
  color: var(--white);
  padding: 84px 0 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  gap: 28px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(10,91,255,0.5);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.08;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: var(--signal);
}

.hero p.lede {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.68);
  margin: 0 auto;
  max-width: 540px;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

.btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--signal);
  color: var(--white);
}

.btn-primary:hover { background: var(--signal-deep); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.22);
}

.btn-ghost:hover { border-color: rgba(255,255,255,0.5); }

.btn-soon {
  opacity: 0.55;
  cursor: default;
}
.btn-soon:hover { transform: none; }

/* ---------- SIGNATURE LINE DIAGRAM ---------- */
.line-diagram {
  margin-top: 56px;
  padding: 0 0 90px;
  position: relative;
}

.line-diagram-scroll {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 32px;
}

.line-track {
  position: relative;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--line-orange) 0%,
    var(--signal) 25%,
    var(--line-yellow) 50%,
    var(--line-violet) 75%,
    var(--line-lucknow) 100%
    var(--line-agra) 100%
    var(--line-bhopal) 100%
  );
  border-radius: 999px;
  margin: 0 26px;
}

.stations {
  display: flex;
  justify-content: space-between;
  margin-top: -9px;
  padding: 0 0;
}

.station {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.station-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px currentColor;
  flex-shrink: 0;
}

.station:nth-child(1) .station-dot { color: var(--line-orange); }
.station:nth-child(2) .station-dot { color: var(--signal); }
.station:nth-child(3) .station-dot { color: var(--line-yellow); }
.station:nth-child(4) .station-dot { color: var(--line-violet); }
.station:nth-child(5) .station-dot { color: var(--line-lucknow); }
.station:nth-child(6) .station-dot { color: var(--line-agra); }
.station:nth-child(7) .station-dot { color: var(--line-bhopal); }

.station-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(255,255,255,0.78);
  text-align: center;
  white-space: nowrap;
}

.station-code {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  margin-top: 3px;
}

/* ---------- FEATURES ---------- */
.features {
  padding: 80px 0;
}

.section-head {
  max-width: 560px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head .eyebrow {
  color: var(--signal-deep);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 34px);
  margin: 14px 0 12px;
  font-weight: 700;
}

.section-head p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -18px rgba(11,18,32,0.22);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 19px;
}

.feature-card:nth-child(1) .feature-icon { background: rgba(10,91,255,0.1); color: var(--signal); }
.feature-card:nth-child(2) .feature-icon { background: rgba(255,211,32,0.18); color: #A8790A; }
.feature-card:nth-child(3) .feature-icon { background: rgba(232,103,43,0.12); color: #E8672B; }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 8px;
  font-weight: 700;
}

.feature-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.feature-tag {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  background: var(--paper);
  border: 1px solid var(--paper-line);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ---------- FOOTER / CTA ---------- */
.footer-cta {
  background: var(--ink);
  color: var(--white);
  padding: 76px 0 40px;
}

.footer-cta-inner {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 56px;
}

.footer-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 32px);
  margin: 0 0 14px;
  font-weight: 700;
}

.footer-cta-inner p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 26px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.footer-bottom-brand .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
}

.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.footer-links a:hover { color: var(--white); }

.footer-note {
  color: rgba(255,255,255,0.35);
  font-size: 12.5px;
  margin-top: 22px;
  text-align: center;
}

/* ---------- PRIVACY / DOC PAGE ---------- */
.doc-hero {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0 48px;
}

.doc-hero .wrap { max-width: 720px; }

.doc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  margin: 14px 0 8px;
  font-weight: 700;
}

.doc-hero .updated {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.doc-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 24px 100px;
  line-height: 1.7;
  font-size: 15.5px;
}

.doc-body h2 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 40px 0 12px;
  font-weight: 700;
}

.doc-body h2:first-child { margin-top: 0; }

.doc-body p { margin: 0 0 14px; color: #2A3242; }

.doc-body ul { margin: 0 0 14px; padding-left: 20px; color: #2A3242; }
.doc-body li { margin-bottom: 6px; }

.doc-callout {
  background: #FFF7ED;
  border: 1px solid #FCE3C3;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 14px;
  color: #7A4A0F;
  margin: 0 0 32px;
}

.doc-callout strong { display: block; margin-bottom: 4px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-bottom: 18px;
}

.back-link:hover { color: var(--white); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 780px) {
  .feature-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .stations { flex-wrap: nowrap; overflow-x: auto; gap: 22px; }
  .station-label { font-size: 11px; }
  .line-track { margin: 0 6px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
