/* ============================================
   Stagelight – Waitlist Landing Page Styles
   ============================================ */

/* CUSTOM PROPERTIES */
:root {
  --bg: #080810;
  --surface: #11112a;
  --surface2: #181836;
  --surface3: #1f1f45;
  --border: #252550;
  --border-light: #2e2e62;
  --accent: #6d28d9;
  --accent-hover: #7c3aed;
  --accent-dim: rgba(109, 40, 217, 0.15);
  --accent-light: #a78bfa;
  --highlight: #f59e0b;
  --text: #e8e8ff;
  --text-muted: #7070a0;
  --text-dim: #505080;
  --success: #10b981;
  --danger: #ef4444;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.7);
  --transition: 0.2s ease;

  /* Instrument colors */
  --guitar: #f59e0b;
  --bass: #10b981;
  --drums: #ef4444;
  --piano: #6d28d9;
  --vocals: #ec4899;
  --violin: #3b82f6;
  --saxophone: #f97316;
  --trumpet: #eab308;
  --other: #8b5cf6;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 3px; }

/* UTILITY */
.hidden { display: none !important; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 16, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #a78bfa 0%, #6d28d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.header-cta { margin-left: auto; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--transition), opacity var(--transition), transform var(--transition);
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent-light); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.82rem; }
.btn-lg { padding: 0.8rem 1.75rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.55; pointer-events: none; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 1.5rem 5rem;
  background-image: url('pics/hero-stage.jpg');
  background-size: cover;
  background-position: center 30%;
}
/* Dark overlay so text stays legible over the photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 16, 0.72) 0%,
    rgba(8, 8, 16, 0.55) 50%,
    rgba(8, 8, 16, 0.85) 100%
  );
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #6d28d9 0%, transparent 70%);
  top: -120px; left: -80px;
  animation-duration: 9s;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #3b1a8a 0%, transparent 70%);
  bottom: -80px; right: -60px;
  animation-duration: 12s; animation-delay: -3s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
  top: 40%; left: 55%;
  opacity: 0.15;
  animation-duration: 15s; animation-delay: -6s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -25px) scale(1.04); }
  66%       { transform: translate(-15px, 15px) scale(0.97); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.35);
  color: var(--highlight);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  padding-bottom: 0.15em;
  background: linear-gradient(135deg, #e8e8ff 0%, #a78bfa 60%, #6d28d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 2.25rem;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   PAIN SECTION
   ============================================ */
.pain-section {
  border-top: 1px solid var(--border);
}
.pain-section .section-inner {
  text-align: center;
}
.pain-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2rem;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
  text-align: left;
}
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  position: relative;
}
.pain-card::before {
  content: '\201C';
  position: absolute;
  top: 0.6rem;
  left: 1rem;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--border-light);
  font-family: Georgia, serif;
}
.pain-quote {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.7;
  padding-top: 1.25rem;
}
.pain-resolution {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: -0.01em;
}

/* ============================================
   SECTION COMMONS
   ============================================ */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.section-inner-narrow {
  max-width: 640px;
}
.section-badge {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ============================================
   HOW IT WORKS (STEPS)
   ============================================ */
.steps {
  background: linear-gradient(180deg, transparent 0%, var(--surface) 20%, var(--surface) 80%, transparent 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps .section-inner { text-align: left; }
.steps .section-subtitle { max-width: none; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  text-align: left;
}
.step-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}
.step-card:hover {
  border-color: var(--accent-light);
  transform: translateY(-3px);
}
.step-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.step-icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.step-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   PLATFORM BADGES (hero)
   ============================================ */
.platform-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(17, 17, 42, 0.75);
  border: 1px solid var(--border-light);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.platform-badge--dim {
  color: var(--text-muted);
  border-color: var(--border);
}

/* ============================================
   SOCIAL PROOF (waitlist count)
   ============================================ */
.social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 1.4rem;
}
.social-proof-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  box-shadow: 0 0 6px 2px rgba(16, 185, 129, 0.5);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 6px 2px rgba(16, 185, 129, 0.5); }
  50%       { box-shadow: 0 0 3px 1px rgba(16, 185, 129, 0.2); }
}

