/* ============================================
   WEB3PWN Landing Page Styles
   Design System: Dark theme, Cyan/Purple accents
   Fonts: Space Grotesk, Inter, JetBrains Mono
   ============================================ */

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

:root {
  /* Backgrounds */
  --bg-primary: #0a0e17;
  --bg-secondary: #0f1420;
  --bg-tertiary: #151b2b;
  --bg-surface: #1a2235;

  /* Accents */
  --cyan: #00e5ff;
  --cyan-dim: #00b8d4;
  --cyan-glow: rgba(0, 229, 255, 0.15);
  --purple: #7c4dff;
  --purple-dim: #6200ea;
  --purple-glow: rgba(124, 77, 255, 0.15);
  --green: #00e676;
  --green-glow: rgba(0, 230, 118, 0.15);
  --red: #ff1744;
  --red-glow: rgba(255, 23, 68, 0.12);
  --orange: #ff9100;
  --orange-glow: rgba(255, 145, 0, 0.15);
  --yellow: #ffd740;

  /* Text */
  --text-primary: #e8eaed;
  --text-secondary: #9aa0a6;
  --text-muted: #5f6368;

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-default: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(0, 229, 255, 0.3);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00e5ff 0%, #7c4dff 100%);
  --gradient-primary-subtle: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(124, 77, 255, 0.15) 100%);

  /* Sizing */
  --container-max: 1200px;
  --nav-height: 72px;
  --section-padding: 120px;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --border-radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(0, 229, 255, 0.25);
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  background: var(--cyan-glow);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2), 0 0 40px rgba(124, 77, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.35), 0 0 60px rgba(124, 77, 255, 0.2);
}

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

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-glow);
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 14, 23, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.logo-accent {
  color: var(--cyan);
  animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { text-shadow: 0 0 10px rgba(0, 229, 255, 0.5); }
  50% { text-shadow: 0 0 20px rgba(0, 229, 255, 0.8), 0 0 40px rgba(0, 229, 255, 0.3); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover {
  color: var(--cyan);
}

.nav-link--login {
  color: var(--text-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: calc(var(--nav-height) + 40px) 24px 40px;
  gap: 48px;
  overflow: visible;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.hero-glow--cyan {
  width: 600px;
  height: 600px;
  background: var(--cyan);
  top: -200px;
  left: -100px;
  opacity: 0.08;
}

.hero-glow--purple {
  width: 500px;
  height: 500px;
  background: var(--purple);
  bottom: -150px;
  right: -100px;
  opacity: 0.08;
}

.floating-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.06;
  animation: float 20s ease-in-out infinite;
}

.shape--hexagon {
  width: 120px;
  height: 120px;
  top: 15%;
  right: 10%;
  background: var(--cyan);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation-delay: 0s;
}

.shape--circle {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 8%;
  background: var(--purple);
  border-radius: 50%;
  animation-delay: -7s;
}

.shape--diamond {
  width: 60px;
  height: 60px;
  top: 40%;
  left: 15%;
  background: var(--cyan);
  transform: rotate(45deg);
  animation-delay: -3s;
}

.shape--sm {
  opacity: 0.04;
}

.shape--hexagon.shape--sm {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 25%;
  animation-delay: -10s;
}

.shape--circle.shape--sm {
  width: 40px;
  height: 40px;
  top: 25%;
  left: 35%;
  animation-delay: -15s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(5deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
  75% { transform: translateY(-25px) rotate(2deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cyan);
  padding: 8px 20px;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  background: var(--cyan-glow);
  margin-bottom: 32px;
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge__icon {
  font-size: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 560px;
  animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

.hero-stat__value {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
}

.hero-stat__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat__plus {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}

.hero-stat__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.hero-stat__divider {
  width: 1px;
  height: 48px;
  background: var(--border-default);
}

/* Hero Code Preview */
.hero-code-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  justify-self: end;
  animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.code-window {
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 229, 255, 0.05);
}

.code-window__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-subtle);
}

.code-window__dots {
  display: flex;
  gap: 6px;
}

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

.dot--red { background: #ff5f57; }
.dot--yellow { background: #febc2e; }
.dot--green { background: #28c840; }

.code-window__title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.code-window__content {
  padding: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  overflow-x: auto;
}

.code-keyword { color: var(--purple); }
.code-type { color: var(--cyan); }
.code-string { color: var(--green); }
.code-function { color: var(--yellow); }
.code-comment { color: var(--text-muted); }
.code-number { color: var(--orange); }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Social Proof ---------- */
.social-proof {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.social-proof__text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
}

/* ---------- Features Section ---------- */
.features {
  padding: var(--section-padding) 0;
}

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

.feature-card {
  padding: 36px 32px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
}

.feature-card__icon--cyan {
  background: var(--cyan-glow);
  color: var(--cyan);
}

.feature-card__icon--purple {
  background: var(--purple-glow);
  color: var(--purple);
}

.feature-card__icon--green {
  background: var(--green-glow);
  color: var(--green);
}

.feature-card__icon--orange {
  background: var(--orange-glow);
  color: var(--orange);
}

.feature-card__icon--red {
  background: var(--red-glow);
  color: var(--red);
}

.feature-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card__description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Challenge Categories ---------- */
.challenges {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.category-card {
  position: relative;
  padding: 28px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  overflow: hidden;
}

.category-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px var(--cyan-glow);
}

.category-card__count {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--border-default);
  line-height: 1;
}

.category-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  background: rgba(0, 229, 255, 0.08);
  color: var(--cyan);
  margin-bottom: 16px;
}

.category-card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.category-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.category-card__difficulty {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.category-card__difficulty--easy {
  color: var(--green);
  background: var(--green-glow);
}

.category-card__difficulty--medium {
  color: var(--yellow);
  background: rgba(255, 215, 64, 0.12);
}

.category-card__difficulty--hard {
  color: var(--orange);
  background: var(--orange-glow);
}

.category-card__difficulty--expert {
  color: var(--red);
  background: var(--red-glow);
}

.category-card--accent {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.04) 0%, rgba(124, 77, 255, 0.04) 100%);
}

/* ---------- How It Works ---------- */
.how-it-works {
  padding: var(--section-padding) 0;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr 360px;
  gap: 32px;
  align-items: center;
}

.step__number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.step__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.step__description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step__visual {
  display: flex;
  justify-content: flex-end;
}

/* Step Card Visual */
.step__card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--border-radius);
  padding: 24px;
  width: 100%;
  max-width: 320px;
}

.step__card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.step__card-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 100px;
}

.step__card-tag--red {
  color: var(--orange);
  background: var(--orange-glow);
}

.step__card-difficulty {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.step__card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step__card-mission {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Mini Editor Visual */
.mini-editor {
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--border-radius);
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  line-height: 1.8;
  width: 100%;
  max-width: 320px;
  position: relative;
}

.mini-editor__line {
  color: var(--text-secondary);
}

.mini-editor__cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: var(--cyan);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 4px;
}

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

/* Test Result Visual */
.test-result {
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--border-radius);
  padding: 24px;
  width: 100%;
  max-width: 320px;
}

