/* ── Apple-Style Premium Light Mode Theme ── */
:root {
  --primary: #ff2d55; /* Vibrant Rose Pink */
  --primary-rgb: 255, 45, 85;
  --primary-light: rgba(255, 45, 85, 0.05);
  --secondary: #5856d6; /* Royal Indigo */
  --secondary-rgb: 88, 86, 214;
  --accent: #34c759; /* Apple Green */
  --bg-light: #f5f5f7; /* Apple Light Gray */
  --card-bg: rgba(255, 255, 255, 0.85);
  --border: rgba(0, 0, 0, 0.06);
  --border-focus: rgba(255, 45, 85, 0.3);
  --text: #1d1d1f; /* Apple Charcoal */
  --text-muted: #86868b; /* Apple Gray */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  font-size: 16px;
}

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

html, body {
  overflow: hidden;
  height: 100%;
}

body {
  min-height: 100dvh;
  background-color: var(--bg-light);
  background-image:
    radial-gradient(at 0% 0%, rgba(88, 86, 214, 0.07) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(255, 45, 85, 0.07) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(0, 199, 190, 0.05) 0px, transparent 50%);
  background-attachment: fixed;
  font-family: 'Montserrat', 'Noto Sans Georgian', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-font-smoothing: antialiased;
}

/* ── Confetti Canvas ── */
#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
}

/* ── App Shell (Floating Premium Card) ── */
#app {
  width: 100%;
  max-width: 440px;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--card-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.05);
}

@media (min-width: 460px) {
  #app {
    height: 90vh;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(29, 28, 37, 0.08);
  }
}

/* ── Header ── */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 12px;
  background: transparent;
  z-index: 5;
}
.logo {
  font-family: 'Lora', 'Noto Serif Georgian', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
}
.close-btn {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.close-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
  transform: scale(1.05);
}

/* ── Progress Section ── */
.progress-wrap {
  padding: 0 24px 12px;
  z-index: 5;
}
.progress-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.progress-step-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.progress-pct {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
}
.progress-bar {
  height: 5px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: 99px;
  width: 11%;
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.steps-row {
  display: flex;
  justify-content: space-between;
  gap: 3px;
}
.step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.step-dot .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-muted);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.step-dot.active .dot {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-color: transparent;
  color: #fff;
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(88, 86, 214, 0.2);
}
.step-dot.done .dot {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}
.step-dot .dot-label {
  display: none;
}

/* ── Screen Transition & Wrap ── */
.screen-wrap {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}
.screen-wrap::-webkit-scrollbar {
  width: 5px;
}
.screen-wrap::-webkit-scrollbar-track {
  background: transparent;
}
.screen-wrap::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 99px;
}
.screen {
  display: none !important;
  padding: 20px 24px 130px;
  flex-direction: column;
  flex: 1;
}
.screen.active {
  display: flex !important;
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(12px) scale(0.99); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Typography & Headers ── */
h1 {
  font-family: 'Lora', 'Noto Serif Georgian', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text);
  margin-top: 10px;
}
.subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.45;
}
.subtitle-tag {
  font-size: 0.72rem;
  color: var(--secondary);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* ── Form Styling ── */
.field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  margin-top: 24px;
}
.field-label:first-of-type { margin-top: 0; }

/* ── Chip Grid ── */
.chip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 4px;
}
.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 4px;
}
.chip.pill {
  flex-direction: row;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  gap: 6px;
  flex: 0 0 auto;
}
.chip-grid.three {
  grid-template-columns: 1fr 1fr 1fr;
}
.chip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 4px;
}
@media (max-width: 400px) {
  .chip-row {
    grid-template-columns: repeat(2, 1fr);
  }
}
.chip {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  line-height: 1.25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}
.chip.sm {
  padding: 10px 8px;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
  flex-direction: row;
}
.chip:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}
.chip.selected {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 45, 85, 0.08);
}

/* Chip SVG Styling */
.chip-icon {
  stroke: var(--text-muted);
  transition: stroke 0.25s ease;
}
.chip:hover .chip-icon {
  stroke: var(--primary);
}
.chip.selected .chip-icon {
  stroke: var(--primary);
}

