/*
   Design System v5 — Nightframe
   海南晓乐文化传媒有限公司
   方向：电影感留白、克制科技色、清晰的信息层级
*/

:root {
  color-scheme: dark;

  --color-text-primary: #f7f7f4;
  --color-text-secondary: #a9adba;
  --color-text-tertiary: #707584;

  --color-bg-primary: #07080d;
  --color-bg-secondary: #0d0f17;
  --color-bg-tertiary: #151824;
  --color-bg-elevated: rgba(12, 14, 22, 0.88);

  --color-border-subtle: rgba(255, 255, 255, 0.09);
  --color-border-strong: rgba(255, 255, 255, 0.17);

  --color-link: #92a4ff;
  --color-link-hover: #bac5ff;
  --color-fill-primary: #6676f6;
  --color-fill-primary-hover: #7c8aff;

  --color-film: #718cff;
  --color-film-glow: rgba(113, 140, 255, 0.24);
  --color-glow-blue: rgba(113, 140, 255, 0.13);
  --color-drama: #c677f2;
  --color-drama-glow: rgba(198, 119, 242, 0.22);
  --color-glow-purple: rgba(198, 119, 242, 0.11);
  --color-comic: #f5ae62;
  --color-comic-glow: rgba(245, 174, 98, 0.2);
  --color-glow-orange: rgba(245, 174, 98, 0.09);

  --container-width: 1080px;
  --container-wide: 1240px;
  --container-ultrawide: 1360px;
  --header-height: 64px;
  --nav-floating-top: 18px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.32);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.42);
  --shadow-xl: 0 36px 100px rgba(0, 0, 0, 0.52);
  --shadow-glow-blue: 0 22px 70px rgba(72, 91, 210, 0.2);
  --shadow-glow-purple: 0 22px 70px rgba(135, 68, 177, 0.18);
  --shadow-glow-orange: 0 22px 70px rgba(174, 108, 42, 0.16);
  --shadow-card-hover: 0 28px 72px rgba(0, 0, 0, 0.45);

  --glass-bg: rgba(15, 17, 26, 0.72);
  --glass-border: rgba(255, 255, 255, 0.11);
  --glass-blur: blur(18px) saturate(135%);

  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Noto Sans SC", "Segoe UI", sans-serif;
  --font-display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Microsoft YaHei", sans-serif;

  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-emphasized: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-enter: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.2, 0.9, 0.25, 1.2);
  --d-instant: 100ms;
  --d-fast: 220ms;
  --d-standard: 420ms;
  --d-content: 650ms;
  --d-hero: 850ms;

  --aurora-1: #718cff;
  --aurora-2: #c677f2;
  --aurora-3: #f0788d;
  --aurora-4: #f5ae62;
  --aurora-5: #65cfad;
  --iridescent-border: linear-gradient(135deg, rgba(113, 140, 255, 0.65), rgba(198, 119, 242, 0.25));
  --grain-opacity: 0.025;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background: var(--color-bg-primary);
}

body {
  min-width: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--color-text-primary);
  background:
    radial-gradient(circle at 8% 10%, rgba(91, 108, 220, 0.1), transparent 30rem),
    radial-gradient(circle at 92% 42%, rgba(144, 73, 178, 0.07), transparent 34rem),
    var(--color-bg-primary);
  font-family: var(--font-sans);
  line-height: 1.55;
  letter-spacing: -0.012em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--d-fast) ease;
}

a:hover { color: var(--color-link-hover); }
ul { list-style: none; }

button {
  border: 0;
  color: inherit;
  background: none;
  font: inherit;
  cursor: pointer;
}

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 2px solid var(--color-link);
  outline-offset: 4px;
}

::selection {
  color: #fff;
  background: rgba(102, 118, 246, 0.52);
}

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: var(--color-bg-primary); }
::-webkit-scrollbar-thumb {
  border: 2px solid var(--color-bg-primary);
  border-radius: var(--radius-pill);
  background: #343848;
}

.container,
.container-wide,
.container-ultrawide {
  width: 100%;
  margin-inline: auto;
  padding-inline: 28px;
}

.container { max-width: var(--container-width); }
.container-wide { max-width: var(--container-wide); }
.container-ultrawide { max-width: var(--container-ultrawide); }

