/* =============================================
   CURLY GIRL WAVY GIRL UK — Playful Rose Theme
   ============================================= */

/* Skip to main content link */
.skip-to-main {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: var(--rose-500);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0 0 0.5rem 0.5rem;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-to-main:focus {
  top: 0;
}

:root {
  --bg: #FFF9F5;
  --white: #ffffff;
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-300: #fda4af;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --rose-800: #9f1239;
  --rose-900: #881337;
  --rose-950: #4c0519;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-300: #fdba74;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-500: #0ea5e9;
  --sky-800: #075985;
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-500: #10b981;
  --emerald-800: #065f46;
  --emerald-900: #064e3b;
  --text: #1e293b;
  --text-muted: rgba(76, 5, 25, 0.5);
  --text-light: rgba(76, 5, 25, 0.35);
  --warning: #d97706;
  --warning-bg: rgba(251, 146, 60, 0.08);
  --warning-border: rgba(251, 146, 60, 0.2);
  --success: #065f46;
  --success-bg: rgba(16, 185, 129, 0.06);
  --success-border: rgba(16, 185, 129, 0.15);
  --danger: #e11d48;
  --danger-bg: rgba(244, 63, 94, 0.06);
  --danger-border: rgba(244, 63, 94, 0.15);
  --radius-sm: 1rem;
  --radius-md: 1.5rem;
  --radius-lg: 2rem;
  --radius-xl: 2.5rem;
  --radius-2xl: 3rem;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(76, 5, 25, 0.04);
  --shadow-md: 0 4px 16px rgba(244, 63, 94, 0.08);
  --shadow-lg: 0 8px 32px rgba(244, 63, 94, 0.12);
  --shadow-xl: 0 12px 48px rgba(244, 63, 94, 0.15);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

::selection {
  background: var(--rose-200);
  color: var(--rose-900);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--rose-500);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--rose-600);
}

img { max-width: 100%; }

/* ===== NAVIGATION ===== */

.nav {
  position: sticky;
  top: 1rem;
  z-index: 100;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-inner {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 228, 230, 0.5);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  color: var(--rose-950);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.nav-logo-icon {
  background: linear-gradient(135deg, var(--rose-400), var(--orange-300));
  padding: 0.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(3deg);
  transition: transform 0.3s;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.25);
  color: white;
  font-size: 1.2rem;
}

.nav-logo:hover .nav-logo-icon {
  transform: rotate(12deg);
}

.nav-links {
  display: flex;
  gap: 0.35rem;
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  transition: all 0.4s;
}

.nav-links a:hover {
  background: var(--rose-100);
  color: var(--rose-900);
}

.nav-links a.active {
  background: var(--rose-500);
  color: white;
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.3);
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  background: var(--rose-50);
  border: none;
  color: var(--rose-900);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.75rem;
  line-height: 1;
}

/* ===== LAYOUT ===== */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3rem 0;
}

/* ===== HERO ===== */

.hero {
  text-align: center;
  padding: 4rem 0 2rem;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: -5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 20rem;
  height: 20rem;
  background: rgba(254, 205, 211, 0.4);
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(1.1); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--rose-50);
  color: var(--rose-500);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid var(--rose-100);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 900;
  color: var(--rose-950);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--rose-500), var(--orange-400), var(--rose-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ===== BUTTONS ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 900;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  border-radius: var(--radius-lg);
}

.btn-primary {
  background: var(--rose-500);
  color: white;
  padding: 1rem 2rem;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(244, 63, 94, 0.3);
}

.btn-primary:hover {
  background: var(--rose-600);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(244, 63, 94, 0.35);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-primary:disabled {
  background: var(--rose-200);
  color: white;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-secondary {
  background: var(--white);
  color: var(--rose-600);
  border: 2px solid var(--rose-100);
  padding: 0.9rem 2rem;
  font-size: 1rem;
}

.btn-secondary:hover {
  background: var(--rose-50);
  border-color: var(--rose-200);
  color: var(--rose-600);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
}

/* ===== CARDS ===== */

.card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--rose-50);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.card-sm {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
}

/* ===== HIGHLIGHT CARDS (home page features) ===== */

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.highlight-card {
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  border: 1px solid white;
  transition: all 0.5s;
  box-shadow: var(--shadow-sm);
}

.highlight-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
}

