:root {
  --bg: #070b16;
  --bg-soft: #0d1326;
  --surface: #101933;
  --text: #eef3ff;
  --muted: #98a6cc;
  --muted-strong: #c5d1f0;
  --line: rgba(122, 142, 209, 0.18);
  --primary: #f7f9ff;
  --primary-strong: #ffffff;
  --accent: #7a68e8;
  --accent-strong: #9a86ff;
  --accent-cyan: #5fc6e8;
  --accent-pink: #de77d0;
  --shadow-color: rgba(13, 18, 40, 0.55);
  --glow-soft: rgba(124, 92, 255, 0.18);
  --glow-strong: rgba(73, 215, 255, 0.22);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --maxw: 1200px;
  --grid-color: rgba(105, 127, 196, 0.08);
}

[data-theme="dark"] {
  --bg: #04070f;
  --bg-soft: #0a1120;
  --surface: #0d1529;
  --text: #f4f7ff;
  --muted: #90a0c8;
  --muted-strong: #d2dcfa;
  --line: rgba(136, 159, 230, 0.2);
  --primary: #ffffff;
  --primary-strong: #ffffff;
  --accent: #8670f4;
  --accent-strong: #ad90ff;
  --accent-cyan: #6dd2f0;
  --accent-pink: #e684d7;
  --shadow-color: rgba(5, 9, 24, 0.68);
  --glow-soft: rgba(138, 99, 255, 0.24);
  --glow-strong: rgba(88, 225, 255, 0.24);
  --grid-color: rgba(132, 156, 226, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at top left, rgba(122, 104, 232, 0.1) 0%, transparent 34%),
    radial-gradient(circle at top right, rgba(95, 198, 232, 0.08) 0%, transparent 30%),
    linear-gradient(180deg, #090f1d 0%, var(--bg) 30%, #060913 100%);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  background-image: 
    linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

h1, h2, h3, .serif {
  font-family: "Playfair Display", "Noto Serif SC", "Songti SC", serif;
  font-weight: 500;
  color: var(--primary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s ease;
}

.container {
  width: min(var(--maxw), calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 88%, transparent) 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(4, 8, 23, 0.2);
  backdrop-filter: blur(18px) saturate(155%);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-row {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: "Playfair Display", "Noto Serif SC", serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent));
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 55%, transparent);
}

.nav {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.nav a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-strong);
  position: relative;
  padding: 8px 0;
}

.nav a:hover, .nav a.active {
  color: var(--accent);
}

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
}

.nav-rich {
  gap: 22px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 80px;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent), transparent);
  transform: translateX(-50%);
  transition: width 0.28s ease;
}

.nav-item:hover::after,
.nav-item:focus-within::after,
.nav-item.open::after {
  width: 92%;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -18px;
  width: 100%;
  height: 18px;
}

.nav-caret {
  font-size: 10px;
  color: var(--accent-cyan);
  transform: translateY(-1px);
  transition: transform 0.3s ease;
}

.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret,
.nav-item.open .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  transform: translate(-50%, 12px);
  width: min(880px, calc(100vw - 48px));
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(14, 21, 42, 0.98) 0%, rgba(8, 13, 28, 0.96) 100%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    0 32px 80px var(--shadow-color),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 50px var(--glow-soft);
  border-radius: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 40;
  overflow: hidden;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 28%, transparent) 0%, transparent 34%),
    radial-gradient(circle at bottom right, color-mix(in srgb, var(--accent-cyan) 20%, transparent) 0%, transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 35%);
  pointer-events: none;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-dropdown-main {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.nav-dropdown-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
}

.nav-dropdown-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  max-width: 16ch;
}

.nav-dropdown-copy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  max-width: 58ch;
}

.nav-sublist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}

.nav-subitem {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border-radius: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 14px 30px rgba(4, 8, 22, 0.22);
}

.nav-subitem:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-cyan) 42%, var(--line));
  background: color-mix(in srgb, var(--surface) 92%, var(--accent) 8%);
  box-shadow: 0 20px 40px rgba(5, 10, 28, 0.3);
}

.nav-subitem strong {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.nav-subitem span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  text-transform: none;
  letter-spacing: normal;
}

/* Contact dropdown CTA priority styles */
.contact-cta-menu .nav-sublist .nav-subitem {
  border-width: 1px;
}

.contact-cta-menu .nav-sublist .nav-subitem strong {
  letter-spacing: 0.08em;
}

.contact-cta-menu .nav-sublist .nav-subitem:nth-child(1) {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, var(--surface)), color-mix(in srgb, var(--surface) 92%, transparent));
}

.contact-cta-menu .nav-sublist .nav-subitem:nth-child(1) strong {
  color: var(--primary-strong);
}

.contact-cta-menu .nav-sublist .nav-subitem:nth-child(2) {
  border-color: color-mix(in srgb, var(--accent-cyan) 42%, var(--line));
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-cyan) 14%, var(--surface)), color-mix(in srgb, var(--surface) 92%, transparent));
}

.contact-cta-menu .nav-sublist .nav-subitem:nth-child(3) {
  border-color: color-mix(in srgb, var(--accent-pink) 30%, var(--line));
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-pink) 10%, var(--surface)), color-mix(in srgb, var(--surface) 92%, transparent));
}

.contact-cta-menu .nav-sublist .nav-subitem:nth-child(4) {
  border-color: color-mix(in srgb, var(--accent-cyan) 50%, var(--line));
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-cyan) 10%, var(--surface)), color-mix(in srgb, var(--accent) 8%, var(--surface)));
}

