/* Panda Chinese Adventure — marketing site.
   One stylesheet shared by every page; no framework, no build step. */

:root {
  --green: #7bc96f;
  --green-dark: #4d9a48;
  --green-deep: #2f6b2c;
  --cream: #fffaf0;
  --cream-2: #f4efdf;
  --mint: #eaf7e1;
  --ink: #3a3226;
  --muted: #7d7466;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(77, 116, 60, 0.12);
  --radius: 22px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px clamp(16px, 5vw, 48px);
  background: rgba(255, 250, 240, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(77, 116, 60, 0.12);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--green-deep);
  text-decoration: none;
}
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav nav { display: flex; gap: clamp(10px, 2.5vw, 26px); flex-wrap: wrap; }
.nav nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav nav a:hover { color: var(--green-dark); }

/* ── Hero ────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(36px, 7vw, 84px) clamp(16px, 5vw, 48px) clamp(24px, 4vw, 48px);
}
.pill {
  display: inline-block;
  background: var(--mint);
  color: var(--green-deep);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: normal;
  color: var(--green-dark);
}
.hero .sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 34em;
}
.badge-soon {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: 0.95rem;
}
.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 34px);
  margin-top: 28px;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--green-deep);
}
.hero-stats span { font-size: 0.85rem; color: var(--muted); }

.hero-art { position: relative; }
.hero-art img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 24px rgba(60, 90, 50, 0.25));
  animation: float 5s ease-in-out infinite;
}
.blob {
  position: absolute;
  inset: 6% -4% -2% -4%;
  background: radial-gradient(closest-side, var(--green) 0%, var(--mint) 68%, transparent 100%);
  opacity: 0.5;
  border-radius: 46% 54% 55% 45% / 52% 44% 56% 48%;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-art img { animation: none; }
}

/* ── Sections ────────────────────────────────────── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 72px) clamp(16px, 5vw, 48px);
}
.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 44em;
  margin: 0 auto 36px;
}

.grid { display: grid; gap: 20px; }
.features { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(77, 116, 60, 0.08);
}
.card .icon { font-size: 2rem; margin-bottom: 10px; }
.card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 8px; }
.card p { font-size: 0.95rem; color: var(--muted); }

/* ── Showcase strip ─────────────────────────────── */
.showcase {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 30px);
  padding: 10px clamp(16px, 5vw, 48px) 20px;
  background: linear-gradient(180deg, transparent, var(--mint) 30%, var(--mint) 70%, transparent);
}
.showcase figure {
  text-align: center;
  width: clamp(120px, 18vw, 190px);
}
.showcase img {
  filter: drop-shadow(0 10px 14px rgba(60, 90, 50, 0.18));
  transition: transform 0.25s ease;
}
.showcase figure:hover img { transform: translateY(-8px) rotate(-2deg); }
.showcase figcaption {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--green-deep);
  margin-top: 6px;
}

/* ── Journey ─────────────────────────────────────── */
.journey {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.journey li {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--green);
}
.journey .stage {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--mint);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
}
.journey h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 6px; }
.journey p { font-size: 0.92rem; color: var(--muted); }

/* ── Parents ─────────────────────────────────────── */
.parents {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
}
.parents-art img {
  max-width: 320px;
  margin: 0 auto;
  filter: drop-shadow(0 14px 18px rgba(60, 90, 50, 0.2));
}
.parents h2 { text-align: left; }
.checks {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.checks li {
  background: var(--card);
  border-radius: 16px;
  padding: 14px 18px 14px 44px;
  position: relative;
  box-shadow: var(--shadow);
  font-size: 0.97rem;
  color: var(--muted);
}
.checks li::before {
  content: '✅';
  position: absolute;
  left: 14px;
  top: 12px;
}
.checks strong { color: var(--ink); }

/* ── Pricing ─────────────────────────────────────── */
.pricing {
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
}
.price { text-align: center; position: relative; }
.price h3 { font-size: 1.1rem; font-weight: 900; margin-bottom: 6px; }
.price .amount {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--green-deep);
  margin-bottom: 16px;
}
.price .amount span {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 700;
}
.price ul { list-style: none; display: grid; gap: 10px; text-align: left; }
.price li { font-size: 0.95rem; }
.price.featured {
  border: 2px solid var(--green);
  transform: scale(1.03);
}
.ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-dark);
  color: #fff;
  font-weight: 900;
  font-size: 0.8rem;
  padding: 4px 16px;
  border-radius: 999px;
}

