/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #173404;
  --green-800: #27500A;
  --green-700: #3B6D11;
  --green-600: #639922;
  --green-400: #97C459;
  --green-100: #C0DD97;
  --green-50:  #EAF3DE;
  --amber-800: #633806;
  --amber-700: #854F0B;
  --amber-600: #BA7517;
  --amber-400: #EF9F27;
  --amber-100: #FAC775;
  --amber-50:  #FAEEDA;
  --teal-700:  #085041;
  --teal-600:  #0F6E56;
  --teal-500:  #1D9E75;
  --teal-100:  #9FE1CB;
  --teal-50:   #E1F5EE;
  --coral-600: #993C1D;
  --coral-50:  #FAECE7;
  --gray-900:  #2C2C2A;
  --gray-700:  #444441;
  --gray-600:  #5F5E5A;
  --gray-400:  #888780;
  --gray-200:  #B4B2A9;
  --gray-100:  #D3D1C7;
  --gray-50:   #F1EFE8;
  --white:     #FFFFFF;
  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow:    0 2px 20px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 32px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
button { cursor: pointer; font-family: 'Outfit', sans-serif; }

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

/* ===== NAV ===== */
.site-nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center;
  padding: .9rem 2rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--green-700);
  font-weight: 700;
  margin-right: auto;
}
.nav-links { display: flex; gap: 1.75rem; }
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 2px; background: var(--green-600);
  transform: scaleX(0); transition: transform .2s;
}
.nav-links a:hover { color: var(--green-700); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--green-700); }
.nav-links a.active::after { transform: scaleX(1); }
.nav-hamburger {
  display: none; border: none; background: none;
  font-size: 1.3rem; color: var(--gray-600); padding: .25rem;
}
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--white); border-bottom: 1px solid var(--gray-100);
  padding: .5rem 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: .75rem 2rem; font-size: .95rem;
  color: var(--gray-700); border-bottom: 1px solid var(--gray-50);
  transition: background .15s;
}
.mobile-menu a:hover { background: var(--gray-50); }

@media(max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
}

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: 88vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 3rem;
  padding: 5rem 2rem 4rem;
  max-width: 1060px; margin: 0 auto;
}

.hero-illustration {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero-illustration svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-badge {
  display: inline-block;
  background: rgba(225,245,238,0.92); color: var(--teal-600);
  border: 1px solid var(--teal-100);
  border-radius: 50px; padding: .35rem 1rem;
  font-size: .8rem; font-weight: 500; letter-spacing: .03em;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(6px);
}
.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--gray-900); margin-bottom: 1.25rem;
  letter-spacing: -.02em;
  text-shadow: 0 1px 0 rgba(255,255,255,1), 0 2px 12px rgba(255,255,255,0.85);
}
.hero-title em { color: var(--green-700); font-style: italic; }
.hero-sub {
  font-size: 1.05rem; color: var(--gray-700);
  line-height: 1.75; margin-bottom: 2rem; max-width: 480px;
  background: rgba(255,255,255,0.80);
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--green-700); color: var(--white);
  padding: .8rem 1.75rem; border-radius: var(--radius-sm);
  font-weight: 500; font-size: .95rem;
  transition: background .2s, transform .15s;
  display: inline-block;
}
.btn-hero-primary:hover { background: var(--green-800); transform: translateY(-1px); }
.btn-hero-ghost {
  background: transparent; color: var(--gray-700);
  padding: .8rem 1.75rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  font-weight: 500; font-size: .95rem;
  transition: border-color .2s, color .2s;
  display: inline-block;
}
.btn-hero-ghost:hover { border-color: var(--gray-400); color: var(--gray-900); }

.produce-grid {
  display: flex; flex-wrap: wrap; gap: .6rem;
  animation: float-in .8s ease both;
}
.produce-chip {
  padding: .5rem 1rem; border-radius: 50px;
  font-size: .85rem; font-weight: 500;
  animation: chip-in .6s ease both;
}
.produce-chip:nth-child(1){animation-delay:.05s}
.produce-chip:nth-child(2){animation-delay:.1s}
.produce-chip:nth-child(3){animation-delay:.15s}
.produce-chip:nth-child(4){animation-delay:.2s}
.produce-chip:nth-child(5){animation-delay:.25s}
.produce-chip:nth-child(6){animation-delay:.3s}
.produce-chip:nth-child(7){animation-delay:.35s}
.produce-chip:nth-child(8){animation-delay:.4s}
.produce-chip:nth-child(9){animation-delay:.45s}
.produce-chip:nth-child(10){animation-delay:.5s}
.produce-chip:nth-child(11){animation-delay:.55s}
.produce-chip:nth-child(12){animation-delay:.6s}
.produce-chip.veg { background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-100); }
.produce-chip.fruit { background: var(--amber-50); color: var(--amber-800); border: 1px solid var(--amber-100); }