h1, h2, h3, h4 {
  color: var(--color-text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 { font-size: clamp(50px, 7.2vw, 92px); }
h2 { font-size: clamp(38px, 5vw, 64px); }
h3 { font-size: clamp(27px, 3.2vw, 42px); }
h4 { font-size: 21px; letter-spacing: -0.025em; }

p {
  color: var(--color-text-secondary);
  font-size: 17px;
  line-height: 1.72;
}

.lead {
  color: var(--color-text-secondary);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.65;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--color-link);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  flex: 0 0 auto;
  background: currentColor;
  opacity: 0.65;
}

.section { padding: 112px 0; }

.section-title {
  max-width: 720px;
  margin-bottom: 58px;
}

.section-title .eyebrow,
.section-title h2,
.section-title > p {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-enter), transform 0.7s var(--ease-enter);
}

.section-title h2 { margin-bottom: 20px; transition-delay: 70ms; }
.section-title > p { max-width: 620px; font-size: 18px; transition-delay: 140ms; }
.section-title.visible .eyebrow,
.section-title.visible h2,
.section-title.visible > p { opacity: 1; transform: none; }

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 25px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: #fff;
  background: var(--color-fill-primary);
  box-shadow: 0 12px 34px rgba(70, 84, 209, 0.28);
  font-size: 16px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  transition: transform var(--d-fast) var(--ease-standard), background var(--d-fast) ease,
    border-color var(--d-fast) ease, box-shadow var(--d-fast) ease;
}

.btn:hover {
  color: #fff;
  background: var(--color-fill-primary-hover);
  box-shadow: 0 16px 42px rgba(70, 84, 209, 0.36);
  transform: translateY(-2px);
}

.btn:active { transform: translateY(0); }
.btn-lg { min-height: 58px; padding: 16px 30px; font-size: 17px; }
.btn-sm { min-height: 38px; padding: 9px 16px; font-size: 13px; }
.btn i { transition: transform var(--d-fast) var(--ease-standard); }
.btn:hover i { transform: translateX(3px); }

.btn-secondary {
  color: var(--color-text-primary);
  border-color: var(--color-border-strong);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.btn-secondary:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-link);
  font-size: 15px;
  font-weight: 650;
  transition: gap var(--d-fast) var(--ease-standard), color var(--d-fast) ease;
}

.cta-link:hover { gap: 12px; color: var(--color-link-hover); }
.cta-link i { transition: transform var(--d-fast) var(--ease-standard); }
.cta-link:hover i { transform: translateX(3px); }
.cta-link-light { color: rgba(255, 255, 255, 0.88); }
.cta-link-light:hover { color: #fff; }
.cta-link-dark { color: var(--color-text-primary); }

/* 导航 */
header {
  position: fixed;
  top: var(--nav-floating-top);
  left: 0;
  right: 0;
  z-index: 1000;
  padding-inline: 18px;
}

header .container {
  position: relative;
  height: var(--header-height);
  max-width: 1180px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 22px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  box-shadow: 0 14px 46px rgba(0, 0, 0, 0.3);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: background var(--d-standard) ease, border-color var(--d-standard) ease,
    box-shadow var(--d-standard) ease;
}

header.scrolled .container {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(10, 12, 18, 0.94);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.42);
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--color-text-primary);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.logo::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--color-film), var(--color-drama));
  box-shadow: 0 0 18px rgba(113, 140, 255, 0.68);
  transform: rotate(12deg);
}

.logo:hover { color: #fff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  position: relative;
  padding: 10px 15px;
  border-radius: var(--radius-pill);
  color: var(--color-text-secondary);
  font-size: 14px;
  font-weight: 530;
  white-space: nowrap;
  transition: color var(--d-fast) ease, background var(--d-fast) ease;
}

.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.055); }
.nav-links a.active { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-link);
  transform: translateX(-50%);
}

.mobile-menu-btn {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

/* 首页氛围背景 */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.3;
}

.aurora-blob {
  position: absolute;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.22;
  animation: auroraDrift 24s ease-in-out infinite alternate;
}

.aurora-blob:nth-child(1) { top: -18rem; left: -14rem; background: var(--aurora-1); }
.aurora-blob:nth-child(2) { top: 30%; right: -20rem; background: var(--aurora-2); animation-delay: -7s; }
.aurora-blob:nth-child(3) { bottom: -20rem; left: 30%; background: var(--aurora-3); animation-delay: -13s; }
.aurora-blob:nth-child(4) { display: none; }

@keyframes auroraDrift {
  to { transform: translate3d(4rem, 3rem, 0) scale(1.14); }
}

.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

header, .section, .cta-section, footer { position: relative; z-index: 2; }

