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

:root {
  --bg:        #0c0d10;
  --bg-card:   #13141a;
  --bg-card2:  #0f1015;
  --bg-elevated: #1a1b23;
  --accent:    #00c9a7;
  --accent-2:  #00a8ff;
  --accent-g:  linear-gradient(135deg, #00c9a7, #00a8ff);
  --accent-glow: rgba(0,201,167,0.18);
  --text:      #e8eaf0;
  --text-dim:  #a0a5b8;
  --muted:     #6b7190;
  --border:    rgba(255,255,255,0.07);
  --border-h:  rgba(0,201,167,0.3);
  --radius:    6px;
  --radius-sm: 4px;
  --nav-h:     64px;
  --shadow:    0 2px 20px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 999;
  height: var(--nav-h);
  background: rgba(12,13,16,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 5%;
  justify-content: space-between;
}
.logo {
  font-size: 1.2rem; font-weight: 700; letter-spacing: -.3px;
  color: var(--text); display: flex; align-items: center; gap: 8px;
}
.logo-mark {
  width: 28px; height: 28px;
  background: var(--accent-g);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 900; color: #000; letter-spacing: -1px;
}
.logo-text { color: var(--text); }
.logo-text span { color: var(--accent); }
.nav-links { display: flex; gap: 0; list-style: none; align-items: center; }
.nav-links a {
  color: var(--muted); font-size: .875rem; padding: 7px 15px;
  border-radius: var(--radius); transition: color .2s, background .2s;
  letter-spacing: .2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-cta {
  background: var(--accent) !important;
  color: #000 !important; font-weight: 600 !important;
  margin-left: 10px;
}
.nav-cta:hover { background: #00dbb8 !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none; }
.hamburger span { width: 22px; height: 1.5px; background: var(--text); border-radius: 2px; transition: .3s; display: block; }

/* ── PAGE HERO (shared) ── */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 5% 70px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(0,201,167,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,201,167,0.08); border: 1px solid rgba(0,201,167,0.2);
  color: var(--accent); font-size: .72rem; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 2px; margin-bottom: 1.4rem; font-weight: 600;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem); font-weight: 800;
  color: var(--text); margin-bottom: .9rem; line-height: 1.15; letter-spacing: -.5px;
}
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero p { color: var(--text-dim); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* ── SECTION COMMONS ── */
section { padding: 90px 5%; }
.eyebrow-label {
  display: inline-block; color: var(--accent);
  font-size: .72rem; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 700;
  margin-bottom: .8rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700;
  line-height: 1.2; color: var(--text); letter-spacing: -.3px;
}
.section-sub { color: var(--text-dim); font-size: 1rem; margin-top: .6rem; }
.section-head { margin-bottom: 4rem; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { max-width: 520px; margin: .6rem auto 0; }
.container { max-width: 1100px; margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 12px 28px; border-radius: var(--radius); font-weight: 600;
  font-size: .9rem; transition: all .2s; border: none; cursor: pointer;
  letter-spacing: .2px;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover { background: #00dbb8; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ── CARDS ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: border-color .25s, box-shadow .25s;
  position: relative;
}
.card:hover { border-color: var(--border-h); box-shadow: 0 0 30px rgba(0,201,167,0.06); }
.card-num {
  font-size: .75rem; font-weight: 700; color: var(--accent);
  letter-spacing: 1px; margin-bottom: 1rem; font-family: 'Courier New', monospace;
}
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); }
.card p { font-size: .875rem; color: var(--text-dim); line-height: 1.75; }

/* ── GRID ── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.grid-3 .card { border: none; border-radius: 0; background: var(--bg-card); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

/* ── STAT BAR ── */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--bg-card);
}
.stat-item {
  padding: 2.5rem 1.5rem; text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-item strong {
  display: block; font-size: 2.2rem; font-weight: 800;
  background: var(--accent-g); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: -1px; line-height: 1;
}
.stat-item span { font-size: .8rem; color: var(--muted); margin-top: .4rem; display: block; }

/* ── FOOTER ── */
footer {
  background: #080809;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding: 60px 5% 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  max-width: 1100px; margin: 0 auto 3rem;
}
.footer-brand p { font-size: .875rem; color: var(--muted); line-height: 1.8; margin-top: 1rem; }
.footer-col h4 {
  font-size: .72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.footer-col ul a { font-size: .875rem; color: var(--muted); transition: color .2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1100px; margin: 0 auto;
  font-size: .8rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ── FORM ── */
.form-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 3rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .75rem; color: var(--muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.form-group input, .form-group textarea, .form-group select {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 14px;
  color: var(--text); font-size: .9rem; font-family: inherit;
  outline: none; transition: border-color .2s; resize: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--accent); }
.form-group select option { background: var(--bg-card); color: var(--text); }

/* ── TERMINAL LINE ── */
.term-line {
  font-family: 'Courier New', monospace;
  font-size: .8rem; color: var(--muted);
  padding: .5rem 1rem; background: var(--bg-card);
  border-left: 2px solid var(--accent); margin-bottom: .4rem;
}
.term-line .cursor { color: var(--accent); }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── BADGE PILL ── */
.pill {
  display: inline-block; font-size: .72rem; font-weight: 600;
  padding: 3px 10px; border-radius: 2px;
  background: rgba(0,201,167,0.08); border: 1px solid rgba(0,201,167,0.2);
  color: var(--accent); letter-spacing: .5px;
}

/* ── TIMELINE ── */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item {
  display: flex; gap: 2rem; padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-step {
  flex-shrink: 0; width: 36px; height: 36px;
  background: rgba(0,201,167,0.1); border: 1px solid rgba(0,201,167,0.3);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800; color: var(--accent); font-family: monospace;
}
.timeline-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.timeline-content p { font-size: .875rem; color: var(--text-dim); }

/* ── INLINE ICON ROW ── */
.icon-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }
.icon-tag {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; color: var(--text-dim);
}
.icon-tag::before { content: '—'; color: var(--accent); font-weight: 700; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
}
@media (max-width: 640px) {
  section { padding: 70px 5%; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-card); padding: 1.5rem 5%; gap: .3rem;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .grid-3 { grid-template-columns: 1fr; }
}
