/* ==========================================================================
   拾秒教育 官方网站 · 样式表
   设计语言参考 edlink.com：紫色主色 + 青色次色、圆角卡片、渐变微光、
   居中大标题、大量留白。全站零外部依赖，字体走系统字体栈。
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 设计变量
   -------------------------------------------------------------------------- */
:root {
  /* 中性色 */
  --ink: #0d1526;
  --ink-2: #33415c;
  --muted: #5c6b87;
  --line: #e7ebf3;
  --line-2: #eef1f7;
  --bg: #ffffff;
  --bg-soft: #f7f8fc;

  /* 品牌色：紫 → 青（呼应参考站 primary 262° / secondary 187°） */
  --brand: #4f46e5;
  --brand-deep: #4338ca;
  --violet: #7c3aed;
  --cyan: #06b6d4;
  --cyan-deep: #0891b2;
  --grad: linear-gradient(120deg, #4f46e5 0%, #7c3aed 48%, #06b6d4 100%);
  --grad-violet: linear-gradient(120deg, #4f46e5 0%, #7c3aed 100%);
  --grad-cyan: linear-gradient(120deg, #0891b2 0%, #06b6d4 100%);

  /* 子品牌 VI 色（取自各自 logo 主色） */
  --blue: #1d4ed8;
  --red: #d9503f;
  --grad-blue: linear-gradient(120deg, #1d4ed8 0%, #3b82f6 100%);
  --grad-red: linear-gradient(120deg, #d9503f 0%, #f78575 100%);

  /* 形状与阴影 */
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(13, 21, 38, 0.06);
  --shadow-md: 0 14px 32px -16px rgba(13, 21, 38, 0.22);
  --shadow-lg: 0 36px 70px -34px rgba(13, 21, 38, 0.32);

  /* 版心与节奏 */
  --container: 1180px;
  --gutter: 24px;
  --header-h: 68px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. 基础重置与排版
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: "Inter", "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

p {
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(79, 70, 229, 0.16);
}

/* --------------------------------------------------------------------------
   3. 通用版心 / 区块
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding: clamp(64px, 8vw, 108px) 0;
}

.section-soft {
  background: var(--bg-soft);
  border-block: 1px solid var(--line-2);
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 60px);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--brand);
  margin-bottom: 16px;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.25rem);
  margin-bottom: 18px;
}

.section-sub {
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  line-height: 1.85;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 不支持渐变文字时的兜底 */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad-text {
    color: var(--brand);
    background: none;
  }
}

/* 不可断行的语义分段：让中文标题的换行落在标点之后，而不是拆开词 */
.nw {
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s ease,
    border-color 0.2s ease, box-shadow 0.25s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 26px -14px rgba(79, 70, 229, 0.85);
}

.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
  box-shadow: 0 18px 32px -14px rgba(79, 70, 229, 0.9);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  border-color: #ccd6e8;
  background: #fbfcff;
  transform: translateY(-1px);
}

.btn-light {
  background: #fff;
  color: #312e81;
}

.btn-light:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, 0.6);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

.btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 0.875rem;
  border-radius: 10px;
}

/* --------------------------------------------------------------------------
   5. 页头导航
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(13, 21, 38, 0.75);
  background: rgba(255, 255, 255, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
}

.brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav > a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.nav > a:not(.btn):hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  place-items: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 10vw, 116px) 0 clamp(52px, 7vw, 88px);
  text-align: center;
  isolation: isolate;
}

/* 网格底纹 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% -6%, #000 0%, transparent 68%);
  mask-image: radial-gradient(circle at 50% -6%, #000 0%, transparent 68%);
  z-index: -2;
}

/* 品牌色光晕 */
.hero-glow {
  position: absolute;
  inset: -30% -12% auto;
  height: 660px;
  background: radial-gradient(620px 330px at 28% 22%, rgba(79, 70, 229, 0.18), transparent 70%),
    radial-gradient(540px 300px at 74% 14%, rgba(6, 182, 212, 0.16), transparent 70%),
    radial-gradient(520px 300px at 52% 2%, rgba(124, 58, 237, 0.14), transparent 72%);
  filter: blur(6px);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  position: relative;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-image: var(--grad);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.hero h1 {
  max-width: 15em;
  margin: 26px auto 0;
  font-size: clamp(1.75rem, 5.6vw, 4rem);
  letter-spacing: -0.02em;
}

.hero-sub {
  max-width: 44em;
  margin: 24px auto 0;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.hero-brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 34px;
  max-width: 720px;
  margin: 52px auto 0;
  padding-top: 30px;
  border-top: 1px solid var(--line-2);
  font-size: 0.9375rem;
  color: var(--muted);
}

.hero-brands li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-brands strong {
  font-weight: 600;
  color: var(--ink);
}

.hero-brands a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-brands a:hover {
  color: var(--brand);
  border-bottom-color: currentColor;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: none;
}

.dot-yiyanbo {
  background-image: var(--grad-blue);
}

.dot-yibo {
  background-image: var(--grad-red);
}

/* --------------------------------------------------------------------------
   6.1 配图与视觉块
   -------------------------------------------------------------------------- */
.figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero 主视觉 */
.hero-visual {
  max-width: 1020px;
  margin: clamp(44px, 6vw, 68px) auto 0;
}

/* 关于我们 · 宽幅配图 */
.about-visual {
  max-width: 940px;
  margin: 0 auto clamp(38px, 5vw, 56px);
}

/* 品牌卡配图：通栏贴顶 */
.brand-figure {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: var(--bg-soft);
}

.brand-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* AI 区配图 */
.ai-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.ai-figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   7. 卡片网格
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 特性卡 */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #dce3f1;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(6, 182, 212, 0.12));
  color: var(--brand);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
}

.card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* 品牌卡 */
.brand-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 0 0 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.brand-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  z-index: 2;
  background-image: var(--grad-blue);
}

.brand-card--yibo::before {
  background-image: var(--grad-red);
}

.brand-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.13), transparent 68%);
  pointer-events: none;
}

