@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
/* ============================================================
   Snail AI — Main Site Shared Styles (V4.2.0 Aussie-colour layering)
   Design system: bold-contrast SaaS / warm-black + deep snail orange
   + amber highlight + Aussie accents (navy / burgundy) on paper.
   Palette rule: 教育 snailai.au = 蜗牛橙 #FF5B1F；企业 snailai.ai =
   深阶橙 #C2410C（同宗不同调）+ 暖黑 #16110E + 琥珀黄 #FDB022
   + 深国旗蓝 #14265C（层次区）+ 酒红 #7A1E33（点缀/CTA）。
   ============================================================ */
:root {
  --ink: #1C1613;
  --ink-2: #3A2E27;
  --ink-3: #7A6E66;
  --paper: #FCFBF9;
  --paper-2: #F1F4FA;                /* 冷蓝调浅底（原暖米 #F7F3EF 泛黄，换冷调出层次） */
  --paper-3: #ECE6E0;
  --accent: #C2410C;
  --accent-2: #9A3412;
  --accent-bright: #FF7A3D;          /* 深色背景上的高亮橙（对比度） */
  --accent-light: rgba(194,65,12,0.09);
  --accent-warm: #FBF0E8;
  --highlight: #FDB022;              /* VentraIP 式琥珀黄高光 */
  --hero-dark: #16110E;              /* 暖黑英雄区 */
  --navy: #14265C;                   /* 澳洲国旗深蓝（层次主区） */
  --navy-2: #0D1A40;
  --navy-light: #F1F4FA;
  --burgundy: #7A1E33;               /* 酒红（澳洲人偏爱的经典色，点缀 + CTA） */
  --burgundy-2: #5C1220;
  --burgundy-light: #F9F0F3;
  --grad-primary: linear-gradient(135deg, #D14E0F 0%, #B23A0A 100%);
  --grad-amber: linear-gradient(135deg, #FDB022 0%, #F59E0B 100%);
  --grad-navy: linear-gradient(150deg, #1A2F6E 0%, #14265C 55%, #0D1A40 100%);
  --grad-burgundy: linear-gradient(135deg, #7A1E33 0%, #5C1220 55%, #3D0C16 100%);
  --gold: #D4A547;
  --line: rgba(28,22,19,0.08);
  --line-2: rgba(28,22,19,0.14);
  --shadow-sm: 0 1px 3px rgba(28,22,19,0.04), 0 2px 8px rgba(28,22,19,0.04);
  --shadow-md: 0 4px 16px rgba(28,22,19,0.08);
  --shadow-lg: 0 12px 36px rgba(28,22,19,0.12);
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px;
  --sans: 'Inter','Helvetica Neue','Helvetica','Arial',sans-serif;
  --font-display: 'Space Grotesk','Inter','Helvetica Neue',sans-serif;  /* 标题展示字体：几何怪诞，高级感 */
  --mono: 'JetBrains Mono','SF Mono','Menlo','Consolas',monospace;
  --container: 1160px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
h1, h2, h3, h4 { font-family: var(--font-display); }
body {
  font-family: var(--sans);
  /* 极光渐变底：四角柔光斑（深蓝/酒红/橙/琥珀）+ 纵向微渐变，fixed 使滚动时色彩均匀流动 */
  background:
    radial-gradient(ellipse 55% 42% at 10% 6%, rgba(20,38,92,0.055), transparent 62%),
    radial-gradient(ellipse 48% 38% at 92% 18%, rgba(122,30,51,0.05), transparent 60%),
    radial-gradient(ellipse 52% 45% at 78% 88%, rgba(194,65,12,0.045), transparent 62%),
    radial-gradient(ellipse 45% 36% at 16% 94%, rgba(253,176,34,0.055), transparent 60%),
    linear-gradient(165deg, #FCFBF9 0%, #F7F5F8 45%, #F3F5FA 100%);
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* ===== Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 40px;
  background: linear-gradient(180deg, rgba(252,252,250,.97) 0%, rgba(252,252,250,.88) 100%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.nav-logo img { height: 32px; width: auto; }
.nav-logo span { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links > a {
  font-size: 13px; font-weight: 600; color: var(--ink-3);
  text-decoration: none; letter-spacing: 0.02em;
  transition: color .15s ease;
}
.nav-links > a:hover { color: var(--ink); }
/* Gate A 修复：.nav-links > a 的 color 会级联覆盖 .nav-cta 的 #fff，
   橙底出现灰字（对比度 bug）。更高优先级选择器显式夺回。 */
.nav-links > a.nav-cta,
.nav-links > a.nav-cta:visited {
  color: #fff;
  background: var(--grad-primary);
  box-shadow: 0 2px 10px rgba(194,65,12,0.28);
}
.nav-links > a.nav-cta:hover,
.nav-links > a.nav-cta:focus-visible {
  color: #fff;
  background: var(--grad-primary);
  filter: brightness(1.08);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: #fff;
  background: var(--accent); text-decoration: none;
  padding: 9px 18px; border-radius: 999px;
  transition: background .15s ease, transform .15s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-2); }
.nav-secondary {
  font-size: 13px; font-weight: 700; color: var(--ink);
  background: var(--paper-2); text-decoration: none;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2);
  transition: background .15s ease; white-space: nowrap;
}
.nav-secondary:hover { background: var(--paper-3); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 15px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  padding: 14px 28px; border-radius: 999px;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 4px 14px rgba(194,65,12,0.30); }
.btn-primary:hover { background: var(--grad-primary); filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(194,65,12,0.42); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-outline:hover { background: var(--paper-2); }
.btn-ghost { background: var(--paper-2); color: var(--ink); }
.btn-ghost:hover { background: var(--paper-3); }
.btn-lg { font-size: 16px; padding: 16px 34px; }

/* ===== Hero (shared inner-page) ===== */
.page-hero {
  padding: 150px 0 70px;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(255,91,31,0.06), transparent),
    var(--paper);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-2); background: var(--accent-light);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.page-hero h1 {
  font-size: 44px; line-height: 1.12; font-weight: 700; letter-spacing: -0.03em;
  letter-spacing: -0.02em; max-width: 760px; margin-bottom: 18px;
}
.page-hero .lede { font-size: 18px; color: var(--ink-3); max-width: 640px; margin-bottom: 28px; }

/* Breadcrumb */
.crumbs { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--accent-2); }

/* ===== Sections ===== */
.section { padding: 76px 0; }
.section-alt {
  /* 不规则有机底：双光斑错位（左下蓝晕 + 右上酒红晕）叠在冷调浅底上 */
  background:
    radial-gradient(ellipse 46% 64% at 8% 92%, rgba(20,38,92,0.06), transparent 62%),
    radial-gradient(ellipse 42% 55% at 94% 8%, rgba(122,30,51,0.05), transparent 58%),
    var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 12px; }
.section-head p { font-size: 16px; color: var(--ink-3); }

/* ===== Cards ===== */
.card-grid { display: grid; gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
/* 卡片四色轮换：极浅彩底打破清一色白（蓝/玫红/琥珀/薄荷，grid 内自动按序循环） */
.card-grid > .card:nth-child(4n+1) { background: linear-gradient(165deg, #F0F5FF 0%, #E7EEFB 100%); }
.card-grid > .card:nth-child(4n+2) { background: linear-gradient(165deg, #FDF1F4 0%, #F9E7ED 100%); }
.card-grid > .card:nth-child(4n+3) { background: linear-gradient(165deg, #FEF6E7 0%, #FBEDD4 100%); }
.card-grid > .card:nth-child(4n+4) { background: linear-gradient(165deg, #EFF8F3 0%, #E4F1EA 100%); }
/* 紧跟 grid 之后的整宽孤卡：淡紫，凑成第五色 */
.card-grid + .card { background: linear-gradient(165deg, #F5F3FC 0%, #EEEAF8 100%); }
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { font-size: 14.5px; color: var(--ink-3); flex: 1; }
.card .card-link {
  margin-top: 16px; font-size: 13.5px; font-weight: 700;
  color: var(--accent-2); text-decoration: none;
}
.card .card-link:hover { text-decoration: underline; }
.card-icon {
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--accent-warm); color: var(--accent-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; margin-bottom: 16px;
  transition: transform .25s cubic-bezier(.22,.61,.36,1);
}
.card-icon svg { width: 22px; height: 22px; display: block; }
.card:hover .card-icon { transform: translateY(-2px) scale(1.08); }
.card-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--burgundy); background: var(--burgundy-light);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; align-self: flex-start;
}

/* ===== Lists ===== */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.check-list li::before {
  content: "✓"; flex-shrink: 0; width: 22px; height: 22px;
  background: var(--accent-light); color: var(--accent-2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; margin-top: 3px;
}
.cross-list { list-style: none; display: grid; gap: 12px; }
.cross-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-3); }
.cross-list li::before {
  content: "✕"; flex-shrink: 0; width: 22px; height: 22px;
  background: var(--paper-3); color: var(--ink-3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; margin-top: 3px;
}

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 15px; margin-bottom: 14px;
}
.step h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--ink-3); }

/* ===== FAQ ===== */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 22px; font-family: var(--sans); font-size: 15.5px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--accent-2); transition: transform .2s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a > div { padding: 0 22px 18px; font-size: 14.5px; color: var(--ink-3); }

/* ===== CTA band ===== */
.cta-band {
  background: var(--grad-burgundy); color: #fff;
  padding: 64px 0; text-align: center;
}
.cta-band h2 { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.72); font-size: 16px; margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ===== Forms ===== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.form-field label .req { color: var(--accent-2); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--sans); font-size: 14.5px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--ink-3); }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 600; display: none; }
.form-status.ok { display: block; color: #1D7A46; }
.form-status.err { display: block; color: var(--accent-2); }

/* ===== Footer ===== */
.footer { background: var(--ink); color: rgba(255,255,255,0.78); padding: 56px 0 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-brand img { height: 30px; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; line-height: 1.8; max-width: 300px; }
.footer h4 { color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: rgba(255,255,255,0.78); text-decoration: none; font-size: 13.5px; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ===== Utility ===== */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.note-box {
  background: var(--accent-warm); border: 1px solid rgba(194,65,12,0.22);
  border-radius: var(--r-md); padding: 18px 22px; font-size: 14px; color: var(--ink-2);
}
.note-box strong { color: var(--ink); }

/* ============================================================
   V4.1.0 VentraIP-inspired reskin — new components
   ============================================================ */

/* 次级 CTA：琥珀黄渐变（对应 VentraIP 亮黄按钮） */
.btn-amber {
  background: var(--grad-amber); color: #3A2A05;
  box-shadow: 0 4px 14px rgba(253,176,34,0.35);
}
.btn-amber:hover { background: var(--grad-amber); filter: brightness(1.06); transform: translateY(-1px); }

/* 深色区幽灵 CTA */
.btn-ghost-dark {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); transform: translateY(-1px); }

/* 琥珀黄手绘下划线（VentraIP 招牌动作） */
.hl { position: relative; display: inline-block; padding-bottom: 6px; }
.hl::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: -4px; height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M3 8 Q 50 2 100 6 T 197 5' fill='none' stroke='%23FDB022' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  pointer-events: none;
}

/* 深色信任区（英雄区之后 / 页脚之前的深色段落） */
.section-dark { background: var(--hero-dark); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.72); }
.section-dark .section-head p { color: rgba(255,255,255,0.65); }
.section-dark .why-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}
.section-dark .why-item p { color: rgba(255,255,255,0.62); }
.section-dark .card-tag { color: var(--highlight); background: rgba(253,176,34,0.10); }
.section-dark .card-link { color: var(--accent-bright); }
.section-dark .eyebrow {
  color: var(--highlight); background: rgba(253,176,34,0.10);
}

/* CTA band：酒红渐变 + 琥珀黄微光（呼应高光色，避免纯色单调） */
.cta-band {
  background:
    radial-gradient(ellipse 55% 80% at 50% 125%, rgba(253,176,34,0.16), transparent),
    var(--grad-burgundy);
}

/* ===== 深国旗蓝层次区（services 等核心区块用） ===== */
.section-navy {
  /* 不规则深底：琥珀光右上 + 月光蓝左上 + 酒红深晕左下，叠在 150° 蓝渐变上（V4.5.1 加浓） */
  background:
    radial-gradient(ellipse 50% 70% at 85% 6%, rgba(253,176,34,0.17), transparent 60%),
    radial-gradient(ellipse 45% 60% at 12% 12%, rgba(96,138,255,0.20), transparent 62%),
    radial-gradient(ellipse 55% 65% at 6% 100%, rgba(122,30,51,0.42), transparent 62%),
    var(--grad-navy);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.section-navy .card h3, .section-navy .card h4 { color: var(--ink); }  /* 白卡内标题保持深色 */
.section-navy .section-head p { color: rgba(255,255,255,0.68); }
.section-navy .card {
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 10px 30px rgba(5,10,30,0.35);
}
.section-navy .card-tag { color: var(--highlight); background: rgba(253,176,34,0.12); }
.section-navy .card-link { color: var(--accent-bright); }
.section-navy .eyebrow { color: var(--highlight); background: rgba(253,176,34,0.12); }

/* ===== 酒红浅调层次区（案例/信任类区块用） ===== */
.section-tint-burgundy {
  /* 不规则酒红浅调底：深酒红晕右下 + 蓝晕左上，错位打破平板 */
  background:
    radial-gradient(ellipse 48% 60% at 92% 95%, rgba(122,30,51,0.07), transparent 60%),
    radial-gradient(ellipse 40% 50% at 6% 10%, rgba(20,38,92,0.05), transparent 58%),
    var(--burgundy-light);
  border-top: 1px solid rgba(122,30,51,0.10);
  border-bottom: 1px solid rgba(122,30,51,0.10);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav { padding: 12px 20px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav-cta, .nav-secondary { margin-top: 12px; justify-content: center; }
  .nav-burger { display: block; }
  .page-hero { padding: 110px 0 50px; }
  .page-hero h1 { font-size: 32px; }
  .card-grid.cols-2, .card-grid.cols-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 28px; }
}


/* ----- Skip link（Gate A 无障碍）----- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  color: var(--ink, #1A1A2E);
  background: #ffffff;
  border: 2px solid var(--ink, #1A1A2E);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

/* ============================================================
   V4.5.0 — Motion system（滚动入场 + CTA 氛围光斑 + 页脚彩虹带）
   ============================================================ */

/* ----- 滚动入场（JS 挂 data-reveal；仅 html.js 时隐藏，无 JS 不影响可读） ----- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .55s cubic-bezier(.22,.61,.36,1),
    transform .55s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.js [data-reveal].revealed { opacity: 1; transform: none; }

/* 步骤卡：数字弹入 + 一圈柔光环扩散（Cloudflare 式节奏感） */
.js .step.revealed .step-num {
  animation:
    step-pop .5s cubic-bezier(.34,1.56,.64,1) backwards,
    step-ring 1.1s ease-out .35s 2;
}
@keyframes step-pop { from { transform: scale(.3); } to { transform: scale(1); } }
@keyframes step-ring {
  0%   { box-shadow: 0 0 0 0 rgba(20,38,92,.30); }
  100% { box-shadow: 0 0 0 16px rgba(20,38,92,0); }
}

/* 服务/行业卡：入场后图标轻晃一下，页面"活"起来 */
.js .card.revealed .card-icon { animation: icon-nudge .6s cubic-bezier(.34,1.56,.64,1) .15s backwards; }
@keyframes icon-nudge {
  0% { transform: scale(.6) rotate(-8deg); }
  60% { transform: scale(1.12) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; animation: none !important; }
  .js [data-reveal] .step-num, .js [data-reveal] .card-icon { animation: none !important; }
}

/* ----- CTA 酒红区：双氛围光斑缓慢游移 + 按钮流光 ----- */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band::before,
.cta-band::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(60px); pointer-events: none;
}
.cta-band::before {
  width: 430px; height: 430px; top: -190px; left: -130px;
  background: rgba(253,176,34,.32);
  animation: orb-a 13s ease-in-out infinite alternate;
}
.cta-band::after {
  width: 540px; height: 540px; bottom: -260px; right: -150px;
  background: rgba(255,122,61,.26);
  animation: orb-b 17s ease-in-out infinite alternate;
}
@keyframes orb-a { to { transform: translate(130px, 70px) scale(1.18); } }
@keyframes orb-b { to { transform: translate(-150px, -60px) scale(1.12); } }
.cta-band .btn { position: relative; overflow: hidden; }
.cta-band .btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -90px; width: 64px;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 3.4s ease-in-out infinite;
}
@keyframes btn-shine {
  0%, 55% { left: -90px; }
  90%, 100% { left: calc(100% + 50px); }
}
/* ----- V4.5.1: 全站 CTA 流光 —— 导航按钮 + 所有指向 Business AI Scan 的按钮（含次级/描边样式） ----- */
.nav-cta,
a.btn[href^="/business-ai-scan"] {
  position: relative; overflow: hidden;
}
.nav-cta::after,
a.btn[href^="/business-ai-scan"]::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -90px; width: 64px;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 3.4s ease-in-out infinite;
  pointer-events: none;
}

/* ----- V4.5.1: 深蓝区氛围光斑（与酒红 CTA 区同款待遇，冷色系变体） ----- */
.section-navy { position: relative; overflow: hidden; }
.section-navy .container { position: relative; z-index: 1; }
.section-navy::before,
.section-navy::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(70px); pointer-events: none;
}
.section-navy::before {
  width: 480px; height: 480px; top: -200px; right: -140px;
  background: rgba(253,176,34,.16);
  animation: navy-orb-a 15s ease-in-out infinite alternate;
}
.section-navy::after {
  width: 560px; height: 560px; bottom: -260px; left: -170px;
  background: rgba(88,128,255,.22);
  animation: navy-orb-b 19s ease-in-out infinite alternate;
}
@keyframes navy-orb-a { to { transform: translate(-120px, 90px) scale(1.15); } }
@keyframes navy-orb-b { to { transform: translate(140px, -70px) scale(1.12); } }

@media (prefers-reduced-motion: reduce) {
  .cta-band::before, .cta-band::after, .cta-band .btn::after { animation: none; }
  .nav-cta::after, a.btn[href^="/business-ai-scan"]::after,
  .section-navy::before, .section-navy::after { animation: none; }
}

/* ----- 页脚彩虹带：与英雄区错开（冷色主导 / 近垂直渐变 / 更薄 / 慢速反向） ----- */
.footer { position: relative; overflow: hidden; }
.footer .container { position: relative; z-index: 1; }
.footer-ribbon {
  position: absolute; left: -6%; right: -6%; top: -30px;
  height: 64px; transform: rotate(-1.3deg);
  pointer-events: none; z-index: 0; opacity: .85;
}
.footer-ribbon .ribbon-layer {
  position: absolute; inset: 0; border-radius: 999px;
  filter: blur(9px) saturate(1.25);
  will-change: background-position;
}
.footer-ribbon .ribbon-layer:nth-child(1) {
  /* 近垂直方向渐变（英雄区是 96deg 横向），冷色主导：靛蓝→紫→青→玫红点缀 */
  background: linear-gradient(172deg,
    #2B4BD8 0%, #7B5CFF 22%, #1C9E8F 45%, #C4407E 68%, #2B4BD8 88%, #7B5CFF 100%);
  background-size: 100% 260%;
  animation: ribbon-drift-y 4s ease-in-out infinite alternate;
}
.footer-ribbon .ribbon-layer:nth-child(2) {
  background: linear-gradient(-12deg,
    rgba(28,158,143,.9) 0%, rgba(123,92,255,.8) 30%, rgba(196,64,126,.85) 55%,
    rgba(43,75,216,.9) 78%, rgba(28,158,143,.85) 100%);
  background-size: 100% 200%;
  transform: skewX(5deg) scale(1.1);
  opacity: .55; mix-blend-mode: screen;
  animation: ribbon-drift-y 6s ease-in-out infinite alternate-reverse;
}
@keyframes ribbon-drift-y {
  from { background-position: 50% 0%; }
  to   { background-position: 50% 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-ribbon .ribbon-layer { animation: none; }
}
