/* ===================================================================
   Mewse Design System — warm cream base, magenta accents
   Colors: organic #ffebcc (cream 60%), #fa00fa (magenta 30%), #ffa3a3 (coral 10%)
   Inspiration: Apple.com + Hims.com
   REAFFIRMED: Jun 23 2026 — all styles match reference screenshots
   =================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Nunito:wght@300;400;600;700;800&display=swap');

/* --- CSS Reset --- */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

/* --- Color Tokens --- */
:root {
  --base:       #2feeea;
  --teal:       #2feeea;
  --highlight:  #fa00fa;
  --highlight2: #ffa3a3;
  --text:       #22262b;
  --organic:    #ffebcc;
  --white:      #ffffff;

  /* Derived glass tokens */
  --glass-bg:    rgba(255,255,255,0.15);
  --glass-border:rgba(255,255,255,0.25);
  --glass-shadow:rgba(0,0,0,0.06);

  /* Panel radius */
  --radius-panel: 25px;
  --radius-btn:   50px;
}

/* --- Base Body --- */
body {
  font-family: 'Nunito', sans-serif;
  background: var(--organic) !important;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- Perlin Noise Canvas (injected by perlin-noise.js) --- */
#perlin-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

/* --- Content Layer (above canvas) --- */
.content { position: relative; z-index: 1; }

/* --- Headings --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* --- Buttons — Apple Glassmorphism --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-btn);
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary:hover {
  background: rgba(255,255,255,0.35);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Play icon inside button */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
}
.btn-icon svg { width: 20px; height: 20px; }

/* Large hero CTA */
.btn-primary.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}
.btn-primary.btn-lg .btn-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
}
.btn-primary.btn-lg .btn-icon svg {
  width: 24px;
  height: 24px;
}

/* Magenta primary variant */
.btn-primary.btn-magenta {
  background: rgba(250,0,250,0.2);
  border-color: rgba(250,0,250,0.4);
  color: var(--text);
}
.btn-primary.btn-magenta:hover {
  background: rgba(250,0,250,0.3);
  border-color: rgba(250,0,250,0.6);
}

/* Mobile btn adjustments */
@media (max-width: 768px) {
  .btn-primary { padding: 12px 24px; font-size: 0.88rem; }
  .btn-primary.btn-lg { padding: 14px 28px; font-size: 0.92rem; }
}
@media (max-width: 480px) {
  .btn-primary { padding: 11px 20px; font-size: 0.85rem; }
}

/* --- Panels / Cards --- */
.panel {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-panel);
  padding: 28px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
@media (max-width: 520px) {
  .panel { padding: 22px 20px; }
}

/* --- Navigation — Two-pill glassmorphism --- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
}

.nav-pills {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-left-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 8px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  text-decoration: none;
  transition: all 0.2s ease;
}
.nav-left-pill:hover {
  background: rgba(255,255,255,0.8);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.nav-logo-dot {
  width: 32px;
  height: 32px;
  background: var(--highlight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(250,0,250,0.35);
  flex-shrink: 0;
}
.nav-logo-dot svg { width: 28px; height: 28px; }

.nav-logo-text {
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--base) 0%, var(--highlight) 50%, var(--highlight2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-right-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  text-decoration: none;
  transition: all 0.2s ease;
}
.nav-right-pill:hover {
  background: rgba(255,255,255,0.8);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.nav-profile-circle {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--base), var(--highlight));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Profile dropdown */