/* ===== PRODUCE SHOWCASE (animated rotating card) ===== */
.produce-showcase {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.showcase-inner {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  width: 300px;
  min-height: 260px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 8px 40px rgba(60,100,20,0.12);
  transition: opacity 0.6s ease, transform 0.6s ease;
  position: relative;
  overflow: hidden;
}
.showcase-inner.fade-out {
  opacity: 0;
  transform: translateY(12px) scale(0.97);
}
.showcase-inner.fade-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.showcase-emoji {
  font-size: 4rem; line-height: 1;
  margin-bottom: .6rem;
  display: block;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.12));
}
.showcase-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .2rem;
  line-height: 1.2;
}
.showcase-type {
  font-size: .75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em;
  padding: .2rem .75rem;
  border-radius: 50px;
  margin-bottom: .1rem;
}
.showcase-type.veg {
  background: var(--green-50); color: var(--green-700);
  border: 1px solid var(--green-100);
}
.showcase-type.fruit {
  background: var(--amber-50); color: var(--amber-700);
  border: 1px solid var(--amber-100);
}
.showcase-divider {
  width: 40px; height: 2px;
  background: var(--gray-200);
  border-radius: 2px;
  margin: .85rem 0 .75rem;
}
.showcase-serving-label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--gray-400); font-weight: 500; margin-bottom: .35rem;
}
.showcase-serving {
  font-size: .92rem; color: var(--gray-700);
  line-height: 1.5; font-weight: 400;
}

/* progress bar */
.showcase-progress {
  width: 300px; height: 3px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px; overflow: hidden;
}
.showcase-progress-fill {
  height: 100%;
  background: var(--green-600);
  border-radius: 2px;
  width: 0%;
  transition: width linear;
}

/* dot indicators */
.showcase-dots {
  display: flex; gap: .5rem; justify-content: center;
}
.showcase-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 1.5px solid rgba(60,100,20,0.25);
  transition: background .3s, transform .3s;
  cursor: pointer;
}
.showcase-dot.active {
  background: var(--green-700);
  transform: scale(1.3);
}

@keyframes chip-in {
  from { opacity: 0; transform: translateY(10px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@media(max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 3rem 1.5rem 2rem; }
  .hero-visual { order: -1; display: flex; justify-content: center; }
  .showcase-inner { width: 280px; }
  .showcase-progress { width: 280px; }
}

/* ===== FEATURES ===== */
.features {
  padding: 5rem 0;
  background: var(--white);
  position: relative;
  z-index: 1;
}
.section-label {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .1em;
  font-weight: 500; color: var(--green-600); margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 2.5rem; color: var(--gray-900);
}
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-100); padding: 1.75rem;
  display: flex; flex-direction: column; gap: .6rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: var(--green-100);
}
.feature-icon { font-size: 1.75rem; }
.feature-card h3 { font-size: 1.15rem; color: var(--gray-900); }
.feature-card p { font-size: .875rem; color: var(--gray-600); line-height: 1.65; flex: 1; }
.feature-link { font-size: .82rem; font-weight: 500; color: var(--green-700); margin-top: .5rem; }

/* ===== WHY STRIP ===== */
.why-strip {
  background: var(--green-700); color: var(--white);
  padding: 3.5rem 0;
}
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  text-align: center;
}
.why-num {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700; color: var(--green-100);
  margin-bottom: .35rem;
}
.why-label { font-size: .875rem; opacity: .85; line-height: 1.5; }
@media(max-width: 600px) { .why-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ===== PRIVACY NOTE ===== */
.privacy-note { padding: 2rem 0; background: var(--teal-50); border-top: 1px solid var(--teal-100); border-bottom: 1px solid var(--teal-100); }
.privacy-inner { display: flex; align-items: center; gap: 1rem; }
.privacy-icon { font-size: 1.4rem; flex-shrink: 0; }
.privacy-inner p { font-size: .9rem; color: var(--teal-600); }

/* ===== FOOTER ===== */
.site-footer { background: var(--gray-900); color: var(--gray-200); padding: 3rem 0 2rem; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--white); margin-bottom: .6rem; }
.footer-note { font-size: .85rem; color: var(--gray-400); margin-bottom: 1.25rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { font-size: .85rem; color: var(--gray-400); transition: color .2s; }
.footer-links a:hover { color: var(--green-400); }

/* ===== PAGE HEADER (inner pages) ===== */
.page-header {
  min-height: 160px;
  background: transparent;
  border-bottom: 1px solid rgba(180,178,169,0.3);
  padding: 3rem 0 2rem;
}
.page-header .section-label { margin-bottom: .5rem; }
.page-header h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--gray-900); margin-bottom: .6rem; }
.page-header p { font-size: 1rem; color: var(--gray-600); max-width: 560px; }

