/* DancePassport™ — Design System
   Dark, gold-accented, editorial-luxury aesthetic */

:root {
  --bg: #0A0A0A;
  --bg-elevated: #141414;
  --bg-card: #1A1815;
  --gold: #D4AF6A;
  --gold-deep: #C9A24B;
  --white: #F5F5F3;
  --white-dim: #C9C7C2;
  --line: #2A2822;

  --accent-students: #B79CE8;   /* purple/lilac */
  --accent-parents: #4FBFA8;    /* teal/green */
  --accent-teachers: #D4AF6A;   /* gold */
  --accent-owners: #6FA8E0;     /* blue */

  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'Petit Formal Script', 'Brush Script MT', cursive;

  --max-width: 1200px;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  font-display: swap;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); text-transform: uppercase; letter-spacing: 0.06em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--white-dim); }
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.75em;
  display: inline-block;
}
.script {
  font-family: var(--font-script);
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  white-space: nowrap;
}
.logo span.pp { color: var(--gold); }
.logo:hover { text-decoration: none; }
.logo-mark { display: block; }
picture { display: inline-block; line-height: 0; }
picture img { display: block; max-width: 100%; height: auto; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--white);
  font-size: 0.92rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}
.nav-links a[aria-current="page"] { color: var(--gold); }

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--gold); color: var(--bg) !important; text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--white);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.2rem;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-elevated);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding: 16px 24px; }
  .nav-links a.nav-cta {
    display: block;
    box-sizing: border-box;
    width: calc(100% - 48px);
    margin: 16px 24px;
    padding: 12px 20px;
    text-align: center;
    white-space: normal;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-deep); text-decoration: none; }
.btn-outline {
  border-color: var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--bg); text-decoration: none; }

/* Hero */
.hero {
  padding: 88px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(212,175,106,0.16), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 780px; margin: 0 auto; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.hero-trust {
  margin-top: 48px;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--white-dim);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

/* Sections */
section { padding: 72px 0; }
.section-alt { background: var(--bg-elevated); }
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
  border: none;
  margin: 0;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }

/* Cards */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.icon-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  margin-bottom: 20px;
}
.icon-badge svg { width: 24px; height: 24px; stroke: currentColor; fill: none; }
.card ul { margin: 0.5em 0 0; padding-left: 1.1em; color: var(--white-dim); }
.card li { margin-bottom: 0.4em; }

/* Audience accent variants */
.card.students .icon-badge { border-color: var(--accent-students); color: var(--accent-students); }
.card.parents .icon-badge { border-color: var(--accent-parents); color: var(--accent-parents); }
.card.teachers .icon-badge { border-color: var(--accent-teachers); color: var(--accent-teachers); }
.card.owners .icon-badge { border-color: var(--accent-owners); color: var(--accent-owners); }
.card.students h3 { color: var(--accent-students); }
.card.parents h3 { color: var(--accent-parents); }
.card.teachers h3 { color: var(--accent-teachers); }
.card.owners h3 { color: var(--accent-owners); }

/* Circular device frame */
.circle-frame {
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  background: radial-gradient(circle, rgba(212,175,106,0.08), transparent 70%);
}

/* Steps */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.4rem;
  min-width: 44px;
}

/* Pricing */
.region-switch {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.region-btn {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--white-dim);
  cursor: pointer;
}
.region-btn[aria-pressed="true"] {
  border-color: var(--gold);
  color: var(--gold);
}
.price-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--gold); }
.price-amount { font-family: var(--font-display); font-size: 2.4rem; color: var(--gold); margin: 12px 0; }
.price-amount span { font-size: 1rem; color: var(--white-dim); font-family: var(--font-body); }
.price-card ul { list-style: none; padding: 0; margin: 20px 0; color: var(--white-dim); flex-grow: 1; }
.price-card li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.price-note { text-align: center; color: var(--white-dim); font-size: 0.85rem; margin-top: 32px; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { margin-top: 14px; color: var(--white-dim); }

/* Forms */
.form-field { margin-bottom: 20px; }
label { display: block; font-family: var(--font-display); font-size: 0.82rem; letter-spacing: 0.05em; margin-bottom: 8px; color: var(--white-dim); }
input, select, textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
}
textarea { min-height: 140px; resize: vertical; }

/* CTA band */
.cta-band {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-elevated), var(--bg));
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 32px;
  background: var(--bg-elevated);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h4 { font-size: 0.85rem; letter-spacing: 0.08em; color: var(--gold); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--white-dim); font-size: 0.9rem; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--white-dim);
  font-size: 0.82rem;
}
.legal-note {
  font-size: 0.78rem;
  color: var(--white-dim);
  opacity: 0.7;
}

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

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0 0;
  font-size: 0.8rem;
  color: var(--white-dim);
}
.breadcrumb a { color: var(--white-dim); }
.breadcrumb .sep { margin: 0 6px; }

/* Roadmap badges */
.badge {
  display: inline-block;
  font-size: 0.7rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.badge-live { background: rgba(79,191,168,0.15); color: var(--accent-parents); border: 1px solid var(--accent-parents); }
.badge-roadmap { background: rgba(212,175,106,0.12); color: var(--gold); border: 1px solid var(--gold); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--bg);
  padding: 12px 20px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}