.contact-cta-menu .nav-sublist .nav-subitem:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 22px 44px rgba(5, 10, 28, 0.34);
}

.nav-dropdown-side {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(18, 28, 56, 0.96) 0%, rgba(10, 16, 35, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.nav-dropdown-side::before {
  content: "";
  position: absolute;
  inset: auto -50px -60px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-cyan) 18%, transparent) 0%, transparent 72%);
  pointer-events: none;
}

.nav-promo-tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 44%, var(--line));
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border-radius: 999px;
  background: rgba(8, 13, 29, 0.72);
  position: relative;
  z-index: 1;
}

.nav-promo-copy {
  margin: 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.8;
  text-transform: none;
  letter-spacing: normal;
  max-width: 28ch;
  position: relative;
  z-index: 1;
}

.nav-promo-link {
  display: inline-flex;
  width: fit-content;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 10px 14px;
  border: 1px solid color-mix(in srgb, var(--accent-cyan) 24%, var(--line));
  border-radius: 999px;
  background: rgba(7, 11, 24, 0.82);
  position: relative;
  z-index: 1;
}

.nav-promo-link:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(10, 16, 35, 0.95);
}

/* Header Controls (Theme & Lang) */
.header-controls {
  display: flex;
  align-items: center;
  gap: 24px;
}

.icon-btn {
  background: rgba(9, 14, 31, 0.6);
  border: 1px solid var(--line);
  color: var(--muted-strong);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  border-radius: var(--radius-md);
}

.icon-btn:hover {
  color: var(--accent-cyan);
}

[data-theme="dark"] .sun-icon { display: none; }
[data-theme="light"] .moon-icon { display: none; }
:root:not([data-theme="dark"]) .moon-icon { display: none; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.lang-switch span.active {
  color: var(--primary);
}

.lang-switch a {
  color: var(--muted);
}

.lang-switch a:hover {
  color: var(--accent);
}

.lang-switch .divider {
  color: var(--line);
}

main section {
  padding: 80px 0;
}

/* Hero */
.hero {
  padding: 100px 0 60px;
}

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

.page-intro {
  padding: 64px 0 16px;
}

.page-intro .hero-card {
  position: relative;
  min-height: 292px;
  display: grid;
  align-content: center;
  overflow: hidden;
}

.page-intro .hero-card > * {
  position: relative;
  z-index: 2;
  max-width: var(--hero-content-max, 56%);
}

.page-intro .hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 28%, var(--hero-glow-a, rgba(122, 104, 232, 0.28)), transparent 34%),
    radial-gradient(circle at 88% 78%, var(--hero-glow-b, rgba(109, 210, 240, 0.2)), transparent 30%),
    linear-gradient(90deg, rgba(7, 11, 24, 0.15) 0%, rgba(7, 11, 24, 0) 34%, rgba(7, 11, 24, 0.22) 100%);
  pointer-events: none;
  z-index: 0;
}

.page-intro .hero-card::after {
  content: "";
  position: absolute;
  right: var(--hero-ill-right, 8px);
  bottom: var(--hero-ill-bottom, -2px);
  width: var(--hero-ill-width, 380px);
  height: var(--hero-ill-height, 236px);
  background: var(--hero-illustration, url("./assets/illu-unified-hub.svg")) center / contain no-repeat;
  opacity: var(--hero-ill-opacity, 0.94);
  filter: drop-shadow(0 20px 38px rgba(6, 10, 24, 0.5)) saturate(1.04);
  transform-origin: 60% 86%;
  animation: hero-float 5.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.page-intro .hero-card .hero-sub {
  max-width: var(--hero-sub-max, 58ch);
}

.page-intro .hero-card .eyebrow {
  margin-bottom: 16px;
}

.page-intro .hero-card h1 {
  margin-bottom: 18px;
}

@keyframes hero-float {
  0% {
    transform: translateY(0) rotate(-0.8deg) scale(1);
  }
  50% {
    transform: translateY(-6px) rotate(0deg) scale(1.01);
  }
  100% {
    transform: translateY(0) rotate(-0.8deg) scale(1);
  }
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.page-hero-grid-single {
  grid-template-columns: 1fr;
}

.page-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.page-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.page-badge {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  color: var(--muted-strong);
  font-size: 12px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.eyebrow {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-cyan) 75%, transparent);
  padding-bottom: 4px;
}

h1 {
  font-size: clamp(40px, 4.5vw, 56px);
  line-height: 1.2;
  margin-bottom: 26px;
  letter-spacing: 0.01em;
}

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 92%;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 36px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: var(--radius-md);
  font-weight: 600;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent-pink) 80%, var(--accent) 20%) 100%);
  color: #f8fbff;
  box-shadow: 0 12px 28px rgba(122, 104, 232, 0.26);
}

.btn.primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
}

.btn.primary:hover {
  background: linear-gradient(135deg, var(--accent-strong) 0%, color-mix(in srgb, var(--accent-pink) 86%, var(--accent-strong) 14%) 100%);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(122, 104, 232, 0.32);
}

.btn.primary:hover::after {
  left: 150%;
}

.btn.ghost {
  background: rgba(9, 13, 28, 0.58);
  border-color: color-mix(in srgb, var(--accent-cyan) 26%, var(--line));
  color: var(--primary);
  z-index: 1;
}

