/* ═══════════════════════════════════════════════════════════
   Score Drummer — Shared Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Custom Properties ─────────────────────────────────── */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-tertiary: #1a2236;
  --bg-hero: linear-gradient(160deg, #0a0e1a 0%, #0f1729 40%, #0a1628 100%);

  --accent: #60D0E8;
  --accent-glow: rgba(96, 208, 232, 0.25);
  --accent-dim: #4ab8d0;
  --accent-bright: #80daf0;

  --text-primary: #f0f4f8;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;

  --color-perfect: #00C8C8;
  --color-good: #32CD32;
  --color-early: #ffcc00;
  --color-late: #ff8800;
  --color-miss: #ff3344;

  --border-subtle: rgba(148, 163, 184, 0.1);
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);

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

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
}

/* ── Base ───────────────────────────────────────────────── */
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ── Skip Link ─────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  background: var(--accent);
  color: var(--bg-primary);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 0.25rem;
  font-weight: 600;
  z-index: 1000;
}
.skip-link:focus { top: var(--space-sm); }

/* ── Focus ──────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Navigation ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-sm) 0;
  transition: background-color 0.3s, backdrop-filter 0.3s, transform 0.3s ease;
}
.nav.nav-hidden {
  transform: translateY(-100%);
}
.nav.scrolled {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
/* Sub-pages: nav always has background */
.nav.nav-solid {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 700;
  font-size: 1.125rem;
}
.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.nav-links {
  display: none;
  gap: var(--space-lg);
  align-items: center;
}
.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}
.nav-cta:hover {
  background: var(--accent-bright);
  color: var(--bg-primary);
  transform: scale(1.02);
}
.nav-cta-desktop { display: none; }
.nav-cta-mobile { display: none; }

/* ── Hamburger Button ─────────────────────────────────── */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Menu ──────────────────────────────────────── */
@media (max-width: 767px) {
  .nav.menu-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transform: none !important;
    background: transparent;
    transition: none;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 99;
  }
  .nav-links.open {
    display: flex;
    opacity: 1;
    visibility: visible;
  }
  .nav-links a {
    font-size: 1.25rem;
  }
  .nav-links .nav-cta-mobile {
    display: inline-block;
    margin-top: var(--space-sm);
    font-size: 1rem;
    padding: 0.75rem 2rem;
    background: var(--accent-bright);
    color: #000;
  }
  .nav-hamburger {
    z-index: 101;
  }
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-cta-desktop { display: inline-block; }
  .nav-hamburger { display: none; }
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.625rem;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
  min-height: 44px;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}
.btn-primary:hover {
  background: var(--accent-bright);
  transform: scale(1.02);
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-secondary:hover {
  background: rgba(96, 208, 232, 0.08);
  transform: scale(1.02);
}
.btn svg { width: 20px; height: 20px; }

/* ── Platform Buttons (Melodics-style) ────────────────── */
.btn-platform {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  border: 1.5px solid var(--text-tertiary);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: default;
  transition: border-color 0.2s, color 0.2s;
}
.btn-platform:hover {
  border-color: var(--accent);
  color: var(--text-primary);
}
.btn-platform svg { width: 16px; height: 16px; }

/* ── Disabled / Coming Soon Buttons ───────────────────── */
.btn-disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}
.btn-coming-soon {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-tertiary);
}
.btn-primary.btn-disabled .btn-coming-soon {
  background: rgba(10, 14, 26, 0.25);
  color: var(--bg-primary);
}

/* ── Badge ────────────────────────────────────────────── */
.badge-pro {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  background: rgba(96, 208, 232, 0.15);
  color: var(--accent);
  border: 1px solid rgba(96, 208, 232, 0.3);
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-2xl) 0 var(--space-lg);
}
.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-weight: 600;
}
.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-tertiary);
}
.footer-links {
  display: flex;
  gap: var(--space-md);
}
.footer-links a {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-secondary); }
.footer-instagram { display: inline-flex; align-items: center; gap: 0.35rem; }
.footer-instagram svg { width: 1em; height: 1em; }
.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-top: var(--space-xs);
}

