/* ============ 基础变量 ============ */
:root {
  --red: #FF4D2E;
  --red-deep: #E63A1C;
  --orange: #FF8A00;
  --amber: #FFB800;
  --ink: #1A1410;
  --ink-2: #4A4038;
  --muted: #8A7E74;
  --bg: #FFFDFB;
  --bg-alt: #FFF4EE;
  --line: #F0E4DC;
  --white: #ffffff;
  --grad: linear-gradient(135deg, #FF4D2E 0%, #FF8A00 100%);
  --grad-soft: linear-gradient(135deg, #FFE9E0 0%, #FFF3E2 100%);
  --shadow: 0 18px 40px -18px rgba(255, 77, 46, .35);
  --shadow-sm: 0 8px 24px -12px rgba(26, 20, 16, .25);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1140px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
em { font-style: normal; }

/* ============ 导航 ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 253, 251, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(26,20,16,.4); }
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--grad);
  color: #fff; font-weight: 800; font-size: 20px; display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.brand-text { font-weight: 600; letter-spacing: .5px; }
.brand-text strong { color: var(--red); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--red); }
.nav-cta {
  background: var(--grad); color: #fff !important; padding: 9px 18px; border-radius: 999px;
  font-weight: 700; box-shadow: var(--shadow-sm);
}
.nav-cta:hover { filter: brightness(1.05); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ Hero ============ */
.hero { position: relative; padding: 132px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 500px at 78% 8%, rgba(255,138,0,.20), transparent 60%),
    radial-gradient(700px 480px at 12% 92%, rgba(255,77,46,.18), transparent 60%),
    linear-gradient(180deg, #FFF8F3 0%, #FFFDFB 100%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 14px; font-weight: 700; color: var(--red-deep);
  background: #FFE9E0; padding: 7px 15px; border-radius: 999px; letter-spacing: .4px;
}
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.08; font-weight: 900; letter-spacing: -1px; margin: 18px 0 16px; }
.hero h1 em {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: clamp(16px, 2vw, 19px); color: var(--ink-2); max-width: 540px; }
.hero-sub b { color: var(--red); }
.hero-actions { display: flex; gap: 14px; margin: 30px 0 22px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .trust-heavy {
  background: var(--grad); color: #fff; padding: 4px 12px; border-radius: 999px; font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s, box-shadow .2s, filter .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { filter: brightness(1.05); box-shadow: 0 22px 46px -16px rgba(255,77,46,.5); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

/* Hero 右侧浮动卡片 */
.hero-card { position: relative; height: 360px; }
.hero-orbit {
  position: absolute; inset: 18% 12%; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--red), var(--orange), var(--amber), var(--red));
  filter: blur(36px); opacity: .35; animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.float-chip {
  position: absolute; background: #fff; border: 1px solid var(--line);
  padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 15px; color: var(--ink);
  box-shadow: var(--shadow-sm); animation: float 5s ease-in-out infinite;
}
.float-chip.c1 { top: 6%; left: 4%; color: var(--red-deep); }
.float-chip.c2 { top: 30%; right: 0; animation-delay: .8s; }
.float-chip.c3 { bottom: 22%; left: 0; animation-delay: 1.6s; color: var(--orange); }
.float-chip.c4 { bottom: 4%; right: 8%; animation-delay: 2.2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  font-size: 30px; color: var(--red); animation: bounce 1.8s infinite; z-index: 2;
}
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,10px); } }

/* ============ 数据条 ============ */
.stats { background: var(--ink); color: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { font-size: clamp(30px, 4vw, 46px); font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.stat-label { font-size: 14px; color: #D9CFC8; margin-top: 8px; }

/* ============ 通用 section ============ */
.section { padding: 86px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-tag {
  display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
}
.section-tag.light { color: #fff; }
.section-head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 900; letter-spacing: -.5px; }
.section-head p { color: var(--ink-2); margin-top: 14px; font-size: 16px; }

/* ============ 业务卡片 ============ */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.biz-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden;
}
.biz-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.biz-card:hover::before { transform: scaleX(1); }
.biz-icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--grad-soft);
  display: grid; place-items: center; font-size: 26px; margin-bottom: 16px;
}
.biz-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.biz-card p { color: var(--ink-2); font-size: 15px; }
.biz-card p b { color: var(--red-deep); }
.biz-more {
  display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--orange);
  background: #FFF3E2; padding: 5px 12px; border-radius: 999px;
}

