/* ==========================================================================
   卡兔 KATU 官网 — 主样式
   色板：#3B53E8 藏青绿 / #7A5CF6 亮青 / #FCD319 明黄 / #FF5A5B 珊瑚红
        #866B02 橄榄金 / #000000 墨黑
   风格：苹果官网式极简 —— 大量留白、清晰层级、克制的动效
   ========================================================================== */

:root {
  --teal: #3b53e8;          /* 主色：蓝靛 */
  --teal-light: #7a5cf6;    /* 副色：紫罗兰（用于渐变另一端） */
  --teal-soft: #eef0fe;
  --yellow: #fcd319;
  --yellow-soft: #fef6d0;
  --coral: #ff5a5b;
  --coral-soft: #ffecec;
  --olive: #6b5a00;
  --olive-soft: #f5f2e2;
  --ink: #131a3a;
  --ink-2: #232c54;
  --body: #4b5375;
  --muted: #858cae;
  --line: #e6e9f6;
  --bg: #ffffff;
  --bg-soft: #f7f8fe;
  --white: #ffffff;

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --radius-xl: 32px;

  --shadow-s: 0 2px 12px rgba(19, 26, 58, 0.05);
  --shadow: 0 8px 32px rgba(19, 26, 58, 0.08);
  --shadow-l: 0 20px 60px rgba(19, 26, 58, 0.12);

  --nav-h: 72px;
  --maxw: 1200px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

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

/* ============================ 通用组件 ============================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  text-wrap: balance;
}

.section-head p {
  margin-top: 18px;
  font-size: 17px;
  color: var(--muted);
}

.section-head.left {
  text-align: left;
  margin-left: 0;
}

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--body);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(118deg, #3a5bf7 0%, #7c5cf6 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(71, 84, 240, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(118deg, #2f4be8 0%, #6a4ae8 100%);
  box-shadow: 0 12px 32px rgba(71, 84, 240, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(252, 211, 25, 0.35);
}

.btn-yellow:hover {
  background: #ffd733;
}

.btn-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-sm {
  height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-l);
  border-color: transparent;
}

/* ============================ 顶部导航 ============================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 28px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  position: relative;
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav a:hover {
  color: var(--teal);
  background: var(--teal-soft);
}

.nav a.is-active {
  color: var(--teal);
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cta {
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* 汉堡按钮（默认隐藏） */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  border-radius: 10px;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

body.is-nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.is-nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.is-nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 移动端抽屉 */
.nav-mask {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(19, 26, 58, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

body.is-nav-open .nav-mask {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 210;
  width: min(86vw, 360px);
  height: 100%;
  background: #fff;
  box-shadow: -20px 0 60px rgba(19, 26, 58, 0.18);
  transform: translateX(102%);
  transition: transform 0.4s var(--ease);
  padding: calc(env(safe-area-inset-top) + 20px) 24px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

body.is-nav-open .mobile-nav {
  transform: translateX(0);
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.mobile-nav-head img {
  height: 34px;
}

.mobile-nav-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
}

.mobile-nav ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 2px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.mobile-nav ul a.is-active {
  color: var(--teal);
}

.mobile-nav ul a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--muted);
  border-right: 2px solid var(--muted);
  transform: rotate(45deg);
}

.mobile-nav .btn {
  margin-top: 24px;
  width: 100%;
}

.mobile-nav-foot {
  margin-top: auto;
  padding-top: 26px;
  font-size: 13px;
  color: var(--muted);
  line-height: 2;
}

/* ============================ HERO ============================ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 36px) 0 44px;
  background: linear-gradient(180deg, #f7f8ff 0%, #ffffff 78%);
  overflow: hidden;
}

.hero .wrap {
  width: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 92, 246, 0.2), transparent 68%);
  pointer-events: none;
  animation: orb-drift-a 17s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -140px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 124, 255, 0.16), transparent 70%);
  pointer-events: none;
  animation: orb-drift-b 21s ease-in-out infinite;
}

/* 光斑缓慢漂移 + 呼吸，柔化首屏氛围 */
@keyframes orb-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.85; }
  50%      { transform: translate(-44px, 36px) scale(1.08); opacity: 1; }
}