.brand-card--yibo::after {
  background: radial-gradient(circle, rgba(217, 80, 63, 0.13), transparent 68%);
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #dce3f1;
}

.brand-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  position: relative;
  margin: 26px 32px 0;
}

.brand-card-top .brand-domain {
  margin: 0;
}

.brand-logo {
  width: 54px;
  height: 54px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 1.375rem;
  font-weight: 700;
  color: #fff;
  background-image: var(--grad-violet);
  box-shadow: 0 14px 26px -14px rgba(79, 70, 229, 0.9);
}

.brand-card--yibo .brand-logo {
  background-image: var(--grad-red);
  box-shadow: 0 14px 26px -14px rgba(217, 80, 63, 0.9);
}

.brand-card-top h3 {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.brand-domain {
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.brand-desc {
  position: relative;
  margin: 18px 32px 0;
  font-size: 0.9375rem;
  line-height: 1.85;
}

.link-arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin: auto 32px 0;
  padding-top: 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--blue);
}

.brand-card--yibo .link-arrow {
  color: var(--red);
}

.link-arrow svg {
  width: 17px;
  height: 17px;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. AI 个性化学习
   -------------------------------------------------------------------------- */
.ai-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.ai-copy .eyebrow {
  margin-bottom: 12px;
}

.ai-copy h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.25rem);
  margin-bottom: 20px;
}

.ai-copy > p {
  font-size: 1.0625rem;
  line-height: 1.9;
}

.check-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.check-list li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--ink-2);
}

.check-list strong {
  color: var(--ink);
  font-weight: 600;
}

.check-mark {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 3px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.1);
  color: var(--brand);
}

.check-mark svg {
  width: 14px;
  height: 14px;
}

/* 视觉示意：AI 配图 + 浮动数据卡 */
.ai-visual {
  position: relative;
}

.visual-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 600;
}

