/* ==========================================================================
   THE PERFECT INTERVIEW — HIGH-END DEVELOPER PRODUCT DESIGN SYSTEM
   Style: Linear / Raycast inspired (Restrained, Precise, Human-Crafted)
   ========================================================================== */

:root {
  --bg-base: #090b10;
  --bg-surface: #0f1219;
  --bg-elevated: #151922;
  --bg-overlay: #1b202c;

  --border-hairline: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --border-focus: #38bdf8;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-inverse: #090b10;

  --accent-sky: #38bdf8;
  --accent-blue: #0284c7;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;

  --shadow-subtle: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
  --shadow-elevated: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-display: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 0 1px var(--border-hairline);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.55;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  background-image: 
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(56, 189, 248, 0.07), transparent);
  background-repeat: no-repeat;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
}

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

.font-mono {
  font-family: var(--font-mono);
}

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

.text-success {
  color: var(--accent-emerald) !important;
}

.text-highlight {
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container */
.section-container, .hero-container, .header-inner, .footer-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-w-3xl {
  max-width: 820px;
}

/* Site Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 11, 16, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-sky);
}

.brand-name {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.build-tag {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  padding: 1px 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xs);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 450;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--text-primary);
}

/* Button System (Linear/Vercel Style) */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1;
  text-decoration: none;
}

.button-primary {
  background: #ffffff;
  color: #090b10;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.button-primary:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.button-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.button-secondary:hover {
  background: var(--bg-elevated);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.button-outline {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-hairline);
}

.button-outline:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
  background: var(--bg-surface);
}

.button-sm {
  padding: 6px 12px;
  font-size: 0.8125rem;
}

.button-xs {
  padding: 4px 8px;
  font-size: 0.75rem;
}

.button-lg {
  padding: 14px 24px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-caption {
  font-size: 0.725rem;
  opacity: 0.75;
  font-weight: 400;
  margin-top: 3px;
}

.button-block {
  width: 100%;
}

.shortcut {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #475569;
  background: rgba(0, 0, 0, 0.08);
  padding: 2px 4px;
  border-radius: var(--radius-xs);
  margin-left: 2px;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  margin-bottom: 24px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.status-text {
  color: var(--text-primary);
  font-weight: 500;
}

.status-sep {
  color: var(--text-tertiary);
}

.status-sub {
  color: var(--text-secondary);
}

.hero-heading {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  max-width: 900px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.65;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 50px;
}

/* Spec Strip */
.spec-strip {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  margin-bottom: 60px;
}

.spec-cell {
  text-align: left;
}

.spec-val {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.spec-label {
  font-size: 0.725rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* App Frame Display */
.app-display {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

.app-frame {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-display);
}

.app-chrome {
  background: #0d1017;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chrome-controls {
  display: flex;
  gap: 6px;
}

.chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.chrome-address {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.chrome-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Film Header Info inside Player Chrome */
.film-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.4);
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-hairline);
}

.film-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-sky);
  box-shadow: 0 0 10px var(--accent-sky);
  animation: radarPulse 2s infinite ease-in-out;
}

@keyframes radarPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.film-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.film-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  padding-left: 8px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.chrome-badges-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.silent-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent-sky);
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
}

.chrome-dot.dot-close { background: #ef4444; opacity: 0.7; }
.chrome-dot.dot-min { background: #f59e0b; opacity: 0.7; }
.chrome-dot.dot-expand { background: #10b981; opacity: 0.7; }

/* Video Viewport & Controls */
.video-viewport {
  position: relative;
  background: #000000;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  cursor: pointer;
}

.hero-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000000;
}

/* Click-to-Play/Pause Flash Overlay */
.video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
}

.video-play-overlay.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.overlay-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(9, 11, 16, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.video-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 11, 16, 0.96) 100%);
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 10;
  cursor: default;
}

.video-viewport:hover .video-controls-bar,
.video-controls-bar:hover {
  opacity: 1;
  visibility: visible;
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-hairline);
  color: var(--text-primary);
  border-radius: var(--radius-xs);
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  transition: all 0.15s ease;
}