/* ============================================
   SUCCESS SHARE BUTTON
   ============================================ */
.success-share-btn {
  margin-top: 1.25rem;
  width: 100%;
}

/* ============================================
   WAITLIST FORM SECTION
   ============================================ */
.waitlist-section .section-inner {
  text-align: center;
}
#waitlistFormWrap, #waitlistSuccess {
  text-align: left;
}
.waitlist-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: left;
  margin-top: 0.5rem;
}

/* FORM ELEMENTS */
.form-group { margin-bottom: 1.25rem; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.name-row .form-group { margin-bottom: 1.25rem; }
@media (max-width: 480px) { .name-row { grid-template-columns: 1fr; } }
.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.form-group-state { width: 120px; }
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form-hint { font-weight: 400; color: var(--text-muted); font-size: 0.82rem; }
.required { color: var(--highlight); }

.input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: var(--text-dim); }
.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109,40,217,0.18);
}
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237070a0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
  cursor: pointer;
  color-scheme: dark;
}
select.input option {
  background-color: #181836;
  color: #e8e8ff;
}
select.input option:checked,
select.input option:hover {
  background-color: #252550;
  color: #a78bfa;
}
textarea.input { resize: vertical; min-height: 80px; }
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

.char-count {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
  text-align: right;
}

/* FILE DROP ZONE */
.file-drop {
  position: relative;
  border: 2px dashed var(--border-light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.file-drop:hover, .file-drop.drag-over {
  border-color: var(--accent);
  background: var(--accent-dim);
}
.file-drop-icon { color: var(--text-dim); margin: 0 auto 0.75rem; }
.file-drop-text { font-size: 0.92rem; color: var(--text-muted); }
.file-drop-link { color: var(--accent-light); font-weight: 600; }
.file-drop-hint { font-size: 0.78rem; color: var(--text-dim); margin-top: 0.35rem; }
.file-drop-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-selected {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--success);
}
.file-selected span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-remove {
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1;
  padding: 0 4px;
  transition: color var(--transition);
}
.file-remove:hover { color: var(--danger); }

/* FORM ERROR */
.form-error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  margin-bottom: 1.25rem;
}

.form-consent {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.85rem;
  line-height: 1.6;
}
.form-consent a { color: var(--text-muted); text-decoration: underline; }
.form-consent a:hover { color: var(--accent-light); }

/* SUCCESS STATE */
.waitlist-success {
  background: var(--surface);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 0.5rem;
}
.success-icon {
  width: 72px; height: 72px;
  background: rgba(16,185,129,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.success-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.success-msg {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 400px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}
.success-position {
  display: inline-block;
  background: var(--accent-dim);
  border: 1px solid rgba(109,40,217,0.3);
  color: var(--accent-light);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
}

/* ============================================
   TOAST
   ============================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface3);
  border: 1px solid var(--border-light);
  color: var(--text);
  font-size: 0.9rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  white-space: nowrap;
  max-width: calc(100vw - 2rem);
  text-overflow: ellipsis;
  overflow: hidden;
  animation: toastIn 0.2s ease;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2.5rem 1.5rem;
}
.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.site-footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-left: auto;
}
.site-footer-link {
  font-size: 0.82rem;
  color: var(--text-dim);
  transition: color var(--transition);
}
.site-footer-link:hover { color: var(--accent-light); }
.site-footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* ============================================
   PHOTO MOSAIC (bento grid)
   ============================================ */
.photo-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-template-rows: 300px 200px;
  gap: 3px;
  position: relative;
}
/* mosaic-drummer.jpg — tall left, spans both rows */
.photo-mosaic-cell:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / 3;
}
/* mosaic-band-crowd.jpg — top, spans 3 right cols */
.photo-mosaic-cell:nth-child(2) {
  grid-column: 2 / 5;
  grid-row: 1;
}
/* mosaic-audience.jpg — bottom col 2 */
.photo-mosaic-cell:nth-child(3) {
  grid-column: 2;
  grid-row: 2;
}
/* mosaic-guitarist.png — bottom col 3 */
.photo-mosaic-cell:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}
/* mosaic-pub-band.jpg — bottom col 4 */
.photo-mosaic-cell:nth-child(5) {
  grid-column: 4;
  grid-row: 2;
}
.photo-mosaic-cell {
  position: relative;
  overflow: hidden;
}
.photo-mosaic-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s ease;
}
.photo-mosaic-cell:hover img { transform: scale(1.05); }
/* fade bottom into next section */
.photo-mosaic::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   MULTI-STEP FORM
   ============================================ */