.nav-profile-btn {
  position: relative;
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-profile-btn:hover {
  background: rgba(255,255,255,0.8);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.nav-profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  min-width: 160px;
  display: none;
  flex-direction: column;
  z-index: 200;
  overflow: hidden;
}
.nav-profile-dropdown.active { display: flex; }
.nav-dropdown-item {
  padding: 12px 16px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  transition: background 0.15s;
  font-family: 'Nunito', sans-serif;
  display: block;
  width: 100%;
}
.nav-dropdown-item:hover { background: rgba(47,238,234,0.1); }
.nav-dropdown-item:first-child { border-top-left-radius: 11px; border-top-right-radius: 11px; }
.nav-dropdown-item:last-child   { border-bottom-left-radius: 11px; border-bottom-right-radius: 11px; }

.nav-burger { display: none !important; }

@media (max-width: 640px) {
  nav { padding: 10px 12px; }
  .nav-logo-text { font-size: 0.95rem; }
}

/* --- Dashboard nav pills --- */
.dashboard-nav-slug {
  width: 100%;
  padding: 0 32px;
  margin-bottom: 8px;
  margin-top: 80px;
  position: relative;
  z-index: 2;
}
.dashboard-nav-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.dash-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.dash-pill:hover {
  background: rgba(255,255,255,0.85);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.dash-pill.active {
  background: rgba(47,238,234,0.15);
  border-color: rgba(47,238,234,0.3);
}
@media (max-width: 640px) {
  .dashboard-nav-slug { padding: 0 12px; margin-top: 70px; }
  .dash-pill { font-size: 0.8rem; padding: 7px 12px; }
}

/* --- Page Layout --- */
.main {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 24px 60px;
}

/* --- Hero section --- */
.hero {
  padding: 80px 24px 40px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  opacity: 0.8;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* --- Page header --- */
.page-header { margin-bottom: 32px; }
.page-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(47,238,234,0.12);
  border: 1px solid rgba(47,238,234,0.25);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--highlight);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.page-title {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.page-sub {
  font-size: 0.9rem;
  color: rgba(34,38,43,0.5);
  margin-top: 6px;
}

/* --- Cards / panels --- */
.card {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-panel);
  padding: 28px 32px;
  margin-bottom: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@media (max-width: 520px) {
  .card { padding: 22px 20px; }
}

/* --- Form elements --- */
input[type=text],
input[type=email],
input[type=password],
textarea,
select {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s;
  margin-bottom: 14px;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--base);
  box-shadow: 0 0 0 3px rgba(47,238,234,0.12);
}
input::placeholder,
textarea::placeholder {
  color: rgba(34,38,43,0.3);
  font-weight: 400;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(34,38,43,0.7);
  margin-bottom: 6px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* --- Loading states --- */
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(47,238,234,0.2);
  border-top-color: var(--base);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-state { text-align: center; padding: 60px 20px; }

/* --- Misc utilities --- */
.divider {
  margin: 22px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
}
.divider span {
  font-size: 0.78rem;
  color: rgba(34,38,43,0.35);
  white-space: nowrap;
}

.error-msg {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(255,100,100,0.12);
  border: 1px solid rgba(255,100,100,0.25);
  border-radius: 10px;
  font-size: 0.85rem;
  color: #c0392b;
  display: none;
}
.error-msg.show { display: block; }
.success-msg {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(47,238,234,0.1);
  border: 1px solid rgba(47,238,234,0.25);
  border-radius: 10px;
  font-size: 0.85rem;
  color: #0a7a7a;
  display: none;
}
.success-msg.show { display: block; }

/* --- Tag / badge --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(47,238,234,0.1);
  border: 1px solid rgba(47,238,234,0.2);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
}
.tag.highlight {
  background: rgba(250,0,250,0.1);
  border-color: rgba(250,0,250,0.25);
  color: var(--text);
}
.tag.coral {
  background: rgba(255,163,163,0.15);
  border-color: rgba(255,163,163,0.3);
  color: var(--text);
}

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 4px;
  background: rgba(47,238,234,0.08);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 24px;
}
.tab {
  flex: 1;
  padding: 9px 12px;
  border-radius: 9px;
  border: none;
  background: transparent;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(34,38,43,0.5);
  cursor: pointer;
  transition: all 0.2s;
}
.tab.active {
  background: var(--white);
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* --- Select dropdowns --- */
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2322262b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* --- Responsive helpers --- */
@media (max-width: 768px) {
  .main { padding: 16px 16px 60px; }
  .hero { padding: 72px 16px 32px; }
  .hero h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
}

/* ===================================================================
   LANDING PAGE — Generator + Sections
   Added to restore styles removed when inline <style> was deleted
   =================================================================== */

/* --- bg-glow (decorative gradient behind perlin canvas) --- */
.bg-glow {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-glow::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at 20% 20%, rgba(250,0,250,0.04) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 70%, rgba(47,238,234,0.03) 0%, transparent 50%);
  animation: drift 25s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(1.5%, -1.5%); }
}

/* --- Hero --- */
.hero-spiral {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 420px; height: 420px;
  background: radial-gradient(ellipse, rgba(47,238,234,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--highlight);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.gradient {
  background: linear-gradient(135deg, var(--base) 0%, var(--highlight) 50%, var(--highlight2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  opacity: 0.7;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* --- Generator Card --- */
.generator-card {
  position: relative;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 28px;
  padding: 32px 36px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  z-index: 2;
}
.generator-card.pro-mode {
  background: rgba(255,255,255,0.25);
}

/* Loading overlay */
.loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.loading-overlay.visible { opacity: 1; pointer-events: all; }
.loading-text { font-size: 0.9rem; font-weight: 600; color: var(--text); text-align: center; padding: 0 20px; }
.loading-count { font-size: 0.8rem; color: var(--highlight); font-weight: 700; }

/* Trending week banner */
.trending-week-banner {
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 18px;
  padding: 14px 18px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.trending-week-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--highlight);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.trending-week-content { display: flex; align-items: center; gap: 12px; justify-content: space-between; }
.trending-week-text { font-size: 0.92rem; font-weight: 700; color: var(--text); line-height: 1.4; flex: 1; }
.trending-week-meta { display: flex; gap: 6px; margin-top: 6px; }
.trending-week-platform, .trending-week-tone {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  background: rgba(47,238,234,0.15);
  color: var(--text);
}
.trending-week-try {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--highlight);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.trending-week-try:hover { background: #d900d9; }

/* Input group */
.input-group { margin-bottom: 18px; }
.input-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  opacity: 0.7;
}
.topic-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 16px;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  resize: none;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  line-height: 1.5;
}
.topic-input:focus {
  border-color: var(--base);
  box-shadow: 0 0 0 3px rgba(47,238,234,0.12);
}
.topic-input::placeholder { color: rgba(34,38,43,0.3); font-weight: 400; }

/* Platform & Tone pill groups */
.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  background: rgba(255,255,255,0.55);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Nunito', sans-serif;
}
.pill:hover { background: rgba(255,255,255,0.8); transform: translateY(-1px); }
.pill.active {
  background: var(--text);
  color: var(--white);
  border-color: var(--text);
}
.pill.tone-active {
  background: rgba(47,238,234,0.2);
  border-color: rgba(47,238,234,0.4);
  color: var(--text);
}

/* Generate button */
.generate-btn {
  width: 100%;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--highlight) 0%, #d900d9 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  margin-top: 6px;
  box-shadow: 0 4px 20px rgba(250,0,250,0.3);
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.generate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(250,0,250,0.4);
}
.generate-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.trust-signal {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(34,38,43,0.5);
  margin-top: 12px;
  font-weight: 600;
}

/* Upgrade banner */
.upgrade-banner {
  display: none;
  background: rgba(47,238,234,0.15);
  border: 1px solid rgba(47,238,234,0.3);
  border-radius: 14px;
  padding: 12px 16px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0a7a7a;
  margin-top: 14px;
}
.upgrade-banner.visible, .upgrade-banner.show { display: block; }

/* Pro mini indicator — triangle only, auto-hides during generation */
.pro-mini-indicator {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  background: rgba(250,0,250,0.08);
  border: 1px solid rgba(250,0,250,0.18);
  border-radius: 50px;
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
}
.pro-mini-indicator.visible { display: flex; }

/* Claim access panel */
.claim-access-panel {
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 24px 28px;
  text-align: center;
  margin-top: 18px;
}
.claim-access-icon { font-size: 2.5rem; margin-bottom: 10px; }
.claim-access-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.claim-access-desc { font-size: 0.85rem; opacity: 0.7; margin-bottom: 16px; line-height: 1.5; }
.claim-email-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
  margin-bottom: 10px;
}
.claim-email-input:focus { border-color: var(--base); box-shadow: 0 0 0 3px rgba(47,238,234,0.12); }
.claim-btn {
  width: 100%;
  padding: 13px;
  background: var(--highlight);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}
.claim-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.claim-result { margin-top: 12px; font-size: 0.85rem; }

/* --- Results section --- */
.results-section { display: none; margin-top: 28px; }
.results-section.show { display: block; }
.results-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.results-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; }
.results-meta { font-size: 0.8rem; opacity: 0.5; font-weight: 600; }

/* Share all button */
.share-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  transition: all 0.2s;
}
.share-all-btn:hover { background: rgba(255,255,255,0.8); }

