/* GlowScalp — Mobile-First CSS | Purple Theme #7c3aed */

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

:root {
  --purple: #7c3aed;
  --purple-dark: #5b21b6;
  --purple-light: #ede9fe;
  --purple-mid: #a78bfa;
  --gold: #f59e0b;
  --text: #1a1a2e;
  --muted: #6b7280;
  --white: #ffffff;
  --bg: #fafafa;
  --border: #e5e7eb;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(124,58,237,0.12);
  --shadow-lg: 0 8px 40px rgba(124,58,237,0.2);
}

html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-logo { font-size: 1.25rem; font-weight: 800; color: var(--purple); letter-spacing: -0.5px; }
.header-logo span { color: var(--text); }
.header-trust { font-size: 0.72rem; color: var(--muted); text-align: right; line-height: 1.3; }
.header-trust strong { color: var(--purple); display: block; }
.live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #fef3c7; color: #92400e;
  border-radius: 20px; padding: 3px 10px;
  font-size: 0.7rem; font-weight: 700;
}
.live-badge::before { content: ''; width: 7px; height: 7px; background: #ef4444; border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* HERO */
.hero {
  background: linear-gradient(160deg, #f5f3ff 0%, #ede9fe 60%, var(--white) 100%);
  padding: 32px 16px 40px;
  text-align: center;
}
.as-seen-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
  border-radius: 20px; padding: 5px 14px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.3px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 1.75rem; font-weight: 900; line-height: 1.2;
  color: var(--text); margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.hero h1 em { font-style: normal; color: var(--purple); }
.hero-sub {
  font-size: 1rem; color: var(--muted);
  margin-bottom: 24px; max-width: 340px; margin-left: auto; margin-right: auto;
}
.hero-img-wrap {
  position: relative; display: inline-block;
  margin-bottom: 24px;
}
.hero-img {
  width: 100%; max-width: 320px; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block; margin: 0 auto;
}
.hero-img-badge {
  position: absolute; bottom: -10px; right: -10px;
  background: var(--purple); color: var(--white);
  border-radius: 50%; width: 64px; height: 64px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 800; line-height: 1.2; text-align: center;
  box-shadow: 0 4px 16px rgba(124,58,237,0.35);
}
.price-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 8px; }
.price-current { font-size: 2rem; font-weight: 900; color: var(--purple); }
.price-old { font-size: 1.1rem; color: var(--muted); text-decoration: line-through; }
.price-save { font-size: 0.72rem; background: #dcfce7; color: #166534; border-radius: 6px; padding: 2px 8px; font-weight: 700; }
.free-ship { font-size: 0.78rem; color: #059669; font-weight: 600; margin-bottom: 20px; }
.cta-btn {
  display: block; width: 100%; max-width: 360px; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white); border: none; border-radius: 50px;
  padding: 17px 24px; font-size: 1.05rem; font-weight: 800;
  cursor: pointer; text-decoration: none; text-align: center;
  box-shadow: 0 6px 24px rgba(124,58,237,0.38);
  transition: transform 0.15s, box-shadow 0.15s;
  letter-spacing: 0.2px;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(124,58,237,0.45); }
.cta-btn:active { transform: translateY(0); }
.hero-sub-copy {
  display: flex; justify-content: center; gap: 14px; flex-wrap: wrap;
  font-size: 0.72rem; color: var(--muted);
}
.hero-sub-copy span { display: flex; align-items: center; gap: 4px; }

/* SOCIAL PROOF STRIP */
.proof-strip {
  background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; overflow-x: auto; padding: 16px;
  gap: 0; scrollbar-width: none;
}
.proof-strip::-webkit-scrollbar { display: none; }
.proof-item {
  flex: 1; min-width: 120px; text-align: center;
  padding: 0 12px; border-right: 1px solid var(--border);
}
.proof-item:last-child { border-right: none; }
.proof-num { font-size: 1.25rem; font-weight: 900; color: var(--purple); display: block; }
.proof-label { font-size: 0.68rem; color: var(--muted); font-weight: 500; }

/* SECTION COMMON */
.section { padding: 40px 16px; }
.section-title { font-size: 1.4rem; font-weight: 900; text-align: center; margin-bottom: 8px; letter-spacing: -0.3px; }
.section-sub { font-size: 0.9rem; color: var(--muted); text-align: center; margin-bottom: 28px; }

/* BENEFITS GRID */
.benefits { background: var(--white); }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.benefit-card {
  background: var(--purple-light); border-radius: var(--radius);
  padding: 20px 16px; text-align: center;
}
.benefit-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.benefit-title { font-size: 0.9rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.benefit-desc { font-size: 0.75rem; color: var(--muted); line-height: 1.4; }

/* TIKTOK DARK BAR */
.tiktok-bar {
  background: linear-gradient(135deg, #0f0f1a, #1a0a3b);
  color: var(--white); padding: 32px 16px; text-align: center;
}
.tiktok-bar .tiktok-num { font-size: 2.2rem; font-weight: 900; color: var(--purple-mid); }
.tiktok-bar .tiktok-label { font-size: 0.8rem; color: #a78bfa; margin-bottom: 16px; }
.tiktok-quote {
  font-size: 0.95rem; font-style: italic; color: #e5e7eb;
  max-width: 320px; margin: 0 auto; line-height: 1.6;
}
.tiktok-quote cite { font-style: normal; font-size: 0.75rem; color: var(--purple-mid); display: block; margin-top: 8px; }

/* PRODUCT SHOWCASE */
.showcase { background: var(--white); }
.showcase-inner { display: flex; flex-direction: column; gap: 24px; align-items: center; }
.showcase-img { width: 100%; max-width: 300px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.specs-list { list-style: none; width: 100%; }
.specs-list li {
  display: flex; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.specs-list li:last-child { border-bottom: none; }
.specs-list .spec-key { color: var(--muted); font-weight: 500; }
.specs-list .spec-val { font-weight: 700; color: var(--text); }

/* HOW IT WORKS */
.how { background: var(--purple-light); }
.steps { display: flex; flex-direction: column; gap: 20px; }
.step { display: flex; align-items: flex-start; gap: 14px; }
.step-num {
  flex-shrink: 0; width: 40px; height: 40px;
  background: var(--purple); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1rem;
}
.step-title { font-weight: 800; font-size: 0.95rem; margin-bottom: 3px; }
.step-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }

/* REVIEWS */
.reviews { background: var(--white); }
.reviews-grid { display: flex; flex-direction: column; gap: 14px; }
.review-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
}
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--purple-mid));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.85rem; flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 0.88rem; }
.review-verified { font-size: 0.65rem; color: #059669; font-weight: 600; }
.review-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 8px; }
.review-text { font-size: 0.83rem; color: var(--text); line-height: 1.5; }
.review-tag { display: inline-block; margin-top: 8px; background: var(--purple-light); color: var(--purple-dark); border-radius: 20px; padding: 2px 10px; font-size: 0.65rem; font-weight: 700; }

/* FAQ */
.faq { background: var(--bg); }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.faq-q {
  width: 100%; text-align: left; padding: 15px 16px;
  background: none; border: none; cursor: pointer;
  font-weight: 700; font-size: 0.88rem; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
}
.faq-q .arrow { font-size: 0.75rem; color: var(--purple); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-a {
  display: none; padding: 0 16px 15px;
  font-size: 0.82rem; color: var(--muted); line-height: 1.6;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; padding-top: 12px; }

/* FINAL CTA */
.final-cta {
  background: linear-gradient(160deg, #1a0a3b, #2d1080);
  color: var(--white); padding: 40px 16px; text-align: center;
}
.urgency-bar {
  background: rgba(245,158,11,0.15); border: 1px solid rgba(245,158,11,0.3);
  border-radius: 8px; padding: 8px 14px; margin-bottom: 20px;
  font-size: 0.75rem; color: #fde68a; font-weight: 600;
}
.final-cta h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 8px; line-height: 1.25; }
.final-cta .ship-note { font-size: 0.75rem; color: #c4b5fd; margin-bottom: 24px; }
.cta-btn-light {
  display: block; width: 100%; max-width: 360px; margin: 0 auto 20px;
  background: var(--white); color: var(--purple);
  border: none; border-radius: 50px;
  padding: 17px 24px; font-size: 1.05rem; font-weight: 800;
  cursor: pointer; text-decoration: none; text-align: center;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  transition: transform 0.15s;
}
.cta-btn-light:hover { transform: translateY(-2px); }
.guarantee-badges { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.g-badge { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.65rem; color: #c4b5fd; }
.g-badge span { font-size: 1.4rem; }

/* FOOTER */
.footer {
  background: #0f0f1a; color: #6b7280;
  padding: 24px 16px; text-align: center;
}
.footer-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.footer-links a { color: #9ca3af; text-decoration: none; font-size: 0.75rem; }
.footer-links a:hover { color: var(--white); }
.footer-pay { font-size: 1.2rem; margin-bottom: 12px; letter-spacing: 3px; }
.footer-disclaimer { font-size: 0.65rem; line-height: 1.5; max-width: 480px; margin: 0 auto; color: #4b5563; }
.footer-copy { margin-top: 10px; font-size: 0.65rem; color: #374151; }

/* LOADING STATE */
.cta-btn.loading { opacity: 0.7; pointer-events: none; }

/* DESKTOP */
@media (min-width: 640px) {
  .hero h1 { font-size: 2.2rem; }
  .showcase-inner { flex-direction: row; align-items: flex-start; }
  .showcase-img { max-width: 260px; }
  .reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .steps { flex-direction: row; }
  .step { flex-direction: column; text-align: center; }
  .step-num { margin: 0 auto; }
  .proof-strip { justify-content: center; }
}