.highlight-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: white;
  box-shadow: 0 4px 16px rgba(76, 5, 25, 0.05);
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.highlight-card:hover .highlight-card-icon {
  transform: rotate(6deg);
}

.highlight-card h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--rose-950);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.highlight-card p {
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.6;
}

.bg-sky { background: var(--sky-50); }
.bg-orange { background: var(--orange-50); }
.bg-rose { background: var(--rose-50); }
.bg-emerald { background: var(--emerald-50); }

/* ===== STEP CARDS (routine page) ===== */

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  border: 1px solid var(--rose-100);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.step-card:hover {
  box-shadow: var(--shadow-xl);
}

.step-card-num {
  position: absolute;
  top: -1.5rem;
  right: -1rem;
  font-size: 8rem;
  font-weight: 900;
  color: var(--rose-50);
  line-height: 1;
  user-select: none;
  z-index: 0;
  transition: color 0.3s;
}

.step-card:hover .step-card-num {
  color: var(--rose-100);
}

.step-card-content {
  position: relative;
  z-index: 1;
}

.step-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: var(--rose-50);
  color: var(--rose-500);
  font-size: 1.5rem;
  box-shadow: inset 0 2px 4px rgba(244, 63, 94, 0.1);
}

.step-card h4 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--rose-950);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.step-card p {
  color: var(--text-muted);
  font-weight: 500;
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rose-500);
  background: var(--rose-50);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rose-100);
}

.step-card-cta {
  background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.step-card-cta .cta-icon {
  background: rgba(255, 255, 255, 0.2);
  padding: 1rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  animation: pulse 3s ease-in-out infinite;
}

.step-card-cta h4 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.step-card-cta p {
  color: var(--rose-100);
  font-size: 0.85rem;
  font-style: italic;
}

/* ===== SECTION HEADERS ===== */

h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--rose-950);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--rose-950);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
  max-width: 550px;
  margin: 0 auto;
}

/* ===== TEXT UTILITIES ===== */

.text-muted {
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.7;
}

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }

/* ===== CHECKER / ANALYZER ===== */

.checker-wrap {
  max-width: 750px;
  margin: 0 auto;
}

.checker-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  background: var(--rose-50);
  padding: 0.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--rose-100);
}

.checker-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}

.checker-tab:hover {
  color: var(--rose-900);
}

.checker-tab.active {
  background: var(--rose-500);
  color: white;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.25);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.checker-textarea {
  width: 100%;
  min-height: 200px;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 241, 242, 0.3);
  border: 2px solid var(--rose-100);
  font-family: var(--font);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  resize: vertical;
  transition: border-color 0.3s;
  line-height: 1.7;
}

.checker-textarea:focus {
  outline: none;
  border-color: var(--rose-400);
}

.checker-textarea::placeholder {
  color: var(--text-light);
}

.checker-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.try-example-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== SEARCH ===== */

.search-box {
  margin-bottom: 1rem;
}

.search-input {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: rgba(255, 241, 242, 0.3);
  border: 2px solid var(--rose-100);
  border-radius: var(--radius-lg);
  font-family: var(--font);
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  transition: border-color 0.3s;
}

.search-input:focus {
  outline: none;
  border-color: var(--rose-400);
}

.search-input::placeholder {
  color: var(--text-light);
}

/* ===== RESULTS (checker) ===== */

.results-container {
  margin-top: 2rem;
}

.result-approved {
  padding: 2rem;
  background: var(--emerald-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--emerald-100);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.result-approved-icon {
  background: var(--emerald-500);
  color: white;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
}

.result-approved h4 {
  color: var(--emerald-900);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.result-approved p {
  color: rgba(6, 95, 70, 0.6);
  line-height: 1.6;
}

.result-issues {
  padding: 2rem;
  background: var(--rose-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--rose-100);
}

.result-issues-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.result-issues-icon {
  background: var(--rose-500);
  color: white;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.25);
  flex-shrink: 0;
}

.result-issues h4 {
  color: var(--rose-900);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.result-issues > p,
.result-issues-header p {
  color: rgba(136, 19, 55, 0.6);
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--rose-100);
  margin-bottom: 0.5rem;
  transition: border-color 0.3s;
}

.result-item:hover {
  border-color: var(--rose-300);
}

.result-item-name {
  font-weight: 900;
  color: var(--rose-950);
}

.result-item-type {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--rose-400);
  margin-top: 0.15rem;
}