/* Streaming hooks container */
#streamingHooksContainer { display: none; }

/* --- Crown / Hook cards --- */
.crown-card {
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 24px;
  padding: 24px 26px;
  margin-bottom: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.crown-card.super-crowned {
  background: rgba(250,0,250,0.1);
  border-color: rgba(250,0,250,0.3);
}
.crown-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.crown-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--highlight);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.crown-score { font-size: 0.75rem; font-weight: 700; opacity: 0.5; }
.crown-hook-layers { margin-bottom: 14px; }
.crown-layer-1 { font-size: 1.05rem; font-weight: 800; color: var(--text); line-height: 1.4; margin-bottom: 4px; }
.crown-layer-2 { font-size: 0.92rem; color: rgba(34,38,43,0.7); line-height: 1.4; margin-bottom: 3px; }
.crown-layer-3 { font-size: 0.85rem; color: rgba(34,38,43,0.5); line-height: 1.4; }
.crown-actions { display: flex; gap: 8px; }
.crown-copy-btn, .crown-script-btn {
  flex: 1;
  padding: 10px;
  border-radius: 14px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.crown-copy-btn {
  background: rgba(255,255,255,0.6);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.3);
}
.crown-copy-btn:hover { background: rgba(255,255,255,0.9); }
.crown-copy-btn.copied { background: rgba(47,238,234,0.2); }
.crown-script-btn {
  background: var(--highlight);
  color: #fff;
}
.crown-script-btn:hover { background: #d900d9; }

/* Why it works */
.why-it-works {
  margin-top: 14px;
  background: rgba(47,238,234,0.08);
  border: 1px solid rgba(47,238,234,0.15);
  border-radius: 14px;
  padding: 14px 16px;
}
.why-label { font-size: 0.72rem; font-weight: 800; color: var(--base); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.why-text { font-size: 0.85rem; color: rgba(34,38,43,0.8); line-height: 1.5; margin-bottom: 10px; }
.why-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.why-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(255,255,255,0.5);
  color: var(--text);
}
.why-tag.angle { background: rgba(47,238,234,0.15); }
.why-tag.trigger { background: rgba(250,0,250,0.1); }

/* Proof preview */
.proof-preview { display: flex; gap: 10px; margin-top: 12px; padding: 12px 14px; background: rgba(255,255,255,0.4); border-radius: 12px; }
.proof-dot { width: 8px; height: 8px; background: var(--base); border-radius: 50%; margin-top: 5px; flex-shrink: 0; }
.proof-content { flex: 1; }
.proof-label { font-size: 0.68rem; font-weight: 700; color: var(--base); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.proof-hook-text { font-size: 0.82rem; font-style: italic; color: rgba(34,38,43,0.8); margin-bottom: 6px; line-height: 1.4; }
.proof-stats { display: flex; gap: 10px; }
.proof-stat { font-size: 0.72rem; font-weight: 700; color: rgba(34,38,43,0.5); }
.proof-stat .val { color: var(--highlight); }

/* Highlighted hooks */
.highlighted-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(34,38,43,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.highlighted-header .line { flex: 1; height: 1px; background: rgba(255,255,255,0.15); }
.highlighted-hooks-grid { display: grid; gap: 14px; }
.highlighted-card {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 20px 22px;
}
.highlighted-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.highlighted-rank-badge { font-size: 0.7rem; font-weight: 800; color: var(--highlight); }
.highlighted-score { font-size: 0.72rem; font-weight: 700; opacity: 0.5; }
.highlighted-layers { margin-bottom: 12px; }
.highlighted-layer-1 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 3px; line-height: 1.4; }
.highlighted-layer-2 { font-size: 0.85rem; color: rgba(34,38,43,0.65); margin-bottom: 2px; line-height: 1.4; }
.highlighted-layer-3 { font-size: 0.8rem; color: rgba(34,38,43,0.45); line-height: 1.4; }
.highlighted-footer { display: flex; gap: 7px; align-items: center; }
.highlighted-copy-btn, .highlighted-script-btn, .highlighted-why-toggle {
  padding: 7px 12px;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.highlighted-copy-btn { background: rgba(255,255,255,0.5); color: var(--text); border: 1px solid rgba(255,255,255,0.3); }
.highlighted-copy-btn:hover { background: rgba(255,255,255,0.8); }
.highlighted-copy-btn.copied { background: rgba(47,238,234,0.2); }
.highlighted-script-btn { background: var(--highlight); color: #fff; }
.highlighted-script-btn:hover { background: #d900d9; }
.highlighted-why-toggle { background: transparent; color: rgba(34,38,43,0.5); text-decoration: underline; font-weight: 600; }
.highlighted-why-body { display: none; margin-top: 12px; padding: 12px; background: rgba(47,238,234,0.06); border-radius: 12px; }
.highlighted-why-body.open { display: block; }
.highlighted-why-text { font-size: 0.82rem; color: rgba(34,38,43,0.75); line-height: 1.5; margin-bottom: 8px; }
.highlighted-why-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* Secondary hooks */
.secondary-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(34,38,43,0.35);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.secondary-section-header .line { flex: 1; height: 1px; background: rgba(255,255,255,0.1); }
.secondary-hooks-grid { display: grid; gap: 10px; }
.secondary-card-compact {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 16px 18px;
}
.secondary-compact-header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.secondary-compact-rank { font-size: 0.68rem; font-weight: 800; color: rgba(34,38,43,0.4); }
.secondary-compact-score { font-size: 0.68rem; font-weight: 700; opacity: 0.4; }
.secondary-compact-layers { margin-bottom: 10px; }
.secondary-compact-l1 { font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 2px; line-height: 1.4; }
.secondary-compact-l2 { font-size: 0.8rem; color: rgba(34,38,43,0.6); line-height: 1.4; }
.secondary-compact-l3 { font-size: 0.75rem; color: rgba(34,38,43,0.4); line-height: 1.4; }
.secondary-compact-footer { display: flex; gap: 6px; align-items: center; }
.secondary-compact-copy, .secondary-compact-why-toggle {
  padding: 6px 10px;
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.secondary-compact-copy { background: rgba(255,255,255,0.5); color: var(--text); border: 1px solid rgba(255,255,255,0.25); }
.secondary-compact-copy:hover { background: rgba(255,255,255,0.8); }
.secondary-compact-copy.copied { background: rgba(47,238,234,0.2); }
.secondary-compact-why-toggle { background: transparent; color: rgba(34,38,43,0.4); text-decoration: underline; font-weight: 600; }
.secondary-compact-why-body { display: none; margin-top: 10px; padding: 10px; background: rgba(47,238,234,0.05); border-radius: 10px; }
.secondary-compact-why-body.open { display: block; }
.secondary-compact-why-text { font-size: 0.8rem; color: rgba(34,38,43,0.7); line-height: 1.5; }

/* Streaming card */
.streaming-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 12px;
  opacity: 0.7;
}
.stream-card-header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.stream-rank-badge { font-size: 0.68rem; font-weight: 800; color: var(--highlight); }
.stream-score { font-size: 0.68rem; font-weight: 700; opacity: 0.4; }
.stream-layers { margin-bottom: 10px; }
.stream-layer { font-size: 0.88rem; color: rgba(34,38,43,0.6); margin-bottom: 2px; line-height: 1.4; }
.stream-footer { display: flex; gap: 6px; }
.stream-copy-btn {
  padding: 6px 10px;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
  font-family: 'Nunito', sans-serif;
  cursor: pointer;
}
.stream-copy-btn.copied { background: rgba(47,238,234,0.2); }

/* Free upgrade banner */
#freeUpgradeBanner { display: none; }
#freeUpgradeBanner.visible { display: block; }
.upgrade-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; }
.upgrade-banner-text { font-size: 0.88rem; color: var(--text); line-height: 1.4; }
.upgrade-banner-text strong { color: var(--highlight); }
.upgrade-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--highlight);
  color: #fff;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.upgrade-banner-cta:hover { background: #d900d9; }

/* --- Viral data section --- */
#viral-data { padding: 20px 24px 40px; max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(255,255,255,0.3);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.section-label.cyan { background: rgba(47,238,234,0.15); border-color: rgba(47,238,234,0.25); color: #0a7a7a; }
.section-label.coral { background: rgba(255,163,163,0.15); border-color: rgba(255,163,163,0.25); color: #8b3a3a; }
.section-label.organic { background: rgba(255,235,204,0.4); border-color: rgba(255,235,204,0.5); }
#viral-data h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700; margin-bottom: 10px; line-height: 1.15; }
.viral-data-sub { font-size: 0.95rem; opacity: 0.65; margin-bottom: 24px; line-height: 1.6; }
.viral-data-stats { display: flex; gap: 12px; margin-bottom: 20px; }
.viral-stat-card {
  flex: 1;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.viral-primary { background: rgba(250,0,250,0.08); border-color: rgba(250,0,250,0.2); }
.viral-num { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.viral-stat-label { font-size: 0.78rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.viral-stat-desc { font-size: 0.72rem; color: rgba(34,38,43,0.55); line-height: 1.4; }
.niche-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.niche-tag {
  padding: 5px 12px;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
}
.viral-benefits { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.viral-benefit { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; }
.viral-benefit-icon { width: 22px; height: 22px; background: var(--base); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 800; flex-shrink: 0; }
.section-cta-wrap { margin-top: 16px; }
.section-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--highlight) 0%, #d900d9 100%);
  color: #fff;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(250,0,250,0.25);
  transition: all 0.25s;
}
.section-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(250,0,250,0.35); }

/* --- Modals --- */
.paywall-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.paywall-overlay.show { display: flex; }
.paywall-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 36px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.paywall-emoji { font-size: 2.5rem; margin-bottom: 12px; }
.paywall-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.paywall-desc { font-size: 0.88rem; opacity: 0.65; margin-bottom: 20px; line-height: 1.5; }
.paywall-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--highlight) 0%, #d900d9 100%);
  color: #fff;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(250,0,250,0.3);
}
.paywall-price { font-size: 0.8rem; color: rgba(34,38,43,0.45); margin: 8px 0; }
.paywall-dismiss { background: none; border: none; font-size: 0.82rem; color: rgba(34,38,43,0.4); cursor: pointer; margin-top: 12px; font-family: 'Nunito', sans-serif; }

/* Pro paywall */
.pro-paywall-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(6px); z-index: 210; align-items: center; justify-content: center; padding: 20px; }
.pro-paywall-overlay.show { display: flex; }
.pro-paywall-card { position: relative; background: rgba(255,255,255,0.95); backdrop-filter: blur(24px); border-radius: 32px; padding: 40px 36px; max-width: 500px; width: 100%; text-align: center; overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.18); }
.pro-paywall-glow { position: absolute; top: -60px; left: 50%; transform: translateX(-50%); width: 300px; height: 300px; background: radial-gradient(ellipse, rgba(47,238,234,0.2) 0%, transparent 70%); pointer-events: none; }
.pro-paywall-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 1.4rem; color: rgba(34,38,43,0.3); cursor: pointer; }
.pro-paywall-icon { font-size: 2rem; margin-bottom: 12px; }
.pro-paywall-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.pro-paywall-desc { font-size: 0.85rem; opacity: 0.6; margin-bottom: 22px; line-height: 1.5; }
.pro-paywall-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--highlight) 0%, #d900d9 100%);
  color: #fff;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(250,0,250,0.3);
}
.pro-paywall-secondary { font-size: 0.8rem; color: rgba(34,38,43,0.4); margin-top: 12px; }