.btn.ghost::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(95, 198, 232, 0.14), rgba(122, 104, 232, 0.16));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn.ghost:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn.ghost:hover::before {
  transform: scaleX(1);
}

/* Hero Right Side (Tech Visual) */
.hero-aside {
  position: relative;
  height: 560px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* 增加一个背部的发光光晕，让它融入背景 */
.hero-aside::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 92, 255, 0.28) 0%, rgba(73, 215, 255, 0.12) 42%, transparent 72%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

[data-theme="dark"] .hero-aside::before {
  background: radial-gradient(circle, rgba(138, 99, 255, 0.3) 0%, rgba(88, 225, 255, 0.14) 44%, transparent 72%);
}

.tech-window {
  width: 85%;
  height: auto;
  background:
    linear-gradient(180deg, #111a36 0%, #0a1022 100%);
  border-radius: 12px;
  box-shadow: 
    0 26px 84px rgba(3, 7, 20, 0.5),
    0 0 0 1px rgba(160, 179, 255, 0.14) inset,
    0 0 48px rgba(122, 104, 232, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
  transform: perspective(1000px) rotateY(-3deg) rotateX(1.5deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-window:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-5px);
}

.tech-window-header {
  height: 32px;
  background: linear-gradient(180deg, #172348 0%, #101935 100%);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.tech-window-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #334155;
}

.tech-window-header .dot:nth-child(1) { background: #ff5f56; }
.tech-window-header .dot:nth-child(2) { background: #ffbd2e; }
.tech-window-header .dot:nth-child(3) { background: #27c93f; }

.tech-window-body {
  padding: 24px;
  flex: 1;
  overflow: hidden;
}

.tech-window-body pre {
  margin: 0;
  font-family: "Fira Code", "Consolas", "Monaco", monospace;
  font-size: 14px;
  line-height: 1.7;
  color: #9aa7d4;
}

.tech-window-body .keyword { color: #bd8cff; }
.tech-window-body .variable { color: #ff86d8; }
.tech-window-body .string { color: #83e5ff; }
.tech-window-body .class { color: #74b8ff; }
.tech-window-body .property { color: #9dc0ff; }
.tech-window-body .literal { color: #8ef0d0; }
.tech-window-body .method { color: #70d9ff; }
.tech-window-body .comment { color: #5c6370; font-style: italic; }

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Trust Strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(8, 12, 26, 0.5);
}

.trust-item {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: none;
}

.trust-item strong {
  display: block;
  font-family: "Playfair Display", "Noto Serif SC", serif;
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 12px;
}

.trust-item span {
  font-size: 14px;
  color: var(--muted);
}

/* Features / Services */
.section-head {
  margin-bottom: 60px;
  max-width: 760px;
}

.section-head h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.section-note {
  font-size: 16px;
  color: var(--muted);
}

.feature-grid {
  border-top: 1px solid var(--line);
}

.feature-panel {
  display: grid;
  grid-template-columns: 100px 1fr 2fr;
  gap: 40px;
  padding: 40px 32px;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: all 0.4s ease;
  margin: 0 -32px;
  position: relative;
}

.feature-panel:hover {
  background:
    linear-gradient(90deg, rgba(124, 92, 255, 0.08), rgba(73, 215, 255, 0.03) 40%, transparent 100%);
  transform: translateX(4px);
}

.micro-note {
  font-size: 14px;
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-style: italic;
  transition: transform 0.3s ease;
}

.feature-panel:hover .micro-note {
  transform: translateX(5px);
}

.feature-panel h3 {
  font-size: 22px;
  margin: 0;
}

.feature-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* Split Section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.card, .hero-card {
  padding: 48px;
  background:
    linear-gradient(180deg, rgba(15, 24, 47, 0.94) 0%, rgba(9, 14, 30, 0.98) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(4, 8, 21, 0.22);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.hero-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-cyan) 36%, var(--line));
  box-shadow: 0 24px 48px rgba(4, 8, 21, 0.28);
}

.card h3 {
  font-size: 32px;
  margin-bottom: 32px;
}

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

.spotlight-card,
.contact-panel {
  padding: 48px;
  background:
    linear-gradient(180deg, rgba(14, 21, 42, 0.94) 0%, rgba(8, 13, 29, 0.98) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(4, 8, 21, 0.22);
  border-radius: var(--radius-lg);
}

.spotlight-card strong {
  display: block;
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1.35;
  color: var(--primary);
}

.spotlight-card p {
  margin: 0;
  color: var(--muted);
}

.partner-strip {
  border-top: 1px solid var(--line);
}

.partner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
}

.partner-intro {
  padding: 48px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 26%, transparent) 0%, transparent 42%),
    radial-gradient(circle at bottom right, color-mix(in srgb, var(--accent-cyan) 16%, transparent) 0%, transparent 36%),
    linear-gradient(180deg, rgba(16, 24, 48, 0.96) 0%, rgba(9, 14, 31, 0.98) 100%);
  box-shadow: 0 22px 52px rgba(3, 7, 20, 0.28);
  border-radius: var(--radius-lg);
}

.partner-intro h2 {
  font-size: 36px;
  margin: 0 0 20px;
}

.partner-intro p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 52ch;
}

.partner-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.partner-metric {
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 24, 0.76);
  min-width: 150px;
  border-radius: var(--radius-md);
}

.partner-metric strong {
  display: block;
  font-size: 22px;
  color: var(--primary);
  margin-bottom: 4px;
}

.partner-metric span {
  font-size: 12px;
  color: var(--muted);
}

.partner-cards {
  display: grid;
  gap: 16px;
}

.visual-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  min-height: 360px;
  background: #09111d;
}

.visual-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 17, 29, 0.82) 0%, rgba(9, 17, 29, 0.56) 42%, rgba(9, 17, 29, 0.16) 100%),
    linear-gradient(180deg, rgba(9, 17, 29, 0.08) 0%, rgba(9, 17, 29, 0.42) 100%);
  z-index: 1;
}

.visual-banner-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 56px;
}

.visual-banner-content h2,
.visual-banner-content h3 {
  color: #f5f7fb;
  margin: 0 0 16px;
}

.visual-banner-content p {
  margin: 0 0 20px;
  color: rgba(245, 247, 251, 0.82);
  max-width: 44ch;
}

.visual-banner-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f5f7fb;
  opacity: 0.86;
  margin-bottom: 18px;
}

.visual-banner-note::before {
  content: "";
  width: 28px;
  height: 1px;
  background: color-mix(in srgb, var(--accent) 75%, white);
}

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

.image-spotlight {
  position: relative;
  min-height: 280px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #09111d;
}

.image-spotlight img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 17, 29, 0.08) 10%, rgba(9, 17, 29, 0.78) 100%);
  z-index: 1;
}