/* ===== PAGE CONTENT ===== */
.page-content { padding: 3rem 0 5rem; }

/* ===== TABS ===== */
.tab-row {
  display: flex; gap: .35rem; margin-bottom: 2rem;
  border-bottom: 1px solid var(--gray-100); padding-bottom: 0;
  overflow-x: auto;
}
.tab-btn {
  padding: .65rem 1.25rem; border: none; background: transparent;
  font-size: .9rem; font-weight: 500; color: var(--gray-400);
  border-bottom: 2px solid transparent; white-space: nowrap;
  margin-bottom: -1px; transition: color .2s, border-color .2s;
}
.tab-btn.active { color: var(--green-700); border-bottom-color: var(--green-700); }
.tab-btn:hover:not(.active) { color: var(--gray-700); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ===== CARDS ===== */
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-100); padding: 1.5rem;
}
.card + .card { margin-top: 1rem; }

/* ===== INFO CARDS (learn page) ===== */
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .85rem; margin-bottom: 2.5rem;
}
.info-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius); padding: 1.1rem 1.1rem .9rem;
  cursor: pointer; transition: border-color .2s, background .2s;
}
.info-card:hover { border-color: var(--green-400); }
.info-card.open { border-color: var(--green-600); background: var(--green-50); }
.info-card-name { font-weight: 500; font-size: .95rem; margin-bottom: .2rem; }
.info-card-serving { font-size: .78rem; color: var(--gray-400); }
.info-card-detail {
  font-size: .82rem; color: var(--teal-600); margin-top: .6rem;
  line-height: 1.55; max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
}
.info-card.open .info-card-detail { max-height: 200px; }

.cat-heading {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .08em;
  font-weight: 500; color: var(--gray-400); margin: 1.5rem 0 .75rem;
}

/* ===== CHECKLIST COLUMNS ===== */
.checklist-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 1.5rem;
}
.checklist-col {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
}
.col-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem;
  border: none;
  background: var(--gray-50);
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  border-bottom: 1px solid var(--gray-100);
  transition: background .15s;
}
.col-toggle:hover { background: var(--gray-100); }
.col-toggle-left {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.col-toggle-icon { font-size: 1.1rem; }
.col-toggle-title {
  font-weight: 500;
  font-size: .95rem;
  color: var(--gray-900);
}
.col-toggle-sub {
  font-size: .78rem;
  color: var(--gray-400);
}
.col-toggle-chevron {
  font-size: .7rem;
  color: var(--gray-400);
  transition: transform .2s;
}
.col-body {
  padding: .6rem .5rem;
  max-height: 600px;
  overflow-y: auto;
}
/* Override check-item margin inside columns */
.col-body .check-item {
  margin-bottom: .4rem;
}
@media(max-width: 680px) {
  .checklist-columns {
    grid-template-columns: 1fr;
  }
}

/* ===== CHECKLIST ===== */
.checklist-wrap { max-width: 900px; }
.check-item {
  display: flex; align-items: center; gap: .9rem;
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm); padding: .9rem 1rem;
  margin-bottom: .5rem; cursor: pointer;
  transition: border-color .2s, background .2s;
  user-select: none;
}
.check-item:hover { border-color: var(--green-400); }
.check-item.checked { border-color: var(--green-600); background: var(--green-50); }
.check-item.checked .check-box { background: var(--green-600); border-color: var(--green-600); color: var(--white); }
.check-box {
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--gray-200); display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .75rem; transition: all .2s;
  color: transparent;
}
.check-name { font-weight: 500; font-size: .95rem; flex: 1; }
.check-serving { font-size: .78rem; color: var(--gray-400); }