/* Micro paywall */
.micro-paywall-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); z-index: 215; align-items: center; justify-content: center; padding: 20px; }
.micro-paywall-overlay.show { display: flex; }
.micro-paywall-card { background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); border-radius: 24px; padding: 32px 28px; max-width: 460px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.micro-paywall-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 1.3rem; color: rgba(34,38,43,0.3); cursor: pointer; }
.micro-paywall-icon { font-size: 2rem; margin-bottom: 10px; }
.micro-paywall-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.micro-paywall-desc { font-size: 0.85rem; opacity: 0.6; margin-bottom: 18px; line-height: 1.5; }
.micro-paywall-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 24px;
  background: linear-gradient(135deg, var(--highlight) 0%, #d900d9 100%);
  color: #fff;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(250,0,250,0.3);
}
.micro-paywall-price { font-size: 0.78rem; color: rgba(34,38,43,0.4); text-align: center; margin: 10px 0; }
.micro-paywall-divider { font-size: 0.75rem; color: rgba(34,38,43,0.3); text-align: center; margin: 8px 0; }
.micro-paywall-secondary { display: block; font-size: 0.8rem; color: var(--base); text-decoration: underline; text-align: center; }
.micro-paywall-dismiss { display: block; margin: 14px auto 0; background: none; border: none; font-size: 0.8rem; color: rgba(34,38,43,0.35); cursor: pointer; }