.image-spotlight-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 28px;
}

.image-spotlight-copy strong {
  display: block;
  color: #f5f7fb;
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.image-spotlight-copy p {
  margin: 0;
  color: rgba(245, 247, 251, 0.82);
  max-width: 34ch;
}

.partner-card {
  padding: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(13, 20, 40, 0.94) 0%, rgba(8, 12, 26, 0.98) 100%);
  box-shadow: 0 18px 42px rgba(4, 8, 21, 0.24);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
}

.partner-card h3 {
  margin: 0 0 14px;
  font-size: 24px;
}

.partner-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.partner-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.partner-points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted-strong);
  font-size: 14px;
}

.partner-points li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.cta-panel > .card {
  position: sticky;
  top: 108px;
  height: fit-content;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.contact-link {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 11, 24, 0.76);
  color: var(--muted-strong);
  font-size: 13px;
}

.lead-form {
  margin-top: 24px;
  display: grid;
  gap: 16px;
}

.audience-switch {
  margin-top: 20px;
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 26, 0.78);
}

.audience-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.audience-btn:hover {
  color: var(--primary);
}

.audience-btn.is-active {
  color: var(--primary);
  border-color: color-mix(in srgb, var(--accent-cyan) 45%, var(--line));
  background: color-mix(in srgb, var(--accent-cyan) 12%, var(--surface));
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field > span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-strong);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 26, 0.78);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 88%, transparent);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: color-mix(in srgb, var(--accent-cyan) 65%, var(--line));
  background: rgba(11, 16, 34, 0.94);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.consent-row input {
  margin-top: 4px;
  accent-color: var(--accent);
}

.form-status {
  min-height: 24px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.lead-score {
  font-size: 13px;
  color: var(--muted-strong);
  border: 1px solid var(--line);
  background: rgba(8, 12, 26, 0.72);
  padding: 10px 12px;
  border-radius: var(--radius-md);
}

.lead-score.is-high {
  color: #8ef0d0;
}

.lead-score.is-medium {
  color: #ffd38a;
}

.lead-score.is-low {
  color: #aebbe0;
}

.form-status.is-error {
  color: #ff92a8;
}

.form-status.is-success {
  color: #8ef0d0;
}

.audience-panel-group {
  margin-top: 8px;
}

.audience-panel {
  display: none;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 26, 0.72);
  border-radius: var(--radius-md);
}

.audience-panel.is-active {
  display: block;
}

.audience-panel strong {
  display: block;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.audience-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.awards-grid {
  gap: 20px;
}

.award-card {
  padding: 32px;
}

.award-card .micro-note {
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.award-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.35;
}

.award-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.catalog-grid {
  gap: 22px;
}

.catalog-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  transform-style: preserve-3d;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.catalog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(122, 104, 232, 0.14), transparent 48%);
  pointer-events: none;
}

.catalog-main {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 24px;
  position: relative;
  flex: 1 1 auto;
}

.catalog-art {
  position: relative;
  height: 160px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.18), transparent 38%),
    linear-gradient(145deg, #31206d 0%, #1f1449 58%, #130d30 100%);
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -20px 34px rgba(5, 9, 23, 0.45),
    0 14px 26px rgba(7, 12, 30, 0.35);
  transform: perspective(700px) rotateY(-4deg) rotateX(1.5deg) translateZ(8px);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.catalog-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(8, 14, 32, 0.34));
  transform: translateY(2px) scale(1.02);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.catalog-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.24), transparent 42%);
  pointer-events: none;
}

.catalog-art::after {
  content: "";
  position: absolute;
  inset: auto 16px 10px;
  height: 10px;
  background: radial-gradient(ellipse at center, rgba(9, 14, 30, 0.42) 0%, rgba(9, 14, 30, 0) 70%);
  pointer-events: none;
}

.catalog-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 160px;
}

.catalog-copy .micro-note {
  margin: 0;
}

.catalog-copy h3 {
  margin: 0;
  font-size: 44px;
  line-height: 1.2;
}

.catalog-copy p {
  margin: 0;
}