.visual-tag svg {
  width: 15px;
  height: 15px;
}

.ring {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto;
}

.ring svg {
  width: 140px;
  height: 140px;
  transform: rotate(-90deg);
}

.ring circle {
  fill: none;
  stroke-width: 11;
  stroke-linecap: round;
}

.ring-bg {
  stroke: #eef1f7;
}

.ring-fg {
  stroke: url(#ringGrad);
  stroke-dasharray: 327;
  stroke-dashoffset: 92;
}

.ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.ring-label strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.1;
}

.ring-label span {
  font-size: 0.8125rem;
  color: var(--muted);
}

.bars {
  display: grid;
  gap: 16px;
}

.bar-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.875rem;
  color: var(--ink-2);
}

.bar-head em {
  font-style: normal;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.bar-track {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: #eef1f7;
  overflow: hidden;
}

/* 默认给到最终宽度：JS 不可用时进度条照常可读（渐进增强） */
.bar-track i {
  display: block;
  width: var(--v);
  height: 100%;
  border-radius: 999px;
  background-image: var(--grad);
}

.js .reveal .bar-track i {
  width: 0;
  transition: width 1.1s var(--ease);
}

.js .reveal.is-visible .bar-track i {
  width: var(--v);
}

.float-card {
  position: absolute;
  right: -18px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-md);
  font-size: 0.8438rem;
  font-weight: 500;
  color: var(--ink-2);
}

.float-card .spark {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background-image: var(--grad);
  color: #fff;
}

.float-card .spark svg {
  width: 15px;
  height: 15px;
}

/* --------------------------------------------------------------------------
   9. CTA
   -------------------------------------------------------------------------- */
.cta-section {
  padding: clamp(24px, 4vw, 40px) 0 clamp(72px, 9vw, 112px);
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6.5vw, 76px) clamp(28px, 5vw, 64px);
  border-radius: var(--radius-xl);
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 46%, #0891b2 100%);
  box-shadow: 0 40px 80px -46px rgba(49, 46, 129, 0.9);
}

.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.24), transparent 44%),
    radial-gradient(circle at 88% 96%, rgba(255, 255, 255, 0.18), transparent 46%);
  pointer-events: none;
}

.cta-card > * {
  position: relative;
}

.cta-card h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.25rem);
  color: #fff;
  margin-bottom: 18px;
}

.cta-card p {
  max-width: 40em;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.86);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

/* --------------------------------------------------------------------------
   10. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 68px 0 30px;
  background: #0b1120;
  color: #94a3b8;
  font-size: 0.9063rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 1.15fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-brand p {
  max-width: 30em;
  color: #94a3b8;
  line-height: 1.85;
}

.footer-col {
  display: grid;
  gap: 11px;
  align-content: start;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9063rem;
  margin-bottom: 5px;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  transition: color 0.2s ease;
}

/* 站外链接的小箭头 */
.footer-col a svg {
  width: 13px;
  height: 13px;
  flex: none;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.22s var(--ease);
}

.footer-col a:hover svg {
  opacity: 1;
  transform: translate(2px, -2px);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 24px;
  font-size: 0.8438rem;
  color: #7c8aa3;
}

.footer-bottom p {
  color: inherit;
}

/* --------------------------------------------------------------------------
   11. 滚动进场
   -------------------------------------------------------------------------- */
/* 只有 JS 可用时才隐藏待进场元素——JS 挂掉时内容照常完整显示 */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .grid > .reveal:nth-child(2) {
  transition-delay: 0.09s;
}

.js .grid > .reveal:nth-child(3) {
  transition-delay: 0.18s;
}

