/* ===== Easy Learning — Design System ===== */
:root {
  /* Brand palette (from the fluffy brain logo) */
  --pink:   #f15fa6;
  --pink-soft: #fbd9ea;
  --yellow: #f4c83b;
  --yellow-soft: #fbeec0;
  --green:  #8cc63f;
  --green-soft: #e0f0c8;
  --blue:   #45b6e6;
  --blue-soft: #cdeaf8;

  --ink:    #1c2230;
  --ink-2:  #4a5266;
  --muted:  #8a91a3;
  --line:   #e8eaf0;
  --bg:     #ffffff;
  --bg-2:   #f7f8fb;
  --bg-3:   #eef1f7;

  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(28,34,48,.06);
  --shadow:    0 10px 30px rgba(28,34,48,.10);
  --shadow-lg: 0 24px 60px rgba(28,34,48,.16);

  --maxw: 1140px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system,
          BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--pink); color: #fff; box-shadow: 0 8px 20px rgba(241,95,166,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(241,95,166,.45); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.lang-btn { background: #fff; color: var(--ink); border: 2px solid var(--line); padding: 9px 16px; font-size: 14px; }
.lang-btn:hover { border-color: var(--pink); color: var(--pink); transform: translateY(-2px); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; letter-spacing: .2px; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand .en { color: var(--muted); font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--pink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; background:
  radial-gradient(1100px 500px at 85% -10%, var(--pink-soft), transparent 60%),
  radial-gradient(900px 500px at 0% 10%, var(--blue-soft), transparent 55%),
  var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 13px;
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: 52px; line-height: 1.12; margin: 22px 0 18px; letter-spacing: -.5px; }
.hero h1 .grad { background: linear-gradient(100deg, var(--pink), var(--blue) 55%, var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 28px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 14px; }

.hero-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 26px; border: 1px solid var(--line); position: relative;
}
.hero-card img { border-radius: 14px; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .55; z-index: 0; }

/* ===== Section scaffolding ===== */
.section { padding: 84px 0; }
.section.alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .kicker { color: var(--pink); font-weight: 800; letter-spacing: 1.5px; font-size: 13px; text-transform: uppercase; }
.section-head h2 { font-size: 38px; margin: 12px 0 14px; letter-spacing: -.4px; }
.section-head p { color: var(--ink-2); font-size: 17px; margin: 0; }

/* ===== Stats / Logos ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 26px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat .num { font-size: 40px; font-weight: 800; line-height: 1; background: linear-gradient(120deg, var(--pink), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--ink-2); margin-top: 8px; font-weight: 600; font-size: 14px; }

.logos { margin-top: 40px; text-align: center; }
.logos .cap { color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logo-chip { padding: 10px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 800; color: var(--ink-2); font-size: 16px; box-shadow: var(--shadow-sm); }

/* ===== Syllabus grid ===== */
.syllabus { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.week {
  background: #fff; border-radius: var(--radius); padding: 24px 22px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; position: relative; overflow: hidden;
}
.week:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.week::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c, var(--pink)); }
.week .wk { font-weight: 800; font-size: 13px; color: var(--c, var(--pink)); letter-spacing: .5px; }
.week h3 { margin: 6px 0 10px; font-size: 19px; }
.week p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ===== Stories ===== */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story {
  background: #fff; border-radius: var(--radius); padding: 26px 24px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
}
.story:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.story .who { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px; flex: none; }
.story .name { font-weight: 800; font-size: 18px; }
.story .tag { color: var(--muted); font-size: 13px; font-weight: 600; }
.story p { margin: 0; color: var(--ink-2); font-size: 15px; }
.story .quote { font-style: italic; color: var(--ink); }

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 24px; font-size: 17px; font-weight: 700; color: var(--ink); }
.faq-q .ico { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-3); display: grid; place-items: center; font-size: 18px; transition: transform .2s, background .2s; color: var(--pink); }
.faq-item.open .faq-q .ico { transform: rotate(45deg); background: var(--pink); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a .inner { padding: 0 24px 22px; color: var(--ink-2); font-size: 15.5px; }
.faq-a a { color: var(--blue); font-weight: 600; text-decoration: underline; word-break: break-all; }

/* ===== Teachers ===== */
.teachers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.teacher { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); display: flex; gap: 22px; }
.teacher .face { width: 84px; height: 84px; border-radius: 22px; flex: none; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 34px; }
.teacher h3 { margin: 0 0 4px; font-size: 22px; }
.teacher .role { color: var(--pink); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.teacher p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ===== Service cards ===== */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; margin-bottom: 16px; }
.service h3 { margin: 0 0 8px; font-size: 19px; }
.service p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ===== CTA band ===== */
.cta-band { background: linear-gradient(120deg, var(--ink), #2c3550); color: #fff; border-radius: var(--radius-lg); padding: 54px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: 34px; margin: 0 0 12px; }
.cta-band p { color: #c7ccdb; font-size: 17px; margin: 0 0 26px; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .price { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; padding: 10px 24px; border-radius: 999px; font-size: 17px; font-weight: 600; margin-bottom: 22px; }
.cta-band .price strong { color: var(--yellow); font-size: 24px; font-weight: 800; }

/* Pricing chip in hero / sections */
.price-pill { display: inline-flex; align-items: baseline; gap: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); padding: 8px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.price-pill strong { color: var(--pink); font-size: 20px; font-weight: 800; }
.cta-band .blob { position: absolute; width: 320px; height: 320px; border-radius: 50%; filter: blur(40px); opacity: .35; }

/* ===== Page hero (sub pages) ===== */
.page-hero { padding: 70px 0 50px; text-align: center; background:
  radial-gradient(800px 360px at 50% -20%, var(--blue-soft), transparent 60%); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: 46px; margin: 0 0 14px; letter-spacing: -.5px; }
.page-hero p { color: var(--ink-2); font-size: 18px; max-width: 640px; margin: 0 auto; }

/* ===== Events ===== */
.events { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.event { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.event:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.event .banner { height: 130px; display: flex; align-items: flex-end; padding: 18px; color: #fff; font-weight: 800; font-size: 13px; letter-spacing: 1px; }
.event .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.event .meta { color: var(--muted); font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.event h3 { margin: 0 0 10px; font-size: 21px; }
.event p { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; flex: 1; }

/* ===== Steps (layoff) ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: var(--shadow-sm); position: relative; }
.step .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 18px; margin-bottom: 14px; }
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-2); font-size: 14.5px; }

/* ===== Checklist ===== */
.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; max-width: 860px; margin: 0 auto; }
.check { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.check .tick { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; }
.check h4 { margin: 0 0 3px; font-size: 16px; }
.check p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #c7ccdb; padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.foot-brand img { width: 38px; height: 38px; }
.site-footer p { font-size: 14px; margin: 0 0 8px; }
.foot-col h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.foot-col a { display: block; color: #c7ccdb; font-size: 14px; margin-bottom: 10px; transition: color .15s; }
.foot-col a:hover { color: var(--pink); }
.foot-bottom { border-top: 1px solid #2c3550; margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--muted); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .syllabus, .stories, .services, .steps { grid-template-columns: repeat(2, 1fr); }
  .teachers, .events, .checklist { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 18px 24px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 33px; }
  .section { padding: 60px 0; }
  .section-head h2, .page-hero h1 { font-size: 28px; }
  .syllabus, .stories, .services, .steps, .stats { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 22px; }
  .foot-grid { grid-template-columns: 1fr; }
}
