:root {
  --bg: #f7f4ee;
  --bg-deep: #efe9df;
  --ink: #2e2a26;
  --ink-soft: #6f675c;
  --accent: #5b7a6e;
  --accent-deep: #3f5c52;
  --accent-warm: #b0764a;
  --card: #ffffff;
  --line: #e4dccd;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }

/* ===== 导航 ===== */
nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247,244,238,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-size: 18px; font-weight: 600; letter-spacing: .28em; color: var(--ink); text-decoration: none; }
nav .navlink { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
nav .navlink:hover { color: var(--accent-deep); }

/* ===== 首页 Hero ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse 700px 340px at 50% -80px, rgba(91,122,110,.12), transparent 70%),
    var(--bg);
}
.hero .mandala { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-55%); opacity: .07; pointer-events: none; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: translate(-50%,-55%) rotate(360deg); } }
.hero .kicker { font-size: 13px; letter-spacing: .5em; color: var(--accent); margin-bottom: 20px; }
.hero h1 { font-size: 40px; font-weight: 700; letter-spacing: .04em; line-height: 1.35; margin-bottom: 20px; }
.hero .tagline { font-size: 17px; color: var(--ink-soft); max-width: 580px; margin: 0 auto 36px; }
.hero .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; font-size: 15px; padding: 13px 34px; border-radius: 999px;
  text-decoration: none; transition: all .2s; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent-deep); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(63,92,82,.25); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink-soft); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }

/* ===== 章节 ===== */
section { padding: 72px 0; }
.section-title { text-align: center; margin-bottom: 14px; }
.section-title .zh { font-size: 26px; font-weight: 600; letter-spacing: .1em; }
.section-title .en { display: block; font-size: 12px; letter-spacing: .4em; color: var(--ink-soft); margin-top: 6px; }
.section-desc { text-align: center; color: var(--ink-soft); font-size: 15px; max-width: 560px; margin: 0 auto 48px; }

/* ===== 课程卡片 ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px; display: flex; flex-direction: column; position: relative;
  transition: box-shadow .25s, transform .25s;
}
a.card { text-decoration: none; color: inherit; }
a.card:hover { box-shadow: 0 14px 40px rgba(63,92,82,.13); transform: translateY(-4px); }
.card.soon { opacity: .62; }
.badge {
  align-self: flex-start; font-size: 12px; padding: 4px 14px; border-radius: 999px;
  background: rgba(91,122,110,.12); color: var(--accent-deep); letter-spacing: .12em; margin-bottom: 16px;
}
.badge.soon { background: #efe9dd; color: var(--ink-soft); }
.card h3 { font-size: 21px; font-weight: 600; margin-bottom: 10px; }
.card .sub { font-size: 13px; color: var(--accent-warm); margin-bottom: 12px; letter-spacing: .05em; }
.card p { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.card .meta { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.card .price { font-weight: 700; color: var(--accent-deep); font-size: 17px; }
.card .more { color: var(--accent-deep); font-size: 14px; }

/* ===== 理念区 ===== */
.philosophy { background: var(--bg-deep); }
.philosophy .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; margin-top: 8px; }
.philosophy .col { text-align: center; padding: 12px; }
.philosophy .col .num {
  width: 44px; height: 44px; margin: 0 auto 18px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.philosophy .col h4 { font-size: 17px; margin-bottom: 8px; }
.philosophy .col p { font-size: 14px; color: var(--ink-soft); }

footer { padding: 40px 0; text-align: center; font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); }

/* ===== 详情页 ===== */
.detail-hero { padding: 72px 0 56px; text-align: center; background: radial-gradient(ellipse 640px 300px at 50% -70px, rgba(91,122,110,.13), transparent 70%), var(--bg); }
.detail-hero .crumb { font-size: 13px; margin-bottom: 28px; }
.detail-hero .crumb a { color: var(--ink-soft); text-decoration: none; }
.detail-hero .crumb a:hover { color: var(--accent-deep); }
.detail-hero h1 { font-size: 34px; font-weight: 700; margin-bottom: 16px; letter-spacing: .03em; }
.detail-hero .lead { font-size: 16.5px; color: var(--ink-soft); max-width: 620px; margin: 0 auto 28px; }
.detail-hero .facts { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); margin-bottom: 32px; }
.detail-hero .facts b { color: var(--accent-deep); }

.block { padding: 56px 0; }
.block + .block { border-top: 1px solid var(--line); }
.block h2 { font-size: 22px; font-weight: 600; margin-bottom: 8px; letter-spacing: .06em; }
.block .hint { font-size: 13px; color: var(--ink-soft); letter-spacing: .2em; margin-bottom: 28px; }
.block p.body { color: var(--ink-soft); font-size: 15px; max-width: 680px; margin-bottom: 12px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.panel h4 { font-size: 16px; margin-bottom: 14px; color: var(--accent-deep); }
.panel ul { list-style: none; }
.panel li { font-size: 14.5px; color: var(--ink-soft); padding: 7px 0 7px 24px; position: relative; border-bottom: 1px dashed var(--line); }
.panel li:last-child { border-bottom: none; }
.panel li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.panel.no li::before { content: "×"; color: #b0764a; }

.steps { counter-reset: step; }
.steps li {
  list-style: none; position: relative; padding: 18px 0 18px 64px;
  border-bottom: 1px solid var(--line); font-size: 15px;
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 16px;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.steps li b { display: block; margin-bottom: 2px; }
.steps li span { font-size: 13.5px; color: var(--ink-soft); }

.feedback-empty {
  text-align: center; padding: 48px 24px; border: 1px dashed var(--line); border-radius: 16px;
  color: var(--ink-soft); font-size: 14.5px; background: rgba(255,255,255,.5);
}

.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  cursor: pointer; font-size: 15.5px; font-weight: 500; padding: 16px 0;
  list-style: none; position: relative; padding-right: 32px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 20px; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-size: 14.5px; color: var(--ink-soft); padding: 0 0 18px; max-width: 700px; }

.cta-band { background: var(--accent-deep); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { font-size: 26px; margin-bottom: 12px; }
.cta-band p { font-size: 15px; opacity: .85; margin-bottom: 28px; }
.cta-band .btn { background: #fff; color: var(--accent-deep); font-weight: 600; }

@media (max-width: 640px) {
  .hero h1 { font-size: 29px; }
  .detail-hero h1 { font-size: 27px; }
  .two-col { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
}