/* ── Inputs & Textareas ── */
.text-input {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--text);
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.text-input:focus {
  border-color: var(--primary);
  background: #fffdfd;
}
.text-input::placeholder { color: #b5aeaf; }

.textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--text);
  outline: none;
  resize: none;
  font-family: inherit;
  line-height: 1.55;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.textarea:focus {
  border-color: var(--primary);
  background: #fffdfd;
}
.textarea::placeholder { color: #b5aeaf; }

.textarea-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  margin-bottom: 8px;
}
.char-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.step-helper {
  font-size: 0.78rem;
  color: var(--primary);
  margin-bottom: 10px;
  min-height: 1.2em;
  text-align: center;
  font-weight: 500;
}

/* ── Tip Box (Clean/Minimal) ── */
.tip-box {
  background: var(--primary-light);
  border: 1px solid rgba(255, 45, 85, 0.05);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 12px;
}
.tip-box p {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.tip-box ul {
  list-style: none;
  padding: 0;
}
.tip-box li {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 2px 0;
  padding-left: 12px;
  position: relative;
}
.tip-box li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.9rem;
  top: 0px;
}

/* ── Social Proof Block (Step 1) ── */
.social-proof-block {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.sp-stars {
  font-size: 1.1rem;
  letter-spacing: 3px;
}
.sp-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sp-avatars {
  display: flex;
  align-items: center;
}
.sp-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -10px;
  flex-shrink: 0;
}
.sp-avatar:first-child { margin-left: 0; }
.sp-count {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -10px;
  border: 2px solid #fff;
  flex-shrink: 0;
}
.sp-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 160px;
}

/* ── Trust Badge ── */
.trust-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(52, 199, 89, 0.04);
  border: 1px solid rgba(52, 199, 89, 0.1);
  padding: 10px 16px;
  border-radius: 99px;
  margin: 16px auto 0;
  max-width: fit-content;
}
.trust-icon {
  color: var(--accent);
  font-size: 0.85rem;
}
.trust-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
}

/* ── Navigation Actions (Inline Flow Layout - Highly UX Friendly) ── */
.actions {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 24px 34px;
  background: linear-gradient(to top, #ffffff 80%, rgba(255, 255, 255, 0));
  z-index: 10;
  border-top: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  justify-content: flex-end;
}
.actions.two {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.btn-primary {
  flex: 1;
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  border: none;
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 16px rgba(255, 45, 85, 0.15);
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-primary:not(:disabled) {
  animation: pulseBtn 2.2s infinite ease-in-out;
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 45, 85, 0.25);
  animation-play-state: paused;
}
.btn-primary:active:not(:disabled) {
  transform: scale(0.98);
}
.btn-primary:disabled {
  background: #e5e5ea;
  color: #a1a1a6;
  box-shadow: none;
  cursor: not-allowed;
}

@keyframes pulseBtn {
  0% {
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(255, 45, 85, 0.15);
  }
  50% {
    transform: scale(1.025);
    box-shadow: 0 8px 24px rgba(255, 45, 85, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 6px 16px rgba(255, 45, 85, 0.15);
  }
}

.btn-back {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.88rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 14px 20px;
  font-weight: 700;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-back:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text);
  border-color: rgba(0, 0, 0, 0.15);
}

/* ── Overlay Screens (loader + confirm) ── */
#stepLoading,
#stepConfirm {
  position: absolute;
  inset: 0;
  background: var(--card-bg);
  z-index: 10;
  overflow-y: auto;
}
#stepLoading {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.loader-container {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 24px;
}
.vinyl-record {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #333 15%, #111 16%, #111 40%, #222 41%, #111 70%);
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 10px;
  animation: spin 5s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vinyl-record::after {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
}
.vinyl-label {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.loader-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--primary);
  border-bottom-color: var(--border);
  animation: spin 2.5s linear infinite reverse;
}

.loading-percent {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

/* "don't leave the page" warning (shown once generation starts) */
.loading-warn {
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  max-width: 320px;
  margin: 4px auto 0;
  animation: warnPulse 1.8s ease-in-out infinite;
}
@keyframes warnPulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1; }
}

