/* 家信官网 — 科技轻盈 · 通透光感（无障碍与动效偏好已保留） */

:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: rgba(15, 23, 42, 0.07);
  --line-strong: rgba(15, 23, 42, 0.11);
  --white: #ffffff;
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --cyan: #06b6d4;
  --sky: #0ea5e9;
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.78);
  --shadow-sm: 0 4px 24px rgba(14, 165, 233, 0.06);
  --shadow-md: 0 18px 50px rgba(99, 102, 241, 0.1);
  --shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 20px 50px rgba(14, 165, 233, 0.18);
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-display: "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-kicker: "Plus Jakarta Sans", "Noto Sans SC", system-ui, sans-serif;
  --header-h: 72px;
  --focus-ring: 0 0 0 2px var(--white), 0 0 0 5px var(--sky);
  --focus-ring-footer: 0 0 0 2px var(--ink-2), 0 0 0 5px var(--sky-100);
  --gradient-brand: linear-gradient(135deg, var(--sky) 0%, var(--indigo) 55%, var(--violet) 100%);
  --gradient-text: linear-gradient(120deg, #0284c7 0%, var(--indigo) 45%, #7c3aed 100%);
  --gradient-soft: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.08));
}

@keyframes orb-drift-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-4%, 6%) scale(1.05);
  }
}

@keyframes orb-drift-b {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(5%, -4%);
  }
}

@keyframes orb-drift-c {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-3%, -5%) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg__orb {
    animation: none !important;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body.theme-tech-light {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--sky-50);
  background-image:
    radial-gradient(ellipse 120% 70% at 50% -25%, rgba(14, 165, 233, 0.14), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 20%, rgba(139, 92, 246, 0.08), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, var(--sky-50) 35%, #faf5ff 100%);
  -webkit-tap-highlight-color: rgba(14, 165, 233, 0.12);
  touch-action: manipulation;
}

#main {
  position: relative;
  z-index: 1;
}

.text-pretty {
  text-wrap: pretty;
}

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

a {
  color: #0369a1;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sky);
}

/* 背景层 */

.hero-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* 全屏视频（可选，由 data-bg-video / data-bg-video-mp4 启用） */

.hero-bg__video-layer {
  position: absolute;
  inset: 0;
  /* 高于光斑，否则视频被 blur 色块完全盖住 */
  z-index: 2;
}

.hero-bg__video-layer:not([hidden]) {
  opacity: 1;
}

.hero-bg__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg__video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* 略透一些，让 MP4 画面作为主体背景可见 */
  background: linear-gradient(
    180deg,
    rgba(248, 250, 252, 0.68) 0%,
    rgba(240, 249, 255, 0.42) 38%,
    rgba(250, 245, 255, 0.52) 100%
  );
  pointer-events: none;
}

/* WebGL 极光层（叠在 CSS 之上） */

.hero-bg__canvas {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.38;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg__canvas {
    opacity: 0.38;
  }
}

.hero-bg__orb {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.65;
}

.hero-bg__orb--a {
  width: min(480px, 55vw);
  height: min(480px, 55vw);
  top: -12%;
  right: -8%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.45) 0%, transparent 68%);
  animation: orb-drift-a 22s ease-in-out infinite;
}

.hero-bg__orb--b {
  width: min(380px, 45vw);
  height: min(380px, 45vw);
  bottom: 5%;
  left: -10%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 70%);
  animation: orb-drift-b 26s ease-in-out infinite;
}

.hero-bg__orb--c {
  width: min(320px, 40vw);
  height: min(320px, 40vw);
  top: 38%;
  left: 35%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, transparent 72%);
  animation: orb-drift-c 20s ease-in-out infinite;
}

.hero-bg__mesh {
  position: absolute;
  z-index: 3;
  inset: -15%;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(14, 165, 233, 0.1), transparent 50%),
    radial-gradient(ellipse 55% 45% at 92% 8%, rgba(99, 102, 241, 0.1), transparent 48%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(6, 182, 212, 0.06), transparent 45%);
}