.progress-summary {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-100); padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem; position: sticky; top: 65px; z-index: 10;
}
.prog-row { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.prog-item { display: flex; flex-direction: column; gap: .2rem; min-width: 120px; }
.prog-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-400); font-weight: 500; }
.prog-bar-bg { height: 7px; background: var(--gray-100); border-radius: 4px; overflow: hidden; }
.prog-bar-fill { height: 100%; border-radius: 4px; transition: width .4s ease; }
.prog-nums { font-size: .88rem; font-weight: 500; }
.prog-done { color: var(--green-700); }
.reset-btn {
  margin-left: auto; padding: .4rem .9rem;
  border: 1px solid var(--gray-200); background: transparent;
  border-radius: var(--radius-sm); font-size: .8rem; color: var(--gray-600);
  transition: border-color .2s, color .2s;
}
.reset-btn:hover { border-color: var(--coral-600); color: var(--coral-600); }

/* ===== PLANNER ===== */
.planner-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
@media(max-width: 640px) { .planner-grid { grid-template-columns: 1fr; } }

.meal-slot {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius); padding: 1.25rem;
}
.meal-slot h3 {
  font-size: 1rem; margin-bottom: .1rem; color: var(--gray-900);
}
.meal-time { font-size: .78rem; color: var(--gray-400); margin-bottom: 1rem; }
.meal-items { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .75rem; }
.meal-item-row {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem;
}
.meal-remove {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--gray-200); background: transparent;
  font-size: .75rem; color: var(--gray-400); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .15s, color .15s;
}
.meal-remove:hover { border-color: var(--coral-600); color: var(--coral-600); }
.meal-item-tag {
  font-size: .72rem; padding: .15rem .5rem; border-radius: 20px; font-weight: 500;
}
.tag-veg { background: var(--green-50); color: var(--green-700); }
.tag-fruit { background: var(--amber-50); color: var(--amber-700); }

.add-item-row { display: flex; gap: .5rem; margin-top: .5rem; }
.add-select {
  flex: 1; padding: .5rem .75rem; border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm); font-family: 'Outfit', sans-serif;
  font-size: .85rem; background: var(--gray-50); color: var(--gray-900);
  outline: none; transition: border-color .2s;
}
.add-select:focus { border-color: var(--green-600); }
.add-btn {
  padding: .5rem .9rem; background: var(--green-700); color: var(--white);
  border: none; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 500;
  transition: background .2s;
}
.add-btn:hover { background: var(--green-800); }