/* ============ 媒体矩阵 ============ */
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 40px; }
.media-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px;
  text-align: center; font-weight: 700; font-size: 16px; color: var(--ink); transition: .2s;
}
.media-item:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.ip-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ip-card {
  display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
}
.ip-avatar {
  flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--c, var(--red));
  color: #fff; font-weight: 800; font-size: 22px; display: grid; place-items: center;
}
.ip-card h4 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ip-role { font-size: 12px; font-weight: 700; color: var(--red); background: #FFE9E0; padding: 3px 9px; border-radius: 999px; }
.ip-card p { color: var(--ink-2); font-size: 14.5px; margin-top: 6px; }

/* ============ 案例 ============ */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  position: relative; transition: transform .25s, box-shadow .25s;
}
.case-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case-kpi { font-size: 40px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.case-kpi span { font-size: 18px; color: var(--muted); -webkit-text-fill-color: var(--muted); margin-left: 4px; }
.case-card h3 { font-size: 19px; font-weight: 800; margin: 12px 0 8px; }
.case-card p { color: var(--ink-2); font-size: 15px; }

/* ============ 关于 ============ */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.about-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.about-block h3 { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.about-block p { color: var(--ink-2); font-size: 15px; }
.about-block blockquote {
  margin-top: 16px; padding: 14px 16px; border-left: 4px solid var(--red); background: var(--grad-soft);
  border-radius: 0 10px 10px 0; font-weight: 700; color: var(--ink); font-size: 15px;
}

/* ============ 体教融合 · 权威资讯 ============ */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 24px 18px; display: flex; flex-direction: column; gap: 11px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.news-tag {
  align-self: flex-start; font-size: 12px; font-weight: 800; color: #fff; background: var(--grad);
  padding: 4px 12px; border-radius: 999px; letter-spacing: .3px;
}
.news-card h3 { font-size: 18.5px; font-weight: 800; line-height: 1.4; }
.news-card p { color: var(--ink-2); font-size: 14.5px; flex: 1; }
.news-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 13px; margin-top: 4px; font-size: 13px; color: var(--muted);
}
.news-meta .src { font-weight: 700; color: var(--ink-2); }
.news-meta a { color: var(--red); font-weight: 700; white-space: nowrap; }
.news-meta a:hover { text-decoration: underline; }
.news-foot { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 28px; }

/* ============ 产品系列 ============ */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-card.featured { border: 2px solid var(--red); box-shadow: var(--shadow-sm); }

/* 右上角角标 */
.product-badge {
  position: absolute; top: -12px; right: 22px; background: var(--grad); color: #fff;
  font-size: 12.5px; font-weight: 800; padding: 6px 16px; border-radius: 999px;
  box-shadow: var(--shadow-sm); letter-spacing: .3px;
}
.product-badge.deep { background: var(--grad); }
.product-card.deep { border: 2px solid var(--red); }

/* 头部：序号 + 标题 */
.product-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.product-num {
  flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--grad-soft);
  color: var(--red); font-size: 22px; font-weight: 900; display: grid; place-items: center;
  border: 1px solid #FFD9C8;
}
.product-card.featured .product-num { background: var(--grad); color: #fff; border-color: transparent; }
.product-titles { min-width: 0; }
.product-titles h3 { font-size: 20px; font-weight: 900; line-height: 1.2; }
.product-tag { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

/* 清单：占据弹性空间，让底部对齐 */
.product-list {
  list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1;
  border-top: 1px solid var(--line); padding-top: 18px;
}
.product-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.product-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad-soft); color: var(--red); font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
}