/* Progress indicator */
.step-progress {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}
.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--surface2);
  color: var(--text-dim);
  border: 2px solid var(--border);
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.step-dot.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.step-dot.done   { background: rgba(16,185,129,0.15); border-color: var(--success); color: var(--success); }
.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 8px;
  transition: background 0.25s ease;
}
.step-line.done { background: var(--success); }

/* Step panels */
.step-panel { display: none; }
.step-panel.active {
  display: block;
  animation: stepIn 0.22s ease;
}
.step-panel.back-in {
  animation: stepInBack 0.22s ease;
}
@keyframes stepIn     { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: translateX(0); } }

.step-panel-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.step-panel-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.step-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
}
.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 1.25rem;
}
.step-consent { margin-top: 1.25rem; }

/* City autocomplete */
.city-wrap { position: relative; }
.city-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  z-index: 200;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.55);
}
.city-option {
  padding: 11px 14px;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background 0.1s;
}
.city-option:hover,
.city-option.focused { background: var(--accent-dim); color: var(--accent-light); }
.city-option-empty { color: var(--text-dim); cursor: default; }
.city-option-empty:hover { background: transparent; color: var(--text-dim); }

/* Pill buttons — looking for */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

/* Spacing utilities used by instrument/goal subfields */
#instrumentOtherWrap { margin-top: 12px; }
#lookingForOtherWrap { margin-top: 12px; }
.form-group--goals   { margin-top: 24px; }
.pill-btn {
  padding: 9px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border-light);
  background: var(--surface2);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.pill-btn:hover  { border-color: var(--accent-light); color: var(--text); }
.pill-btn.selected { border-color: var(--accent); background: var(--accent-dim); color: var(--accent-light); }

/* Recording zone */
.record-zone {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--surface);
  transition: border-color 0.2s;
}
.record-zone.has-clip { border-color: rgba(16,185,129,0.45); }
.record-label { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1rem; }
.record-sub   { font-size: 0.82rem; color: var(--text-dim); margin-top: 0.75rem; }
.record-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dc2626;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: transform 0.15s, box-shadow 0.15s;
}
.record-btn:hover { transform: scale(1.06); box-shadow: 0 0 0 8px rgba(220,38,38,0.15); }
.record-live-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.record-dot-live {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dc2626;
  animation: blink 1s step-start infinite;
  will-change: opacity;
  flex-shrink: 0;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.record-timer {
  font-size: 1.6rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.record-stop-btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  background: var(--surface3);
  border: 1.5px solid var(--border-light);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s;
}
.record-stop-btn:hover { border-color: var(--accent-light); }
.record-video-player {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  background: #000;
}
.record-live-preview {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  background: #000;
  max-height: 200px;
  object-fit: cover;
}
.record-preview-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.record-preview-ok { font-size: 0.9rem; font-weight: 600; color: var(--success); }

/* "or upload" divider */
.upload-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.25rem 0;
  color: var(--text-dim);
  font-size: 0.82rem;
}
.upload-or::before,
.upload-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ============================================
   DOB PICKER (month / day / year selects)
   ============================================ */
