:root {
  --bg: #0F1117;
  --bg-card: #161B27;
  --bg-card-hover: #1C2233;
  --amber: #F59E0B;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border: rgba(148, 163, 184, 0.1);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 64px;
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--amber);
  background: var(--amber-dim);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.nav-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
}

/* Hero */
.hero {
  padding: 80px 64px 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 28px;
  letter-spacing: -1.5px;
}

.hero-lede {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 24px;
}

.proof-item {
  display: flex;
  flex-direction: column;
}

.proof-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--amber);
}

.proof-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Stack Illustration */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stack-illustration {
  position: relative;
  width: 100%;
  max-width: 380px;
}

.stack-layer {
  margin-bottom: 10px;
}

.layer-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.layer-bar {
  height: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.layer-bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: var(--fill, 70%);
  background: linear-gradient(90deg, var(--amber) 0%, rgba(245, 158, 11, 0.3) 100%);
  border-radius: 3px;
}

.layer-1 .layer-bar { --fill: 85%; }
.layer-2 .layer-bar { --fill: 92%; }
.layer-3 .layer-bar { --fill: 78%; }
.layer-4 .layer-bar { --fill: 100%; }

.stack-nodes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 16px;
}

.node {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  text-align: center;
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 44px);
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}

/* Services */
.services {
  padding: 96px 64px;
  background: #0D1017;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: background 0.2s;
}

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

.service-card-cta {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.04);
}

.service-icon {
  margin-bottom: 20px;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Stack/Tools */
.stack-section {
  padding: 96px 64px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}

.tool-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--amber);
  margin-bottom: 8px;
}

.tool-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.stack-callout {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.stack-callout p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.stack-callout em {
  color: var(--amber);
  font-style: normal;
  font-weight: 600;
}

/* Results */
.results-section {
  padding: 96px 64px;
  background: #0D1017;
}

.results-header {
  text-align: center;
  margin-bottom: 56px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
}

.result-stat {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  color: var(--amber);
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.result-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.result-detail {
  font-size: 12px;
  color: var(--text-muted);
}

/* Closing */
.closing-section {
  padding: 120px 64px;
}

.closing-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  color: var(--text-primary);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 32px;
}

.closing-body {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.closing-body:last-of-type {
  margin-bottom: 0;
}

/* Footer */
.footer {
  padding: 48px 64px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .stack-illustration { max-width: 280px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: 1fr; }
  .nav { padding: 24px 32px; }
  .hero { padding: 56px 32px 72px; }
  .services, .stack-section, .results-section { padding: 64px 32px; }
  .closing-section { padding: 80px 32px; }
}

@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr; }
  .hero-proof { flex-wrap: wrap; gap: 16px; }
  .proof-divider { display: none; }
}