/* Checklist items */
.loading-steps {
  width: 100%;
  max-width: 280px;
  text-align: left;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.load-step-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.4;
}
.load-step-item.active {
  opacity: 1;
  color: var(--text);
  font-weight: 600;
}
.load-step-item.done {
  opacity: 0.9;
  color: var(--accent);
  font-weight: 600;
  animation: scaleTick 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes scaleTick {
  0%   { transform: scale(0.9); }
  50%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.load-step-indicator {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}
.load-step-item.active .load-step-indicator {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.load-step-item.done .load-step-indicator {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* ── Confirmation Screen ── */
#stepConfirm {
  padding: 20px 24px 60px;
  flex-direction: column;
}
.confirm-hero {
  text-align: center;
  margin-bottom: 24px;
}
.heart-circle {
  font-size: 1.8rem;
  width: 54px;
  height: 54px;
  background: var(--primary-light);
  border: 1px solid rgba(201, 134, 150, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

/* Spotify Preview Widget */
.spotify-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}
.player-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.player-album-art {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.player-album-art .music-note {
  color: #fff;
}
.player-album-art.playing .music-note {
  animation: bounceNote 0.8s ease-in-out infinite alternate;
}
.player-info {
  flex: 1;
  min-width: 0;
}
.player-title {
  font-family: 'Lora', 'Noto Serif Georgian', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-artist {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Play Control & Equalizer */
.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  background: var(--bg-light);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.play-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--text);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.play-btn:hover {
  transform: scale(1.05);
}
.play-btn svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}

/* Wave Equalizer Animation */
.equalizer-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 24px;
}
.equalizer-bar {
  width: 3px;
  height: 6px;
  background: var(--primary);
  border-radius: 2px;
  transition: height 0.2s ease;
}
.equalizer-wave.active .equalizer-bar {
  animation: jumpBar 0.8s ease-in-out infinite alternate;
}
.equalizer-wave.active .equalizer-bar:nth-child(2) { animation-delay: 0.15s; }
.equalizer-wave.active .equalizer-bar:nth-child(3) { animation-delay: 0.3s; }
.equalizer-wave.active .equalizer-bar:nth-child(4) { animation-delay: 0.45s; }
.equalizer-wave.active .equalizer-bar:nth-child(5) { animation-delay: 0.2s; }
.equalizer-wave.active .equalizer-bar:nth-child(6) { animation-delay: 0.35s; }

/* Generated Lyrics Box */
.lyrics-preview-container {
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-sm);
  padding: 20px;
}
.lyrics-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.lyrics-label::after {
  content: 'AI ტექსტი';
  font-size: 0.6rem;
  background: var(--primary);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
}
.lyrics-content {
  font-family: 'Lora', 'Noto Serif Georgian', Georgia, serif;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  text-align: center;
  font-style: italic;
  white-space: pre-line;
  letter-spacing: 0.1px;
}

.player-time {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 34px;
  text-align: right;
}

/* Player progress bar */
.player-progress {
  height: 4px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}
.player-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: 4px;
  transition: width 0.1s linear;
}

/* Upsell card — full studio version */
.upsell-card {
  background: #ffffff;
  border: 1.5px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  margin-bottom: 20px;
  box-shadow: 0 12px 30px rgba(var(--primary-rgb), 0.10);
  text-align: center;
}
.upsell-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.upsell-title {
  font-family: 'Lora', 'Noto Serif Georgian', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.4;
}
.upsell-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}
.upsell-list li {
  font-size: 0.85rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 9px;
}
.upsell-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}
.upsell-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.upsell-price {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
}
.upsell-price-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Info Cards on final screen */
.info-card, .next-card, .summary-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.info-row {
  font-size: 0.88rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}
.info-row:first-child { 
  border-bottom: 1px solid rgba(0, 0, 0, 0.05); 
  padding-bottom: 12px; 
  margin-bottom: 6px; 
  color: var(--accent); 
  font-weight: 700; 
}
.info-icon { font-size: 1.1rem; }

.next-title, .summary-title {
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}
.next-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.next-list li {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.next-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
}

.summary-row {
  font-size: 0.82rem;
  color: var(--text);
  padding: 5px 0;
  display: flex;
  justify-content: space-between;
}
.summary-row span {
  color: var(--text-muted);
}

.header.hidden, .progress-wrap.hidden {
  display: none;
}

/* ══════════════════════════════════════════════════
   RESULT / SONG PAGE (last step before thank-you)
   ══════════════════════════════════════════════════ */
.song-page {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 20px 20px 30px;
  flex: 1;
}