.result-item-badge {
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.4rem 0.9rem;
  background: var(--rose-100);
  color: var(--rose-600);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.result-badge {
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
}

.result-badge.safe {
  background: var(--emerald-50);
  color: var(--emerald-800);
  border: 1px solid var(--emerald-100);
}

.result-badge.caution {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}

.result-badge.avoid {
  background: var(--rose-50);
  color: var(--rose-600);
  border: 1px solid var(--rose-100);
}

/* ===== BENEFIT HIGHLIGHTS ===== */

.benefit-box {
  padding: 2rem;
  background: var(--sky-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--sky-100);
  margin-top: 1.5rem;
}

.benefit-box h4 {
  color: var(--sky-800);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.benefit-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.benefit-tag {
  background: white;
  padding: 0.4rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid var(--sky-100);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--sky-800);
}

/* ===== INFO BOX ===== */

.info-box {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--rose-50);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-top: 2.5rem;
}

.info-box-icon {
  background: var(--orange-100);
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  color: var(--orange-500);
  font-size: 1.8rem;
  flex-shrink: 0;
}

.info-box h5 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--rose-950);
  margin-bottom: 0.35rem;
}

.info-box p {
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

/* ===== PASTE TOGGLE ===== */

.paste-toggle {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem 0;
}

.paste-toggle:hover {
  color: var(--rose-500);
}

.paste-content {
  margin-top: 1rem;
}

/* ===== COMING SOON ===== */

.coming-soon {
  text-align: center;
  padding: 3rem 1rem;
}

.coming-soon-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.coming-soon h3 {
  font-size: 1.3rem;
  font-style: italic;
}

/* ===== PRODUCT SEARCH RESULTS ===== */

.product-results {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-card {
  cursor: pointer;
}

.product-card-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.product-card-info {
  flex: 1;
  min-width: 0;
}

.product-card-name {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--rose-950);
  line-height: 1.3;
}

.product-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.ingredient-badge {
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-approved {
  background: var(--emerald-50);
  color: var(--emerald-800);
  border: 1px solid var(--emerald-100);
}

.badge-caution {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}

.badge-not-approved {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}

.product-card-detail {
  display: none;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rose-100);
}

.product-card.expanded .product-card-detail {
  display: block;
}

.product-detail-row {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.product-detail-label {
  font-weight: 700;
  color: var(--rose-950);
}

.product-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.product-detail-tags .product-tag {
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--rose-50);
  color: var(--rose-600);
  font-weight: 700;
}

/* ===== INGREDIENT CHECKER RESULTS ===== */

.verdict-banner {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 900;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.verdict-approved {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success-border);
}

.verdict-caution {
  background: var(--warning-bg);
  color: var(--warning);
  border: 1px solid var(--warning-border);
}

.verdict-not-approved {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid var(--danger-border);
}

.ingredient-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(244, 63, 94, 0.06);
}

.ingredient-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-approved { background: var(--emerald-500); }
.dot-caution { background: var(--orange-400); }
.dot-not_approved { background: var(--danger); }
.dot-unknown { background: #94a3b8; }

.ingredient-info {
  flex: 1;
  min-width: 0;
}

.ingredient-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.status-approved { color: var(--emerald-800); }
.status-caution { color: var(--warning); }
.status-not_approved { color: var(--danger); }
.status-unknown { color: #64748b; }

.ingredient-reason {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* ===== OCR / CAMERA ===== */

.ocr-container {
  text-align: center;
}

.camera-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  color: white;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.3);
}

.camera-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(244, 63, 94, 0.4);
}

.camera-btn-icon {
  font-size: 1.3rem;
}

.ocr-file-input {
  display: none;
}

.ocr-preview {
  margin-top: 1.5rem;
  display: none;
}

.ocr-preview.active {
  display: block;
}

.ocr-image-preview {
  max-width: 100%;
  max-height: 250px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--rose-100);
  object-fit: contain;
}

.ocr-progress {
  margin-top: 1rem;
  display: none;
}

.ocr-progress.active {
  display: block;
}

.ocr-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--rose-50);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.ocr-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rose-500), var(--orange-400));
  border-radius: var(--radius-pill);
  transition: width 0.3s;
  width: 0%;
}

.ocr-progress-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-weight: 600;
}