/* 首页首屏 */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 154px 0 112px;
  background: #05060a;
}

.hero-bg {
  position: absolute;
  inset: -6%;
  z-index: 0;
  overflow: hidden;
  background: #05060a;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: grayscale(0.28) saturate(0.78) contrast(1.08) brightness(1.02);
  transform: scale(1.035);
  transition: opacity 1.3s ease, transform 4s var(--ease-standard);
}

.hero-video.is-ready { opacity: 1; transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 6, 10, 0.9) 0%, rgba(5, 6, 10, 0.62) 42%, rgba(5, 6, 10, 0.16) 78%, rgba(5, 6, 10, 0.32) 100%),
    linear-gradient(180deg, rgba(5, 6, 10, 0.52) 0%, transparent 35%, #07080d 100%),
    radial-gradient(circle at 24% 48%, rgba(96, 112, 238, 0.16), transparent 38%);
}

.hero-grain { display: none; }

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-content .container { max-width: var(--container-wide); }

.hero-content .container::after {
  content: "XIAOLE / VISUAL STUDIO";
  position: absolute;
  right: 28px;
  bottom: 4px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 720px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeInUp var(--d-content) var(--ease-enter) 0.12s forwards;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(6, 7, 11, 0.42);
  font-size: 12px;
  font-weight: 560;
  backdrop-filter: blur(10px);
}

.hero-tag i { color: var(--color-link); font-size: 11px; }

.hero-title {
  max-width: 800px;
  margin-bottom: 30px;
  color: #fff;
  background: linear-gradient(120deg, #fff 0%, #f2f0f5 48%, #9aa8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(58px, 7.2vw, 104px);
  font-weight: 570;
  line-height: 1.02;
  letter-spacing: -0.065em;
  opacity: 0;
  animation: fadeInUp var(--d-hero) var(--ease-enter) 0.22s forwards;
}

.hero .lead {
  max-width: 680px;
  margin-bottom: 42px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.8vw, 21px);
  opacity: 0;
  animation: fadeInUp var(--d-hero) var(--ease-enter) 0.36s forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeInUp var(--d-hero) var(--ease-enter) 0.5s forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  width: 1px;
  height: 52px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.scroll-indicator span {
  display: block;
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.75);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  from { transform: translateY(-20px); }
  to { transform: translateY(54px); }
}

/* 数据条 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
}

.stat-item {
  position: relative;
  padding: 34px 24px;
  text-align: center;
}

.stat-item + .stat-item { border-left: 1px solid var(--color-border-subtle); }
.stat-number { color: #fff; font-size: clamp(28px, 3.5vw, 42px); font-weight: 650; letter-spacing: -0.05em; }
.stat-label { margin-top: 7px; color: var(--color-text-tertiary); font-size: 13px; }

/* 业务卡片 */
.tiles-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-tile {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  padding: 38px 34px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  background: var(--color-bg-secondary);
  box-shadow: var(--shadow-sm);
  transition: transform var(--d-standard) var(--ease-standard), border-color var(--d-standard) ease,
    box-shadow var(--d-standard) ease;
}

.feature-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 100%, var(--tile-glow), transparent 52%);
  pointer-events: none;
}

.feature-tile::after {
  content: "";
  position: absolute;
  top: 0;
  left: 34px;
  width: 54px;
  height: 2px;
  background: var(--tile-color);
  box-shadow: 0 0 22px var(--tile-color);
}

.feature-tile:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
}

.tile-film { --tile-color: var(--color-film); --tile-glow: rgba(113, 140, 255, 0.22); }
.tile-drama { --tile-color: var(--color-drama); --tile-glow: rgba(198, 119, 242, 0.2); }
.tile-comic { --tile-color: var(--color-comic); --tile-glow: rgba(245, 174, 98, 0.18); }

.tile-eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
  color: var(--tile-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.feature-tile h3 { position: relative; z-index: 1; margin-bottom: 18px; font-size: clamp(27px, 2.6vw, 38px); }
.tile-desc { position: relative; z-index: 1; max-width: 330px; font-size: 15px; }
.tile-cta { position: relative; z-index: 2; margin-top: 28px; }
.tile-visual {
  position: absolute;
  right: 26px;
  bottom: 24px;
  color: var(--tile-color);
  font-size: 112px;
  line-height: 1;
  opacity: 0.16;
  transition: opacity var(--d-standard) ease, transform var(--d-standard) var(--ease-standard);
}

.feature-tile:hover .tile-visual { opacity: 0.28; transform: translateY(-5px) rotate(-3deg); }

/* 分栏 */
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
}

