/* ============================================================
 * UKIS 教育官网 · 样式系统
 * 品牌色：深青(主) + 活力橙(辅) · 现代清爽教育风
 * 纯本地，无外部 CDN 依赖
 * ============================================================ */

:root {
  --primary: #0e7a8a;
  --primary-dark: #0a5a66;
  --primary-soft: #e6f3f5;
  --accent: #ff8a3d;
  --accent-dark: #e9701f;
  --bg: #ffffff;
  --bg-soft: #f4f9fa;
  --bg-deep: #07343b;
  --text: #1f2d2e;
  --muted: #5b6b6c;
  --line: #e2edee;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(14, 122, 138, 0.10);
  --shadow-lg: 0 24px 60px rgba(7, 52, 59, 0.18);
  --maxw: 1160px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------------- 顶部导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-weight: 800; font-size: 17px; letter-spacing: 0.5px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(14,122,138,.35);
}
.brand__name { font-weight: 800; font-size: 19px; letter-spacing: .5px; }
.brand__sub { font-size: 11px; color: var(--muted); letter-spacing: .5px; margin-top: -2px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 15px; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--primary); }
.nav__cta {
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 10px 20px; border-radius: 999px; font-size: 14px;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 8px 20px rgba(255,138,61,.35);
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(255,138,61,.45); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px auto; transition: .25s; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(900px 500px at 80% -10%, rgba(14,122,138,.18), transparent 60%),
              radial-gradient(700px 400px at 10% 10%, rgba(255,138,61,.14), transparent 60%),
              linear-gradient(180deg, var(--bg-soft), #fff);
  padding: 86px 0 72px;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--primary-soft); color: var(--primary-dark);
  font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: 46px; line-height: 1.22; font-weight: 800; letter-spacing: -.5px; }