.v-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--border-strong);
}

.v-btn-label {
  font-size: 0.725rem;
  font-weight: 500;
}

.v-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Enhanced Timeline Scrubber with Visual Chapter Pins */
.v-progress-wrapper {
  flex: 1;
  height: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.v-progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  position: relative;
  transition: height 0.15s ease;
}

.v-progress-wrapper:hover .v-progress-track {
  height: 7px;
}

.v-progress-bar {
  height: 100%;
  background: var(--accent-sky);
  border-radius: var(--radius-pill);
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.chapter-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 3px;
  height: 11px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 1px;
  z-index: 2;
  transition: all 0.15s ease;
}

.chapter-marker:hover {
  background: #ffffff;
  height: 15px;
  width: 5px;
}

.scrub-tooltip {
  position: absolute;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(9, 11, 16, 0.95);
  border: 1px solid var(--border-strong);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  white-space: nowrap;
  z-index: 20;
}

.v-progress-wrapper:hover .scrub-tooltip {
  opacity: 1;
}

/* Interactive Chapter Pill Strip Below Player */
.theater-chapters-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-hairline);
  border-top: 1px solid var(--border-hairline);
}

.chapter-pill {
  background: rgba(13, 17, 23, 0.92);
  border: none;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.chapter-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.2s ease;
}

.chapter-pill:hover {
  background: rgba(22, 27, 34, 0.98);
}

.chapter-pill.active {
  background: rgba(22, 27, 34, 0.98);
}

.chapter-pill.active::after {
  background: var(--accent-sky);
  box-shadow: 0 0 10px var(--accent-sky);
}

.pill-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-tertiary);
  transition: color 0.15s ease;
}

.chapter-pill.active .pill-index {
  color: var(--accent-sky);
}

.pill-name {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 550;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.chapter-pill.active .pill-name {
  color: #ffffff;
}

.pill-duration {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-tertiary);
}

@media (max-width: 860px) {
  .theater-chapters-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .theater-chapters-strip {
    grid-template-columns: 1fr;
  }
  .film-header-info .film-meta {
    display: none;
  }
}

.app-viewport {
  position: relative;
  background: #080a0f;
}

.app-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

/* Generic Section Styles */
.section {
  padding: 90px 0;
  border-top: 1px solid var(--border-hairline);
}

.section-dark {
  background: #07080c;
}

.section-lead {
  margin-bottom: 50px;
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-sky);
  margin-bottom: 8px;
  display: block;
  font-weight: 500;
}

.title {
  font-size: 2.25rem;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.section-lead.text-center .subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Mechanics Grid (How It Works) */
.mechanics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mechanic-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease;
}

.mechanic-card:hover {
  border-color: var(--border-strong);
}

.mechanic-num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

.mechanic-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.mechanic-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.code-snippet {
  background: var(--bg-base);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  overflow-x: auto;
}

.code-snippet code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-sky);
}

/* Telemetry Box (Interactive Simulator) */
.telemetry-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}

.telemetry-bar {
  background: var(--bg-elevated);
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.bar-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scenario-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.scenario-btn {
  background: var(--bg-base);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-sans);
}

.scenario-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.scenario-btn.active {
  background: rgba(56, 189, 248, 0.12);
  border-color: var(--accent-sky);
  color: var(--accent-sky);
  font-weight: 500;
}

.hud-window {
  padding: 24px;
}

.hud-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-hairline);
  margin-bottom: 16px;
}

.meta-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.telemetry-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-sky);
}

.meta-right {
  color: var(--accent-emerald);
}

.audio-stream-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-base);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
}

.stream-source {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-tag {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
}

.source-name {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.spectrum-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 20px;
}

.wave-bar {
  width: 2px;
  background: var(--accent-sky);
  border-radius: 1px;
}

.hud-field {
  background: var(--bg-base);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 16px;
}

.field-header {
  font-size: 0.725rem;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}

.question-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  font-style: italic;
  line-height: 1.5;
}

.response-field {
  min-height: 180px;
}

