/* ═══════════════════════════════════════════════════════════════
   ZENITH C++ — Landing Page Styles
   Claude Design System (Dark Variant)
   DESIGN-claude.md tokens
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Tokens ── */
:root {
  --near-black: #141413;
  --dark-surface: #30302e;
  --dark-panel: #1c1b19;
  --dark-raised: #252422;
  --dark-hover: #2a2927;
  --ivory: #faf9f5;
  --warm-silver: #b0aea5;
  --stone: #87867f;
  --olive-gray: #5e5d59;
  --charcoal-warm: #4d4c48;
  --border-dark: #30302e;
  --border-muted: rgba(255, 255, 255, 0.07);
  --terracotta: #c96442;
  --coral: #d97757;
  --crimson: #b53333;
  --focus-blue: #3898ec;
  --success: #5a9e6f;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --whisper: rgba(0, 0, 0, 0.45) 0px 8px 40px;
  --ring-dark: 0 0 0 1px #30302e;
  --ring-terr: 0 0 0 1px #c96442;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--near-black);
  color: var(--ivory);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-dark);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-surface);
}

/* ════════════════════════════════════════════════════════════════
   NAV
════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(20, 20, 19, 0.88);
  border-bottom: 1px solid var(--border-dark);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-name {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--ivory);
}

.nav-logo-name span {
  color: var(--terracotta);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover {
  color: var(--ivory);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--terracotta);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: #c96442 0 0 0 0, #c96442 0 0 0 1px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.1s;
}

.btn-nav-cta:hover {
  background: var(--coral);
  box-shadow: #d97757 0 0 0 0, #d97757 0 0 0 1px, rgba(0, 0, 0, 0.3) 0 4px 16px;
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

/* Warm radial glow behind hero text */
.hero::before {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(201, 100, 66, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

/* Subtle grid */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}

.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(201, 100, 66, 0.28);
  background: rgba(201, 100, 66, 0.06);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 400;
  line-height: 1.10;
  letter-spacing: -1px;
  color: var(--ivory);
  max-width: 820px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.hero-title em {
  font-style: normal;
  color: var(--terracotta);
}

.hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 400;
  line-height: 1.70;
  color: var(--stone);
  max-width: 560px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-bottom: 72px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  background: var(--terracotta);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: #c96442 0 0 0 0, #c96442 0 0 0 1px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
}

.btn-primary:hover {
  background: var(--coral);
  box-shadow: #d97757 0 0 0 0, #d97757 0 0 0 1px, rgba(0, 0, 0, 0.35) 0 8px 24px;
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  background: var(--dark-panel);
  color: var(--warm-silver);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--border-dark);
  transition: all 0.18s;
}

.btn-secondary:hover {
  color: var(--ivory);
  background: var(--dark-raised);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Hero IDE preview mockup */
.hero-mockup {
  width: 100%;
  max-width: 900px;
  border-radius: 16px;
  background: var(--dark-panel);
  border: 1px solid var(--border-dark);
  box-shadow: 0 0 0 1px var(--border-dark), rgba(0, 0, 0, 0.6) 0 24px 80px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-dark);
  background: rgba(20, 20, 19, 0.8);
}

.mockup-dots {
  display: flex;
  gap: 7px;
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.mockup-dot.red {
  background: #ff5f57;
}

.mockup-dot.yellow {
  background: #febc2e;
}

.mockup-dot.green {
  background: #28c840;
}

.mockup-filename {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--stone);
}

.mockup-body {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  min-height: 260px;
}

.mockup-code {
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--warm-silver);
  background: var(--dark-panel);
  text-align: left;
  overflow: hidden;
}

.mockup-divider {
  background: var(--border-dark);
}

.mockup-terminal {
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  background: var(--near-black);
  text-align: left;
}

/* Syntax colors */
.kw {
  color: #c792ea;
}

.ty {
  color: #82aaff;
}

.st {
  color: #c3e88d;
}

.cm {
  color: var(--olive-gray);
  font-style: italic;
}

.fn {
  color: #82aaff;
}

.nu {
  color: #f78c6c;
}

.op {
  color: var(--warm-silver);
}

.tc {
  color: var(--terracotta);
}

.ts {
  color: var(--stone);
}

.to {
  color: var(--success);
}

/* Cursor blink */
.cursor-blink {
  display: inline-block;
  width: 8px;
  height: 14px;
  background: var(--terracotta);
  opacity: 0.8;
  animation: blink 1.1s step-end infinite;
  vertical-align: text-bottom;
  border-radius: 1px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 0.8
  }

  50% {
    opacity: 0
  }
}

/* ════════════════════════════════════════════════════════════════
   SECTION WRAPPER
════════════════════════════════════════════════════════════════ */
.section {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-center {
  text-align: center;
}

.section-overline {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ivory);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-sub {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--stone);
  line-height: 1.70;
  max-width: 560px;
  margin: 0 auto 56px;
}