.song-eyebrow {
  text-align: center;
  font-family: 'Lora', 'Noto Serif Georgian', Georgia, serif;
  font-style: italic;
  color: var(--secondary);
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.song-hero-title {
  text-align: center;
  font-family: 'Lora', 'Noto Serif Georgian', Georgia, serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 6px;
}
.song-hero-title span {
  color: var(--primary);
  font-style: italic;
}
.song-hero-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

/* preview player */
.song-player {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
  text-align: center;
  margin-bottom: 16px;
}
.song-play-circle {
  position: relative;
  isolation: isolate;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.35);
  transition: transform 0.15s;
}
.song-play-circle:hover { transform: scale(1.06); }
.song-play-circle:active { transform: scale(0.96); }
.song-play-circle svg { width: 30px; height: 30px; fill: #fff; }

/* emanating rings behind the play button (idle attention) */
.song-play-rings { position: absolute; inset: 0; border-radius: 50%; z-index: -1; }
.song-play-rings::before,
.song-play-rings::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(var(--primary-rgb), 0.45);
  animation: playRing 2.2s ease-out infinite;
}
.song-play-rings::after { animation-delay: 1.1s; }
@keyframes playRing {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.1); opacity: 0; }
}
.song-player.playing .song-play-rings::before,
.song-player.playing .song-play-rings::after { animation: none; opacity: 0; }

/* soft glow while the demo plays */
.song-player.playing { box-shadow: 0 14px 44px rgba(var(--primary-rgb), 0.18); }

/* "turn on the sound" hint pill above the button */
.song-hint-pill {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.35);
  animation: hintBounce 1.4s ease-in-out infinite;
}
@keyframes hintBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
.song-play-hint {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 18px;
}
.song-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 46px;
  margin-bottom: 12px;
}
.song-wave span {
  width: 4px;
  border-radius: 2px;
  background: rgba(var(--secondary-rgb), 0.25);
  height: 30%;
}
.song-wave span:nth-child(3n)   { height: 70%; }
.song-wave span:nth-child(3n+1) { height: 40%; }
.song-wave span:nth-child(4n)   { height: 92%; }
.song-wave span:nth-child(5n)   { height: 55%; }
.song-wave.active span {
  background: var(--primary);
  animation: waveJump 0.9s ease-in-out infinite alternate;
}
.song-wave.active span:nth-child(2n) { animation-delay: 0.1s; }
.song-wave.active span:nth-child(3n) { animation-delay: 0.25s; }
.song-wave.active span:nth-child(4n) { animation-delay: 0.15s; }
.song-wave.active span:nth-child(5n) { animation-delay: 0.3s; }
@keyframes waveJump {
  from { transform: scaleY(0.5); }
  to   { transform: scaleY(1.15); }
}
.song-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* social proof card */
.song-proof {
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  margin-bottom: 20px;
}
.song-proof-title { font-weight: 800; font-size: 0.95rem; margin-bottom: 4px; }
.song-proof-sub { font-size: 0.8rem; color: var(--text-muted); font-style: italic; }

/* unlock banner */
.unlock-banner {
  background: linear-gradient(135deg, var(--primary), #ff5e7e);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 16px 18px;
  text-align: center;
  margin-bottom: 12px;
}
.unlock-banner-title { font-weight: 800; font-size: 1rem; margin-bottom: 6px; }
.unlock-banner-text { font-size: 0.82rem; opacity: 0.95; line-height: 1.45; }

/* hold timer */
.hold-timer {
  border: 1.5px dashed rgba(var(--secondary-rgb), 0.4);
  background: rgba(var(--secondary-rgb), 0.04);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  margin-bottom: 26px;
}
.hold-timer-label { font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; }
.hold-timer-clock {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--secondary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 8px;
}
.hold-timer-note { font-size: 0.75rem; color: var(--text-muted); line-height: 1.45; }

/* section headings */
.song-h2 {
  text-align: center;
  font-family: 'Lora', 'Noto Serif Georgian', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 30px 0 4px;
}
.song-h2-sub { text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 18px; }

/* single price card */
.price-single {
  text-align: center;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
}
.price-single-old {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 8px;
}
.price-single-now {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary);
}
.price-single-note {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* order total */
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 4px;
  margin-bottom: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.order-total span:last-child { color: var(--primary); }

/* payment note under CTA */
.pay-note {
  text-align: center;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 10px 0 14px;
}

/* delivery options */
.delivery-opt {
  position: relative;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: border-color 0.15s, background 0.15s;
  background: #fff;
}
.delivery-opt.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}
.delivery-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 99px;
}
.delivery-main { display: flex; align-items: center; gap: 10px; }
.delivery-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  position: relative;
}
.delivery-opt.selected .delivery-radio { border-color: var(--primary); }
.delivery-opt.selected .delivery-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--primary);
}
.delivery-icon { font-size: 1.1rem; }
.delivery-name { font-weight: 700; font-size: 0.9rem; }
.delivery-price { text-align: right; flex-shrink: 0; }
.delivery-old { display: block; font-size: 0.72rem; color: var(--text-muted); text-decoration: line-through; }
.delivery-now { display: block; font-size: 1.3rem; font-weight: 800; color: var(--text); }
.delivery-save { display: block; font-size: 0.68rem; font-weight: 800; color: var(--primary); text-transform: uppercase; }