.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-text { min-width: 0; }
.split-text h3 { margin-bottom: 24px; }
.split-text p { margin-bottom: 17px; }
.split-text p:last-of-type { margin-bottom: 30px; }

.split-visual {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  isolation: isolate;
}

.split-visual::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: calc(var(--radius-xl) - 10px);
}

.split-visual::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: scale(1.2);
}

.split-visual i {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.9);
  font-size: 86px;
  transition: transform var(--d-standard) var(--ease-standard);
}

.split-visual:hover i { transform: scale(1.08) rotate(-4deg); }
.gradient-film { background: radial-gradient(circle at 25% 20%, #4f66d1, transparent 46%), #141a32; box-shadow: var(--shadow-glow-blue); }
.gradient-drama { background: radial-gradient(circle at 70% 20%, #873eaa, transparent 48%), #29152f; box-shadow: var(--shadow-glow-purple); }
.gradient-comic { background: radial-gradient(circle at 30% 20%, #9c602d, transparent 48%), #2e2016; box-shadow: var(--shadow-glow-orange); }

.text-card {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow-sm);
}

.text-card p { margin-bottom: 19px; line-height: 1.8; }
.text-card p:last-child { margin-bottom: 0; }

/* 优势卡片 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  position: relative;
  min-height: 250px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.025);
  transition: transform var(--d-standard) var(--ease-standard), border-color var(--d-standard) ease,
    background var(--d-standard) ease;
}

.feature:hover {
  border-color: var(--color-border-strong);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: transform var(--d-standard) var(--ease-standard);
}

.feature:hover .feature-icon { transform: translateY(-3px) rotate(-3deg); }
.feature h4 { margin-bottom: 12px; }
.feature p { font-size: 15px; }

/* 兼容其他内容组件 */
.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento-card {
  min-height: 260px;
  padding: 32px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  background: var(--color-bg-secondary);
  transition: transform var(--d-standard) var(--ease-standard), border-color var(--d-standard) ease;
}
.bento-card:hover { border-color: var(--color-border-strong); transform: translateY(-4px); }
.bento-card.large { grid-column: span 2; grid-row: span 2; }
.bento-card.wide { grid-column: span 2; }
.bento-card.tall { grid-row: span 2; }
.bento-card h4 { margin-bottom: 12px; }
.bento-card .bento-icon { margin-bottom: 28px; color: var(--color-link); font-size: 34px; }

/* 案例 */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.portfolio-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  color: inherit;
  background: rgba(255, 255, 255, 0.025);
  transition: transform var(--d-standard) var(--ease-standard), border-color var(--d-standard) ease,
    box-shadow var(--d-standard) ease;
}

.portfolio-card:hover {
  color: inherit;
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-5px);
}

.portfolio-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--color-bg-tertiary); }
.portfolio-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-standard); }
.portfolio-card:hover .thumb img { transform: scale(1.035); }
.portfolio-card .body { padding: 28px; }
.portfolio-card .body h4 { margin-bottom: 12px; }
.portfolio-card .body p { margin-bottom: 22px; font-size: 15px; }

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  color: #fff;
  background: rgba(7, 8, 13, 0.72);
  font-size: 11px;
  backdrop-filter: blur(12px);
}