.hero h1 .hl { color: var(--primary); }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 22px 0 32px; max-width: 520px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .15s, box-shadow .2s, background .2s; cursor: pointer; border: 0;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 26px rgba(14,122,138,.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(14,122,138,.42); }
.btn--ghost { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn--ghost:hover { background: var(--primary-soft); }

/* Hero 右侧数据卡 */
.hero__panel {
  background: #fff; border-radius: 22px; padding: 30px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.hero__panel h3 { font-size: 15px; color: var(--muted); font-weight: 700; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { }
.stat__num { font-size: 34px; font-weight: 800; color: var(--primary); line-height: 1; }
.stat__num small { font-size: 16px; font-weight: 700; }
.stat__label { font-size: 13px; color: var(--muted); margin-top: 6px; }
.hero__panel .divider { height: 1px; background: var(--line); margin: 22px 0; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section__tag { color: var(--accent-dark); font-weight: 800; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }
.section__head h2 { font-size: 34px; font-weight: 800; margin: 12px 0 14px; letter-spacing: -.5px; }
.section__head p { color: var(--muted); font-size: 17px; }

/* 能力卡片 */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* 数据驱动 双栏 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split__visual {
  background: linear-gradient(135deg, var(--bg-deep), var(--primary-dark));
  border-radius: 22px; padding: 38px; color: #fff; box-shadow: var(--shadow-lg);
}
.split__visual h4 { font-size: 16px; opacity: .8; font-weight: 700; margin-bottom: 18px; }
.flow { display: flex; flex-direction: column; gap: 14px; }
.flow__step {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  padding: 14px 16px; border-radius: 12px;
}
.flow__step .n { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color:#fff; font-weight: 800; display:flex; align-items:center; justify-content:center; font-size: 14px; flex: 0 0 auto; }
.flow__step span { font-size: 14px; }
.split ul.checklist { list-style: none; display: grid; gap: 16px; }
.split ul.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.split ul.checklist .tick { color: var(--primary); font-weight: 800; flex: 0 0 auto; }

/* 多租户 SaaS 步骤 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; position: relative;
}
.step__no { font-size: 13px; font-weight: 800; color: var(--accent); letter-spacing: 1px; }
.step h4 { font-size: 17px; margin: 8px 0 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* 机构案例 */
.case {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; display: grid; grid-template-columns: 1fr 1.2fr;
  box-shadow: var(--shadow);
}
.case__left {
  background: linear-gradient(160deg, var(--primary), var(--primary-dark));
  color: #fff; padding: 40px; display: flex; flex-direction: column; justify-content: center;
}
.case__left .tag { font-size: 13px; opacity: .85; font-weight: 700; letter-spacing: 1px; }
.case__left h3 { font-size: 30px; margin: 10px 0 14px; }
.case__left p { opacity: .9; font-size: 15px; }
.case__left .url { margin-top: 22px; font-size: 14px; background: rgba(255,255,255,.14); padding: 8px 14px; border-radius: 999px; display: inline-block; }
.case__right { padding: 40px; }
.case__right h4 { font-size: 16px; color: var(--muted); margin-bottom: 18px; }
.case__metrics { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.case__metrics .m__num { font-size: 28px; font-weight: 800; color: var(--primary); }
.case__metrics .m__label { font-size: 13px; color: var(--muted); margin-top: 4px; }
.case__quote { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); font-style: italic; }

/* 关于 UKIS */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.about__logo {
  width: 130px; height: 130px; border-radius: 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; font-weight: 800; font-size: 40px; letter-spacing: 1px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); margin-bottom: 22px;
}
.about h2 { font-size: 30px; margin-bottom: 16px; }
.about p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.about .pill { display:inline-block; background: var(--primary-soft); color: var(--primary-dark); font-weight:700; font-size:13px; padding:6px 14px; border-radius:999px; margin: 4px 8px 4px 0; }

/* CTA 条 */
.cta {
  background: linear-gradient(135deg, var(--primary), var(--bg-deep));
  border-radius: 24px; padding: 56px 48px; text-align: center; color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta h2 { font-size: 32px; margin-bottom: 14px; }
.cta p { opacity: .9; font-size: 17px; margin-bottom: 28px; }
.cta .btn--primary { background: var(--accent); box-shadow: 0 12px 30px rgba(255,138,61,.4); }
.cta .btn--ghost { color:#fff; border-color: rgba(255,255,255,.6); }

/* 页脚 */
.footer { background: var(--bg-deep); color: #cfe3e6; padding: 54px 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer a { color: #a9c6ca; font-size: 14px; display: block; margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer__brand .brand__logo { background: rgba(255,255,255,.12); }
.footer__brand p { font-size: 14px; margin-top: 14px; max-width: 280px; color: #9fc0c4; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 22px; font-size: 13px; color: #88a9ad; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* 滚动显现动画 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 38px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .line-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split, .about, .case { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; padding: 20px 24px; gap: 16px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav__toggle { display: block; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 30px; }
  .section { padding: 56px 0; }
  .section__head h2 { font-size: 26px; }
  .cards, .steps, .case__metrics, .footer__top { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta { padding: 40px 24px; }
}

/* 三大业务线（并列） */
.line-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.line-card {
  --lc: var(--primary);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.line-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.line-card--teal { --lc: #0e7a8a; }
.line-card--indigo { --lc: #5b5fc7; }
.line-card--gold { --lc: #b8860b; }
.line-card__ico { width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.line-card__ico svg { width: 28px; height: 28px; }
.line-card--teal .line-card__ico { background: #e6f3f5; color: #0e7a8a; }
.line-card--indigo .line-card__ico { background: #eef0fb; color: #5b5fc7; }
.line-card--gold .line-card__ico { background: #f7efd6; color: #b8860b; }
.line-card__bar { height: 5px; width: 54px; border-radius: 999px; background: var(--lc); margin: 0 0 16px; }
.line-card__no { color: var(--lc); font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.line-card h3 { font-size: 21px; margin: 8px 0 10px; }
.line-card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.line-card__link { color: var(--lc); font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.line-card__link:hover { gap: 10px; }

/* ---------------- 高考报考 AI 服务（gaobao 子品牌区） ---------------- */
.gaobao {
  background: radial-gradient(1000px 500px at 85% -10%, #1b3a70 0%, transparent 60%), linear-gradient(160deg, #0b1b3a, #0e2146 55%, #122a56);
  color: #fff; position: relative; overflow: hidden;
}
.gaobao::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px; pointer-events: none;
}
.gaobao .container { position: relative; z-index: 2; }
.gaobao__badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(212,175,55,.55); color: #f0d47a;
  background: rgba(212,175,55,.08); padding: 6px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 18px;
}
.gaobao h2 { font-size: 34px; font-weight: 800; letter-spacing: -.5px; }
.gaobao h2 .gold { color: #f0d47a; }
.gaobao .lead { color: #c9d6ea; font-size: 17px; max-width: 700px; margin: 14px 0 0; }
.gaobao__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.gaobao__card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-top: 3px solid #d4af37; border-radius: var(--radius); padding: 28px 24px;
  transition: transform .2s, background .2s;
}
.gaobao__card:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.gaobao__card .ico {
  width: 50px; height: 50px; border-radius: 14px; background: rgba(212,175,55,.15);
  color: #f0d47a; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.gaobao__card .ico svg { width: 26px; height: 26px; }
.gaobao__card h3 { font-size: 19px; margin-bottom: 4px; }
.gaobao__card .sub { font-size: 13px; color: #f0d47a; font-weight: 700; margin-bottom: 10px; }
.gaobao__card p { font-size: 14.5px; color: #b9c8e0; }
.gaobao__foot { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.gaobao__tags { display: flex; gap: 10px; flex-wrap: wrap; }
.gaobao__tags span { font-size: 12.5px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 5px 14px; border-radius: 999px; color: #c9d6ea; }
.gaobao__cta {
  background: linear-gradient(135deg, #f0d47a, #c9a227); color: #0b1b3a;
  font-weight: 800; padding: 13px 28px; border-radius: 999px; font-size: 15px;
  transition: transform .15s, box-shadow .2s; box-shadow: 0 10px 26px rgba(212,175,55,.35); white-space: nowrap;
}
.gaobao__cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(212,175,55,.45); }
.gaobao__note { margin-top: 22px; font-size: 12.5px; color: #8ea3c4; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }
@media (max-width: 980px) { .gaobao__cards { grid-template-columns: 1fr; } .gaobao h2 { font-size: 28px; } }