/* addon */
.addon-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1.5px dashed rgba(52, 199, 89, 0.5);
  background: rgba(52, 199, 89, 0.04);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
  cursor: pointer;
}
.addon-row input { display: none; }
.addon-check {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.addon-row input:checked + .addon-check {
  background: var(--accent);
  border-color: var(--accent);
}
.addon-row input:checked + .addon-check::after {
  content: '✓';
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}
.addon-body { flex: 1; }
.addon-title { font-weight: 700; font-size: 0.88rem; display: flex; justify-content: space-between; gap: 8px; }
.addon-price { color: var(--accent); font-weight: 800; }
.addon-desc { font-size: 0.76rem; color: var(--text-muted); margin-top: 4px; display: block; line-height: 1.4; }

/* unlock CTA */
.unlock-cta { width: 100%; font-size: 1.05rem; }
.cta-microrow {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 0.76rem;
  color: var(--primary);
  font-weight: 700;
  margin: 10px 0 18px;
}

/* guarantee */
.guarantee-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  padding: 16px;
}
.guarantee-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.guarantee-title { font-weight: 800; font-size: 0.9rem; margin-bottom: 3px; }
.guarantee-text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.45; }

/* what happens next */
.next-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
}
.next-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.next-step-title { font-weight: 700; font-size: 0.92rem; margin-bottom: 3px; }
.next-step-text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.45; }

/* reviews grid */
.song-reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.song-review {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  padding: 14px;
}
.song-review-body { font-size: 0.8rem; line-height: 1.45; margin: 6px 0; }
.song-review-name { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }

/* FAQ */
.faq { margin-bottom: 24px; }
.faq-item { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 16px 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
}
.faq-ico {
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item.open .faq-ico { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  transition: max-height 0.25s ease, padding 0.25s ease;
}
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 16px; }

/* restart link */
.btn-restart-link {
  display: block;
  margin: 8px auto 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}

/* sticky bottom CTA */
.sticky-cta {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  z-index: 5;
}
.sticky-cta .btn-primary { width: 100%; }
.sticky-cta-note { text-align: center; font-size: 0.7rem; color: var(--text-muted); margin-top: 6px; }

/* ── Keyframe Animations ── */
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes jumpBar {
  0% { height: 4px; }
  100% { height: 20px; }
}
@keyframes bounceNote {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-4px) scale(1.05); }
}

/* ── Tell Personally Button ── */
@keyframes personally-pulse {
  0%, 100% { border-color: rgba(0,0,0,0.12); color: var(--text-muted); }
  50% { border-color: var(--primary); color: var(--primary); }
}
.tell-personally-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 13px 18px;
  background: transparent;
  border: 1.5px dashed rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  animation: personally-pulse 2s ease-in-out infinite;
}
.tell-personally-btn.active {
  animation: none;
}
.tell-personally-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}
.tell-personally-btn.active {
  border-style: solid;
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  animation: none;
}
.tell-personally-note {
  display: none;
  font-size: 0.75rem;
  color: var(--primary);
  text-align: center;
  margin-top: 8px;
  font-weight: 600;
}
.tell-personally-note.visible {
  display: block;
}

