/* ============================================
   FoxVox Landing Page — styles.css
   ============================================ */

/* --- Variables --- */
:root {
  --fox-orange: #FF6B1A;
  --fox-amber: #FFB347;
  --fox-deep-orange: #E84D0E;
  --bg-black: #0A0A0A;
  --bg-dark: #111111;
  --bg-surface: #1A1A1A;
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --text-muted: #666666;
  --glow-orange: rgba(255, 107, 26, 0.15);
  --border-subtle: rgba(255, 107, 26, 0.1);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-black);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--fox-orange); text-decoration: none; }
a:hover { color: var(--fox-amber); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Layout --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.logo-icon { font-size: 28px; }
.logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
}
.logo-accent { color: var(--fox-orange); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--fox-orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--fox-deep-orange);
  color: #fff;
  box-shadow: 0 0 24px rgba(255, 107, 26, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-ghost:hover {
  border-color: var(--fox-orange);
  color: var(--text-primary);
}
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 14px 32px; font-size: 17px; }
.btn-xl { padding: 18px 48px; font-size: 20px; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}
.text-gradient {
  background: linear-gradient(135deg, var(--fox-orange), var(--fox-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Waveform animation */
.waveform {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 40px;
  opacity: 0.25;
}
.waveform span {
  display: block;
  width: 3px;
  background: var(--fox-orange);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.waveform span:nth-child(1)  { animation-delay: 0.0s; height: 12px; }
.waveform span:nth-child(2)  { animation-delay: 0.08s; height: 20px; }
.waveform span:nth-child(3)  { animation-delay: 0.16s; height: 28px; }
.waveform span:nth-child(4)  { animation-delay: 0.24s; height: 16px; }
.waveform span:nth-child(5)  { animation-delay: 0.32s; height: 36px; }
.waveform span:nth-child(6)  { animation-delay: 0.4s; height: 24px; }
.waveform span:nth-child(7)  { animation-delay: 0.48s; height: 32px; }
.waveform span:nth-child(8)  { animation-delay: 0.56s; height: 14px; }
.waveform span:nth-child(9)  { animation-delay: 0.64s; height: 26px; }
.waveform span:nth-child(10) { animation-delay: 0.72s; height: 18px; }
.waveform span:nth-child(11) { animation-delay: 0.8s; height: 30px; }
.waveform span:nth-child(12) { animation-delay: 0.88s; height: 22px; }
.waveform span:nth-child(13) { animation-delay: 0.96s; height: 34px; }
.waveform span:nth-child(14) { animation-delay: 1.04s; height: 16px; }
.waveform span:nth-child(15) { animation-delay: 1.12s; height: 10px; }

@keyframes wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

/* --- Sections --- */
.section {
  padding: 100px 0;
}
.section-alt {
  background: var(--bg-dark);
}
.section-headline {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  text-align: center;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

/* --- Problem Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: var(--fox-orange);
  box-shadow: 0 0 32px rgba(255, 107, 26, 0.08);
}
.card-stat {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--fox-orange);
  margin-bottom: 12px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.card-body {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}
.card-body strong { color: var(--text-primary); }

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.feature {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--glow-orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.feature ul {
  list-style: none;
}
.feature li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 6px;
}
.feature li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fox-orange);
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}
.step-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255, 107, 26, 0.2);
  margin-bottom: 16px;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.step p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* --- Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 48px;
  margin-bottom: 48px;
}
.stat {
  text-align: center;
  padding: 32px 16px;
}
.stat-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--fox-orange);
  text-shadow: 0 0 40px rgba(255, 107, 26, 0.3);
  margin-bottom: 8px;
}
.stat-unit {
  font-size: 1.25rem;
  color: var(--fox-amber);
}
.stat-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Comparison box */
.comparison-box {
  background: var(--bg-surface);
  border-left: 4px solid var(--fox-orange);
  border-radius: 8px;
  padding: 28px 32px;
  max-width: 800px;
  margin: 0 auto;
}
.comparison-box p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}
.comparison-box strong { color: var(--text-primary); }

/* --- Audio Demo --- */
.audio-demo {
  max-width: 600px;
  margin: 48px auto 0;
}
.audio-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-align: center;
}
.audio-placeholder {
  background: var(--bg-surface);
  border: 1px dashed rgba(255, 107, 26, 0.3);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
}
.audio-placeholder svg { margin: 0 auto 16px; opacity: 0.6; }
.audio-placeholder p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* --- FAQ --- */
.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-item summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-primary);
  transition: color 0.2s;
}
.faq-item summary:hover { color: var(--fox-orange); }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--fox-orange);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  padding-bottom: 20px;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--bg-black);
  text-align: center;
  padding: 120px 0;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-content .section-headline { margin-bottom: 12px; }
.cta-content .section-sub { margin-bottom: 40px; }
.cta-alt {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.footer-legal {
  text-align: right;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-legal a { color: var(--text-muted); }
.footer-legal a:hover { color: var(--fox-orange); }

/* --- Fade-in animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero { padding-top: 100px; min-height: 90vh; }
  .section { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 2rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-legal { text-align: center; }
}
@media (max-width: 480px) {
  .hero-headline { font-size: 2rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .card-grid, .feature-grid, .steps { grid-template-columns: 1fr; }
}