.catalog-points {
  margin: 0;
  padding: 16px 24px 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  list-style: none;
  background: rgba(245, 248, 255, 0.04);
  margin-top: auto;
}

.catalog-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 14px;
}

.catalog-points li::before {
  content: "▶";
  font-size: 10px;
  color: var(--accent);
  transform: translateY(-1px);
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(6, 10, 24, 0.28);
}

.catalog-card:hover .catalog-art {
  transform: perspective(700px) rotateY(0deg) rotateX(0deg) translateZ(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -22px 36px rgba(5, 9, 23, 0.5),
    0 20px 34px rgba(7, 12, 30, 0.42);
}

.catalog-card:hover .catalog-art img {
  transform: translateY(-1px) scale(1.04);
  filter: drop-shadow(0 14px 24px rgba(8, 14, 32, 0.4));
}

.tone-casino .catalog-main,
.tone-turnkey .catalog-main {
  background: var(--catalog-main-bg);
}

.tone-crypto .catalog-main,
.tone-api .catalog-main {
  background: var(--catalog-main-bg);
}

.tone-sports .catalog-main,
.tone-platform .catalog-main {
  background: var(--catalog-main-bg);
}

.tone-aggregator .catalog-main,
.tone-backoffice .catalog-main,
.tone-agent .catalog-main,
.tone-affiliate .catalog-main,
.tone-unified .catalog-main,
.tone-sweep .catalog-main,
.tone-telegram .catalog-main {
  background: var(--catalog-main-bg);
}

.timeline {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
}

.timeline-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.hero-sub--compact {
  margin-top: 16px;
  margin-bottom: 32px;
}

.hero-actions--flush {
  margin-bottom: 0;
}

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

.list li {
  padding: 20px 32px;
  border-bottom: 1px solid var(--line);
  color: var(--muted-strong);
  display: flex;
  align-items: center;
  font-size: 15px;
  transition: all 0.3s ease;
  margin: 0 -32px;
  cursor: default;
}

.list li:hover {
  background: rgba(9, 14, 31, 0.78);
  transform: translateX(8px);
  color: var(--primary);
}

.list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  margin-right: 16px;
  transition: transform 0.3s ease;
}

.list li:hover::before {
  transform: scale(1.5);
}

.list li:last-child {
  border-bottom: none;
}

/* Footer */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: none;
  background:
    linear-gradient(180deg, rgba(6, 9, 20, 0) 0%, rgba(6, 9, 20, 0.72) 100%);
}

@media (max-width: 1024px) {
  .hero-grid,
  .page-hero-grid,
  .spotlight-grid,
  .image-spotlight-grid,
  .cta-panel,
  .partner-grid,
  .cols-2,
  .cols-3,
  .cols-4 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-aside {
    height: 400px;
  }
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .trust-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }
  .feature-panel {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .cta-panel > .card {
    position: static;
  }
}

