:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #161d2f;
  --bg-card-hover: #1c2540;
  --fg-primary: #f0f2f5;
  --fg-secondary: #8b95a8;
  --fg-muted: #5a6478;
  --accent-blue: #3b82f6;
  --accent-blue-glow: rgba(59, 130, 246, 0.15);
  --accent-gold: #d4a853;
  --accent-gold-glow: rgba(212, 168, 83, 0.12);
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(59, 130, 246, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 6% 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-blue-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-gold-glow) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-blue-glow);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lede {
  font-size: 1.15rem;
  color: var(--fg-secondary);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat { display: flex; flex-direction: column; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--fg-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

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

.hero-visual {
  position: relative;
  z-index: 1;
  margin-top: 64px;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 560px;
}

.cmd-cell {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--fg-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.cmd-cell.active {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(59, 130, 246, 0.05) 100%);
  color: var(--fg-primary);
}

.cmd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-blue);
  flex-shrink: 0;
}

.cmd-dot.blue { background: var(--accent-blue); }
.cmd-dot.gold { background: var(--accent-gold); }

/* ===== DEPARTMENTS ===== */
.departments {
  padding: 120px 6%;
}

.section-header {
  max-width: 640px;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  line-height: 1.7;
}

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

.dept-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.25s ease;
}

.dept-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.dept-card.featured {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.06) 0%, var(--bg-card) 100%);
}

.dept-icon {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--accent-blue);
}

.dept-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.dept-card p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* ===== GROWTH ===== */
.growth {
  padding: 120px 6%;
  background: var(--bg-secondary);
}

.growth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.growth-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.growth-text p {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  line-height: 1.7;
}

.growth-stages {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 32px;
}

.growth-stages::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-blue) 0%, var(--accent-gold) 100%);
  opacity: 0.3;
}

.stage {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 14px 0;
  position: relative;
}

.stage-marker {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--fg-muted);
  background: var(--bg-secondary);
  flex-shrink: 0;
  position: relative;
  margin-left: -32px;
  z-index: 1;
}

.stage-marker.active {
  border-color: var(--accent-gold);
  background: var(--accent-gold);
}

.stage-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--accent-gold-glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.3); }
}

.stage-content h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.stage-content p {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ===== TIERS ===== */
.tiers {
  padding: 120px 6%;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: all 0.25s ease;
}

.tier-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
}

.tier-card.highlighted {
  border-color: var(--accent-gold);
  background: linear-gradient(180deg, var(--accent-gold-glow) 0%, var(--bg-card) 100%);
}

.tier-level {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.tier-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.tier-card p {
  font-size: 0.88rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* ===== CLOSING ===== */
.closing {
  padding: 140px 6%;
  background: var(--bg-secondary);
  text-align: center;
}

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

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--fg-primary) 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.closing-sub {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  line-height: 1.7;
  margin-bottom: 48px;
}

.closing-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-gold));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 40px 6%;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg-primary);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
  .tiers-grid { grid-template-columns: repeat(2, 1fr); }
  .growth-container { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
  .hero { padding: 60px 5% 40px; min-height: auto; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stat-divider { width: 40px; height: 1px; }
  .command-grid { grid-template-columns: repeat(2, 1fr); }
  .dept-grid { grid-template-columns: 1fr; }
  .tiers-grid { grid-template-columns: 1fr; }
  .departments, .growth, .tiers { padding: 80px 5%; }
  .closing { padding: 100px 5%; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}