.planner-summary {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--gray-100); padding: 1.5rem;
  margin-top: 1.5rem;
}
.planner-summary h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.summary-bars { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.summary-bar-label { font-size: .8rem; color: var(--gray-600); margin-bottom: .35rem; display: flex; justify-content: space-between; }
.summary-msg { font-size: .88rem; color: var(--gray-600); line-height: 1.6; padding: .75rem 1rem; background: var(--gray-50); border-radius: var(--radius-sm); }
.summary-msg.great { background: var(--green-50); color: var(--green-800); }
.summary-msg.ok { background: var(--amber-50); color: var(--amber-800); }

/* ===== QUIZ ===== */
.quiz-wrap { max-width: 620px; }
.quiz-progress { margin-bottom: 2rem; }
.quiz-progress-bar-bg { height: 5px; background: var(--gray-100); border-radius: 3px; margin-bottom: .5rem; }
.quiz-progress-bar-fill { height: 100%; background: var(--green-600); border-radius: 3px; transition: width .4s ease; }
.quiz-step-label { font-size: .78rem; color: var(--gray-400); }
.quiz-q { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 1.25rem; color: var(--gray-900); }
.quiz-options { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.quiz-option {
  padding: .85rem 1.1rem; border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm); background: var(--white);
  text-align: left; font-family: 'Outfit', sans-serif;
  font-size: .92rem; color: var(--gray-700); transition: all .2s;
}
.quiz-option:hover { border-color: var(--green-400); background: var(--green-50); color: var(--green-800); }
.quiz-option.selected { border-color: var(--green-600); background: var(--green-50); color: var(--green-800); font-weight: 500; }
.quiz-nav { display: flex; gap: .75rem; }
.quiz-next {
  padding: .7rem 1.5rem; background: var(--green-700); color: var(--white);
  border: none; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500;
  transition: background .2s, opacity .2s;
}
.quiz-next:hover { background: var(--green-800); }
.quiz-next:disabled { opacity: .4; cursor: not-allowed; }
.quiz-back {
  padding: .7rem 1.25rem; background: transparent; color: var(--gray-600);
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: .9rem; transition: border-color .2s;
}
.quiz-back:hover { border-color: var(--gray-400); }

.quiz-result { text-align: center; padding: 2rem 0; }
.result-ring { position: relative; width: 140px; height: 140px; margin: 0 auto 1.5rem; }
.result-ring svg { width: 140px; height: 140px; transform: rotate(-90deg); }
.result-ring-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.result-score { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: var(--gray-900); }
.result-score-label { font-size: .75rem; color: var(--gray-400); }
.result-grade { font-size: 1.5rem; color: var(--gray-900); margin-bottom: .5rem; }
.result-desc { font-size: .95rem; color: var(--gray-600); line-height: 1.7; margin-bottom: 1.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.result-tips { text-align: left; margin-bottom: 1.5rem; }
.result-tip {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .75rem; background: var(--green-50);
  border-radius: var(--radius-sm); margin-bottom: .5rem;
}
.tip-icon { font-size: 1rem; flex-shrink: 0; margin-top: .1rem; }
.tip-text { font-size: .875rem; color: var(--green-800); line-height: 1.55; }
.retake-btn {
  padding: .7rem 1.75rem; background: var(--green-700); color: var(--white);
  border: none; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500;
  transition: background .2s; margin-top: .5rem;
}
.retake-btn:hover { background: var(--green-800); }

/* ===== WHY LEARN PAGE ===== */
.why-card {
  background: var(--white); border: 1px solid var(--gray-100);
  border-radius: var(--radius); padding: 1.5rem 1.75rem; margin-bottom: 1rem;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: .65rem; }
.why-card p, .why-card li { font-size: .92rem; color: var(--gray-600); line-height: 1.75; }
.why-card ul { padding-left: 1.2rem; }
.why-card li { margin-bottom: .35rem; }
.benefit-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.25rem; }
.benefit-chip {
  background: var(--teal-50); color: var(--teal-600);
  border: 1px solid var(--teal-100); border-radius: 50px;
  padding: .25rem .75rem; font-size: .8rem; font-weight: 500;
}

/* ===== PAGE ILLUSTRATIONS ===== */
.page-illustration {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.page-illustration svg {
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
.page-header {
  position: relative;
  overflow: hidden;
  background: transparent;
  border-bottom: 1px solid rgba(180,178,169,0.3);
  padding: 3.5rem 0 2.5rem;
}
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.72) 0%,
    rgba(255,255,255,0.55) 45%,
    rgba(255,255,255,0.10) 100%
  );
  z-index: 0;
  pointer-events: none;
}
.page-header .container {
  position: relative;
  z-index: 2;
}
.page-header .section-label {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  color: var(--gray-900);
  text-shadow: 0 1px 0 rgba(255,255,255,1);
}
.page-header p {
  color: var(--gray-700);
  text-shadow: 0 1px 0 rgba(255,255,255,0.9);
}

/* ===== MOBILE GLOBAL ===== */
@media(max-width: 480px) {
  .site-nav { padding: .8rem 1rem; }
  .nav-logo { font-size: 1.1rem; }
  main, .page-content { padding: 1.25rem 0 3rem; }
  .container { padding: 0 1rem; }
  .page-header { padding: 2rem 0 1.5rem; }
  .page-header h1 { font-size: 1.6rem; }
  .section-title { font-size: 1.4rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero { padding: 2.5rem 1rem 2rem; gap: 1.5rem; }
  .hero-title { font-size: 2.4rem; }
  .hero-sub { font-size: .95rem; padding: .6rem .85rem; }
  .hero-ctas { flex-direction: column; gap: .65rem; }
  .btn-hero-primary, .btn-hero-ghost { text-align: center; padding: .75rem 1.25rem; }
  .showcase-inner { width: 260px; min-height: 230px; padding: 1.75rem 1.25rem; }
  .showcase-emoji { font-size: 3rem; }
  .showcase-name { font-size: 1.3rem; }
  .progress-summary { position: static; }
  .checklist-columns { grid-template-columns: 1fr; }
  .planner-grid { grid-template-columns: 1fr; }
  .summary-bars { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; }
  .quiz-wrap { padding: 0; }
  .result-ring { width: 120px; height: 120px; }
  .result-ring svg { width: 120px; height: 120px; }
  .result-score { font-size: 1.8rem; }
  .footer-links { gap: 1rem; }
  .why-strip { padding: 2.5rem 0; }
  .why-num { font-size: 2.2rem; }
  .tab-row { gap: 0; }
  .tab-btn { padding: .6rem .85rem; font-size: .82rem; }
}
@media(max-width: 380px) {
  .hero-title { font-size: 2rem; }
  .showcase-inner { width: 240px; }
  .info-grid { grid-template-columns: 1fr; }
}