.tabs {
  width: fit-content;
  max-width: 100%;
  display: flex;
  gap: 5px;
  margin: 38px auto 54px;
  padding: 5px;
  overflow-x: auto;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.035);
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 17px;
  border-radius: var(--radius-pill);
  color: var(--color-text-secondary);
  font-size: 14px;
  transition: color var(--d-fast) ease, background var(--d-fast) ease;
}
.tab-btn:hover { color: #fff; }
.tab-btn.active { color: #fff; background: rgba(255, 255, 255, 0.1); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  background: var(--color-bg-secondary);
  transition: transform var(--d-standard) var(--ease-standard), border-color var(--d-standard) ease;
}
.job-card:hover { border-color: var(--color-border-strong); transform: translateY(-3px); }
.job-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.job-meta span { color: var(--color-text-tertiary); font-size: 13px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-card {
  padding: 30px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  background: var(--color-bg-secondary);
  text-align: center;
}
.contact-card i { margin-bottom: 20px; color: var(--color-link); font-size: 28px; }
.contact-card h4 { margin-bottom: 8px; }

/* 内页 */
.page-header {
  position: relative;
  min-height: 470px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 178px 0 82px;
  border-bottom: 1px solid var(--color-border-subtle);
  background:
    radial-gradient(circle at 50% -10%, rgba(102, 118, 246, 0.24), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
  text-align: left;
}

.page-header::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -18vw;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  box-shadow: 0 0 0 54px rgba(255, 255, 255, 0.015), 0 0 0 108px rgba(255, 255, 255, 0.012);
}

.page-header .container { position: relative; z-index: 1; }
.page-header h1 { max-width: 900px; margin-bottom: 18px; }
.page-header > .container > p:last-of-type { max-width: 620px; margin: 0; font-size: 19px; }
.page-header .tabs { margin: 38px 0 0 !important; }
.page-header + section { padding-bottom: 112px; }

/* CTA */
.cta-section { padding: 96px 28px; }
.cta-section .container {
  position: relative;
  max-width: 1180px;
  overflow: hidden;
  padding: clamp(58px, 8vw, 92px) 28px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 78% 22%, rgba(198, 119, 242, 0.18), transparent 34%),
    radial-gradient(circle at 18% 88%, rgba(113, 140, 255, 0.18), transparent 38%),
    #0e1019;
  text-align: center;
}

.cta-section h2 { margin-bottom: 20px; }
.cta-section p { max-width: 560px; margin: 0 auto 34px; font-size: 18px; }
.cta-section .eyebrow { justify-content: center; }

/* 页脚 */
footer {
  margin-top: 0;
  padding: 66px 0 28px;
  border-top: 1px solid var(--color-border-subtle);
  background: rgba(6, 7, 11, 0.72);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border-subtle);
}
.footer-content .logo { font-size: 20px; }
.footer-content p { font-size: 14px; }
.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
}
.copyright p, .copyright a { color: var(--color-text-tertiary); font-size: 12px; }
.copyright a:hover { color: var(--color-link); }

/* 商务弹窗 */
.coop-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.coop-modal.is-open { visibility: visible; opacity: 1; transition: opacity 0.3s ease; }
.coop-modal-backdrop { position: absolute; inset: 0; background: rgba(2, 3, 6, 0.82); backdrop-filter: blur(12px); }
.coop-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 670px);
  max-height: calc(100svh - 44px);
  overflow-y: auto;
  padding: 42px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  background: #0e1018;
  box-shadow: var(--shadow-xl);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.35s var(--ease-standard);
}
.coop-modal.is-open .coop-modal-card { transform: none; }
.coop-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border-subtle);
  border-radius: 50%;
  color: var(--color-text-secondary);
  background: rgba(255, 255, 255, 0.05);
}
.coop-close:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.coop-modal-card .eyebrow { justify-content: center; }
.coop-modal-title { margin-bottom: 12px; text-align: center; font-size: 30px; }
.coop-modal-desc { max-width: 540px; margin: 0 auto 30px; text-align: center; font-size: 15px; }
.coop-grid { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 28px; align-items: start; }
.coop-item { display: flex; align-items: flex-start; gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--color-border-subtle); }
.coop-item:last-child { border-bottom: 0; }
.coop-item > i {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: var(--color-link);
  background: rgba(113, 140, 255, 0.1);
  font-size: 13px;
}
.coop-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.coop-label { color: var(--color-text-tertiary); font-size: 11px; }
.coop-val { color: var(--color-text-primary); font-size: 14px; overflow-wrap: anywhere; }
.coop-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 16px;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}
.coop-qr img { width: 154px; height: 154px; padding: 5px; border-radius: 11px; background: #fff; }
.coop-qr-tip { margin: 0; color: var(--color-text-tertiary); font-size: 11px; }
.coop-qr-wx { color: #fff; font-size: 14px; font-weight: 650; }
.coop-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1200;
  padding: 11px 18px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-pill);
  color: #fff;
  background: #171a26;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity var(--d-fast) ease, transform var(--d-fast) ease;
}
.coop-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* 滚动入场 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.72s var(--ease-enter), transform 0.72s var(--ease-enter);
}
.animate-on-scroll.visible { opacity: 1; transform: none; }
.animate-on-scroll.delay-1 { transition-delay: 80ms; }
.animate-on-scroll.delay-2 { transition-delay: 160ms; }
.animate-on-scroll.delay-3 { transition-delay: 240ms; }