.hero-bg__grid {
  position: absolute;
  z-index: 4;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 75% at 50% -5%, #000 15%, transparent 72%);
}

/* Skip link */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.1rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  font-family: var(--font-display);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  left: 1rem;
  outline: none;
  box-shadow: var(--focus-ring);
}

/* Layout */

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 1.75rem);
  position: relative;
  z-index: 1;
}

.container.narrow {
  max-width: 720px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* 首屏压在视频上时略提高不透明度，避免导航字发虚 */
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 1px 0 rgba(14, 165, 233, 0.06);
  transition:
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 1px 0 rgba(14, 165, 233, 0.08),
    0 16px 48px rgba(99, 102, 241, 0.06);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  border-radius: 16px;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.92;
}

.logo:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.logo-img {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: 16px;
  object-fit: contain;
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.06),
    0 8px 24px rgba(34, 197, 94, 0.12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 1px;
}

.nav-toggle:hover {
  background: rgba(14, 165, 233, 0.08);
}

.nav-toggle:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.site-nav .nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  color: #475569;
  padding: 0.4rem 0.2rem;
  border-radius: 8px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.site-nav a:hover {
  color: #020617;
}

.site-nav a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.nav-cta {
  margin-left: 0.25rem;
  padding: 0.55rem 1.2rem !important;
  border-radius: 999px !important;
  background: var(--gradient-brand) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.25);
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease,
    filter 0.2s ease !important;
}

.nav-cta:hover {
  color: var(--white) !important;
  filter: brightness(1.05);
  box-shadow: 0 12px 36px rgba(14, 165, 233, 0.3);
}

@media (prefers-reduced-motion: reduce) {
  .nav-cta:hover {
    transform: none;
  }
}

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

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transition: max-height 0.35s ease;
    overscroll-behavior: contain;
  }

  .site-nav.is-open {
    max-height: 440px;
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
  }

  .site-nav .nav-list li {
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-list a {
    display: block;
    padding: 0.95rem 0;
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.65rem;
    text-align: center;
  }
}

/* Hero */

.hero {
  position: relative;
  z-index: 1;
  padding: clamp(2.75rem, 8vw, 5.5rem) 0 clamp(3.5rem, 11vw, 7rem);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: center;
}

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
}

/* 首屏文案区：磨砂底板，避免视频明暗变化时字糊掉 */
.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(1.2rem, 2.8vw, 1.9rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.98);
  box-shadow:
    0 8px 40px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(15, 23, 42, 0.05) inset;
  backdrop-filter: blur(22px) saturate(1.12);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .hero-copy {
    background: rgba(255, 255, 255, 0.94);
  }
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0369a1;
  font-family: var(--font-kicker);
}

/* 视频背景上：加深主色与渐变，并加轻微亮晕勾边 */
.hero .eyebrow {
  color: #0c4a6e;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.16;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.hero .hero-title {
  color: #020617;
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.75));
}

.hero-title-accent {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 偏青/偏亮的视频上：用更深、更饱和的渐变保持可读 */
.hero .hero-title-accent {
  background: linear-gradient(118deg, #075985 0%, #1d4ed8 38%, #5b21b6 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not (background-clip: text) {
  .hero-title-accent {
    color: #0369a1;
  }

  .hero .hero-title-accent {
    color: #0e7490;
  }
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 38em;
  line-height: 1.75;
}

.hero .hero-lead {
  color: #334155;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-family: var(--font-kicker);
}

.hero .hero-trust {
  color: #475569;
}

.hero-trust li {
  position: relative;
  padding-left: 1rem;
}

.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

/* Device */

.hero-showcase {
  position: relative;
  min-height: 380px;
  min-width: 0;
}

@media (max-width: 960px) {
  .hero-showcase {
    min-height: 340px;
    max-width: 400px;
    margin-inline: auto;
  }
}

.hero-device {
  position: relative;
  margin-inline: auto;
  width: min(100%, 300px);
  padding: 14px;
  border-radius: 38px;
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.95) 0%, #0f172a 100%);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 60px rgba(14, 165, 233, 0.12);
}

.hero-device__shine {
  position: absolute;
  inset: 0;
  border-radius: 38px;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.14) 0%, transparent 40%);
  pointer-events: none;
}

