/* ============================================================
   Aliu Education Planning — 合规版站点样式（沿用品牌 navy/blue/gold）
   ============================================================ */

:root {
  --navy: #0f2a4a;
  --navy-2: #16395f;
  --blue: #2563eb;
  --blue-soft: #eaf1fd;
  --gold: #c9a24b;
  --gold-soft: #faf4e6;
  --ink: #1f2937;
  --muted: #5b6b7f;
  --line: #e5eaf1;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --green: #15803d;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; }

/* ---------- header ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--navy); font-size: 17px; text-decoration: none;
}
.brand .logo {
  width: 40px; height: 40px; flex: none; display: block;
  object-fit: contain;
}
.brand small {
  display: block; font-weight: 500; font-size: 11px; color: var(--muted);
  letter-spacing: 1.5px; text-transform: uppercase;
}
nav ul { display: flex; gap: 26px; list-style: none; align-items: center; }
nav a { text-decoration: none; color: var(--ink); font-size: 14.5px; font-weight: 500; }
nav a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue); color: #fff !important; padding: 9px 18px;
  border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { background: var(--navy-2); }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(700px 380px at 10% 110%, rgba(201,162,75,.14), transparent 60%),
    var(--bg);
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-soft); color: var(--blue);
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
h1 { font-size: 42px; line-height: 1.18; color: var(--navy); letter-spacing: -.5px; margin-bottom: 18px; }
h1 .accent { color: var(--blue); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: 15.5px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  border: 1.5px solid transparent; cursor: pointer;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,.28); }
.btn-primary:hover { background: var(--navy-2); }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.hero-stats {
  background: var(--navy); color: #fff; border-radius: 16px;
  padding: 26px 26px 12px;
  box-shadow: 0 16px 40px rgba(15,42,74,.22);
}
.hero-stats .stat { padding: 0 0 18px; }
.hero-stats .stat + .stat { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }
.hero-stats .num { font-size: 26px; font-weight: 800; color: #ffd97a; }
.hero-stats .label { font-size: 13px; color: rgba(255,255,255,.75); }

/* ---------- sections ---------- */
section { padding: 72px 0; }
section.alt { background: var(--bg-alt); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head .eyebrow {
  text-transform: uppercase; letter-spacing: 2.5px; font-size: 12px;
  font-weight: 700; color: var(--gold); margin-bottom: 10px;
}
.sec-head h2 { font-size: 32px; color: var(--navy); letter-spacing: -.3px; margin-bottom: 12px; }
.sec-head p { color: var(--muted); font-size: 16.5px; }

/* ---------- founder ---------- */
.founder-grid { display: grid; grid-template-columns: 330px 1fr; gap: 44px; align-items: start; }
.founder-card {
  background: linear-gradient(160deg, var(--navy), var(--navy-2));
  border-radius: 16px; color: #fff; text-align: center;
  padding: 0; overflow: hidden;
  box-shadow: 0 18px 40px rgba(15,42,74,.18);
}
.founder-photo {
  display: block; width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover; object-position: center 20%;
  background: #e9edf3;
}
.founder-body { padding: 22px 24px 24px; }
.founder-card h3 { font-size: 21px; margin-bottom: 4px; }
.founder-card .sub { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.founder-card ul { list-style: none; text-align: left; font-size: 13.5px; }
.founder-card li { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.12); }
.founder-card li:first-child { border-top: 0; }
.founder-card li::before { content: "·"; color: #ffd97a; font-weight: 800; margin-right: 6px; }
.founder-story h3 { color: var(--navy); font-size: 22px; margin-bottom: 12px; }
.founder-story p { color: var(--muted); margin-bottom: 14px; }
.founder-quote {
  margin: 20px 0 0; padding: 15px 20px;
  background: var(--gold-soft); border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0; font-size: 14.5px; color: var(--ink);
}
.founder-quote strong { color: var(--navy); }
.founder-quote span { display: block; margin-top: 7px; font-size: 12.5px; color: var(--muted); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; font-size: 13px; color: var(--navy); font-weight: 600;
}

/* ---------- modules ---------- */
.modules-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.module {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 24px 20px; text-align: center;
  transition: box-shadow .2s ease, transform .2s ease;
}
.module:hover { box-shadow: 0 12px 28px rgba(15,42,74,.10); transform: translateY(-3px); }
.module .icon {
  width: 42px; height: 42px; margin: 0 auto 12px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; letter-spacing: .5px;
}
.module h4 { color: var(--navy); font-size: 16px; margin-bottom: 6px; }
.module p { font-size: 13px; color: var(--muted); }

/* ---------- products ---------- */
.products-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: stretch; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 32px; display: flex; flex-direction: column; position: relative;
}
.product-card.featured {
  border: 2px solid var(--navy);
  box-shadow: 0 20px 44px rgba(15,42,74,.14);
}
.badge {
  position: absolute; top: -14px; left: 32px;
  background: var(--gold); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; letter-spacing: .5px;
}
.badge.navy { background: var(--navy); }
.product-card .tier {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.product-card h3 { font-size: 24px; color: var(--navy); margin-bottom: 6px; }
.product-card .tagline { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.price { font-size: 40px; font-weight: 800; color: var(--navy); letter-spacing: -1px; }
.price .cur { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-note { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.product-card ul { list-style: none; margin-bottom: 26px; flex: 1; }
.product-card li {
  padding: 8px 0 8px 24px; position: relative; font-size: 14.5px;
  color: var(--ink); border-top: 1px dashed var(--line);
}
.product-card li:first-child { border-top: none; }
.product-card li::before {
  content: ""; position: absolute; left: 6px; top: 16px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}
.product-card li.hl { background: var(--gold-soft); border-radius: 8px; padding-left: 24px; }
.product-card li.hl::before { background: var(--gold); }
.product-card .btn { width: 100%; }

.arrow {
  text-align: center; color: var(--muted); font-size: 13.5px;
  margin-top: 26px; line-height: 1.7;
}

/* ---------- spec table ---------- */
.spec-wrap { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec th, .spec td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 190px; color: var(--muted); font-weight: 600; background: var(--bg-alt); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec td strong { color: var(--navy); font-weight: 700; }
.spec a { color: var(--blue); text-decoration: none; }
.spec a:hover { text-decoration: underline; }

/* ---------- journey ---------- */
.journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.step .n {
  width: 36px; height: 36px; border-radius: 10px; background: var(--blue-soft);
  color: var(--blue); font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; font-size: 16px;
}
.step h4 { color: var(--navy); margin-bottom: 8px; font-size: 17px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 12px; padding: 24px;
}
.trust-card h4 { color: var(--navy); margin-bottom: 8px; font-size: 16.5px; }
.trust-card p { font-size: 14px; color: var(--muted); }

/* ---------- payment ---------- */
.pay-block { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.pay-badge {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; min-width: 78px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  font-size: 13.5px; font-weight: 700; letter-spacing: .02em;
}
/* brand colours — dark text on light surfaces */
.pay-badge.p-onerway { color: #0f2a4a; }
.pay-badge.p-alipay  { color: #1677ff; }
.pay-badge.p-wechat  { color: #07c160; }
.pay-badge.p-visa    { color: #1a1f71; font-style: italic; letter-spacing: .06em; }

.pay-note { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 18px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; }
details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 12px;
}
details summary { font-weight: 600; color: var(--navy); cursor: pointer; font-size: 15.5px; }
details p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* ---------- cta ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #fff; text-align: center; padding: 64px 0;
}
.cta-band h2 { font-size: 30px; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 620px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: #ffd97a; color: var(--navy); box-shadow: none; }
.cta-band .btn-primary:hover { background: #ffe49a; }

/* ---------- footer ---------- */
footer {
  background: #0b1f38; color: rgba(255,255,255,.62);
  padding: 52px 0 26px; font-size: 13px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.15fr; gap: 34px;
}
.footer-col h5 {
  color: #fff; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase;
  margin-bottom: 14px; font-weight: 700;
}
.footer-col a { display: block; color: rgba(255,255,255,.66); text-decoration: none; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-entity { line-height: 1.85; color: rgba(255,255,255,.6); }
.footer-entity strong { color: #fff; font-weight: 700; }
.footer-entity a { display: inline; color: rgba(255,255,255,.8); }
footer .brand { color: #fff; margin-bottom: 16px; }
footer .brand small { color: rgba(255,255,255,.5); }
footer .pay-badge {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16);
  color: #fff; height: 34px; min-width: 66px; font-size: 12px; padding: 0 10px;
}
/* same badges on the dark footer — lifted so they stay legible */
footer .pay-badge.p-onerway { color: #ffffff; }
footer .pay-badge.p-alipay  { color: #8ab4f8; }
footer .pay-badge.p-wechat  { color: #6ee7a8; }
footer .pay-badge.p-visa    { color: #ffffff; }

.footer-bottom {
  margin-top: 38px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 5px; text-align: center;
  color: rgba(255,255,255,.42); font-size: 12.5px;
}
.footer-bottom a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- policy / doc pages ---------- */
.doc { padding: 52px 0 76px; }
.doc .container { max-width: 800px; }
.doc-head { padding-bottom: 24px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.doc-head h1 { font-size: 30px; margin-bottom: 10px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--muted); }
.entity-box {
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg-alt);
  padding: 18px 22px; margin-bottom: 30px; font-size: 14px;
}
.entity-box dl { display: grid; grid-template-columns: 150px 1fr; gap: 7px 16px; }
.entity-box dt { color: var(--muted); }
.entity-box dd { color: var(--navy); font-weight: 600; }
.entity-box a { color: var(--blue); text-decoration: none; }
.entity-box a:hover { text-decoration: underline; }

.prose h2 {
  font-size: 19px; color: var(--navy); font-weight: 700;
  margin: 34px 0 12px; scroll-margin-top: 84px;
}
.prose h3 { font-size: 15.5px; color: var(--navy); margin: 22px 0 8px; }
.prose p { margin-bottom: 13px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--navy); font-weight: 700; }
.prose a { color: var(--blue); text-decoration: none; }
.prose a:hover { text-decoration: underline; }
.prose table.spec { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-bottom: 16px; }
.prose .spec th { width: 200px; }
.callout {
  border-left: 3px solid var(--gold); background: var(--gold-soft);
  padding: 14px 18px; border-radius: 0 10px 10px 0; margin-bottom: 18px; font-size: 14.5px;
}

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 12px; }
.contact-card { border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.contact-card h3 { font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-card p { font-size: 15.5px; color: var(--navy); font-weight: 700; margin-bottom: 0; }
.contact-card span { display: block; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 4px; }
.contact-card a { color: var(--navy); text-decoration: none; }
.contact-card a:hover { color: var(--blue); }
.hours { list-style: none; margin: 0 0 16px; }
.hours li { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.hours li span:last-child { color: var(--muted); }

.form-grid { display: grid; gap: 14px; margin-top: 6px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 14.5px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 9px;
  padding: 11px 13px; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.10);
}
.field textarea { resize: vertical; min-height: 118px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-card { max-width: 340px; margin: 0 auto; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .journey, .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  nav ul { display: none; }
  h1 { font-size: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
  .entity-box dl { grid-template-columns: 1fr; gap: 2px 0; }
  .entity-box dt { margin-top: 8px; }
  .spec th { width: 120px; font-size: 13.5px; }
  .spec th, .spec td { padding: 12px 14px; }
  section { padding: 52px 0; }
  .hero { padding: 54px 0 48px; }
  .doc-head h1 { font-size: 25px; }
}