@keyframes orb-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
  50%      { transform: translate(38px, -30px) scale(1.1); opacity: 1; }
}

/* 首屏文字错峰渐入 */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tag     { animation: hero-rise 0.7s var(--ease) both 0.05s; }
.hero-copy h1 { animation: hero-rise 0.8s var(--ease) both 0.2s; }
.lede         { animation: hero-rise 0.8s var(--ease) both 0.4s; }
.hero-actions { animation: hero-rise 0.8s var(--ease) both 0.58s; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: normal;
  color: var(--teal);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body);
  box-shadow: var(--shadow-s);
  margin-bottom: 26px;
}

.hero-tag img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.hero-tag b {
  color: var(--teal);
  font-weight: 700;
}

.hero p.lede {
  margin-top: 24px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-stats {
  grid-column: 1 / -1;
  display: flex;
  gap: 40px;
  margin-top: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-stats div b {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hero-stats div b i {
  font-style: normal;
  color: var(--teal);
}

.hero-stats div span {
  font-size: 13.5px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  margin-top: 0;
  transition: transform 0.4s ease-out;
  will-change: transform;
}

/* 插图底光晕，随插图呼吸 */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 2%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 92, 246, 0.18), transparent 66%);
  filter: blur(12px);
  animation: glow-pulse 6.5s ease-in-out infinite;
  pointer-events: none;
}

/* 插图加动效：整体缓慢浮动 */
.hero-visual-main {
  position: relative;
  z-index: 1;
}

.hero-visual-main img,
.hero-visual-main svg {
  width: 100%;
  height: auto;
  max-height: 62vh;
  object-fit: contain;
  animation: hero-float 7.5s ease-in-out infinite;
}

@keyframes hero-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.hero-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: var(--shadow);
  font-size: 14px;
  animation: badge-float 5.5s ease-in-out infinite;
  font-weight: 600;
  color: var(--ink);
}

.hero-badge i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-badge.b1 {
  left: 0;
  top: 22px;
  animation-delay: 0s;
}

.hero-badge.b1 i { background: var(--coral); }

.hero-badge.b2 {
  right: 0;
  top: 36%;
  animation-duration: 6.8s;
  animation-delay: 0.9s;
}

.hero-badge.b2 i { background: var(--teal-light); }

.hero-badge.b3 {
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  animation: badge-float-c 5s ease-in-out infinite;
  animation-delay: 1.7s;
}

/* 三个文字胶囊浮动效果，错峰起伏 */
@keyframes badge-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes badge-float-c {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-9px);
  }
}

.hero-badge.b3 i { background: var(--yellow); }

/* 业务条 */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  background: var(--bg-soft);
}

.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee span {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}

.marquee span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================ 业务矩阵 ============================ */

.section {
  padding: 104px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.biz-card {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.biz-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-l);
}

.biz-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--teal-soft);
}

.biz-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.biz-card:hover .biz-card-img img {
  transform: scale(1.05);
}

.biz-card-no {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  box-shadow: var(--shadow-s);
}

.biz-card-body {
  padding: 24px 22px 28px;
}

.biz-card-body h3 {
  font-size: 19px;
  white-space: nowrap;
}

.biz-card-body h3 small {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.biz-card-body > p {
  margin-top: 14px;
  font-size: 15.5px;
  color: var(--body);
}

.biz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.biz-tags li {
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: var(--bg-soft);
  color: var(--body);
  border: 1px solid var(--line);
}

.biz-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--teal);
}

.biz-more svg {
  transition: transform 0.25s var(--ease);
}

.biz-card:hover .biz-more svg {
  transform: translateX(4px);
}

.biz-card.t-mg .biz-card-body h3 { color: var(--teal); }
.biz-card.t-2d .biz-card-body h3 { color: var(--olive); }
.biz-card.t-ai .biz-card-body h3 { color: var(--coral); }
.biz-card.t-med .biz-card-body h3 { color: var(--ink); }

/* ============================ 作品 ============================ */