.hero-device__screen {
  position: relative;
  border-radius: 26px;
  padding: 1.25rem 1rem;
  background: linear-gradient(185deg, #f8fafc 0%, var(--white) 100%);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-device__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.04);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-device__row--ai {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.hero-device__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

.hero-device__dot--muted {
  background: var(--muted-2);
}

.hero-device__pill {
  margin-left: auto;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0369a1;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.hero-device__card {
  margin-top: auto;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.hero-device__card-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 0.35rem;
  font-family: var(--font-kicker);
}

.hero-device__card-line {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.hero-float {
  position: absolute;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
  max-width: 210px;
}

.hero-float__k {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.3rem;
  font-family: var(--font-kicker);
}

.hero-float__v {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

.hero-float--one {
  right: 0;
  top: 8%;
}

.hero-float--two {
  left: 0;
  bottom: 12%;
}

@media (max-width: 960px) {
  .hero-float--one {
    right: -4%;
    top: 2%;
  }

  .hero-float--two {
    left: -4%;
    bottom: 4%;
  }
}

@media (max-width: 520px) {
  .hero-float {
    display: none;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.55rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  color: var(--white);
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(99, 102, 241, 0.28);
}

.btn-ghost {
  background: var(--glass);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.btn-ghost:hover {
  background: var(--glass-strong);
  border-color: rgba(14, 165, 233, 0.25);
}

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 2px 12px rgba(15, 23, 42, 0.05);
}

.hero .btn-ghost:hover {
  background: #ffffff;
  border-color: rgba(14, 165, 233, 0.35);
  color: #020617;
}

.btn-large {
  min-height: 52px;
  padding-inline: 2rem;
  font-size: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover {
    transform: none;
  }
}

/* Sections */

.section {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.25rem) 0;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section--surface {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid var(--line);
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 42rem;
}

.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  align-items: end;
}

@media (max-width: 820px) {
  .section-head--split {
    grid-template-columns: 1fr;
  }
}

.section-head--narrow {
  max-width: 36rem;
}

.section-head__main {
  min-width: 0;
}

.section-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6366f1;
  font-family: var(--font-kicker);
}

.section-kicker--aurora {
  color: #4f46e5;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.section-intro {
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 40em;
}

.section-intro--aurora {
  color: #475569;
}

.section-lead {
  margin: 0;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 36em;
}

.section-head--aurora .section-title {
  color: var(--ink);
}

/* Bento */

.bento {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: repeat(3, minmax(0, auto));
  gap: 1.15rem;
}

@media (max-width: 860px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .bento-item--feature {
    grid-row: auto !important;
  }
}

.bento-item {
  padding: clamp(1.35rem, 3vw, 1.9rem);
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
  min-width: 0;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.bento-item:hover {
  border-color: rgba(14, 165, 233, 0.28);
  box-shadow: var(--shadow-md);
}

.bento-item--feature {
  grid-row: 1 / span 3;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 249, 255, 0.75) 100%);
  border: 1px solid rgba(14, 165, 233, 0.18);
  box-shadow:
    var(--shadow-sm),
    0 0 0 1px rgba(99, 102, 241, 0.06) inset;
}

.bento-item__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
}

.bento-item__desc {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Pillars */

.pillar-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

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

.pillar-card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  min-width: 0;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.pillar-card:hover {
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: var(--shadow-md);
}

.pillar-card--highlight {
  background: linear-gradient(155deg, rgba(224, 242, 254, 0.85) 0%, rgba(237, 233, 254, 0.92) 100%);
  border: 1px solid rgba(99, 102, 241, 0.22);
  box-shadow:
    var(--shadow-sm),
    0 0 40px rgba(14, 165, 233, 0.08);
}

.pillar-card--highlight .pillar-card__index {
  color: rgba(79, 70, 229, 0.45);
}

.pillar-card--highlight .pillar-card__title {
  color: var(--ink);
}

.pillar-card--highlight p {
  color: #475569;
}

.pillar-card__index {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-kicker);
}

.pillar-card__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.pillar-card__tag {
  display: inline-block;
  margin: 0 0 0.65rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4f46e5;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: rgba(255, 255, 255, 0.7);
  font-family: var(--font-kicker);
}

.pillar-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Aurora / 核心能力 — 浅色极光带 */

.section--deep {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(
    165deg,
    rgba(240, 249, 255, 0.97) 0%,
    rgba(238, 242, 255, 0.95) 42%,
    rgba(250, 245, 255, 0.92) 100%
  );
  border-top: 1px solid rgba(14, 165, 233, 0.12);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.section--deep-inner {
  position: relative;
  z-index: 1;
}

.features-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 50% at 15% 20%, rgba(6, 182, 212, 0.12), transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 70%, rgba(139, 92, 246, 0.1), transparent 50%);
  pointer-events: none;
}

.spine-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

@media (max-width: 860px) {
  .spine-list {
    grid-template-columns: 1fr;
  }
}

.spine-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  min-width: 0;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.spine-item:hover {
  border-color: rgba(14, 165, 233, 0.25);
  box-shadow: var(--shadow-md);
}

.spine-item__mark {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--gradient-brand);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.22);
}