/* Full-width dark section */
.section-dark {
  background: var(--near-black);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.section-raised {
  background: var(--dark-panel);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

/* ════════════════════════════════════════════════════════════════
   FEATURE CARDS
════════════════════════════════════════════════════════════════ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 28px;
  background: var(--dark-panel);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  box-shadow: 0 0 0 1px var(--border-dark), rgba(0, 0, 0, 0.2) 0 4px 20px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(201, 100, 66, 0.25);
  box-shadow: 0 0 0 1px rgba(201, 100, 66, 0.2), rgba(0, 0, 0, 0.3) 0 8px 32px;
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201, 100, 66, 0.10);
  border: 1px solid rgba(201, 100, 66, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--terracotta);
}

.feature-card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.feature-card-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--stone);
  line-height: 1.70;
}

/* ════════════════════════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 14px);
  right: calc(16.66% + 14px);
  height: 1px;
  background: linear-gradient(90deg, var(--terracotta), rgba(201, 100, 66, 0.3), var(--terracotta));
  opacity: 0.35;
}

.step {
  padding: 0 32px;
  text-align: center;
  position: relative;
}

.step:first-child {
  padding-left: 0;
}

.step:last-child {
  padding-right: 0;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dark-panel);
  border: 1px solid var(--border-dark);
  box-shadow: 0 0 0 1px var(--border-dark), rgba(201, 100, 66, 0.12) 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--terracotta);
}

.step-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 10px;
}

.step-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--stone);
  line-height: 1.70;
}

/* ════════════════════════════════════════════════════════════════
   TECH STACK PILLS
════════════════════════════════════════════════════════════════ */
.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--dark-panel);
  border: 1px solid var(--border-dark);
  border-radius: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--warm-silver);
  box-shadow: 0 0 0 1px var(--border-dark);
  transition: all 0.15s;
}

.tech-pill:hover {
  border-color: rgba(201, 100, 66, 0.3);
  color: var(--ivory);
  box-shadow: 0 0 0 1px rgba(201, 100, 66, 0.2);
}

.tech-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════
   DEVELOPER SECTION
════════════════════════════════════════════════════════════════ */
.dev-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 40px;
  background: var(--dark-panel);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  box-shadow: 0 0 0 1px var(--border-dark), rgba(0, 0, 0, 0.4) 0 12px 48px;
  text-align: center;
}

/*.dev-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--coral));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  color: var(--ivory);
  box-shadow: 0 0 0 3px rgba(201,100,66,0.2), 0 0 0 1px var(--terracotta);
} */

a {
  text-decoration: none;
  color: var(--ivory);
}

.dev-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.dev-role {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.dev-bio {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--stone);
  line-height: 1.75;
  max-width: 360px;
  margin: 0 auto 28px;
}

.dev-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.dev-tag {
  padding: 4px 12px;
  border-radius: 16px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  background: rgba(201, 100, 66, 0.08);
  border: 1px solid rgba(201, 100, 66, 0.22);
  color: var(--coral);
}

/* ════════════════════════════════════════════════════════════════
   FINAL CTA
════════════════════════════════════════════════════════════════ */
.cta-section {
  padding: 120px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(201, 100, 66, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--ivory);
  max-width: 680px;
  margin: 0 auto 16px;
}

.cta-sub {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--stone);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 44px;
}

.btn-launch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--terracotta);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: #c96442 0 0 0 0, #c96442 0 0 0 1px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.12s;
}

.btn-launch:hover {
  background: var(--coral);
  box-shadow: #d97757 0 0 0 0, #d97757 0 0 0 1px, rgba(201, 100, 66, 0.25) 0 12px 40px;
  transform: translateY(-2px);
}

.btn-launch:active {
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border-dark);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer-logo-name {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--warm-silver);
}

.footer-logo-name span {
  color: var(--terracotta);
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--stone);
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--ivory);
}

/* ════════════════════════════════════════════════════════════════
   DIVIDER
════════════════════════════════════════════════════════════════ */
.section-hr {
  border: none;
  border-top: 1px solid var(--border-dark);
}

/* ════════════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════════════ */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  animation: fade-up 0.7s ease both;
}

.delay-1 {
  animation-delay: 0.10s;
}

.delay-2 {
  animation-delay: 0.20s;
}

.delay-3 {
  animation-delay: 0.30s;
}

.delay-4 {
  animation-delay: 0.45s;
}

.delay-5 {
  animation-delay: 0.60s;
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 100px 20px 60px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 70px 20px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps-grid::before {
    display: none;
  }

  .step {
    padding: 0;
  }

  .footer {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .mockup-body {
    grid-template-columns: 1fr;
  }

  .mockup-code, .mockup-terminal {
    overflow-x: auto;
    padding: 16px;
    font-size: 11.5px;
  }

  .mockup-divider {
    display: none;
  }

  .mockup-terminal {
    border-top: 1px solid var(--border-dark);
  }

  .dev-card {
    padding: 30px 20px;
  }

  .cta-section {
    padding: 80px 20px;
  }

  .btn-launch {
    width: 100%;
    justify-content: center;
  }
}