/* ═══════════════════════════════════════════════════════
   ChordVox — Premium Dark Theme
   Brand: Purple-Pink gradient (#8B5CF6 → #EC4899)
   ═══════════════════════════════════════════════════════ */

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

:root {
  --bg: #06060C;
  --bg-rgb: 6, 6, 12;
  --bg-elevated: #0D0D15;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text: #E2E8F0;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --accent-1: #8B5CF6;
  --accent-2: #EC4899;
  --accent-3: #06B6D4;
  --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  --gradient-subtle: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.15));
  --glow: 0 0 80px rgba(139, 92, 246, 0.15), 0 0 160px rgba(236, 72, 153, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Light Theme ── */
html[data-theme="light"] {
  --bg: #F8F9FC;
  --bg-rgb: 248, 249, 252;
  --bg-elevated: #FFFFFF;
  --bg-card: rgba(0, 0, 0, 0.02);
  --bg-card-hover: rgba(0, 0, 0, 0.05);
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --text: #1A1A2E;
  --text-secondary: #4A5568;
  --text-muted: #8896AB;
  --gradient-subtle: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.08));
  --glow: 0 0 60px rgba(139, 92, 246, 0.08), 0 0 120px rgba(236, 72, 153, 0.04);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn-primary,
.btn-ghost,
.btn-outline,
.btn-gradient {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
  white-space: nowrap;
}

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

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

.btn-block {
  width: 100%;
  padding: 14px 24px;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.45);
}

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

.btn-ghost:hover {
  border-color: var(--border-hover);
  background: var(--bg-card);
}

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

.btn-outline:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  background: rgba(139, 92, 246, 0.08);
}

.btn-gradient {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: var(--transition);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(236, 72, 153, 0.4);
}

.btn-gradient:hover::before {
  opacity: 1;
}

/* ── Nav ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(var(--bg-rgb, 6, 6, 12), 0.6);
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  padding: 10px 0;
  background: rgba(var(--bg-rgb, 6, 6, 12), 0.85);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.nav-logo img {
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width var(--transition);
  border-radius: 1px;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-lang {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

.btn-lang:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
}

.btn-theme {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.btn-theme:hover {
  border-color: var(--accent-1);
  transform: scale(1.1);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.mobile-menu a {
  color: var(--text-secondary);
  font-size: 1rem;
  padding: 4px 0;
}

.mobile-menu.open {
  display: flex;
}

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

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

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-1), transparent 70%);
  top: -200px;
  right: -100px;
  animation: float 20s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  bottom: -100px;
  left: -150px;
  animation: float 25s ease-in-out infinite reverse;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--accent-3), transparent 70%);
  top: 40%;
  left: 50%;
  animation: float 18s ease-in-out infinite 5s;
  opacity: 0.2;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--accent-1);
  margin-bottom: 28px;
  font-weight: 500;
}

#hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

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

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

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

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

/* ── App Mockup ── */
.hero-visual {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  position: relative;
  z-index: 2;
}

.app-mockup {
  width: 100%;
  max-width: 700px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--glow), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

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

.dot.red {
  background: #EF4444;
}

.dot.yellow {
  background: #F59E0B;
}

.dot.green {
  background: #22C55E;
}

.mockup-title {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mockup-body {
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  min-width: 100px;
}

.flow-step:hover {
  border-color: var(--accent-1);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.flow-icon {
  font-size: 1.8rem;
}

.flow-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.flow-arrow {
  color: var(--accent-1);
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.5;
}

.waveform {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 20px;
}

.waveform span {
  width: 3px;
  background: var(--gradient);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
  opacity: 0.3;
}

.waveform span:nth-child(1) {
  height: 6px;
  animation-delay: 0s;
}

.waveform span:nth-child(2) {
  height: 12px;
  animation-delay: 0.1s;
}

.waveform span:nth-child(3) {
  height: 8px;
  animation-delay: 0.2s;
}

.waveform span:nth-child(4) {
  height: 16px;
  animation-delay: 0.3s;
}

.waveform span:nth-child(5) {
  height: 10px;
  animation-delay: 0.4s;
}

.waveform span:nth-child(6) {
  height: 18px;
  animation-delay: 0.1s;
}

.waveform span:nth-child(7) {
  height: 7px;
  animation-delay: 0.3s;
}

.waveform span:nth-child(8) {
  height: 14px;
  animation-delay: 0.15s;
}

.waveform span:nth-child(9) {
  height: 9px;
  animation-delay: 0.35s;
}

.waveform span:nth-child(10) {
  height: 20px;
  animation-delay: 0.05s;
}

.waveform span:nth-child(11) {
  height: 11px;
  animation-delay: 0.25s;
}

.waveform span:nth-child(12) {
  height: 15px;
  animation-delay: 0.2s;
}

.waveform span:nth-child(13) {
  height: 8px;
  animation-delay: 0.4s;
}

.waveform span:nth-child(14) {
  height: 13px;
  animation-delay: 0.1s;
}

.waveform span:nth-child(15) {
  height: 6px;
  animation-delay: 0.3s;
}

@keyframes wave {

  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(1.8);
  }
}

/* ── Section Common ── */
section {
  padding: 100px 0;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--accent-1);
  margin-bottom: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Features ── */
#features {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
}