/* ═══════════════════════════════════════════════════════════
   Index Page
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-hero);
  padding: 7rem var(--space-md) var(--space-3xl);
  overflow: hidden;
}
.hero-content { position: relative; z-index: 1; }

/* ── Hero Devices Container ───────────────────────────── */
.hero-devices {
  position: relative;
  max-width: min(95%, 800px);
  margin: 0 auto var(--space-lg);
  z-index: 1;
}

.hero-desktop {
  position: relative;
  z-index: 1;
  transform: perspective(1200px) rotateX(4deg) scale(0.98);
  transform-origin: center bottom;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.5))
          drop-shadow(0 0 60px rgba(96, 208, 232, 0.4))
          drop-shadow(0 0 120px rgba(96, 208, 232, 0.2));
  animation: float-desktop 6s ease-in-out infinite;
}
.hero-desktop:hover {
  transform: perspective(1200px) rotateX(0deg) scale(1);
}
.hero-desktop img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Hero iPhone Mockup ───────────────────────────────── */
.hero-iphone {
  position: absolute;
  bottom: -10%;
  right: -8%;
  width: 45%;
  z-index: 2;
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.6))
          drop-shadow(0 0 30px rgba(96, 208, 232, 0.3));
  animation: float-iphone 6s ease-in-out infinite;
  animation-delay: -2s;
}
.hero-iphone-frame {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  position: relative;
  z-index: 2;
}
.hero-iphone-screen {
  position: absolute;
  z-index: 0;
  top: 10%;
  left: 8%;
  width: 85%;
  height: 77%;
  background: #000;
  border-radius: 6px;
}
.hero-iphone-video {
  position: absolute;
  z-index: 1;
  top: 9%;
  left: 13%;
  width: 77%;
  height: 82%;
  object-fit: contain;
  border-radius: 2px;
}

@keyframes float-desktop {
  0%, 100% { transform: perspective(1200px) rotateX(4deg) scale(0.98) translateY(0); }
  50% { transform: perspective(1200px) rotateX(4deg) scale(0.98) translateY(-8px); }
}
@keyframes float-iphone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}
.hero-sub {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  line-height: 1.6;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-md);
}
.hero-tagline {
  font-size: 0.9375rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

@media (max-width: 639px) {
  .hero {
    min-height: auto;
    padding-top: 5rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-devices {
    max-width: 75%;
  }
  .hero-desktop {
    transform: perspective(1200px) rotateX(2deg) scale(0.99);
  }
  .hero-iphone {
    width: 50%;
    bottom: -12%;
    right: -10%;
  }
}

@media (min-width: 640px) {
  .hero h1 { font-size: 3.25rem; }
  .hero-sub { font-size: 1.25rem; }
}

/* Hero waveform decoration */
.hero-waveform {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  opacity: 0.15;
}
.hero-waveform path {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 2400;
  animation: waveScroll 8s linear infinite;
}
@keyframes waveScroll {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -2400; }
}

/* ── Hero CTA Buttons ──────────────────────────────────── */
.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
}

/* ── Section Base ──────────────────────────────────────── */
.section {
  padding: var(--space-3xl) 0;
}
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-xs);
}
.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .section-header h2 { font-size: 2.25rem; }
}

/* ── Features ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: var(--space-lg);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 208, 232, 0.3);
  box-shadow: 0 8px 32px rgba(96, 208, 232, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-sm);
  color: var(--accent);
}
.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── How It Works ──────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  position: relative;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  text-align: center;
  position: relative;
  padding: var(--space-md);
}
.step-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.7;
  line-height: 1;
  margin-bottom: var(--space-xs);
  font-family: var(--font-mono);
}
.step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}
.step p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Connector arrows between steps (desktop) */
@media (min-width: 768px) {
  .step:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 1.5rem;
    right: -1rem;
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.5;
  }
}