.work-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.work-tab {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  color: var(--body);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.work-tab:hover {
  border-color: var(--teal-light);
  color: var(--teal);
}

.work-tab.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* 首页作品卡片复用案例页 case-card 样式，.work-item 仅作筛选 JS 钩子 */
.work-item.is-hidden {
  display: none;
}

.case-group.is-hidden {
  display: none;
}

.work-empty {
  display: none;
  text-align: center;
  padding: 56px 20px;
  font-size: 15px;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: var(--radius-l);
}

.work-empty.is-visible {
  display: block;
}

.work-item img {
  transition: transform 0.6s var(--ease);
}

.work-item:hover img {
  transform: scale(1.05);
}

/* ============================ 流程 ============================ */

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  padding: 0 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.flow-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.flow-step:hover .flow-badge {
  box-shadow: 0 14px 26px rgba(59, 83, 232, 0.4);
}

/* 幽灵大数字（装饰，压在卡片右上角） */
.flow-step::before {
  counter-increment: flow;
  content: "0" counter(flow);
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 62px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(59, 83, 232, 0.09);
  pointer-events: none;
}

/* 渐变图标徽章（扁平白色线条图标） */
.flow-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin: 26px 0 18px;
  background: linear-gradient(135deg, #3b53e8, #7a5cf6);
  color: #fff;
  box-shadow: 0 10px 20px rgba(59, 83, 232, 0.28);
  position: relative;
  z-index: 1;
}

.flow-badge svg {
  width: 24px;
  height: 24px;
  display: block;
}

.flow-step h4 {
  font-size: 17px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.flow-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ============================ 合作伙伴 ============================ */

.partners {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.partner {
  height: 94px;
  display: grid;
  place-items: center;
  padding: 16px 18px;
  border-radius: var(--radius-s);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    filter 0.3s var(--ease);
}

.partner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* 画布按视觉面积归一（sqrt(w*h) 恒定），固定渲染高度即可保证光学尺寸一致 */
.partner img {
  width: auto;
  height: 64px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.6;
  transition: filter 0.35s var(--ease), opacity 0.35s var(--ease);
}

.partner:hover img {
  filter: none;
  opacity: 1;
}

/* ============================ CTA ============================ */

.cta-band {
  position: relative;
  padding: 92px 0;
  background: linear-gradient(135deg, #3a5bf7 0%, #7a5cf6 100%);
  color: #fff;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(252, 211, 25, 0.22);
}

.cta-band::after {
  content: "";
  position: absolute;
  left: 8%;
  bottom: -140px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 90, 91, 0.18);
}

.cta-band .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(26px, 3.6vw, 40px);
  max-width: 640px;
}

.cta-band p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================ 页脚 ============================ */

.footer {
  background: #0b1a1e;
  color: rgba(255, 255, 255, 0.62);
  padding: 68px 0 30px;
  font-size: 14.5px;
}

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

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-about {
  margin-top: 18px;
  max-width: 330px;
  line-height: 1.85;
}

.footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer li {
  margin-bottom: 10px;
}

.footer li a {
  transition: color 0.2s var(--ease);
}

.footer li a:hover {
  color: var(--yellow);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.7;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 5px;
  opacity: 0.6;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
}

.footer-bottom a:hover {
  color: var(--yellow);
}

/* ============================ 内页 Hero ============================ */

.page-hero {
  padding: calc(var(--nav-h) + 78px) 0 72px;
  background: linear-gradient(180deg, #f2fafb, #fff);
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 54px);
}

.page-hero p {
  margin: 20px auto 0;
  max-width: 680px;
  font-size: 17px;
  color: var(--muted);
}

.crumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}

.crumb a:hover {
  color: var(--teal);
}

/* ============================ 业务详情页 ============================ */

.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 0 0 96px;
  border-bottom: 1px solid var(--line);
}

.detail:last-of-type {
  border-bottom: 0;
}

.detail.reverse .detail-media {
  order: 2;
}

.detail-media {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-media img {
  width: 100%;
  height: auto;
}

.detail h2 {
  font-size: clamp(26px, 3.2vw, 36px);
}

.detail .kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.detail > div > p {
  margin-top: 16px;
}

.detail-list {
  margin-top: 26px;
  display: grid;
  gap: 13px;
}

.detail-list li {
  display: flex;
  gap: 11px;
  font-size: 15.5px;
  line-height: 1.65;
}

.detail-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--teal-soft);
  border: 1px solid rgba(59, 83, 232, 0.32);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23289fac' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}

