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

:root {
  --bg:        #070b14;
  --bg-2:      #0c1324;
  --bg-card:   #0f1a2e;
  --accent:    #00d4ff;
  --accent-d:  #00a8c7;
  --text:      #dde4ef;
  --text-muted:#6b7a96;
  --border:    rgba(0, 212, 255, 0.1);
  --glow:      rgba(0, 212, 255, 0.08);
}

html { scroll-behavior: smooth; }

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

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover { color: var(--text); }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 760px; }

.hero-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(42px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 600px;
}

/* ── Stats Strip ── */
.hero-stats-strip {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-2);
  overflow: hidden;
  width: fit-content;
}

.stat {
  padding: 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── Sections ── */
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

/* ── How It Works ── */
.how-it-works {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.how-it-works h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 64px;
  max-width: 500px;
}

.stack-grid {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.stack-item {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.stack-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
  box-shadow: 0 0 32px var(--glow);
}

.stack-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.stack-item h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.stack-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.stack-arrow {
  display: flex;
  align-items: center;
  padding-top: 48px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ── Features ── */
.features {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}

.features h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 64px;
  max-width: 500px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg-2);
  padding: 48px 40px;
  transition: background 0.2s;
}

.feature-card:hover { background: var(--bg-card); }

.feature-num {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Principles ── */
.principles {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.principles h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 64px;
  max-width: 500px;
}

.principles-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.principle {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 40px 48px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.principle:last-child { border-bottom: none; }
.principle:hover { background: var(--bg-2); }

.principle-marker {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.principle-num {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.principle-body h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.principle-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Closing ── */
.closing {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.closing-statement {
  font-family: 'Syne', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 48px;
}

.closing-tagline {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

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

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
}

.footer-tag {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .header-nav { display: none; }
  
  .hero { padding: 64px 0 56px; }
  
  .hero-stats-strip {
    flex-direction: column;
    width: 100%;
  }
  
  .stat { padding: 20px 24px; width: 100%; }
  
  .stat-divider { width: 100%; height: 1px; }
  
  .stack-grid {
    flex-direction: column;
  }
  
  .stack-arrow {
    display: none;
  }
  
  .features-grid { grid-template-columns: 1fr; }
  
  .principle { padding: 28px 24px; gap: 20px; }
  
  .closing { padding: 80px 0; }
  
  .footer-inner { flex-direction: column; gap: 12px; }
}