/* ── Privacy ── */
#privacy-promise {
  background: var(--bg-elevated);
}

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

.privacy-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.privacy-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22C55E, var(--accent-3));
  opacity: 0;
  transition: var(--transition);
  border-radius: 0 0 var(--radius) var(--radius);
}

.privacy-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.privacy-card:hover::after {
  opacity: 1;
}

.privacy-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.privacy-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.privacy-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .privacy-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Pricing tax ── */
.pricing-tax {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 8px;
}

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

.feature-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.feature-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

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

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── How it works ── */
#how-it-works {
  background: var(--bg-elevated);
}

.steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.3);
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.step-connector {
  width: 2px;
  height: 32px;
  margin-left: 27px;
  background: linear-gradient(180deg, var(--accent-1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 1px;
}

/* ── Pricing ── */
#pricing {
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}

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

.pricing-card {
  padding: 36px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
  border-color: var(--accent-1);
  background: rgba(139, 92, 246, 0.05);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.1);
  transform: scale(1.04);
}

.pricing-card.popular:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.15), 0 16px 48px rgba(0, 0, 0, 0.3);
}

.popular-badge,
.lifetime-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.popular-badge {
  background: var(--gradient);
  color: #fff;
}

.lifetime-badge {
  background: linear-gradient(135deg, #F59E0B, #EF4444);
  color: #fff;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.pricing-amount {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.price {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.period {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features .pricing-note {
  font-size: 0.8rem;
  color: var(--accent-3);
  font-style: italic;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

/* ── Pricing Terms ── */
.pricing-terms {
  margin-top: 64px;
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.terms-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
}

.terms-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.terms-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terms-col li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.terms-col li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-1);
}

.terms-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 12px 16px;
  background: rgba(139, 92, 246, 0.05);
  border-left: 3px solid var(--accent-1);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  margin-bottom: 24px;
}

.terms-delivery h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.terms-delivery ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terms-delivery li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.terms-delivery li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-1);
}

@media (max-width: 768px) {
  .terms-columns {
    grid-template-columns: 1fr;
  }
}

/* ── Download ── */
#download {
  background: var(--bg);
}

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

.download-card {
  padding: 40px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  display: block;
}

.download-card:hover {
  border-color: var(--accent-1);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.dl-icon {
  margin-bottom: 20px;
  color: var(--accent-1);
  display: flex;
  justify-content: center;
}

.download-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.download-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.dl-format {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gradient-subtle);
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  color: var(--accent-1);
  font-weight: 600;
  font-family: monospace;
}

.dl-note {
  text-align: center;
  margin-top: 36px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.dl-note code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  font-size: 0.8rem;
  color: var(--accent-3);
}

/* ── FAQ ── */
#faq {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  overflow: hidden;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item[open] {
  border-color: rgba(139, 92, 246, 0.2);
  background: rgba(139, 92, 246, 0.03);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent-1);
  font-weight: 300;
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ── CTA ── */
#cta {
  padding: 60px 0 100px;
}

.cta-card {
  position: relative;
  padding: 80px 40px;
  border-radius: 24px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background: rgba(139, 92, 246, 0.05);
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb-4 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-1), transparent 70%);
  top: -200px;
  right: -100px;
  opacity: 0.2;
  animation: float 22s ease-in-out infinite;
}

.orb-5 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--accent-2), transparent 70%);
  bottom: -200px;
  left: -100px;
  opacity: 0.15;
  animation: float 18s ease-in-out infinite reverse;
}

.cta-card h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-card p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ── Footer ── */
#footer {
  padding: 60px 0 32px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.footer-logo img {
  border-radius: 6px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ── Animations ── */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-card.popular {
    transform: scale(1);
  }

  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }

  .download-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {

  .nav-links,
  .nav-actions .btn-primary {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
  }

  .mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
  }

  #hero {
    padding: 100px 0 40px;
    min-height: auto;
  }

  .hero-sub br {
    display: none;
  }

  .hero-stats {
    gap: 16px;
  }

  .stat strong {
    font-size: 1.3rem;
  }

  .mockup-body {
    gap: 8px;
    padding: 24px 16px;
  }

  .flow-step {
    min-width: 70px;
    padding: 12px 14px;
  }

  .flow-icon {
    font-size: 1.4rem;
  }

  .flow-arrow {
    font-size: 0.9rem;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .download-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

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

  section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  #hero h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-arrow {
    display: none;
  }

  .mockup-body {
    flex-direction: column;
    gap: 12px;
  }

  .flow-step {
    flex-direction: row;
    width: 100%;
    min-width: 0;
  }
}