/* Upgrade prompt modal */
.upgrade-prompt-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); z-index: 220; align-items: center; justify-content: center; padding: 20px; }
.upgrade-prompt-overlay.show { display: flex; }
.upgrade-prompt-card { background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); border-radius: 24px; padding: 32px 28px; max-width: 460px; width: 100%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.upgrade-prompt-emoji { font-size: 2rem; margin-bottom: 10px; }
.upgrade-prompt-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.upgrade-prompt-desc { font-size: 0.85rem; opacity: 0.6; margin-bottom: 18px; line-height: 1.5; }
.upgrade-prompt-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: linear-gradient(135deg, var(--highlight) 0%, #d900d9 100%);
  color: #fff;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}
.upgrade-prompt-dismiss { background: none; border: none; font-size: 0.8rem; color: rgba(34,38,43,0.35); cursor: pointer; margin-top: 12px; }

/* Signup nudge bar */
.signup-nudge-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,0.4); z-index: 85; padding: 12px 20px; }
.signup-nudge-bar.show { display: block; }
.signup-nudge-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 700px; margin: 0 auto; }
.signup-nudge-text { font-size: 0.85rem; color: var(--text); line-height: 1.4; flex: 1; }
.signup-nudge-cta { display: inline-flex; align-items: center; padding: 8px 16px; background: var(--highlight); color: #fff; border-radius: 50px; font-size: 0.82rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.signup-nudge-dismiss { background: none; border: none; font-size: 1rem; color: rgba(34,38,43,0.3); cursor: pointer; }

/* Caption modal */
.caption-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); backdrop-filter: blur(4px); z-index: 230; align-items: center; justify-content: center; padding: 20px; }
.caption-overlay.show { display: flex; }
.caption-card { position: relative; background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); border-radius: 24px; padding: 32px 28px; max-width: 560px; width: 100%; max-height: 80vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.caption-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 1.3rem; color: rgba(34,38,43,0.3); cursor: pointer; }
.caption-modal-label { font-size: 0.72rem; font-weight: 800; color: var(--base); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.caption-modal-heading { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; }
.caption-spinner-wrap { display: flex; justify-content: center; padding: 20px; }
.caption-spinner { width: 32px; height: 32px; border: 3px solid rgba(47,238,234,0.2); border-top-color: var(--base); border-radius: 50%; animation: spin 0.7s linear infinite; }

/* Script modal */
.script-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 240; align-items: center; justify-content: center; padding: 20px; }
.script-modal-overlay.show { display: flex; }
.script-modal { background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); border-radius: 24px; padding: 28px; max-width: 580px; width: 100%; max-height: 80vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.script-modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.script-modal-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; }
.script-modal-close { background: none; border: none; font-size: 1.3rem; color: rgba(34,38,43,0.3); cursor: pointer; }