/* --------------------------------------------------------------------------
   12. 跳转链接
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 0.875rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   13. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .ai-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .float-card {
    right: 6px;
    bottom: -16px;
  }
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
  }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(13, 21, 38, 0.8);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav > a:not(.btn) {
    padding: 14px 2px;
    border-bottom: 1px solid var(--line-2);
  }

  .nav-cta {
    margin-top: 16px;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 20px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-brands {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .card {
    padding: 26px 22px;
  }

  .brand-card {
    padding: 0 0 26px;
  }

  .brand-card-top,
  .brand-desc,
  .link-arrow {
    margin-inline: 22px;
  }

  .float-card {
    position: static;
    margin: 14px 0 0;
  }
}

/* --------------------------------------------------------------------------
   14. 无障碍：尊重「减少动态效果」
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js .reveal .bar-track i,
  .js .reveal.is-visible .bar-track i {
    width: var(--v);
    transition: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   15. 内页（关于我们等）
   -------------------------------------------------------------------------- */

/* 内页页头 */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 88px) 0 clamp(36px, 4.5vw, 56px);
  text-align: center;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% -10%, #000 0%, transparent 66%);
  mask-image: radial-gradient(circle at 50% -10%, #000 0%, transparent 66%);
  z-index: -2;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 520px;
  background: radial-gradient(560px 300px at 34% 24%, rgba(79, 70, 229, 0.16), transparent 70%),
    radial-gradient(500px 280px at 68% 16%, rgba(6, 182, 212, 0.15), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
  z-index: -1;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  margin: 22px auto 0;
  letter-spacing: -0.02em;
}

.page-hero .lede {
  max-width: 46em;
  margin: 22px auto 0;
  font-size: clamp(1rem, 1.25vw, 1.0625rem);
  line-height: 1.95;
}

/* 关键信息条 */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: clamp(30px, 4vw, 44px) auto 0;
  text-align: left;
}

.fact {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.fact strong {
  display: block;
  font-size: 0.9688rem;
  color: var(--ink);
  margin-bottom: 5px;
}

.fact span {
  display: block;
  font-size: 0.8438rem;
  line-height: 1.65;
  color: var(--muted);
}

/* 长正文 */
.prose {
  max-width: 46em;
  margin-inline: auto;
}

.prose p {
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  line-height: 2;
  color: var(--ink-2);
}

.prose p + p {
  margin-top: 20px;
}

/* 品牌详情块 */
.brand-detail {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3.4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.brand-detail + .brand-detail {
  margin-top: 24px;
}

.brand-detail:hover {
  box-shadow: var(--shadow-md);
  border-color: #dce3f1;
}

.brand-detail::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background-image: var(--grad-red);
}

.brand-detail--yiyanbo::before {
  background-image: var(--grad-blue);
}

.brand-detail-head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line-2);
}

.brand-detail-head h3 {
  font-size: 1.375rem;
  margin-bottom: 3px;
}

.brand-detail-tag {
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.brand-detail-head .btn {
  margin-left: auto;
}

.brand-detail p {
  font-size: 1rem;
  line-height: 1.95;
  color: var(--ink-2);
}

.brand-detail p + p {
  margin-top: 16px;
}

/* 能力卡编号 */
.num-badge {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background-image: var(--grad);
}

/* 核心优势 */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.advantage {
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.advantage:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #dce3f1;
}

.advantage h3 {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 1.0625rem;
  margin-bottom: 12px;
}

.advantage h3 .idx {
  color: var(--brand);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.advantage p {
  font-size: 0.9375rem;
  line-height: 1.9;
}

/* 使命与愿景 */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.vision-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.6vw, 40px);
  border-radius: var(--radius-xl);
  color: #fff;
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 52%, #0891b2 100%);
  box-shadow: 0 30px 60px -40px rgba(49, 46, 129, 0.9);
}

.vision-card--alt {
  background: linear-gradient(135deg, #0e7490 0%, #0891b2 48%, #4f46e5 100%);
}

.vision-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.22), transparent 46%),
    radial-gradient(circle at 88% 94%, rgba(255, 255, 255, 0.16), transparent 48%);
  pointer-events: none;
}

.vision-card > * {
  position: relative;
}

.vision-card .eyebrow {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 12px;
}