.feature-card {
  padding: 30px 28px;
  border-radius: var(--radius-l);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================ 案例页 ============================ */

.case-group {
  margin-bottom: 64px;
}

.case-group h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.case-group > p {
  color: var(--muted);
  margin-bottom: 26px;
  font-size: 15.5px;
}

/* 每栏默认仅展示前 3 个，点击按钮展开全部 */
.case-group:not(.is-expanded) .case-card.is-extra {
  display: none;
}

.case-more-wrap {
  text-align: center;
  margin-top: 34px;
}

.case-more {
  min-width: 220px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-l);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.case-card-body {
  padding: 20px 22px 24px;
}

.case-card-body h3 {
  font-size: 17px;
}

.case-card-body p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.case-card-body .tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--teal-soft);
  color: var(--teal);
}

/* ============================ 关于页 ============================ */

.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

/* 卡兔是谁：右侧照片 一排两张 × 三行，统一大小 */
.about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.about-collage img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.about-intro p {
  margin-top: 18px;
}

.value-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.value-item {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.value-item .vi-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
}

.value-item h4 {
  font-size: 16.5px;
  margin-bottom: 5px;
}

.value-item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.office-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.4s var(--ease);
}

.office-grid img:hover {
  transform: scale(1.03);
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child {
  border-bottom: 0;
}

.timeline-year {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.06em;
}

.timeline-item h4 {
  font-size: 18px;
  margin-bottom: 7px;
}

.timeline-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- 公司动态 ---------- */
.news-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.news-item {
  display: flex;
  gap: 24px;
  padding: 26px 28px;
  background: #fff;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-l);
}

.news-date {
  flex-shrink: 0;
  width: 74px;
  height: 74px;
  border-radius: 16px;
  background: var(--teal-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.news-date b {
  font-size: 20px;
  color: var(--teal);
}

.news-date span {
  font-size: 12.5px;
  color: var(--muted);
}

.news-body h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-body p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
}

.news-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.news-tag {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 3px 10px;
  border-radius: 999px;
}

.news-tag.t-yellow {
  color: #866b02;
  background: var(--yellow-soft);
}

.news-note {
  text-align: center;
  margin-top: 34px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .news-item {
    flex-direction: column;
    gap: 14px;
    padding: 22px 20px;
  }
}

/* ============================ 右侧浮动服务栏 ============================ */

.cs-stack {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-tile {
  width: 64px;
  height: 64px;
  border: none;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 10px rgba(19, 26, 58, 0.06), 0 10px 26px rgba(19, 26, 58, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.cs-tile svg {
  width: 22px;
  height: 22px;
}

.cs-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 14px rgba(19, 26, 58, 0.08), 0 14px 32px rgba(19, 26, 58, 0.14);
  color: var(--teal);
}

.cs-tile.cs-top {
  background: #171d21;
  color: #fff;
}

.cs-tile.cs-top:hover {
  background: #000;
  color: #fff;
}

@media (max-width: 760px) {
  /* 手机端改为底部横条，避免竖排挤压首屏插画 */
  .cs-stack {
    left: 10px;
    right: 10px;
    bottom: 10px;
    flex-direction: row;
    justify-content: center;
    gap: 6px;
  }

  .cs-tile {
    flex: 1 1 0;
    width: auto;
    max-width: 78px;
    height: 52px;
    font-size: 10px;
    gap: 3px;
    border-radius: 13px;
    box-shadow: 0 2px 8px rgba(19, 26, 58, 0.08), 0 6px 18px rgba(19, 26, 58, 0.12);
  }

  .cs-tile svg {
    width: 18px;
    height: 18px;
  }

  /* 给底部横条留出安全距离 */
  body {
    padding-bottom: 74px;
  }
}

.cs-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s var(--ease), visibility 0.26s;
}

.cs-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cs-mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 26, 0.55);
  backdrop-filter: blur(3px);
}

.cs-card {
  position: relative;
  width: min(420px, 100%);
  max-height: min(86vh, 780px);
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  padding: 26px 28px 24px;
  box-shadow: 0 32px 80px rgba(10, 16, 19, 0.35);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.26s var(--ease);
}

.cs-modal.is-open .cs-card {
  transform: none;
}

.cs-card .cs-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.cs-card .cs-close:hover {
  color: var(--ink);
  background: var(--line);
}

.cs-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.cs-head h4 {
  font-size: 17px;
  margin-bottom: 3px;
}

.cs-head p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.cs-badge {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, #3b53e8, #7a5cf6);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(59, 83, 232, 0.32);
}

.cs-badge svg {
  width: 24px;
  height: 24px;
}

.cs-badge-green {
  background: linear-gradient(135deg, #2fb56b, #43cf80);
  box-shadow: 0 8px 18px rgba(47, 181, 107, 0.32);
}

.cs-field {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}

.cs-field b {
  color: var(--coral);
}

.cs-field input,
.cs-field textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.cs-field textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.6;
}

.cs-field input:focus,
.cs-field textarea:focus {
  border-color: var(--teal-light);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(122, 92, 246, 0.12);
}

.cs-note {
  display: none;
  font-size: 13px;
  margin-bottom: 12px;
}

.cs-note.is-error {
  display: block;
  color: var(--coral);
}

.cs-note:not(.is-error):empty {
  display: none;
}

.cs-note:not(.is-error):not(:empty) {
  display: block;
  color: #2fa46b;
}

.cs-actions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.cs-submit {
  flex: 1.4;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(59, 83, 232, 0.3);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.cs-submit:hover {
  background: #2f45d6;
  transform: translateY(-1px);
}

.cs-wechat {
  flex: 1;
  height: 48px;
  border: 1px solid #bfe6cd;
  border-radius: 999px;
  background: #f2fbf5;
  color: #2fa46b;
  font-size: 14.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.cs-wechat svg {
  width: 18px;
  height: 18px;
}

.cs-wechat:hover {
  background: #e6f7ec;
  border-color: #9fd9b6;
}

.cs-qr-frame {
  width: 216px;
  margin: 0 auto;
}

.cs-qr-frame img {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
}

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

.cs-scan b {
  color: #2fa46b;
}

/* ============================ 联系页 ============================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 14px;
}

/* 去外框：无边框行 */
.contact-card {
  display: flex;
  gap: 16px;
  padding: 18px 10px;
  background: transparent;
  border: none;
  border-radius: 14px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.contact-card:hover {
  background: var(--bg-soft);
  transform: translateX(4px);
}

.contact-card .cc-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--teal-soft);
}

.contact-card h4 {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 5px;
}

.contact-card p,
.contact-card a {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  word-break: break-all;
}

.contact-card a:hover {
  color: var(--teal);
}

.contact-tip {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-tip img {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 50%;
}

.contact-tip p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.form {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.form h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.form > p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.field label span {
  color: var(--coral);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  outline: none;
}

.field textarea {
  height: auto;
  min-height: 132px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.7;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal-light);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(122, 92, 246, 0.12);
}

/* ---------- 自定义下拉框 ---------- */
.select-wrap {
  position: relative;
}

.select-wrap select {
  display: none;
}

.select-btn {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15.5px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.select-btn .select-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select-btn .select-value.is-placeholder {
  color: var(--muted);
}

.select-btn > svg {
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.25s var(--ease);
}

.select-btn:hover,
.select-wrap.is-open .select-btn {
  border-color: var(--teal-light);
  background: #fff;
}

.select-wrap.is-open .select-btn {
  box-shadow: 0 0 0 4px rgba(122, 92, 246, 0.12);
}

.select-wrap.is-open .select-btn > svg {
  transform: rotate(180deg);
}

.select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 60;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  max-height: 264px;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(19, 26, 58, 0.08), 0 14px 44px rgba(19, 26, 58, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

.select-wrap.is-open .select-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.select-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.select-opt:hover {
  background: var(--teal-soft);
}

.select-opt.is-selected {
  color: var(--teal);
  font-weight: 600;
}

.select-opt.is-selected::after {
  content: '✓';
  font-weight: 700;
}

.select-opt.is-placeholder {
  color: var(--muted);
}

.form .btn {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ============================ FAQ ============================ */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.25s var(--ease);
}

.faq-item.is-open {
  border-color: var(--teal-light);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-q i {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-soft);
  position: relative;
  transition: transform 0.3s var(--ease);
}

.faq-q i::before,
.faq-q i::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--teal);
  border-radius: 2px;
}

.faq-q i::before {
  width: 10px;
  height: 2px;
}

.faq-q i::after {
  width: 2px;
  height: 10px;
  transition: transform 0.3s var(--ease);
}

.faq-item.is-open .faq-q i::after {
  transform: rotate(90deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-a p {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}

/* ============================ 滚动动效 ============================ */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ============================ 响应式 ============================ */

/* 窄桌面：给右侧客服浮窗让位，避免插画芯片被压住 */
@media (max-width: 1279px) and (min-width: 1041px) {
  .hero-visual { padding-right: 56px; }
}

/* 宽屏：新闻列表跟着页面铺开，不再固定 860px 窄条 */
@media (min-width: 1280px) {
  .news-list { max-width: 1040px; }
  .news-item { padding: 28px 32px; }
}

@media (min-width: 1500px) {
  .news-list { max-width: 1130px; }
}

/* 中等宽度：收紧导航字号与间距，保证一行放下 */
@media (max-width: 1200px) {
  .header-inner { gap: 16px; }
  .nav { gap: 0; }
  .nav a { padding: 8px 10px; font-size: 14px; }
  .header-cta { padding-left: 14px; padding-right: 14px; font-size: 13px; }
}

/* 再窄就交给汉堡菜单，避免文字被压成竖排 */
@media (max-width: 1040px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .header-inner { justify-content: flex-start; }
  .header-right { margin-left: auto; }
}

@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-card-body { padding: 26px 26px 30px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; margin-top: 0; }
  .hero-badge.b1 { left: 12px; }
  .hero-badge.b2 { right: 8px; }
  .detail { grid-template-columns: 1fr; gap: 34px; padding: 0 0 64px; }
  .detail.reverse .detail-media { order: 0; }
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .work-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .office-grid img { height: 220px; }
}

@media (max-width: 760px) {
  :root { --nav-h: 62px; }

  body { font-size: 16px; }

  .nav { display: none; }
  .nav-toggle { display: block; }
  .header-inner { justify-content: flex-start; }
  .header-right { margin-left: auto; }
  .header-cta { display: none; }

  .section { padding: 72px 0; }
  .hero { padding: calc(var(--nav-h) + 52px) 0 68px; }
  .hero-stats { gap: 26px; }
  .hero-stats div b { font-size: 25px; }
  .hero-badge { font-size: 12.5px; padding: 9px 14px; }
  .hero-badge.b1 { left: 0; top: 22px; }
  .hero-badge.b2 { right: 0; bottom: 34px; }
  .hero-badge.b3 { display: none; }
  .chip { width: 50px; height: 50px; border-radius: 15px; }
  .chip svg { width: 25px; height: 25px; }
  .pill { font-size: 12.5px; padding: 9px 15px; }
  .studio { aspect-ratio: 420 / 460; }

  .biz-grid { grid-template-columns: 1fr; }
  .biz-card-body { padding: 24px 22px 28px; }
  .work-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(2, 1fr); }
  .feature-cards { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; }
  .office-grid img { height: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .form { padding: 28px 22px 32px; }
  .form-row { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .wrap { padding: 0 18px; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { flex-wrap: wrap; gap: 20px 28px; }
}

/* ===== 首屏插画：卡兔动画工作室（阿里风漂浮构图） ===== */
.hero-visual-main { position: relative; }

.studio {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 560 / 470;
  animation: hero-float 8s ease-in-out infinite;
}

/* 背景渐变彩带 */
.ribbon {
  position: absolute;
  border-radius: 50%;
  filter: blur(34px);
  opacity: .5;
  will-change: transform;
}
.ribbon.r1 {
  width: 78%; height: 40%;
  left: -8%; top: 8%;
  background: linear-gradient(95deg, rgba(122,92,246,0) 0%, rgba(122,92,246,.55) 50%, rgba(122,92,246,0) 100%);
  animation: ribbonspin 24s linear infinite;
}
.ribbon.r2 {
  width: 70%; height: 38%;
  right: -12%; top: 20%;
  background: linear-gradient(95deg, rgba(91,123,255,0) 0%, rgba(91,123,255,.5) 50%, rgba(91,123,255,0) 100%);
  animation: ribbonspin 30s linear infinite reverse;
}
.ribbon.r3 {
  width: 66%; height: 36%;
  left: 6%; bottom: 4%;
  background: linear-gradient(95deg, rgba(154,107,255,0) 0%, rgba(154,107,255,.42) 50%, rgba(154,107,255,0) 100%);
  animation: ribbonspin 36s linear infinite;
}
@keyframes ribbonspin {
  0%   { transform: rotate(0deg)   translateX(0); }
  50%  { transform: rotate(180deg) translateX(14px); }
  100% { transform: rotate(360deg) translateX(0); }
}

/* 中央动画帧卡片簇 */
.frame {
  position: absolute;
  border-radius: 22px;
  box-shadow: 0 26px 54px rgba(31,74,99,.18);
  display: grid;
  place-items: center;
  will-change: transform;
}
.frame svg { width: 42%; height: 42%; }
.frame.f1 {
  width: 46%; height: 33%;
  left: 15%; top: 20%;
  transform: rotate(-7deg);
  background: linear-gradient(150deg, #ffffff, #eef0ff);
  border: 1px solid rgba(122,92,246,.3);
  animation: floatF1 6.5s ease-in-out infinite;
}
.frame.f2 {
  width: 42%; height: 31%;
  left: 33%; top: 41%;
  transform: rotate(5deg);
  background: linear-gradient(150deg, #ffffff, #fff7da);
  border: 1px solid rgba(252,211,25,.4);
  z-index: 2;
  animation: floatF2 7.5s ease-in-out infinite;
}
.frame.f3 {
  width: 33%; height: 25%;
  left: 55%; top: 10%;
  transform: rotate(-3deg);
  background: linear-gradient(150deg, #7a5cf6, #3b53e8);
  z-index: 3;
  animation: floatF3 6s ease-in-out infinite;
}
.frame.f3 svg { width: 58%; height: 58%; }

@keyframes floatF1 { 0%,100%{transform:translateY(0) rotate(-9deg)} 50%{transform:translateY(-14px) rotate(-9deg)} }
@keyframes floatF2 { 0%,100%{transform:translateY(0) rotate(5deg)} 50%{transform:translateY(-18px) rotate(5deg)} }
@keyframes floatF3 { 0%,100%{transform:translateY(0) rotate(-3deg)} 50%{transform:translateY(-11px) rotate(-3deg)} }

/* 漂浮图标芯片 */
.chip {
  position: absolute;
  width: 62px; height: 62px;
  border-radius: 18px;
  display: grid; place-items: center;
  box-shadow: 0 16px 32px rgba(31,74,99,.16);
  will-change: transform;
}
.chip svg { width: 30px; height: 30px; }
.chip.c1 { left: 11%; top: 13%; background: linear-gradient(145deg,#7a5cf6,#3b53e8); animation: floatC1 7s   ease-in-out infinite; }
.chip.c2 { right: 4%; top: 50%; background: linear-gradient(145deg,#7a5cf6,#5b3fe0); animation: floatC2 8s   ease-in-out infinite .4s; }
.chip.c3 { left: 6%;  bottom: 14%; background: linear-gradient(145deg,#fcd319,#f3b800); animation: floatC3 7.5s ease-in-out infinite .8s; }
.chip.c4 { right: 7%; bottom: 18%; background: #fff; border: 1px solid rgba(122,92,246,.35); animation: floatC4 8.5s ease-in-out infinite .2s; }
.chip.c4 svg { stroke: #3B53E8; }

@keyframes floatC1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-15px)} }
@keyframes floatC2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-19px)} }
@keyframes floatC3 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes floatC4 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }

/* 胶囊标签 */
.pill {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 30px rgba(31,74,99,.16);
  font-size: 14px; font-weight: 700; color: #3B53E8;
  white-space: nowrap;
  animation: floatPill 9s ease-in-out infinite;
}
.pill i {
  width: 9px; height: 9px; border-radius: 50%;
  background: #7a5cf6;
  box-shadow: 0 0 0 4px rgba(122,92,246,.18);
}
@keyframes floatPill { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-10px)} }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