.stream-status {
  color: var(--accent-sky);
}

.response-stream ul {
  list-style: none;
}

.response-stream li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e2e8f0;
  margin-bottom: 10px;
  position: relative;
  padding-left: 18px;
}

.response-stream li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--accent-sky);
  font-weight: bold;
}

.response-stream strong {
  color: #ffffff;
}

.hud-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-hairline);
}

.hotkey-guide {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
  gap: 10px;
}

kbd {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  padding: 2px 5px;
  border-radius: 3px;
  color: var(--text-secondary);
}

/* Licensing Section */
.licensing-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.body-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-bullets li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}

.feature-bullets li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-sky);
}

.feature-bullets strong {
  color: var(--text-primary);
}

/* Key Generator Tool Card */
.key-tool-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.tool-head {
  background: var(--bg-elevated);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tool-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.tool-crypto-badge {
  font-size: 0.675rem;
  font-family: var(--font-mono);
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-sky);
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.tool-body {
  padding: 20px;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: 0.775rem;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  background: var(--bg-base);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xs);
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.15s ease;
}

.form-control:focus {
  border-color: var(--border-focus);
}

.input-action-group {
  display: flex;
  gap: 8px;
}

.license-toggle-group {
  display: flex;
  gap: 8px;
}

.toggle-option {
  flex: 1;
  background: var(--bg-base);
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  padding: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-sans);
}

.toggle-option.active {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-sky);
  color: var(--accent-sky);
}

.key-output {
  margin-top: 18px;
  background: var(--bg-base);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
}

.key-output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.725rem;
  color: var(--text-tertiary);
  margin-bottom: 6px;
}

.copy-action {
  background: none;
  border: none;
  color: var(--accent-sky);
  font-size: 0.75rem;
  cursor: pointer;
  font-weight: 500;
}

.copy-action:hover {
  text-decoration: underline;
}

.key-string {
  font-size: 0.875rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 6px;
  word-break: break-all;
}

.key-meta {
  font-size: 0.7rem;
  color: var(--text-tertiary);
}

/* Releases Grid */
.releases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.release-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.release-card.primary-card {
  border-color: var(--border-strong);
}

.release-badge {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent-sky);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: 16px;
  align-self: flex-start;
}

.release-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.release-summary {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.release-details {
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: 14px 0;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
}

.detail-item span {
  color: var(--text-tertiary);
}

/* FAQ List */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-row {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-row.active {
  border-color: var(--border-strong);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-sans);
}

.faq-state {
  width: 12px;
  height: 12px;
  position: relative;
}

.faq-state::before, .faq-state::after {
  content: '';
  position: absolute;
  background: var(--text-tertiary);
  transition: transform 0.2s ease;
}

.faq-state::before {
  top: 5px;
  left: 0;
  width: 12px;
  height: 2px;
}

.faq-state::after {
  top: 0;
  left: 5px;
  width: 2px;
  height: 12px;
}

.faq-row.active .faq-state::after {
  transform: rotate(90deg);
}

.faq-content, .faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-row:not(.active) .faq-content,
.faq-row:not(.active) .faq-answer-inner {
  display: none;
}

/* Site Footer */
.site-footer {
  border-top: 1px solid var(--border-hairline);
  padding: 60px 0 40px;
  background: var(--bg-base);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.825rem;
  color: var(--text-tertiary);
  max-width: 380px;
  line-height: 1.5;
  margin-bottom: 12px;
}

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

.footer-nav {
  display: flex;
  gap: 48px;
}

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

.column-title {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.footer-column a {
  font-size: 0.825rem;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.footer-column a:hover {
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-heading { font-size: 2.6rem; }
  .mechanics-grid { grid-template-columns: 1fr; }
  .licensing-split { grid-template-columns: 1fr; }
  .releases-grid { grid-template-columns: 1fr; }
  .spec-strip { flex-wrap: wrap; gap: 20px; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .hero-heading { font-size: 2rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .button-lg { width: 100%; text-align: center; }
  .btn-text-group { text-align: center; }
}