/* ── Precision Showcase ────────────────────────────────── */
.precision {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.precision .section-header { margin-bottom: var(--space-lg); }
.precision-tiers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
}
.tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-tertiary);
  border-radius: 0.75rem;
  border: 1px solid var(--border-subtle);
  min-width: 100px;
}
.tier-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.15); }
}
.tier-label {
  font-weight: 600;
  font-size: 0.875rem;
}
.tier-value {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}

.tier:nth-child(1) .tier-dot { background: var(--color-perfect); box-shadow: 0 0 8px var(--color-perfect); }
.tier:nth-child(1) .tier-label { color: var(--color-perfect); }
.tier:nth-child(2) .tier-dot { background: var(--color-good); box-shadow: 0 0 8px var(--color-good); }
.tier:nth-child(2) .tier-label { color: var(--color-good); }
.tier:nth-child(3) .tier-dot { background: var(--color-early); box-shadow: 0 0 8px var(--color-early); }
.tier:nth-child(3) .tier-label { color: var(--color-early); }
.tier:nth-child(4) .tier-dot { background: var(--color-late); box-shadow: 0 0 8px var(--color-late); }
.tier:nth-child(4) .tier-label { color: var(--color-late); }
.tier:nth-child(5) .tier-dot { background: var(--color-miss); box-shadow: 0 0 8px var(--color-miss); }
.tier:nth-child(5) .tier-label { color: var(--color-miss); }
.tier:nth-child(6) .tier-dot { background: #ffffff; box-shadow: 0 0 8px rgba(255, 255, 255, 0.5); }
.tier:nth-child(6) .tier-label { color: #ffffff; }

/* Stagger pulse animations */
.tier:nth-child(2) .tier-dot { animation-delay: 0.25s; }
.tier:nth-child(3) .tier-dot { animation-delay: 0.5s; }
.tier:nth-child(4) .tier-dot { animation-delay: 0.75s; }
.tier:nth-child(5) .tier-dot { animation-delay: 1.0s; }
.tier:nth-child(6) .tier-dot { animation-delay: 1.25s; }

/* ── Comparison Table ─────────────────────────────────── */
.comparison-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 1rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  max-width: 800px;
  margin: 0 auto;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
}
.comparison-table thead th {
  padding: var(--space-sm) var(--space-md);
  font-weight: 600;
  font-size: 1.125rem;
  border-bottom: 2px solid var(--border-subtle);
}
.comparison-table thead th:first-child { text-align: left; }
.comparison-table thead th:not(:first-child) { text-align: center; width: 100px; }
.comparison-table thead th.col-pro { color: var(--accent); }
.comparison-table td {
  padding: 0.625rem var(--space-md);
  font-size: 0.9375rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.comparison-table td:first-child { text-align: left; }
.comparison-table td:not(:first-child) { text-align: center; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .check { color: var(--accent); font-size: 1.25rem; }
.comparison-table .dash { color: var(--text-tertiary); opacity: 0.3; }

/* ── Platform Notes ───────────────────────────────────── */
.platform-notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  max-width: 800px;
  margin: var(--space-lg) auto;
}
@media (min-width: 640px) {
  .platform-notes { grid-template-columns: repeat(2, 1fr); }
}
.platform-note {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  padding: var(--space-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}
.platform-note svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--accent); margin-top: 0.125rem; }
.platform-note-name { font-weight: 600; margin-bottom: 0.125rem; }
.platform-note-detail { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.5; }
.platform-footnote {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.pricing-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
}

/* ── Beta / Contact Section ────────────────────────────── */
.beta-card {
  background: var(--bg-tertiary);
  border: 1px solid rgba(96, 208, 232, 0.35);
  border-radius: 1rem;
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  box-shadow: 0 0 40px rgba(96, 208, 232, 0.06);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}
.beta-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}
.beta-card p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  font-size: 0.9375rem;
}
.contact-row {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}
.contact-link:hover { color: var(--accent); }
.contact-link svg { width: 20px; height: 20px; }