.vision-card h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.vision-card p {
  font-size: 1rem;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 900px) {
  .fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantage-grid,
  .vision-grid {
    grid-template-columns: 1fr;
  }

  .brand-detail-head .btn {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .brand-detail {
    padding: 24px 20px 26px;
  }

  .advantage {
    padding: 24px 20px 26px;
  }
}

/* 区块末尾的「更多」入口 */
.section-more {
  margin-top: clamp(32px, 4vw, 44px);
  text-align: center;
}

/* --------------------------------------------------------------------------
   16. 图片版 logo
   -------------------------------------------------------------------------- */
.brand-logo-img {
  display: block;
  height: 32px;
  width: auto;
}

/* 深色页脚上给 logo 一个白色底片，保证对比度 */
.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: #fff;
}

.footer-brand .brand-logo-img {
  height: 26px;
}

.footer-bottom a {
  color: #a7b4c8;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   17. 联系我们
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr 1.2fr;
  gap: 20px;
}

.contact-card {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #dce3f1;
}

.contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(6, 182, 212, 0.12));
  color: var(--brand);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink);
}

.contact-card a {
  color: var(--brand);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.contact-card a:hover {
  border-bottom-color: currentColor;
}

.contact-note {
  max-width: 52em;
  margin: clamp(34px, 4vw, 48px) auto 0;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   18. 旗下品牌页
   -------------------------------------------------------------------------- */
.brand-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.brand-showcase + .brand-showcase {
  margin-top: clamp(56px, 7vw, 88px);
}

.brand-showcase--reverse .brand-showcase-figure {
  order: 2;
}

.brand-showcase-figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.brand-showcase-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.brand-showcase-body .brand-card-top {
  margin: 0 0 16px;
}

.brand-showcase-body h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.875rem);
  margin-bottom: 6px;
}

.brand-showcase-tag {
  font-size: 0.9375rem;
  color: var(--muted);
}

.brand-showcase-body > p {
  font-size: 1rem;
  line-height: 1.95;
  color: var(--ink-2);
}

.brand-showcase-body .check-list {
  margin-top: 22px;
}

.brand-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .brand-showcase {
    grid-template-columns: 1fr;
  }

  .brand-showcase--reverse .brand-showcase-figure {
    order: 0;
  }
}

/* --------------------------------------------------------------------------
   19. 子品牌 logo（图片）
   -------------------------------------------------------------------------- */
.brand-mark-img {
  display: block;
  height: 34px;
  width: auto;
}

.brand-mark-img--lg {
  height: 46px;
}

.brand-detail-id,
.brand-showcase-id {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.brand-showcase-id {
  margin-bottom: 20px;
}

@media (max-width: 560px) {
  .brand-mark-img {
    height: 30px;
  }

  .brand-mark-img--lg {
    height: 38px;
  }
}

/* --------------------------------------------------------------------------
   20. 子品牌 VI 按钮
   -------------------------------------------------------------------------- */
.btn-brand-blue {
  background: var(--blue);
  box-shadow: 0 14px 26px -14px rgba(29, 78, 216, 0.85);
}

.btn-brand-blue:hover {
  background: #1a45bd;
  box-shadow: 0 18px 32px -14px rgba(29, 78, 216, 0.9);
}

.btn-brand-red {
  background: var(--red);
  box-shadow: 0 14px 26px -14px rgba(217, 80, 63, 0.85);
}

.btn-brand-red:hover {
  background: #c0432f;
  box-shadow: 0 18px 32px -14px rgba(217, 80, 63, 0.9);
}

.btn-outline-blue {
  color: var(--blue);
  border-color: rgba(29, 78, 216, 0.35);
  background: #fff;
}

.btn-outline-blue:hover {
  border-color: var(--blue);
  background: rgba(29, 78, 216, 0.05);
}

.btn-outline-red {
  color: var(--red);
  border-color: rgba(217, 80, 63, 0.35);
  background: #fff;
}

.btn-outline-red:hover {
  border-color: var(--red);
  background: rgba(217, 80, 63, 0.05);
}