.spine-item__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
}

.spine-item__body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.68;
  color: var(--muted);
}

/* Privacy */

.privacy-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

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

.privacy-card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.privacy-card__title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.privacy-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}

.privacy-card strong {
  color: var(--ink);
  font-weight: 700;
}

/* Roadmap */

.roadmap-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  position: relative;
}

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

.roadmap-node {
  padding: 1.65rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--glass-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  min-width: 0;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.roadmap-node:hover {
  border-color: rgba(14, 165, 233, 0.22);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .roadmap-node:hover {
    transform: none;
  }
}

.roadmap-node__phase {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4f46e5;
  margin-bottom: 0.65rem;
  font-family: var(--font-kicker);
}

.roadmap-node__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.roadmap-node p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}

/* CTA */

.section--cta {
  padding-bottom: clamp(4rem, 11vw, 7rem);
}

.cta-panel {
  position: relative;
  padding: clamp(2.35rem, 5vw, 3.5rem);
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.88)),
    linear-gradient(135deg, rgba(14, 165, 233, 0.5), rgba(99, 102, 241, 0.45), rgba(139, 92, 246, 0.35));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    var(--shadow-lg),
    0 0 80px rgba(14, 165, 233, 0.08);
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cta-panel__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.cta-panel__text {
  margin: 0 auto 1.75rem;
  max-width: 36em;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  text-align: center;
}

.cta-panel__actions {
  display: flex;
  justify-content: center;
}

.cta-panel__note {
  margin: 1rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted-2);
}

/* Footer — 轻盈深色底 */

.site-footer {
  padding: 2.75rem 0;
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 -1px 0 rgba(14, 165, 233, 0.08);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand-block {
  min-width: 0;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-tagline {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
  font-family: var(--font-kicker);
}

.footer-meta {
  flex: 1 1 220px;
  min-width: 0;
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-icp {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.footer-icp a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-icp a:hover {
  color: rgba(255, 255, 255, 0.82);
}

.footer-icp a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring-footer);
  border-radius: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--sky-100);
}

.footer-links a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring-footer);
  border-radius: 6px;
}

.toast-region {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 200;
  pointer-events: none;
}

.section--deep .btn:focus-visible {
  box-shadow: var(--focus-ring);
}