/* ── Scroll Reveal ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger feature cards */
.feature-card.reveal:nth-child(2) { transition-delay: 0.08s; }
.feature-card.reveal:nth-child(3) { transition-delay: 0.16s; }
.feature-card.reveal:nth-child(4) { transition-delay: 0.24s; }
.feature-card.reveal:nth-child(5) { transition-delay: 0.32s; }
.feature-card.reveal:nth-child(6) { transition-delay: 0.4s; }

/* Stagger steps */
.step.reveal:nth-child(2) { transition-delay: 0.15s; }
.step.reveal:nth-child(3) { transition-delay: 0.3s; }

/* ═══════════════════════════════════════════════════════════
   Sub-pages (Privacy, Support)
   ═══════════════════════════════════════════════════════════ */

/* ── Page Content ──────────────────────────────────────── */
.page-content {
  padding: 8rem var(--space-md) var(--space-3xl);
  max-width: 720px;
  margin: 0 auto;
}
.page-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-2xl);
}
.page-content .effective-date {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-top: calc(-1 * var(--space-2xl) + var(--space-xs));
  margin-bottom: var(--space-2xl);
}
.page-content h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--accent);
}
.page-content h2:first-of-type {
  margin-top: 0;
}
.page-content p {
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}
.page-content ul {
  margin-bottom: var(--space-sm);
  padding-left: 0;
}
.page-content li {
  color: var(--text-secondary);
  padding: 0.375rem 0;
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}
.page-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}
.page-content a {
  color: var(--accent);
  transition: color 0.2s;
}
.page-content a:hover { color: var(--accent-bright); }

/* ── Scope Label (Privacy) ─────────────────────────────── */
.scope-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  background: rgba(96, 208, 232, 0.15);
  color: var(--accent);
  border: 1px solid rgba(96, 208, 232, 0.3);
  vertical-align: middle;
  margin-left: 0.5rem;
}

/* ── Requirements Grid (Support) ───────────────────────── */
.requirements {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
@media (min-width: 640px) {
  .requirements { grid-template-columns: repeat(3, 1fr); }
}
.req-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  padding: var(--space-md);
  text-align: center;
}
.req-card .platform {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.req-card .version {
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.req-card .platform-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto var(--space-xs);
  color: var(--accent);
}

/* ── FAQ (Support) ─────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-md) 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.faq-question::before {
  content: '';
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  transition: transform 0.2s;
}
.faq-item.open .faq-question::before {
  transform: rotate(45deg);
}
.faq-answer {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.7;
  padding-left: 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.faq-item.open .faq-answer {
  max-height: 200px;
}

/* ── Getting Started Steps (Support) ───────────────────── */
.getting-started-steps {
  counter-reset: step;
  margin-bottom: var(--space-sm);
}
.getting-started-steps li {
  padding-left: 2.5rem;
}
.getting-started-steps li::before {
  content: counter(step);
  counter-increment: step;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0.375rem;
}

/* ── Contact Card (Support) ────────────────────────────── */
.contact-card {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: var(--space-lg);
  margin-top: var(--space-lg);
  text-align: center;
}
.contact-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}
.contact-card p {
  text-align: center;
}
.page-content .contact-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 0.625rem;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s, transform 0.2s;
  margin-top: var(--space-sm);
}
.page-content .contact-email:hover {
  background: var(--accent-bright);
  color: var(--bg-primary);
  transform: scale(1.02);
}
.page-content .contact-email svg { width: 20px; height: 20px; }
.page-content .instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, opacity 0.2s;
  margin-top: var(--space-sm);
}
.page-content .instagram-link:hover {
  transform: scale(1.04);
  opacity: 0.9;
  color: #fff;
}
.page-content .instagram-link svg { width: 1.25rem; height: 1.25rem; }

/* ═══════════════════════════════════════════════════════════
   Reduced Motion
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