.dob-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.dob-select-wrap { position: relative; }
.dob-select-wrap select.input {
  width: 100%;
}
/* Custom DOB picker (replaces native <select> for full dark-theme control) */
.dob-picker {
  position: relative;
  width: 100%;
}
.dob-picker-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0.65rem 0.85rem;
  background: var(--surface2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.dob-picker-btn:focus,
.dob-picker.open .dob-picker-btn {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(109,40,217,0.18);
}
.dob-picker-val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dob-picker-placeholder { color: var(--text-dim); }
.dob-picker-arrow { flex-shrink: 0; transition: transform 0.2s ease; }
.dob-picker.open .dob-picker-arrow { transform: rotate(180deg); }

.dob-picker-list {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface3);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  z-index: 300;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.65);
  padding: 4px 0;
}
.dob-picker.open .dob-picker-list { display: block; }
.dob-picker-option {
  padding: 9px 14px;
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
  transition: background 0.1s;
}
.dob-picker-option:hover { background: var(--accent-dim); color: var(--accent-light); }
.dob-picker-option.selected { background: var(--accent-dim); color: var(--accent-light); font-weight: 600; }

/* Give month a slightly wider natural width — grid handles layout */

/* ============================================
   LOCATION FIELD (icon prefix + check badge)
   ============================================ */
.location-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.location-icon {
  position: absolute;
  left: 0.85rem;
  color: var(--text-dim);
  pointer-events: none;
  flex-shrink: 0;
  z-index: 1;
}
.input-with-icon {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.location-check {
  position: absolute;
  right: 0.85rem;
  color: var(--success);
  pointer-events: none;
  flex-shrink: 0;
}

/* Two-line city dropdown options */
.city-option-main {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  display: block;
  line-height: 1.3;
}
.city-option-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
  display: block;
  line-height: 1.3;
  margin-top: 1px;
}
.city-option:hover .city-option-main,
.city-option.focused .city-option-main { color: var(--accent-light); }
.city-option:hover .city-option-sub,
.city-option.focused .city-option-sub  { color: var(--accent-light); opacity: 0.7; }

/* ============================================
   INSTRUMENT TILE GRID
   ============================================ */
.instrument-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.instr-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0.75rem 0.4rem;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-user-select: none;
  user-select: none;
}
.instr-tile:hover {
  border-color: var(--accent-light);
  background: var(--surface3);
  transform: translateY(-1px);
}
.instr-tile.selected {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(109,40,217,0.22) 0%, rgba(109,40,217,0.08) 100%);
  box-shadow: 0 0 0 3px rgba(109,40,217,0.2), 0 4px 12px rgba(109,40,217,0.18);
  transform: scale(1.03);
}
.instr-emoji {
  font-size: 1.5rem;
  line-height: 1;
}
.instr-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.instr-tile.selected .instr-name { color: var(--accent-light); }

/* Other instrument search field */
#instrumentOtherWrap .input {
  margin-top: 0;
}

/* ============================================
   GOAL CARDS
   ============================================ */