.ocr-review {
  margin-top: 1.5rem;
  display: none;
}

.ocr-review.active {
  display: block;
}

.ocr-review-textarea {
  width: 100%;
  min-height: 150px;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 241, 242, 0.3);
  border: 2px solid var(--rose-100);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  resize: vertical;
  line-height: 1.6;
}

.ocr-review-textarea:focus {
  outline: none;
  border-color: var(--rose-400);
}

.ocr-review-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ===== BARCODE SCANNER ===== */

.barcode-container {
  text-align: center;
}

.barcode-scanner-box {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--rose-100);
  display: none;
}

.barcode-scanner-box.active {
  display: block;
}

.barcode-result {
  margin-top: 1.5rem;
  display: none;
}

.barcode-result.active {
  display: block;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== INGREDIENT LIST ===== */

.ingredient-list {
  margin-top: 1rem;
}

/* ===== LABELS ===== */

.avoid-label {
  color: var(--rose-600) !important;
  font-weight: 900 !important;
  font-size: 0.8rem !important;
}

.safe-label {
  color: var(--emerald-800) !important;
  font-weight: 900 !important;
  font-size: 0.8rem !important;
}

/* ===== QUIZ ===== */

.quiz-container {
  max-width: 650px;
  margin: 0 auto;
}

.quiz-progress {
  height: 4px;
  background: var(--rose-100);
  border-radius: var(--radius-pill);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.quiz-progress::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--rose-500), var(--orange-400));
  border-radius: var(--radius-pill);
  transition: width 0.5s ease;
}

.quiz-question {
  display: none;
}

.quiz-question.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.quiz-question h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.question-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.quiz-option {
  background: white;
  border: 2px solid var(--rose-100);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.5rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.quiz-option:hover {
  border-color: var(--rose-300);
  background: var(--rose-50);
}

.quiz-option.selected {
  border-color: var(--rose-500);
  background: var(--rose-50);
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}

.quiz-option-label {
  font-size: 1rem;
  font-weight: 900;
  color: var(--rose-950);
  margin-bottom: 0.2rem;
}

.quiz-option-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.5;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rose-50);
}

.quiz-results {
  display: none;
}

.quiz-results.active {
  display: block;
}

/* ===== PROFILE CARD (quiz result) ===== */

.profile-card {
  background: white;
  border: 1px solid var(--rose-100);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-card .profile-item {
  display: flex;
  justify-content: space-between;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--rose-50);
  font-size: 0.9rem;
}

.profile-card .profile-item:last-child {
  border-bottom: none;
}

