/* ── 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;
}

/* 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;
}

/* 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;
}

/* ── 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 ── */
.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;
}
.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);
}
.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;
}

/* ── 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;
}