/* ── Social Proof Toast ── */
.social-toast {
  position: absolute;
  bottom: 96px;
  left: 12px;
  max-width: 220px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.35;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 20;
  transform: translateX(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.social-toast.show {
  transform: translateX(0);
  opacity: 1;
}
.social-toast-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Price Anchor ── */
.price-anchor {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(52, 199, 89, 0.06);
  border: 1px solid rgba(52, 199, 89, 0.2);
  color: #1a7a35;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.price-anchor strong {
  font-weight: 800;
}
.price-discount {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(88, 86, 214, 0.05);
  border: 1px solid rgba(88, 86, 214, 0.1);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  margin-bottom: 16px;
  line-height: 1.4;
}
.price-discount strong {
  color: var(--secondary);
  font-weight: 700;
}

/* ── Step 11 value recap (endowment + near-complete) ── */
.recap-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-lg);
  padding: 14px;
  margin-bottom: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.recap-art {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.recap-info {
  flex: 1;
  min-width: 0;
}
.recap-title {
  font-family: 'Lora', 'Noto Serif Georgian', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recap-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.recap-ready {
  flex-shrink: 0;
  text-align: center;
  padding-left: 6px;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
}
.recap-ready-pct {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.recap-ready-lbl {
  display: block;
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-top: 3px;
}

.form-h1 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 16px;
}

/* trust microcopy under phone input */
.form-trust {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

/* trust row (3 reassurance pills) */
.trust-row {
  display: flex;
  gap: 8px;
  margin: 14px 0 16px;
}
.trust-item {
  flex: 1;
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-sm);
  padding: 9px 4px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.trust-item span {
  font-size: 1.1rem;
}

/* ── Contact Form Card ── */
.contact-form-card {
  background: linear-gradient(135deg, rgba(88,86,214,0.04), rgba(255,45,85,0.04));
  border: 2px solid rgba(88, 86, 214, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px 18px 16px;
  margin-bottom: 8px;
  position: relative;
}
.contact-form-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.contact-input {
  border: 2px solid rgba(88, 86, 214, 0.2) !important;
  background: #ffffff !important;
  font-size: 1rem !important;
}
.contact-input:focus {
  border-color: var(--secondary) !important;
  box-shadow: 0 0 0 3px rgba(88, 86, 214, 0.08);
}
.contact-form-card .field-label {
  margin-top: 14px;
}
.contact-form-card .field-label:first-of-type {
  margin-top: 0;
}

/* ── Contact Step CTA Block ── */
.form-cta-block {
  text-align: center;
  margin-bottom: 8px;
}
.form-cta-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--secondary);
  margin-bottom: 6px;
}
.form-cta-block h1 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}
.form-cta-block .subtitle strong {
  color: var(--text);
}

/* ── Urgency Badge ── */
.urgency-badge {
  background: rgba(255, 45, 85, 0.05);
  border: 1px solid rgba(255, 45, 85, 0.15);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

/* ── Final Step Testimonial ── */
.final-testimonial {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 20px;
  text-align: center;
}
.final-stars {
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.final-testimonial p {
  font-size: 0.82rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 6px;
  font-weight: 500;
}
.final-testimonial span {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── Rotating Loading Reviews ── */
.loading-review-container {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  width: 100%;
  max-width: 320px;
  margin: 20px auto 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
  text-align: center;
  transition: opacity 0.3s ease;
  opacity: 1;
}
.loading-stars {
  color: #ffcc00;
  font-size: 0.95rem;
  margin-bottom: 6px;
  letter-spacing: 2px;
}
.loading-review-text {
  font-size: 0.82rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 6px;
  font-weight: 600;
}
.loading-review-author {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* ── Reviews Step ── */
.review-video-wrap {
  position: relative;
  padding-top: 100%; /* 1:1 square */
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}
.review-featured {
  background: #1c1c1e;
  color: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 12px;
}
.review-stars { font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 8px; }
.review-stars.sm { font-size: 0.75rem; margin-bottom: 6px; }
.review-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}
.review-body {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  margin-bottom: 14px;
}
.review-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.2);
}
.review-avatar.sm {
  width: 34px;
  height: 34px;
  border: 2px solid var(--border);
}
.review-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.review-verified {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
}
.review-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
}
.review-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.review-card .review-name {
  font-size: 0.8rem;
  color: var(--text);
}
.review-card .review-verified {
  font-size: 0.68rem;
  color: #34c759;
}
.review-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.review-card-body {
  font-size: 0.73rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* ── Sticky actions for reviews step ── */
#step7 .actions {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
}

/* ── Initial letter avatars (review step) ── */
.review-initial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-initial-avatar.sm {
  width: 34px;
  height: 34px;
  font-size: 0.85rem;
}