.profile-card .profile-label {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.profile-card .profile-value {
  font-weight: 700;
}

/* ===== ROUTINE STEPS (quiz result) ===== */

.routine-step {
  background: white;
  border: 1px solid var(--rose-100);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.6rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.routine-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.routine-step h4 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 0.2rem;
}

.routine-step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== PRODUCT SUGGESTIONS ===== */

.product-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.product-suggestion {
  font-size: 0.75rem;
  padding: 0.4rem 0.85rem;
  background: var(--emerald-50);
  color: var(--emerald-800);
  border: 1px solid var(--emerald-100);
  border-radius: var(--radius-pill);
  font-weight: 600;
}

/* ===== PRODUCTS PAGE ===== */

.products-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.products-search {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1.25rem;
  background: rgba(255, 241, 242, 0.3);
  border: 2px solid var(--rose-100);
  border-radius: var(--radius-lg);
  font-family: var(--font);
  font-size: 1rem;
  font-style: italic;
  color: var(--text);
  transition: border-color 0.3s;
}

.products-search:focus {
  outline: none;
  border-color: var(--rose-400);
}

.products-search::placeholder {
  color: var(--text-light);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.filter-select {
  padding: 0.55rem 0.85rem;
  background: white;
  border: 2px solid var(--rose-100);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  min-width: 130px;
  transition: border-color 0.3s;
}

.filter-select:focus {
  outline: none;
  border-color: var(--rose-400);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: var(--rose-50);
  border: 1px solid var(--rose-100);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--rose-600);
  cursor: pointer;
  transition: background 0.2s;
}

.filter-chip:hover {
  background: var(--rose-100);
}

.filter-chip .chip-x {
  font-weight: 400;
  opacity: 0.6;
}

.results-summary {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.75rem;
}

.product-card {
  background: white;
  border: 1px solid var(--rose-100);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: all 0.3s;
}

.product-card:hover {
  border-color: var(--rose-300);
  box-shadow: var(--shadow-md);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.product-name {
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--rose-950);
  line-height: 1.3;
}

.product-price {
  font-weight: 900;
  font-size: 0.9rem;
  color: var(--rose-500);
  white-space: nowrap;
}

.product-meta-text {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin: 0.4rem 0 0.3rem;
  line-height: 1.4;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.3rem 0;
}

.product-meta-item {
  font-size: 0.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.meta-weight-lightweight { background: var(--emerald-50); color: var(--emerald-800); }
.meta-weight-medium { background: var(--warning-bg); color: var(--warning); }
.meta-weight-heavy { background: var(--danger-bg); color: var(--danger); }

.product-cgm {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
}

.cgm-approved { background: var(--emerald-50); color: var(--emerald-800); border: 1px solid var(--emerald-100); }
.cgm-caution { background: var(--warning-bg); color: var(--warning); border: 1px solid var(--warning-border); }
.cgm-not_approved { background: var(--danger-bg); color: var(--danger); border: 1px solid var(--danger-border); }

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.product-tag {
  font-size: 0.6rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  border: 1.5px solid currentColor;
  background: transparent;
}

.tag-holy-grail { color: var(--orange-500); }
.tag-holy-grail-wavies { color: var(--orange-400); }
.tag-budget-starter { color: var(--emerald-800); }
.tag-good-sotc { color: var(--rose-500); }
.tag-protein-free { color: var(--text-muted); }
.tag-protein-boost { color: var(--orange-500); }
.tag-co-wash { color: var(--emerald-800); }
.tag-fragrance-free { color: var(--text-muted); }
.tag-glycerin-free { color: var(--text-muted); }
.tag-lightweight { color: var(--emerald-800); }
.tag-warning { color: var(--danger); }

.product-notes {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}

.warnings-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius-xl);
}

.warnings-section h3 {
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warning);
  margin-bottom: 0.75rem;
}

.warning-item {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.warning-item::before {
  content: "!";
  position: absolute;
  left: 0;
  color: var(--warning);
  font-weight: 900;
}

.warning-item strong { color: var(--text); font-weight: 700; }

.no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.no-results h3 {
  color: var(--rose-950);
  margin-bottom: 0.5rem;
}

.load-more {
  text-align: center;
  margin-top: 1.25rem;
}

/* ===== FAQ ===== */

.faq-search {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 2px solid var(--rose-100);
  border-radius: var(--radius-lg);
  font-family: var(--font);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  background: rgba(255, 241, 242, 0.3);
  color: var(--text);
  transition: border-color 0.3s;
}

.faq-search:focus {
  outline: none;
  border-color: var(--rose-400);
}

.faq-search::placeholder {
  color: var(--text-light);
}

.faq-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.faq-no-results {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-style: italic;
  display: none;
}

.faq-category {
  margin-bottom: 2rem;
}

.faq-category-title {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--rose-500);
  padding: 0.75rem 1.25rem;
  background: var(--rose-50);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-category-title:hover {
  background: var(--rose-100);
}

.faq-category-title::after {
  content: '\25BC';
  font-size: 0.6rem;
  transition: transform 0.3s;
  color: var(--rose-300);
}

.faq-category.collapsed .faq-category-title::after {
  transform: rotate(-90deg);
}

.faq-category.collapsed .faq-items {
  display: none;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.4rem;
}

.faq-question {
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  background: white;
  border: 1px solid var(--rose-50);
  border-radius: var(--radius-md);
  transition: all 0.3s;
}

.faq-item.open .faq-question {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border-bottom: none;
}

.faq-question span:first-child {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--rose-950);
}

.faq-question:hover span:first-child {
  color: var(--rose-500);
}

.faq-question .toggle {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--rose-300);
  transition: transform 0.3s;
  font-weight: 700;
}

.faq-item.open .faq-question .toggle {
  transform: rotate(45deg);
  color: var(--rose-500);
}