@media (max-width: 1068px) {
  .tiles-grid-3 { grid-template-columns: 1fr; max-width: 720px; }
  .feature-tile { min-height: 360px; }
  .split-section, .split-section.reverse { grid-template-columns: 1fr; gap: 42px; direction: ltr; }
  .split-text { max-width: 720px; }
  .split-visual { min-height: 330px; }
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card.large, .bento-card.wide, .bento-card.tall { grid-column: span 1; grid-row: span 1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 734px) {
  :root { --nav-floating-top: 10px; --header-height: 58px; }

  body::before { background-size: 54px 54px; }
  .container, .container-wide, .container-ultrawide { padding-inline: 20px; }
  h1 { font-size: clamp(46px, 14vw, 64px); }
  h2 { font-size: clamp(34px, 10vw, 48px); }
  h3 { font-size: clamp(26px, 8vw, 36px); }
  p { font-size: 16px; }
  .lead { font-size: 18px; }
  .section { padding: 76px 0; }
  .section-title { margin-bottom: 38px; }
  .section-title > p { font-size: 16px; }

  header { padding-inline: 12px; }
  header .container { padding: 0 8px 0 16px; }
  .mobile-menu-btn { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 9px;
    border: 1px solid var(--color-border-strong);
    border-radius: 22px;
    background: rgba(10, 12, 18, 0.97);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
  }
  .nav-links.is-open { display: flex; animation: menuIn 0.24s var(--ease-standard); }
  .nav-links a { padding: 13px 15px; border-radius: 14px; font-size: 15px; }
  .nav-links a.active::after { display: none; }
  @keyframes menuIn { from { opacity: 0; transform: translateY(-7px); } }

  .hero { min-height: 100svh; padding: 116px 0 78px; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(5, 6, 10, 0.75) 0%, rgba(5, 6, 10, 0.68) 45%, #07080d 100%),
      linear-gradient(90deg, rgba(5, 6, 10, 0.75), rgba(5, 6, 10, 0.28));
  }
  .hero-content .container::after { display: none; }
  .hero-title { max-width: 100%; margin-bottom: 24px; font-size: clamp(46px, 14vw, 62px); line-height: 1.04; }
  .hero .lead { margin-bottom: 32px; font-size: 17px; line-height: 1.65; }
  .hero .lead br { display: none; }
  .hero-tags { gap: 6px; margin-bottom: 24px; }
  .hero-tag { padding: 7px 10px; font-size: 11px; }
  .hero-cta { align-items: stretch; flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .scroll-indicator { display: none; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item { padding: 26px 14px; }
  .stat-item + .stat-item { border-left: 0; }
  .stat-item:nth-child(even) { border-left: 1px solid var(--color-border-subtle); }
  .stat-item:nth-child(n + 3) { border-top: 1px solid var(--color-border-subtle); }

  .tiles-grid-3 { gap: 14px; }
  .feature-tile { min-height: 350px; padding: 32px 26px; }
  .feature-tile::after { left: 26px; }
  .tile-visual { right: 22px; bottom: 18px; font-size: 88px; }
  .split-visual { min-height: 250px; }
  .split-visual i { font-size: 68px; }
  .text-card { padding: 28px 24px; }
  .features-grid, .portfolio-grid, .bento-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; padding: 26px; }
  .feature-icon { margin-bottom: 24px; }
  .portfolio-card .body { padding: 24px; }

  .page-header { min-height: 400px; padding: 140px 0 64px; }
  .page-header::after { right: -35vw; bottom: -20vw; width: 82vw; }
  .page-header > .container > p:last-of-type { font-size: 17px; }
  .page-header .tabs { margin-top: 30px !important; }
  .page-header + section { padding-bottom: 76px; }
  .tabs { width: 100%; justify-content: flex-start; border-radius: 18px; }

  .cta-section { padding: 64px 12px; }
  .cta-section .container { padding: 58px 22px; border-radius: 26px; }
  .cta-section p { font-size: 16px; }

  .footer-content, .copyright { align-items: flex-start; flex-direction: column; }
  footer { padding-top: 50px; }

  .job-card { align-items: stretch; flex-direction: column; }
  .job-card .btn { width: 100%; }

  .coop-modal { padding: 12px; }
  .coop-modal-card { padding: 38px 20px 24px; border-radius: 24px; }
  .coop-grid { grid-template-columns: 1fr; }
  .coop-qr { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .coop-qr img { width: 122px; height: 122px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .animate-on-scroll, .section-title > * { opacity: 1 !important; transform: none !important; }
}
