:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #1a2235;
  --fg-primary: #f0f4f8;
  --fg-secondary: #94a3b8;
  --fg-muted: #64748b;
  --accent: #38bdf8;
  --accent-dim: #0ea5e9;
  --success: #34d399;
  --warning: #fbbf24;
  --border: #1e293b;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(56, 189, 248, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(14, 165, 233, 0.04) 0%, transparent 40%),
    var(--bg-primary);
}

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

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--fg-primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lede {
  font-size: 1.125rem;
  color: var(--fg-secondary);
  max-width: 500px;
  line-height: 1.7;
}

/* Status Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.status-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.status-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--fg-secondary);
  margin-bottom: 1rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.status-score {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--fg-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.score-unit {
  font-size: 1.5rem;
  color: var(--fg-muted);
}

.status-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

.status-bar {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.status-fill {
  height: 100%;
  width: 85%;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  border-radius: 3px;
}

.status-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.status-item {
  font-size: 0.8rem;
  color: var(--fg-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check {
  color: var(--success);
  font-weight: 700;
}

.warn {
  color: var(--warning);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Problem */
.problem {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.problem h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 3rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--fg-secondary);
}

.problem-text {
  font-size: 1.1rem;
  color: var(--fg-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Features */
.features {
  padding: 6rem 2rem;
  background: var(--bg-primary);
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.features h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  text-align: center;
}

.features-subtitle {
  text-align: center;
  color: var(--fg-secondary);
  font-size: 1.1rem;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--fg-primary);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  line-height: 1.7;
}

/* Closing */
.closing {
  padding: 8rem 2rem;
  background: 
    radial-gradient(ellipse at 50% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 50%),
    var(--bg-primary);
  text-align: center;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 750px;
  margin: 0 auto;
}

.closing h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

.closing-text {
  font-size: 1.1rem;
  color: var(--fg-secondary);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.closing-vision {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* Footer */
.footer {
  padding: 3rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero {
    min-height: auto;
    padding: 3rem 1.5rem;
  }
  
  .stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .status-card {
    max-width: 100%;
  }
}
/* ── Hero CTA (added for assessment feature) ── */
.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.btn-hero {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
  color: #0a0e17;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s;
}

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

.hero-cta-sub {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}

/* Status card CTA link */
.status-cta {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.status-cta-link {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.status-cta-link:hover { opacity: 0.8; }