/* 底部区：适合谁 + CTA，三卡对齐贴底 */
.product-foot-row { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.product-suit { font-size: 13px; color: var(--muted); }
.product-cta {
  display: inline-flex; align-items: center; justify-content: center; align-self: stretch;
  padding: 11px 18px; border-radius: 999px; font-weight: 800; font-size: 15px;
  color: var(--red); border: 1.5px solid #FFD0BF; background: #fff;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  -webkit-tap-highlight-color: transparent;
  transform: translateZ(0);
  backface-visibility: hidden;
}
@media (hover: hover) {
  .product-cta:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-1px); }
  .product-card.featured .product-cta:hover { filter: brightness(1.06); transform: translateY(-1px); }
}
.product-cta:active { transform: scale(.98); }
.product-card.featured .product-cta { background: var(--grad); color: #fff; border-color: transparent; }

.product-foot { text-align: center; color: var(--muted); font-size: 14px; margin-top: 30px; }
.product-foot b { color: var(--ink); }

/* ============ 联系 / 转化 ============ */
.contact { background: var(--ink); color: #fff; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.contact .section-tag { color: var(--amber); }
.contact h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; margin: 10px 0 14px; }
.contact-copy p { color: #D9CFC8; font-size: 16px; }
.wechat-box {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius);
  padding: 18px 22px; margin: 22px 0 14px;
}
.wechat-label { font-size: 13px; color: #B8ADA4; }
.wechat-id { font-size: 26px; font-weight: 900; letter-spacing: 1px; color: #fff; }
.btn-copy { background: var(--grad); color: #fff; padding: 11px 20px; font-size: 15px; border: 0; }
.btn-copy:hover { filter: brightness(1.06); }
.btn-copy.done { background: #2ecc71; }
.contact-note { font-size: 13.5px; color: #A99E95; }

.contact-form { background: #fff; border-radius: var(--radius); padding: 28px; color: var(--ink); box-shadow: var(--shadow); }
.contact-form h3 { font-size: 19px; font-weight: 800; margin-bottom: 16px; }
.contact-form label { display: block; font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 14px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #FFFDFB; transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,77,46,.15);
}
.btn.full { width: 100%; margin-top: 4px; }
.form-tip { margin-top: 12px; font-size: 14px; color: var(--red-deep); font-weight: 600; }

/* ============ 页脚 ============ */
.footer { background: #120D0A; color: #C9BEB5; padding: 54px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; padding-bottom: 36px; }
.footer-brand .brand-mark { margin-bottom: 12px; }
.footer-brand .brand-text { color: #fff; font-size: 18px; }
.footer-brand .brand-text strong { color: var(--red); }
.footer-brand p { margin-top: 10px; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-cols h5 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-cols a, .footer-cols .footer-wx { display: block; font-size: 14px; color: #C9BEB5; margin-bottom: 10px; transition: color .2s; }
.footer-cols a:hover { color: var(--orange); }
.footer-wx { color: var(--amber) !important; font-weight: 700; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 13px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #8A7E74;
}
.footer-beian {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center;
  padding: 12px 0 22px; font-size: 13px; color: #8A7E74;
}
.beian-link { color: #8A7E74; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.beian-link:hover { color: #C9BEB5; }
.beian-icon { width: 18px; height: auto; display: inline-block; vertical-align: middle; }

/* ============ 滚动揭示动画 ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============ 响应式 ============ */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { height: 260px; order: -1; }
  .biz-grid, .about-grid { grid-template-columns: repeat(2, 1fr); }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .ip-row, .case-grid, .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    position: fixed; top: 68px; right: 0; left: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 22px 18px;
    transform: translateY(-130%); transition: transform .3s; box-shadow: var(--shadow-sm);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-links .nav-cta { border-radius: 999px; text-align: center; margin-top: 10px; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .biz-grid, .about-grid, .media-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 116px 0 70px; }
  .wechat-box { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-copy { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