.goal-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.goal-pill {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--surface2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  -webkit-user-select: none;
  user-select: none;
}
.goal-pill:hover {
  background: var(--surface3);
  color: var(--text);
  border-color: var(--border-light);
}
.goal-pill[data-color="amber"].selected {
  border-color: #f59e0b;
  background: rgba(245,158,11,0.1);
  color: #f59e0b;
}
.goal-pill[data-color="violet"].selected {
  border-color: var(--accent-light);
  background: rgba(167,139,250,0.1);
  color: var(--accent-light);
}
.goal-pill[data-color="green"].selected {
  border-color: #10b981;
  background: rgba(16,185,129,0.1);
  color: #10b981;
}
.goal-pill[data-color="muted"].selected {
  border-color: var(--border-light);
  background: var(--surface3);
  color: var(--text);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 600px) {
  .hero { padding: 4rem 1.25rem 3.5rem; min-height: 70vh; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .section-inner { padding: 3.5rem 1.25rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-group-state { width: 100%; }
  .waitlist-form { padding: 1.75rem 1.25rem; }
  .site-footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .site-footer-links { margin-left: 0; }
  .pill-grid { gap: 6px; }
  .pill-btn { font-size: 0.85rem; padding: 8px 14px; }
  .dob-row { grid-template-columns: 2fr 1fr 1.5fr; gap: 0.4rem; }
  .instrument-grid { grid-template-columns: repeat(4, 1fr); gap: 0.4rem; }
  .instr-tile { padding: 0.65rem 0.5rem; }
  .instr-name { font-size: 0.8rem; }
  .goal-pill { font-size: 0.88rem; padding: 0.75rem 1rem; }
  .photo-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 160px 160px;
  }
  .photo-mosaic-cell:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .photo-mosaic-cell:nth-child(2) { grid-column: 1; grid-row: 2; }
  .photo-mosaic-cell:nth-child(3) { grid-column: 2; grid-row: 2; }
  .photo-mosaic-cell:nth-child(4) { grid-column: 1; grid-row: 3; }
  .photo-mosaic-cell:nth-child(5) { grid-column: 2; grid-row: 3; }
}

/* ============================================
   PASSWORD INPUT
   ============================================ */
.password-wrap {
  position: relative;
}
.password-wrap .input {
  padding-right: 2.75rem;
}
.password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition);
}
.password-toggle:hover { color: var(--accent-light); }

/* ============================================
   CLIP TABS
   ============================================ */
.clip-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.clip-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--surface2);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.clip-tab.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent-light);
}

/* ============================================
   TRIM UI
   ============================================ */
.trim-ui {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-sm);
}
.trim-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--highlight);
  margin-bottom: 0.6rem;
}
.trim-range-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}
.trim-bar {
  position: relative;
  height: 36px;
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  -webkit-user-select: none;
  user-select: none;
}
.trim-track {
  position: absolute;
  left: 0; right: 0;
  height: 6px;
  background: var(--surface3);
  border-radius: 3px;
  overflow: visible;
}
.trim-selection {
  position: absolute;
  top: 0; height: 100%;
  background: var(--accent);
  border-radius: 3px;
}
.trim-handle {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  background: #fff;
  border: 3px solid var(--accent);
  border-radius: 50%;
  cursor: ew-resize;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
  touch-action: none;
}
.trim-handle:active { background: var(--accent-light); }
.trim-hint {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ============================================
   RECORD PANEL
   ============================================ */
.record-area {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  margin-bottom: 0.75rem;
}
.record-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.record-countdown {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
  font-variant-numeric: tabular-nums;
  background: rgba(0,0,0,0.45);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
}
.record-idle-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.record-controls {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.record-start-btn { flex: 1; }
.record-stop-btn  { flex: 1; border-color: var(--danger); color: var(--danger); }
.record-done {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.record-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* ============================================
   CLIP UPLOAD (step 4)
   ============================================ */
.clip-upload-area {
  position: relative;
  border: 2px dashed var(--border-light);
  border-radius: var(--radius);
  background: var(--surface2);
  min-height: 160px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  overflow: hidden;
  margin-bottom: 1rem;
}
.clip-upload-area:hover {
  border-color: var(--accent-light);
  background: var(--surface3);
}
.clip-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}
.clip-upload-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem;
  pointer-events: none;
}
.clip-upload-icon { color: var(--accent-light); }
.clip-upload-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}
.clip-upload-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.clip-preview {
  width: 100%;
  display: block;
  height: 240px;
  object-fit: cover;
  background: #000;
  border-radius: var(--radius-sm);
}
.clip-file-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  background: var(--surface3);
  border-top: 1px solid var(--border);
}
.clip-file-name {
  font-size: 0.82rem;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.clip-change-btn { flex-shrink: 0; }

/* Upload progress */
.upload-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.upload-progress-track {
  flex: 1;
  height: 6px;
  background: var(--surface3);
  border-radius: 3px;
  overflow: hidden;
}
.upload-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.2s ease;
}
.upload-progress-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}