/* Share all modal */
.share-all-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); backdrop-filter: blur(4px); z-index: 250; align-items: center; justify-content: center; padding: 20px; }
.share-all-overlay.show { display: flex; }
.share-all-card { background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); border-radius: 24px; padding: 28px; max-width: 500px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.share-all-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.share-link-box { display: flex; align-items: center; gap: 8px; background: rgba(47,238,234,0.08); border: 1px solid rgba(47,238,234,0.2); border-radius: 12px; padding: 10px 12px; margin: 12px 0; }
.share-link-url { font-size: 0.82rem; font-weight: 600; color: var(--text); flex: 1; word-break: break-all; }
.share-link-copy-btn { padding: 6px 12px; background: var(--base); color: var(--text); border: none; border-radius: 8px; font-size: 0.78rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.share-all-platforms { display: flex; gap: 8px; margin-top: 16px; }
.share-platform-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s;
}
.share-platform-btn:hover { opacity: 0.85; }
.spb-twitter { background: #000; }
.spb-whatsapp { background: #25D366; }
.spb-telegram { background: #0088cc; }
.share-all-close { display: block; margin: 16px auto 0; background: none; border: none; font-size: 0.8rem; color: rgba(34,38,43,0.35); cursor: pointer; }

/* --- Stats bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px 24px;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.stat { display: flex; align-items: flex-start; gap: 14px; }
.stat-circle {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-num { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--text); line-height: 1; }
.stat-label { font-size: 0.62rem; font-weight: 800; color: rgba(34,38,43,0.5); text-transform: uppercase; letter-spacing: 0.04em; }
.stat-desc { flex: 1; padding-top: 2px; }
.stat-desc-title { font-size: 0.78rem; font-weight: 800; color: var(--text); margin-bottom: 3px; line-height: 1.3; }
.stat-desc-text { font-size: 0.72rem; color: rgba(34,38,43,0.5); line-height: 1.4; }
@media (max-width: 580px) {
  .stats-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .stats-bar { grid-template-columns: 1fr; }
}

/* --- Retention section --- */
#retention { padding: 20px 24px 40px; max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
#retention h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700; margin-bottom: 10px; line-height: 1.15; }
.section-desc { font-size: 0.95rem; opacity: 0.65; margin-bottom: 28px; line-height: 1.6; }
.retention-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.retention-panel {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 22px;
  padding: 22px;
  text-align: center;
}
.retention-without { background: rgba(255,100,100,0.07); border-color: rgba(255,100,100,0.2); }
.retention-with { background: rgba(47,238,234,0.08); border-color: rgba(47,238,234,0.2); }
.retention-badge { display: inline-block; padding: 5px 12px; border-radius: 50px; font-size: 0.72rem; font-weight: 800; margin-bottom: 14px; }
.retention-badge-good { background: rgba(47,238,234,0.15); color: #0a7a7a; }
.retention-badge-bad { background: rgba(255,100,100,0.12); color: #8b3a3a; }
.retention-image { width: 100%; border-radius: 12px; margin-bottom: 14px; }
.retention-stat-bad, .retention-stat-good { margin-bottom: 10px; }
.retention-stat-label { font-size: 0.68rem; font-weight: 700; color: rgba(34,38,43,0.4); text-transform: uppercase; letter-spacing: 0.04em; }
.retention-stat-num { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--text); }
.retention-tagline { font-size: 0.8rem; font-weight: 800; margin-top: 14px; padding: 6px 12px; border-radius: 50px; display: inline-block; }
.retention-tagline-bad { background: rgba(255,100,100,0.12); color: #8b3a3a; }
.retention-tagline-good { background: rgba(47,238,234,0.12); color: #0a7a7a; }
.retention-sub { font-size: 0.82rem; opacity: 0.45; text-align: center; margin-top: 14px; }
@media (max-width: 500px) {
  .retention-compare { grid-template-columns: 1fr; }
}

/* --- How it works --- */
#how { padding: 20px 24px 40px; max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
#how h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700; margin-bottom: 10px; line-height: 1.15; }
.steps { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.step { position: relative; }
.step-image { width: 100%; border-radius: 20px; margin-bottom: 12px; }
.step-glass-overlay {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.step-glass-overlay h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.step-glass-overlay p { font-size: 0.85rem; color: rgba(34,38,43,0.65); line-height: 1.5; }
.step-cta-btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.step-cta-solid { background: var(--highlight); color: #fff; }
.step-cta-glass { background: rgba(255,255,255,0.4); color: var(--text); border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(6px); }
.step-cta-btn:hover { transform: translateY(-1px); }
.magenta-dot { color: var(--highlight); }

/* --- Features --- */
#features { padding: 20px 24px 40px; max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
#features h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700; margin-bottom: 10px; line-height: 1.15; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.feature {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 22px;
}
.feature-icon { font-size: 1.8rem; margin-bottom: 10px; }
.feature h3 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.feature p { font-size: 0.82rem; color: rgba(34,38,43,0.6); line-height: 1.5; }
@media (max-width: 500px) {
  .features { grid-template-columns: 1fr; }
}

/* --- Expand grid --- */
.expand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.expand-item {
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
}
.expand-item .icon { font-size: 1.5rem; margin-bottom: 8px; }
.expand-item h4 { font-family: 'Playfair Display', serif; font-size: 0.88rem; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.expand-item p { font-size: 0.75rem; color: rgba(34,38,43,0.55); line-height: 1.4; }
@media (max-width: 500px) {
  .expand-grid { grid-template-columns: 1fr 1fr; }
}

/* --- VS section --- */
#vs { padding: 20px 24px 40px; max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
#vs h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700; margin-bottom: 10px; line-height: 1.15; }
.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.vs-card {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 22px;
}
.vs-generic { background: rgba(200,200,200,0.12); border-color: rgba(200,200,200,0.2); }
.vs-mewse { background: rgba(47,238,234,0.07); border-color: rgba(47,238,234,0.2); }
.vs-card-header { margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.vs-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 5px;
}
.vs-badge-generic { background: rgba(150,150,150,0.2); color: rgba(34,38,43,0.6); }
.vs-badge-mewse { background: rgba(47,238,234,0.15); color: #0a7a7a; }
.vs-subtitle { font-size: 0.72rem; color: rgba(34,38,43,0.4); font-weight: 600; }
.vs-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.vs-list li { display: flex; align-items: flex-start; gap: 10px; }
.vs-icon { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.vs-yes .vs-icon { background: var(--base); color: #fff; }
.vs-no .vs-icon { background: rgba(255,100,100,0.2); color: #8b3a3a; }
.vs-list li div { flex: 1; }
.vs-list li strong { display: block; font-size: 0.82rem; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.vs-list li span { font-size: 0.72rem; color: rgba(34,38,43,0.5); line-height: 1.4; }
@media (max-width: 500px) {
  .vs-grid { grid-template-columns: 1fr; }
}

/* --- Pricing section --- */
#pricing { padding: 20px 24px 40px; max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
#pricing h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 5vw, 2.8rem); font-weight: 700; margin-bottom: 10px; line-height: 1.15; }
.trusted-line { text-align: center; font-size: 0.78rem; font-weight: 600; color: rgba(34,38,43,0.4); margin-bottom: 18px; }
.pricing-toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 24px; }
.pricing-toggle-label { font-size: 0.82rem; font-weight: 700; color: rgba(34,38,43,0.4); }
.pricing-toggle-label.active { color: var(--text); }
.pricing-switch { position: relative; cursor: pointer; }
.pricing-switch input { display: none; }
.pricing-switch-track { display: block; width: 44px; height: 24px; background: rgba(34,38,43,0.15); border-radius: 12px; position: relative; transition: background 0.2s; }
.pricing-switch input:checked + .pricing-switch-track { background: var(--base); }
.pricing-switch-thumb { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform 0.2s; box-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.pricing-switch input:checked ~ .pricing-switch-thumb { transform: translateX(20px); }
.save-badge { display: inline-block; padding: 2px 7px; background: rgba(47,238,234,0.15); border: 1px solid rgba(47,238,234,0.25); border-radius: 50px; font-size: 0.65rem; font-weight: 800; color: #0a7a7a; }
.pricing-grid { display: grid; gap: 16px; }
.price-card {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 24px;
  padding: 28px;
}
.price-card.featured {
  background: rgba(255,255,255,0.25);
  border-color: rgba(47,238,234,0.3);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.tier-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.price-amount { font-family: 'Playfair Display', serif; font-size: 2.4rem; font-weight: 700; color: var(--text); margin-bottom: 18px; }
.price-original { text-decoration: line-through; font-size: 1.2rem; color: rgba(34,38,43,0.3); margin-right: 6px; }
.identity-stats { display: flex; flex-direction: column; gap: 10px; }
.identity-stat {}
.identity-stat-body {}
.identity-stat-headline { font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.identity-stat-desc { font-size: 0.75rem; color: rgba(34,38,43,0.5); line-height: 1.4; }
.feature-unlimited { display: inline-block; padding: 1px 6px; background: rgba(47,238,234,0.1); border: 1px solid rgba(47,238,234,0.2); border-radius: 50px; font-size: 0.62rem; font-weight: 800; color: #0a7a7a; margin-left: 5px; }
.bonus-section {}
.bonus-badge { display: inline-block; padding: 3px 10px; background: rgba(250,0,250,0.1); border: 1px solid rgba(250,0,250,0.2); border-radius: 50px; font-size: 0.68rem; font-weight: 800; color: var(--highlight); }
.price-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.25s;
  margin-top: 18px;
}
.price-cta.primary {
  background: linear-gradient(135deg, var(--highlight) 0%, #d900d9 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(250,0,250,0.3);
  width: 100%;
  justify-content: center;
}
.price-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(250,0,250,0.4); }
.guarantee-block { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 14px 16px; background: rgba(47,238,234,0.06); border: 1px solid rgba(47,238,234,0.12); border-radius: 14px; }
.guarantee-icon { font-size: 1.4rem; flex-shrink: 0; }
.guarantee-text {}
.guarantee-title { font-size: 0.82rem; font-weight: 800; color: var(--text); margin-bottom: 2px; }
.guarantee-desc { font-size: 0.72rem; color: rgba(34,38,43,0.55); line-height: 1.4; }
.manage-sub { font-size: 0.78rem; color: rgba(34,38,43,0.4); text-align: center; margin-top: 14px; }

/* --- Testimonials --- */
.testimonials-section { padding: 20px 24px 40px; max-width: 680px; margin: 0 auto; position: relative; z-index: 2; }
.testimonials-inner { text-align: center; }
.testimonials-label { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(34,38,43,0.4); margin-bottom: 8px; }
.testimonials-heading { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: 24px; }
.testimonial-card {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 22px;
  padding: 28px;
  max-width: 560px;
  margin: 0 auto;
}
.testimonial-stars { font-size: 1.1rem; color: #f59e0b; margin-bottom: 14px; }
.testimonial-quote { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-style: italic; color: var(--text); line-height: 1.6; margin-bottom: 16px; }
.testimonial-meta { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.82rem; font-weight: 700; color: var(--text); }
.testimonial-divider { color: rgba(34,38,43,0.2); }
.testimonial-handle { font-weight: 600; opacity: 0.5; }

/* --- Closing CTA --- */
.closing { text-align: center; padding: 40px 24px 60px; max-width: 600px; margin: 0 auto; position: relative; z-index: 2; }
.closing h2 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 700; line-height: 1.15; margin-bottom: 14px; }
.closing p { font-size: 0.95rem; opacity: 0.6; line-height: 1.6; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--highlight) 0%, #d900d9 100%);
  color: #fff;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(250,0,250,0.3);
  transition: all 0.25s;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 32px rgba(250,0,250,0.4); }

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(34,38,43,0.9);
  color: #fff;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 500;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --- Footer --- */
footer {
  position: relative;
  z-index: 2;
  padding: 20px 24px;
  text-align: center;
}
.footer-inner {}
.footer-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; margin-bottom: 10px; }
.footer-links a { font-size: 0.78rem; font-weight: 600; color: rgba(34,38,43,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }
.footer-sep { color: rgba(34,38,43,0.2); }
.footer-copy { font-size: 0.72rem; color: rgba(34,38,43,0.3); }

/* --- btn-play-icon (global) --- */
.btn-play-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--highlight) 0%, #d900d9 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(250,0,250,0.25);
  transition: all 0.25s;
  overflow: hidden;
}
.btn-play-icon:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(250,0,250,0.35); }
.btn-play-icon > .btn-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
}
.btn-play-icon > .btn-icon svg { width: 22px; height: 22px; }
.btn-play-icon.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-play-icon.btn-lg > .btn-icon { width: 40px; height: 40px; min-width: 40px; }
.btn-play-icon.btn-lg > .btn-icon svg { width: 26px; height: 26px; }
.btn-play-icon--circle { padding: 13px; min-width: 60px; justify-content: center; }
.btn-play-icon--circle .btn-icon { min-width: 34px; width: 34px; height: 34px; }
@media (max-width: 768px) {
  .btn-play-icon { padding: 11px 22px; font-size: 0.88rem; }
  .btn-play-icon.btn-lg { padding: 13px 26px; }
}
@media (max-width: 480px) {
  .btn-play-icon { padding: 10px 18px; font-size: 0.85rem; }
}

/* --- Score classes --- */
.score-fire { color: var(--highlight); }
.score-high { color: #0a7a7a; }
.score-mid { color: var(--text); opacity: 0.7; }
.score-low { color: var(--text); opacity: 0.4; }
.val { color: var(--highlight); }

/* --- Modal spinner (shared) --- */
.modal-spinner { width: 36px; height: 36px; border: 3px solid rgba(47,238,234,0.2); border-top-color: var(--base); border-radius: 50%; animation: spin 0.7s linear infinite; margin: 20px auto; }

/* ── Fixed chat overlay layer ─────────────────────── */
#chat-overlay {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding: 0 32px 16px 32px;
  pointer-events: none;
}
#chat-overlay > * { pointer-events: all; }

/* ── Hook of the Day pill ── */
#hotd-pill {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  padding: 12px 18px;
  max-width: 380px;
  width: 100%;
  display: block;
}
#hotd-pill.visible { display: block; }
#hotd-pill.hidden { display: none; }
.hotd-label {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--highlight);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.hotd-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
  cursor: pointer;
}
.hotd-text.expanded { font-size: 0.82rem; }
.hotd-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hotd-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(250,0,250,0.15);
  color: var(--text);
}
#hotdTryBtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--highlight);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
#hotdTryBtn:hover { background: #d900d9; }

/* ── Hook output zone ── */
#hook-output-zone {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 380px;
  max-width: 100%;
}
.hook-card {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 25px;
  padding: 16px 20px;
  opacity: 0;
  filter: blur(4px);
  animation: hook-reveal 0.4s ease forwards;
}
.hook-card:nth-child(1) { animation-delay: 0ms; }
.hook-card:nth-child(2) { animation-delay: 300ms; }
.hook-card:nth-child(3) { animation-delay: 600ms; }
@keyframes hook-reveal {
  to { opacity: 1; filter: blur(0); }
}
.hook-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.hook-card-text { font-size: 0.9rem; font-weight: 600; color: var(--text); line-height: 1.4; }
.hook-type-badge {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 50px;
  background: rgba(250,0,250,0.15);
  color: var(--highlight);
  letter-spacing: 0.05em;
}

/* ── Chat pill ── */
#chat-pill {
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  padding: 8px 10px 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 380px;
  max-width: calc(100vw - 40px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
#chatInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(0,0,0,0.6);
  resize: none;
  max-height: 80px;
  height: 44px;
  line-height: 44px;
  padding: 0 8px;
  -webkit-appearance: none;
  appearance: none;
  overflow: hidden;
}
#chatInput::placeholder { color: rgba(34,38,43,0.4); font-weight: 400; font-size: 16px; line-height: 44px; }
#chatSendBtn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--highlight);
  border: none;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
#chatSendBtn:hover { background: #d900d9; }
#chatSendBtn:disabled { opacity: 0.5; cursor: not-allowed; }
#chatLoader {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}
#chatLoader .spinner { margin: 0; }

/* ── Mobile: stack vertically, full-width, pinned to bottom ── */
@media (max-width: 480px) {
  #chat-overlay {
    align-items: center;
    padding: 0 16px 16px 16px;
    bottom: 0;
    right: 0;
    left: 0;
    flex-direction: column-reverse;
    gap: 8px;
  }
  #hotd-pill, #hook-output-zone { width: 100%; max-width: 100%; border-radius: 20px; }
  #chat-pill { width: calc(100% - 32px); margin: 0; }
  #hook-output-zone { padding: 0 16px; }
  /* Full-width overlay containers must not swallow taps on mobile */
  #hotd-pill,
  #hook-output-zone { pointer-events: none; }
  /* Re-enable only on actual interactive content inside those containers */
  #hotd-pill *,
  .hook-card { pointer-events: auto; }
}

/* ── Responsive landing page --- */
@media (max-width: 480px) {
  .generator-card { padding: 22px 18px; }
  .stats-bar { padding: 20px 16px; }
  .hero-badge { font-size: 0.72rem; padding: 5px 12px; }
  .viral-data-stats { flex-direction: column; }
}

/* ── FAQ accordion ─────────────────────────────────── */
#faq {
  padding: 20px 24px 40px;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.faq-item {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-panel);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  padding: 18px 22px;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
  color: var(--text);
  user-select: none;
}
.faq-question:hover { background: rgba(255,255,255,0.08); }
.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--highlight);
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px 18px;
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.65;
  color: var(--text);
  display: none;
}
.faq-item.open .faq-answer { display: block; }

/* ── Social proof section ── */
#social-proof {
  padding: 20px 24px 40px;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.social-proof-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.sp-stat {
  flex: 1;
  min-width: 130px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 18px;
  padding: 18px 16px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.sp-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.sp-label { font-size: 0.75rem; font-weight: 700; color: rgba(34,38,43,0.55); }