:root {
  --bg: #f5f1e8;
  --bg-soft: #ede7d8;
  --fg: #1a1f3a;
  --muted: #5a5e72;
  --accent: #3b5bdb;
  --accent-deep: #1e2a5e;
  --accent-soft: #e8ecfb;
  --highlight: #ff6b1a;
  --border: rgba(30, 42, 94, 0.12);
  --card: #ffffff;
  --shadow-sm: 0 1px 2px rgba(30, 42, 94, 0.06);
  --shadow-md: 0 8px 24px rgba(30, 42, 94, 0.08);
  --shadow-lg: 0 24px 60px rgba(30, 42, 94, 0.18);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 241, 232, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}

.brand {
  font-weight: 700;
  color: var(--accent-deep);
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }

.nav-links a { color: var(--fg); margin-left: 22px; font-weight: 500; }
.nav-links .lang { color: var(--muted); }

main { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 72px 0 88px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(59, 91, 219, 0.18) 0%, rgba(59, 91, 219, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-text { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  color: var(--highlight);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  padding: 6px 12px;
  background: rgba(255, 107, 26, 0.1);
  border-radius: 999px;
}

.hero h1 {
  font-size: 60px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--accent-deep);
  margin-bottom: 20px;
}

.hero h1 .accent { color: var(--highlight); }

.hero .sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 36px;
}

.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(59, 91, 219, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(59, 91, 219, 0.4);
}

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 8px;
}

/* ===== Hero visual: coach + phone ===== */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  z-index: 1;
}

.coach-card {
  position: absolute;
  top: 20px;
  left: 0;
  width: 220px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--accent-deep);
  transform: rotate(-4deg);
  z-index: 1;
}

.coach-card img { display: block; width: 100%; height: auto; }

.coach-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-deep);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.coach-tag .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28c76f;
  margin-right: 6px;
  box-shadow: 0 0 0 3px rgba(40, 199, 111, 0.25);
}

.phone-card {
  position: relative;
  width: 260px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(3deg);
  z-index: 2;
  margin-left: 80px;
  background: #fff;
}

.phone-card img { display: block; width: 100%; height: auto; }

/* ===== Section base ===== */
section { padding: 80px 0; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }

.section-head .eyebrow { margin-bottom: 14px; }

section h2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
  margin-bottom: 14px;
}

.section-head p {
  font-size: 18px;
  color: var(--muted);
}

/* ===== Features ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature {
  background: var(--card);
  border-radius: 20px;
  padding: 30px 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feature h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 8px;
}

.feature p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== Steps ===== */
.steps-section {
  background: var(--bg-soft);
  border-radius: 32px;
  padding: 72px 48px;
  margin: 0 -16px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  counter-reset: step;
}

.step {
  background: var(--card);
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  counter-increment: step;
  position: relative;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--highlight);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 6px;
}
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ===== Quote ===== */
.quote-section {
  text-align: center;
  padding: 80px 0;
}

.quote {
  font-size: 28px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--accent-deep);
  letter-spacing: -0.015em;
  max-width: 720px;
  margin: 0 auto 24px;
}

.quote .accent { color: var(--highlight); }

.quote-author {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
}

.quote-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent-deep) 0%, var(--accent) 100%);
  border-radius: 32px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  margin: 32px 0 80px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 107, 26, 0.3) 0%, transparent 70%);
}

.cta-banner h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 14px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  margin-bottom: 28px;
  position: relative;
}

.cta-banner .cta {
  background: #fff;
  color: var(--accent-deep);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
}

.cta-banner .cta:hover {
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* ===== Doc pages ===== */
.doc { padding: 72px 0 96px; max-width: 720px; margin: 0 auto; }

.doc h1 {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
  margin-bottom: 8px;
}

.doc .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 36px;
}

.doc h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-deep);
  margin: 36px 0 12px;
}

.doc h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0 8px;
}

.doc p, .doc li {
  font-size: 16px;
  color: #333;
  line-height: 1.75;
}

.doc ul { padding-left: 22px; margin-bottom: 12px; }

/* ===== Footer ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 22px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

footer a { color: var(--muted); margin: 0 8px; }
footer a:hover { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 56px 0 64px;
    gap: 32px;
    text-align: center;
  }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero h1 { font-size: 44px; }
  .hero .sub { font-size: 17px; }
  .hero-visual { min-height: 440px; }
  .coach-card { width: 180px; top: 0; left: 10%; }
  .phone-card { width: 220px; margin-left: 40px; margin-top: 60px; }
  section { padding: 56px 0; }
  section h2 { font-size: 30px; }
  .steps-section { padding: 48px 24px; margin: 0; border-radius: 24px; }
  .cta-banner { padding: 48px 28px; }
  .cta-banner h2 { font-size: 26px; }
  .quote { font-size: 22px; }
  .doc h1 { font-size: 32px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 36px; }
  .coach-card { width: 150px; }
  .phone-card { width: 190px; margin-left: 20px; }
}