.test-result__line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.875rem;
}

.test-result__line--pass {
  color: var(--green);
}

.test-result__icon {
  font-size: 1rem;
  font-weight: 700;
}

.test-result__summary {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8125rem;
  color: var(--green);
}

.test-result__time {
  color: var(--text-muted);
}

/* ---------- Learning Paths ---------- */
.paths {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

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

.path-card {
  padding: 36px 32px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  transition: all 0.3s ease;
}

.path-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.path-card--featured {
  border-color: var(--border-accent);
  background: linear-gradient(180deg, rgba(0, 229, 255, 0.04) 0%, var(--bg-tertiary) 100%);
}

.path-card__level {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.path-card__level--beginner {
  color: var(--green);
  background: var(--green-glow);
}

.path-card__level--intermediate {
  color: var(--yellow);
  background: rgba(255, 215, 64, 0.12);
}

.path-card__level--advanced {
  color: var(--cyan);
  background: var(--cyan-glow);
}

.path-card__title {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.path-card__desc {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.path-card__topics {
  list-style: none;
  margin-bottom: 24px;
}

.path-card__topics li {
  position: relative;
  padding: 8px 0 8px 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.path-card__topics li:last-child {
  border-bottom: none;
}

.path-card__topics li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.path-card__meta {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq {
  padding: var(--section-padding) 0;
}

.faq-list {
  max-width: 768px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question:hover {
  color: var(--cyan);
}

.faq-item__icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--text-secondary);
  transition: transform 0.3s ease;
}

.faq-item__icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__answer {
  padding-bottom: 24px;
}

.faq-item__answer p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- CTA Section ---------- */
.cta {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.cta-content {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--gradient-primary);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(120px);
  opacity: 0.08;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 20px;
  position: relative;
}

.cta-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
  position: relative;
}

.cta-actions {
  position: relative;
}

/* ---------- Footer ---------- */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--border-subtle);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 80px;
}

.footer-links__group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding-top: 32px;
  text-align: center;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.20s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.40s; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.45s; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 0.50s; }

/* ---------- About / Long-form Content ---------- */
.about-platform {
  padding: var(--section-padding) 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.about-col h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.about-col p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-col p:last-child {
  margin-bottom: 0;
}

.about-col strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ---------- Screen Reader Only ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 60px;
    gap: 48px;
  }

  .hero-code-preview {
    max-width: 520px;
    justify-self: center;
  }

  .step {
    grid-template-columns: 60px 1fr;
    gap: 24px;
  }

  .step__visual {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
    --nav-height: 64px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 32px 24px;
    gap: 8px;
    align-items: stretch;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    padding: 16px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links .btn {
    margin-top: 16px;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .paths-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat__number,
  .hero-stat__plus {
    font-size: 2rem;
  }

  .hero-stat__divider {
    height: 36px;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step__number {
    font-size: 2rem;
  }

  .footer-main {
    flex-direction: column;
    gap: 40px;
  }

  .footer-links {
    gap: 48px;
  }

  .cta-content {
    padding: 56px 24px;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 64px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-stat__divider {
    display: none;
  }

  .footer-links {
    flex-direction: column;
    gap: 32px;
  }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