.faq-answer {
  display: none;
  padding: 1rem 1.25rem 1.5rem;
  background: white;
  border: 1px solid var(--rose-50);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer strong {
  color: var(--text);
  font-weight: 700;
}

.faq-answer ul, .faq-answer ol {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}

.faq-answer li {
  margin-bottom: 0.35rem;
}

.faq-answer .product-rec {
  background: var(--emerald-50);
  border: 1px solid var(--emerald-100);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin: 0.75rem 0;
  font-size: 0.85rem;
}

.faq-answer .warning-box {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin: 0.75rem 0;
  font-size: 0.85rem;
}

.faq-answer table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0.75rem 0;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--rose-100);
}

.faq-answer th, .faq-answer td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  color: var(--text-muted);
  border-bottom: 1px solid var(--rose-50);
}

.faq-answer th {
  background: var(--rose-50);
  font-weight: 700;
  color: var(--rose-950);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.starter-kit {
  background: white;
  border: 2px solid var(--rose-100);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin: 0.75rem 0;
}

.starter-kit h4 {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--rose-950);
  margin-bottom: 0.5rem;
}

.starter-kit ul {
  margin: 0;
  padding-left: 1.25rem;
}

.starter-kit li {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== ABOUT / MYTH CARDS ===== */

.about-content {
  max-width: 700px;
  margin: 0 auto;
}

.about-content h2 {
  margin-top: 2.5rem;
  font-size: 1.75rem;
}

.about-content h2:first-child {
  margin-top: 0;
}

.about-content h3 {
  margin-top: 1.5rem;
  color: var(--rose-500);
  font-size: 1.15rem;
}

.about-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.about-content ul, .about-content ol {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.about-content li {
  margin-bottom: 0.3rem;
}

.about-content strong {
  color: var(--text);
  font-weight: 700;
}

.myth-card {
  background: white;
  border: 1px solid var(--rose-100);
  border-radius: var(--radius-xl);
  padding: 1.5rem 2rem;
  margin-bottom: 0.75rem;
}

.myth-label {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: white;
  background: var(--rose-500);
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.5rem;
}

.truth-label {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: white;
  background: var(--emerald-500);
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.myth-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ===== EXPLAINER GRID ===== */

.explainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.explainer-card {
  background: white;
  border: 1px solid var(--rose-100);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.3s;
}

.explainer-card:hover {
  border-color: var(--rose-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.explainer-card h4 {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--rose-500);
  margin-bottom: 0.5rem;
}

.explainer-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== FOOTER ===== */

.footer {
  background: var(--rose-950);
  color: var(--rose-200);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  border-radius: 3rem 3rem 0 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-brand-logo .logo-icon {
  background: var(--rose-500);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(136, 19, 55, 0.3);
}

.footer-brand-logo h2 {
  color: white;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}

.footer-brand p {
  color: rgba(253, 164, 175, 0.5);
  max-width: 350px;
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
}

.footer-social a {
  background: var(--rose-900);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  color: white;
  font-size: 1rem;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  background: var(--rose-800);
  color: white;
}

.footer-nav h4 {
  color: white;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.25rem;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.65rem;
}

.footer-nav a {
  color: var(--rose-200);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--rose-400);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid rgba(136, 19, 55, 0.3);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(136, 19, 55, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Legacy simple footer */
.footer > p {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: var(--rose-300);
}

.footer > p a {
  color: var(--rose-400);
}

.footer .disclaimer {
  font-size: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
  color: rgba(136, 19, 55, 0.4);
  text-align: center;
}

/* ===== ANIMATIONS ===== */

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

.animate-in {
  animation: fadeIn 0.7s ease forwards;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
  .nav {
    padding: 0 0.5rem;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.75rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--rose-100);
  }

  .nav-links.active,
  .nav-links.open {
    display: flex;
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  .hero {
    padding: 3rem 0 1.5rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .products-search {
    min-width: 100%;
  }

  .explainer-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 2rem;
  }

  .info-box {
    flex-direction: column;
    text-align: center;
  }

  .checker-tabs {
    flex-direction: column;
  }
}

/* ============================================
   THEME TOGGLE BUTTON (sun / moon)
   ============================================ */

.theme-toggle {
  background: rgba(253, 164, 175, 0.15);
  border: 2px solid var(--rose-200);
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
}

.theme-toggle:hover {
  background: rgba(253, 164, 175, 0.3);
  transform: scale(1.05);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  display: none;
}

[data-theme="light"] .theme-toggle .icon-sun,
:root:not([data-theme="dark"]) .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

/* ============================================
   DARK MODE — Curly Girl App
   ============================================ */

[data-theme="dark"] {
  --bg: #1a0f12;
  --white: #251520;
  --rose-50: #2a1520;
  --rose-100: #3a1d2a;
  --rose-200: #e8a0af;
  --text: #f0d8de;
  --text-muted: rgba(240, 216, 222, 0.6);
  --text-light: rgba(240, 216, 222, 0.4);
}

[data-theme="dark"] body {
  background: var(--bg);
  color: var(--text);
}

[data-theme="dark"] header,
[data-theme="dark"] nav {
  background: var(--white);
  border-bottom-color: rgba(248, 113, 133, 0.2);
}

[data-theme="dark"] .site-header {
  background: var(--white);
}

[data-theme="dark"] .theme-toggle {
  background: rgba(253, 164, 175, 0.12);
  border-color: rgba(253, 164, 175, 0.3);
}

[data-theme="dark"] .card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .episode-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .info-box,
[data-theme="dark"] .tip-box,
[data-theme="dark"] .note-box,
[data-theme="dark"] .warning-box {
  background: var(--white);
  border-color: rgba(248, 113, 133, 0.2);
}

[data-theme="dark"] .section-bg,
[data-theme="dark"] .bg-rose-50,
[data-theme="dark"] .bg-orange-50,
[data-theme="dark"] .bg-sky-50,
[data-theme="dark"] .bg-emerald-50 {
  background: var(--white);
}

[data-theme="dark"] footer,
[data-theme="dark"] .site-footer {
  background: #120b0e;
  border-top-color: rgba(248, 113, 133, 0.15);
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: var(--white);
  color: var(--text);
  border-color: rgba(248, 113, 133, 0.25);
}

[data-theme="dark"] .tab-btn {
  background: var(--white);
  color: var(--text-muted);
}

[data-theme="dark"] .tab-btn.active {
  background: var(--rose-500);
  color: white;
}

/* ============ TABLE OF CONTENTS ============ */

.toc {
  background: var(--rose-50);
  border: 1.5px solid var(--rose-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.toc-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--rose-600);
  margin-bottom: 0.75rem;
}
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}
.toc-list li {
  font-size: 0.85rem;
}
.toc-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.toc-list a:hover {
  color: var(--rose-500);
}
[data-theme="dark"] .toc {
  background: rgba(248, 113, 133, 0.08);
  border-color: rgba(248, 113, 133, 0.2);
}
[data-theme="dark"] .toc-title {
  color: var(--rose-300);
}

/* ============ LISTEN PAGE ============ */

.listen-hero {
  text-align: center;
  padding: 3rem 0 2rem;
  margin-bottom: 2rem;
}
.listen-hero .badge {
  display: inline-block;
  background: var(--rose-100);
  color: var(--rose-600);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}
.listen-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.listen-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}
.notebooklm-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--sky-50);
  border: 1.5px solid var(--sky-500);
  color: var(--sky-800);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-top: 1.25rem;
}
.episodes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 700px) {
  .episodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .episodes-grid .episode-card:first-child {
    grid-column: 1 / -1;
  }
}
.episode-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.episode-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
}
.episode-color-bar {
  height: 6px;
  width: 100%;
}
.episode-body {
  padding: 1.5rem;
}
.episode-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.episode-number {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.episode-duration {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
}
.episode-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--rose-300);
}
.episode-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.episode-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.episode-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.episode-topic {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--rose-100);
  color: var(--rose-800);
}
.audio-placeholder {
  background: var(--bg);
  border: 2px dashed var(--rose-200);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rose-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.4;
}
.play-btn svg {
  width: 16px;
  height: 16px;
  fill: white;
  margin-left: 2px;
}
.audio-placeholder-text {
  flex: 1;
}
.audio-placeholder-text strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.audio-placeholder-text span {
  font-size: 0.75rem;
  color: var(--text-light);
}
.progress-bar-wrap {
  background: var(--rose-100);
  height: 4px;
  border-radius: 99px;
  flex: 1;
  overflow: hidden;
}
.coming-soon-banner {
  text-align: center;
  background: var(--emerald-50);
  border: 2px solid var(--emerald-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3rem;
}
.coming-soon-banner h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--emerald-800);
  margin-bottom: 0.5rem;
}
.coming-soon-banner p {
  font-size: 0.9rem;
  color: var(--emerald-800);
  opacity: 0.8;
}