/* ── FAQ ─────────────────────────────────────────── */
.faq { max-width: 760px; }
.faq details {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq summary {
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq summary::after {
  content: '＋';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--green-dark);
  font-weight: 900;
}
.faq details[open] summary::after { content: '－'; }
.faq details p { margin-top: 10px; color: var(--muted); font-size: 0.96rem; }
.faq a { color: var(--green-dark); }

/* ── Final CTA ───────────────────────────────────── */
.final-cta {
  text-align: center;
  background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
  padding: clamp(40px, 7vw, 72px) 20px;
  margin-top: 20px;
}
.final-cta img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  margin: 0 auto 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.final-cta h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; margin-bottom: 8px; }
.final-cta p { opacity: 0.92; max-width: 36em; margin: 0 auto 22px; }
.btn {
  display: inline-block;
  background: #fff;
  color: var(--green-deep);
  font-weight: 900;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-appstore {
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-appstore:hover { background: #000; }

/* ── Footer ──────────────────────────────────────── */
.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px clamp(16px, 5vw, 48px) 44px;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer a { color: var(--green-dark); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ── Privacy page ────────────────────────────────── */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 5vw, 48px);
}
.doc h1 { font-size: 1.8rem; font-weight: 900; margin-bottom: 6px; }
.doc .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 26px; }
.doc h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 26px 0 8px;
  text-align: left;
}
.doc p, .doc li { color: var(--muted); font-size: 0.97rem; }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc a { color: var(--green-dark); }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 0.92rem;
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.doc th, .doc td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--cream-2);
  color: var(--muted);
  vertical-align: top;
}
.doc th {
  background: var(--mint);
  color: var(--green-deep);
  font-weight: 800;
}
.doc .note {
  background: var(--mint);
  border-left: 5px solid var(--green);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero .sub { margin-inline: auto; }
  .hero-stats { justify-content: center; }
  .hero-art { max-width: 320px; margin: 0 auto; }
  .parents { grid-template-columns: 1fr; }
  .parents h2 { text-align: center; }
  .pricing { grid-template-columns: 1fr; }
  .price.featured { transform: none; }
  .nav-privacy { display: none; }
}
@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
}

/* ── Phase timeline ──────────────────────────────── */
.phases-title {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 900;
  margin: 40px 0 18px;
}
.phases {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  display: grid;
  gap: 10px;
}
.phases::before {
  content: '';
  position: absolute;
  left: 92px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--mint), var(--green));
}
.phase {
  display: grid;
  grid-template-columns: 78px 28px 1fr auto;
  align-items: center;
  gap: 0 8px;
  position: relative;
}
.phase::before {
  content: '';
  grid-column: 2;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--green);
  justify-self: center;
}
.phase.milestone::before {
  background: #f6b93b;
  box-shadow: 0 0 0 2px #f6b93b;
}
.ph-range {
  grid-column: 1;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  text-align: right;
}
.ph-body {
  grid-column: 3;
  background: var(--card);
  border-radius: 12px;
  padding: 9px 14px;
  font-size: 0.92rem;
  color: var(--muted);
  box-shadow: var(--shadow);
}
.ph-body strong { color: var(--ink); }
.ph-level {
  grid-column: 4;
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--green-deep);
  background: var(--mint);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.ph-level.gold { background: #fff3d1; color: #9c6b00; }
.phases-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 18px;
}
@media (max-width: 560px) {
  .phases::before { left: 10px; }
  .phase { grid-template-columns: 24px 1fr; grid-template-rows: auto auto auto; }
  .phase::before { grid-column: 1; grid-row: 1; }
  .ph-range { grid-column: 2; grid-row: 1; text-align: left; }
  .ph-body { grid-column: 2; grid-row: 2; }
  .ph-level { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 4px; }
}