@media (max-width: 768px) {
  .trust-strip {
    grid-template-columns: 1fr;
  }
  .trust-item:nth-child(odd) {
    border-right: none;
  }
  .header-row {
    flex-direction: column;
    padding: 20px 0;
    gap: 20px;
  }
  .nav {
    width: 100%;
    flex-direction: column;
    gap: 0;
  }
  .nav-rich {
    align-items: stretch;
  }
  .nav-item {
    display: block;
    min-height: 0;
    border-top: 1px solid var(--line);
  }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 0;
  }
  .nav-link::before {
    display: none;
  }
  .nav-dropdown {
    position: static;
    width: 100%;
    transform: none;
    grid-template-columns: 1fr;
    padding: 16px 0 18px;
    border: none;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    overflow: visible;
  }
  .nav-dropdown::before,
  .nav-dropdown-side::before {
    display: none;
  }
  .nav-item.open .nav-dropdown {
    display: grid;
    transform: none;
  }
  .nav-sublist {
    grid-template-columns: 1fr;
  }

  .contact-cta-menu .nav-sublist {
    gap: 10px;
  }

  .contact-cta-menu .nav-sublist .nav-subitem {
    padding: 14px 14px;
    border-radius: 10px;
    box-shadow: none;
    transform: none;
  }

  .contact-cta-menu .nav-sublist .nav-subitem strong {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .contact-cta-menu .nav-sublist .nav-subitem span {
    font-size: 11px;
    line-height: 1.5;
  }

  .contact-cta-menu .nav-sublist .nav-subitem:nth-child(1) {
    border-width: 1px;
    border-color: color-mix(in srgb, var(--accent) 52%, var(--line));
  }

  .contact-cta-menu .nav-sublist .nav-subitem:nth-child(2) {
    border-width: 1px;
    border-color: color-mix(in srgb, var(--accent-cyan) 50%, var(--line));
  }

  .contact-cta-menu .nav-sublist .nav-subitem:nth-child(3) {
    border-width: 1px;
    border-color: color-mix(in srgb, var(--accent-pink) 40%, var(--line));
  }

  .contact-cta-menu .nav-sublist .nav-subitem:nth-child(4) {
    border-width: 1px;
    border-color: color-mix(in srgb, var(--accent-cyan) 56%, var(--line));
  }

  .contact-cta-menu .nav-sublist .nav-subitem:hover {
    transform: none;
    box-shadow: none;
  }
  .nav-dropdown-side {
    padding: 16px;
  }
  .header-controls {
    width: 100%;
    justify-content: center;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  main section {
    padding: 60px 0;
  }
  .card,
  .hero-card,
  .contact-panel,
  .spotlight-card,
  .partner-intro,
  .partner-card {
    padding: 32px;
  }
  .visual-banner-content {
    padding: 32px;
  }
  .hero {
    padding: 60px 0 40px;
  }
  .page-intro .hero-card > * {
    max-width: 100%;
  }
  .page-intro .hero-card::after {
    width: 210px;
    height: 126px;
    opacity: 0.36;
    right: 10px;
    bottom: 8px;
    animation: none;
  }
  h1 {
    font-size: 32px;
  }
  .hero-sub {
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
  .catalog-main {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 12px;
  }
  .catalog-art {
    height: 140px;
    transform: none;
  }
  .catalog-copy h3 {
    font-size: 30px;
  }
  .catalog-points {
    grid-template-columns: 1fr;
    padding: 14px 18px 16px;
  }
  .catalog-card:hover {
    transform: none;
    box-shadow: none;
  }
  .catalog-card:hover .catalog-art {
    transform: none;
  }
  .tech-window {
    width: 100%;
    height: auto;
    min-height: 300px;
    transform: none;
  }
  .tech-window:hover {
    transform: none;
  }
  .tech-window-body pre {
    font-size: 11px;
    overflow-x: auto;
  }
  .feature-panel {
    padding: 32px 0;
    margin: 0;
    gap: 16px;
  }
  .feature-panel:hover {
    transform: none;
  }
  .list li {
    padding: 16px 0;
    margin: 0;
  }
  .list li:hover {
    transform: none;
  }
}

/* -----------------------------------------------------------
   NuxGame-aligned global refresh (V1)
----------------------------------------------------------- */
:root {
  --bg: #060b18;
  --bg-soft: #0b1223;
  --surface: #0d1730;
  --line: rgba(126, 147, 212, 0.22);
  --text: #f3f7ff;
  --muted: #9aa9cd;
  --muted-strong: #d6dff7;
  --accent: #7e67f2;
  --accent-strong: #9d8bff;
  --accent-cyan: #67c9ef;
  --accent-pink: #cc82de;
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --maxw: 1240px;
}

body {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 12% -10%, rgba(126, 103, 242, 0.14) 0%, transparent 38%),
    radial-gradient(circle at 96% 8%, rgba(103, 201, 239, 0.08) 0%, transparent 32%),
    linear-gradient(180deg, #060b18 0%, #040914 100%);
}

h1, h2, h3, .serif,
.brand,
.trust-item strong,
.section-head h2,
.partner-intro h2,
.partner-card h3,
.card h3,
.award-card h3,
.catalog-copy h3,
.nav-dropdown-title {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  font-weight: 700;
}

.site-header {
  min-height: 74px;
  background: rgba(8, 13, 28, 0.9);
  backdrop-filter: blur(10px) saturate(130%);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.header-row,
.nav-item {
  min-height: 74px;
}

.brand {
  font-size: 18px;
  letter-spacing: 0.02em;
}

.nav a {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 13px;
}

.hero {
  padding: 80px 0 44px;
}

h1 {
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.15;
}

.hero-sub,
.section-note,
.catalog-copy p,
.spotlight-card p,
.partner-card p {
  font-size: 17px;
  color: var(--muted);
}

.hero-sub {
  max-width: 100%;
}

.btn {
  min-height: 50px;
  border-radius: 12px;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.btn.primary {
  background: linear-gradient(90deg, var(--accent) 0%, #9149ea 100%);
  box-shadow: 0 10px 24px rgba(126, 103, 242, 0.28);
}

.btn.ghost {
  background: rgba(11, 18, 36, 0.78);
  border-color: rgba(126, 147, 212, 0.32);
}

.btn.ghost::before {
  background: linear-gradient(90deg, rgba(103, 201, 239, 0.12), rgba(126, 103, 242, 0.12));
}

.card,
.hero-card,
.contact-panel,
.spotlight-card,
.partner-card,
.partner-intro,
.catalog-card,
.award-card,
.nav-subitem {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(14, 24, 48, 0.94) 0%, rgba(8, 14, 30, 0.98) 100%);
  box-shadow: none;
}

.card:hover,
.hero-card:hover,
.partner-card:hover,
.nav-subitem:hover {
  border-color: color-mix(in srgb, var(--accent-cyan) 44%, var(--line));
  transform: translateY(-2px);
}

.feature-panel {
  padding: 36px 20px;
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.feature-panel h3 {
  font-size: 30px;
  line-height: 1.28;
}

.feature-panel p {
  font-size: 16px;
}

.feature-panel:hover {
  transform: none;
  background: linear-gradient(90deg, rgba(126, 103, 242, 0.08), rgba(103, 201, 239, 0.03) 44%, transparent 100%);
}

.catalog-main {
  padding: 20px;
  gap: 14px;
}

.catalog-copy h3 {
  font-size: 46px;
  line-height: 1.1;
}

.catalog-points {
  padding: 14px 20px 16px;
}

.catalog-points li {
  font-size: 14px;
}

.page-intro .hero-card {
  min-height: 304px;
}

.page-intro .hero-card::after {
  filter: drop-shadow(0 18px 32px rgba(4, 8, 22, 0.46));
}

.trust-strip {
  background: rgba(10, 16, 33, 0.62);
}

.site-footer {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 12px;
}

.kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.kpi-item {
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14, 24, 48, 0.92) 0%, rgba(8, 14, 30, 0.98) 100%);
}

.kpi-item strong {
  display: block;
  font-size: 28px;
  margin-bottom: 6px;
  color: var(--primary);
}

.kpi-item span {
  color: var(--muted);
  font-size: 14px;
}

.logo-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.logo-chip {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 16, 33, 0.72);
  color: var(--muted-strong);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.cta-band {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(126, 103, 242, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(14, 24, 48, 0.95) 0%, rgba(8, 14, 30, 0.98) 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: 34px;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

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

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

  .cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .kpi-strip {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 22px;
  }

  .cta-band h2 {
    font-size: 28px;
  }

  .cta-band-actions {
    width: 100%;
  }

  .cta-band-actions .btn {
    width: 100%;
  }
}

/* -----------------------------------------------------------
  V4 consistency pass: global rhythm + aligned headers
----------------------------------------------------------- */
:root {
  --section-space-y: clamp(56px, 7vw, 88px);
  --hero-space-top: clamp(72px, 8vw, 108px);
  --hero-space-bottom: clamp(40px, 5vw, 58px);
}

main section {
  padding: var(--section-space-y) 0;
}

.hero,
.page-intro {
  padding: var(--hero-space-top) 0 var(--hero-space-bottom);
}

.site-header .nav.nav-rich {
  gap: 6px;
}

.site-header .nav.nav-rich > a {
  min-height: 40px;
  border-radius: 10px;
  padding: 10px 14px;
}

.site-header .nav.nav-rich > a:hover,
.site-header .nav.nav-rich > a:focus-visible {
  background: rgba(126, 103, 242, 0.14);
}

@media (max-width: 768px) {
  :root {
    --section-space-y: 56px;
    --hero-space-top: 64px;
    --hero-space-bottom: 38px;
  }
}

/* -----------------------------------------------------------
  V5 theme enhancement: stronger light/dark contrast
----------------------------------------------------------- */
[data-theme="light"] {
  --bg: #eef3ff;
  --bg-soft: #f6f8ff;
  --surface: #ffffff;
  --text: #0f1a36;
  --muted: #586688;
  --muted-strong: #2f3d63;
  --line: rgba(95, 113, 170, 0.26);
  --primary: #121f40;
  --primary-strong: #0d1734;
  --accent: #6f5df0;
  --accent-strong: #5d48ea;
  --accent-cyan: #3fb6de;
  --accent-pink: #c86fd7;
  --grid-color: rgba(120, 139, 196, 0.16);
  --header-bg: rgba(246, 249, 255, 0.92);
  --header-shadow: 0 12px 26px rgba(117, 136, 191, 0.18);
  --panel-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 249, 255, 0.98) 100%);
  --panel-soft-bg: rgba(234, 240, 255, 0.68);
  --panel-shadow: 0 10px 28px rgba(123, 140, 191, 0.16);
  --catalog-main-bg: linear-gradient(90deg, rgba(226, 239, 255, 0.96), rgba(214, 231, 255, 0.92));
  --catalog-art-bg: linear-gradient(145deg, #b7dcff 0%, #95c8fb 52%, #7cb8f4 100%);
  --catalog-art-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -18px 30px rgba(35, 72, 132, 0.18),
    0 14px 24px rgba(78, 122, 188, 0.22);
}

[data-theme="dark"] {
  --bg: #060b18;
  --bg-soft: #0b1223;
  --surface: #0d1730;
  --text: #f3f7ff;
  --muted: #9aa9cd;
  --muted-strong: #d6dff7;
  --line: rgba(126, 147, 212, 0.22);
  --primary: #f7f9ff;
  --primary-strong: #ffffff;
  --accent: #7e67f2;
  --accent-strong: #9d8bff;
  --accent-cyan: #67c9ef;
  --accent-pink: #cc82de;
  --grid-color: rgba(132, 156, 226, 0.1);
  --header-bg: rgba(8, 13, 28, 0.9);
  --header-shadow: 0 14px 28px rgba(5, 9, 24, 0.4);
  --panel-bg: linear-gradient(180deg, rgba(14, 24, 48, 0.94) 0%, rgba(8, 14, 30, 0.98) 100%);
  --panel-soft-bg: rgba(18, 28, 54, 0.74);
  --panel-shadow: 0 12px 30px rgba(6, 10, 24, 0.3);
  --catalog-main-bg: linear-gradient(90deg, rgba(59, 33, 130, 0.84), rgba(28, 16, 64, 0.92));
  --catalog-art-bg: linear-gradient(145deg, #31206d 0%, #1f1449 58%, #130d30 100%);
  --catalog-art-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -20px 34px rgba(5, 9, 23, 0.45),
    0 14px 26px rgba(7, 12, 30, 0.35);
}

[data-theme="light"] body {
  background:
    radial-gradient(circle at 8% -12%, rgba(126, 103, 242, 0.24) 0%, transparent 36%),
    radial-gradient(circle at 95% -8%, rgba(103, 201, 239, 0.2) 0%, transparent 34%),
    linear-gradient(180deg, #f8faff 0%, #eef3ff 46%, #e8efff 100%);
}

[data-theme="dark"] body {
  background:
    radial-gradient(circle at 12% -10%, rgba(126, 103, 242, 0.14) 0%, transparent 38%),
    radial-gradient(circle at 96% 8%, rgba(103, 201, 239, 0.08) 0%, transparent 32%),
    linear-gradient(180deg, #060b18 0%, #040914 100%);
}

.site-header {
  background: var(--header-bg);
  box-shadow: var(--header-shadow);
}

.card,
.hero-card,
.contact-panel,
.spotlight-card,
.partner-card,
.partner-intro,
.catalog-card,
.award-card,
.nav-subitem,
.kpi-item,
.cta-band,
.image-spotlight {
  background: var(--panel-bg);
  box-shadow: var(--panel-shadow);
}

.catalog-main {
  background: var(--catalog-main-bg);
}

.catalog-art {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.2), transparent 38%),
    var(--catalog-art-bg);
  box-shadow: var(--catalog-art-shadow);
}

.catalog-points,
.trust-strip,
.nav-dropdown,
.nav-dropdown-side {
  background: var(--panel-soft-bg);
}

[data-theme="light"] .btn.primary {
  background: linear-gradient(90deg, #6f5df0 0%, #8967ff 100%);
  box-shadow: 0 10px 22px rgba(102, 82, 220, 0.28);
}

[data-theme="dark"] .btn.primary {
  background: linear-gradient(90deg, #7e67f2 0%, #9149ea 100%);
  box-shadow: 0 10px 24px rgba(126, 103, 242, 0.28);
}

[data-theme="light"] .btn.ghost {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(111, 93, 240, 0.34);
  color: #23315a;
}

[data-theme="light"] .btn.ghost::before {
  background: linear-gradient(90deg, rgba(111, 93, 240, 0.14), rgba(63, 182, 222, 0.12));
}

[data-theme="light"] .form-field input,
[data-theme="light"] .form-field select,
[data-theme="light"] .form-field textarea {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(121, 143, 201, 0.36);
  color: #1a2a52;
}

[data-theme="light"] .form-field input::placeholder,
[data-theme="light"] .form-field textarea::placeholder {
  color: rgba(86, 105, 153, 0.72);
}

[data-theme="light"] .form-field input:focus,
[data-theme="light"] .form-field select:focus,
[data-theme="light"] .form-field textarea:focus {
  background: #ffffff;
  border-color: rgba(99, 124, 207, 0.62);
  box-shadow: 0 0 0 3px rgba(111, 93, 240, 0.14);
}

[data-theme="light"] .lead-score,
[data-theme="light"] .audience-panel {
  background: rgba(236, 244, 255, 0.88);
  border-color: rgba(121, 143, 201, 0.34);
  color: #31456f;
}

[data-theme="light"] .consent-row,
[data-theme="light"] .form-status {
  color: #566688;
}

[data-theme="light"] .logo-chip {
  background: rgba(232, 241, 255, 0.92);
  border-color: rgba(121, 143, 201, 0.34);
  color: #374a73;
}

[data-theme="light"] .timeline-index {
  background: rgba(232, 241, 255, 0.88);
  border-color: rgba(121, 143, 201, 0.32);
  color: #44557f;
}

[data-theme="light"] .audience-switch {
  background: rgba(232, 241, 255, 0.92);
  border-color: rgba(121, 143, 201, 0.34);
}

[data-theme="light"] .audience-btn {
  color: #4f6088;
}

[data-theme="light"] .audience-btn:hover {
  color: #20315a;
}

[data-theme="light"] .audience-btn.is-active {
  color: #17305b;
  background: rgba(244, 250, 255, 0.98);
  border-color: rgba(89, 122, 204, 0.5);
}

[data-theme="light"] .contact-link {
  background: rgba(232, 241, 255, 0.94);
  border-color: rgba(121, 143, 201, 0.34);
  color: #3c4f78;
}

[data-theme="light"] .nav-promo-tag {
  background: rgba(233, 242, 255, 0.96);
  border-color: rgba(111, 93, 240, 0.42);
  color: #5f49d8;
}

[data-theme="light"] .nav-promo-link {
  background: rgba(236, 245, 255, 0.98);
  border-color: rgba(104, 140, 216, 0.44);
  color: #28406c;
}

[data-theme="light"] .nav-promo-link:hover {
  background: rgba(225, 238, 255, 1);
  border-color: rgba(95, 133, 215, 0.58);
  color: #1d335a;
}

[data-theme="light"] .icon-btn {
  background: rgba(233, 241, 255, 0.94);
  color: #41537d;
}

[data-theme="dark"] .btn.ghost {
  background: rgba(11, 18, 36, 0.78);
  border-color: rgba(126, 147, 212, 0.32);
}

[lang="en"] .catalog-copy h3 {
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

@media (min-width: 1025px) {
  [lang="en"] .catalog-copy h3 {
    white-space: nowrap;
  }

  [lang="en"] .catalog-main {
    grid-template-columns: 204px minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 768px) {
  [lang="en"] .catalog-copy h3 {
    font-size: 28px;
    line-height: 1.16;
    white-space: normal;
  }
}

/*
版本控制记录：
| 版本号 | 调整时间 | 调整内容 | 作者 |
| :--- | :--- | :--- | :--- |
| v1.1 | 2026-03-24 | CSS全面重构为高端商务咨询风，调整色彩、字体、排版 | Sudo |
| v1.2 | 2026-03-24 | 增加网格背景、按钮扫光/滑入动效、列表平滑悬停、代码视窗样式及Reveal动画类 | Sudo |
| v1.3 | 2026-03-24 | 增加深色模式变量及H5移动端全面适配响应式布局 | Sudo |
| v1.4 | 2026-03-24 | 优化首页右侧代码框视觉，去除突兀灰框，增加3D透视与弥散光晕 | Sudo |
*/
