/* ==========================================================================
   xxyun加速 (https://xxyunvip.sbs)
   Optical Ice-Crystal & Levitating Cloud-Stage UI — Pure Native CSS
   ========================================================================== */

:root {
  /* Deep Petrol Teal & Mint-Mist Brand Palette (Light Mode Default) */
  --canvas-bg: #ffffff;
  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(241, 247, 247, 0.86);
  --bg-surface-alt: #eef6f5;
  --bg-header: rgba(255, 255, 255, 0.92);
  --bg-toggle: rgba(241, 247, 247, 0.72);
  --bg-toggle-hover: rgba(232, 244, 243, 0.96);

  --text-primary: #0f2a33;
  --text-secondary: #39535d;
  --text-muted: #607982;

  --azure: #187984;
  --azure-hover: #12616a;
  --lavender: #32a5b2;
  --ice-blue: #e7f4f3;
  --periwinkle: #f1f7f7;

  --hero-bg: #153a48;
  --hero-card-bg: rgba(44, 77, 90, 0.78);
  --hero-card-border: rgba(255, 255, 255, 0.16);
  --hero-text: #ffffff;
  --hero-muted: #c8dde2;

  --border-crystal: rgba(24, 121, 132, 0.16);
  --border-bevel: rgba(255, 255, 255, 0.92);
  --border-subtle: rgba(50, 165, 178, 0.22);

  --accent-soft: rgba(24, 121, 132, 0.09);
  --accent-soft-border: rgba(24, 121, 132, 0.26);
  --dispersion-gradient: linear-gradient(135deg, #187984 0%, #32a5b2 100%);

  --shadow-ceramic: 0 10px 28px -10px rgba(21, 58, 72, 0.12),
                    0 2px 8px rgba(15, 42, 51, 0.04),
                    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  --shadow-ceramic-hover: 0 20px 42px -12px rgba(24, 121, 132, 0.22),
                          0 6px 16px -4px rgba(50, 165, 178, 0.14),
                          inset 0 1px 0 rgba(255, 255, 255, 1);
  --shadow-btn: 0 8px 22px -6px rgba(24, 121, 132, 0.42);

  --prism-face-1: rgba(255, 255, 255, 0.42);
  --prism-face-2: rgba(50, 165, 178, 0.24);
  --prism-stroke: rgba(94, 234, 212, 0.55);
  --ring-color: rgba(50, 165, 178, 0.42);
  --success: #187984;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --container-max: 1180px;
  --header-height: 72px;
  --theme-transition: background-color 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                      color 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                      border-color 0.38s cubic-bezier(0.4, 0, 0.2, 1),
                      box-shadow 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Nocturnal Deep-Petrol Dark Mode */
[data-theme="dark"] {
  --canvas-bg: linear-gradient(155deg, #091920 0%, #0d222b 50%, #102b36 100%);
  --bg-page: #0a1b22;
  --bg-surface: #112a34;
  --bg-surface-glass: rgba(17, 42, 52, 0.82);
  --bg-surface-alt: rgba(21, 51, 63, 0.62);
  --bg-header: rgba(9, 25, 32, 0.86);
  --bg-toggle: rgba(24, 58, 71, 0.58);
  --bg-toggle-hover: rgba(31, 74, 90, 0.88);

  --text-primary: #f0f8f9;
  --text-secondary: #c2d8de;
  --text-muted: #88a7b0;

  --azure: #32a5b2;
  --azure-hover: #42bcc9;
  --lavender: #5eead4;

  --hero-bg: #0c242e;
  --hero-card-bg: rgba(28, 59, 71, 0.78);
  --hero-card-border: rgba(94, 234, 212, 0.2);

  --border-crystal: rgba(50, 165, 178, 0.24);
  --border-bevel: rgba(94, 234, 212, 0.18);
  --border-subtle: rgba(50, 165, 178, 0.2);

  --accent-soft: rgba(50, 165, 178, 0.16);
  --accent-soft-border: rgba(50, 165, 178, 0.4);

  --shadow-ceramic: 0 16px 36px -10px rgba(0, 0, 0, 0.48),
                    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-ceramic-hover: 0 24px 48px -12px rgba(0, 0, 0, 0.56),
                          0 0 0 1px rgba(50, 165, 178, 0.36),
                          inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-btn: 0 10px 26px -4px rgba(50, 165, 178, 0.42);

  --prism-face-1: rgba(50, 165, 178, 0.2);
  --prism-face-2: rgba(94, 234, 212, 0.14);
  --prism-stroke: rgba(94, 234, 212, 0.58);
  --ring-color: rgba(50, 165, 178, 0.42);
}

/* Base & Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  background-image: var(--canvas-bg);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  transition: var(--theme-transition);
  -webkit-font-smoothing: antialiased;
}

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

svg {
  display: block;
}

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

/* Anchor Arrival Optical Pulse */
@keyframes sectionPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(24, 121, 132, 0.32);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(50, 165, 178, 0.14);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(24, 121, 132, 0);
  }
}

.anchor-arrived {
  animation: sectionPulse 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Header & Navigation Directory
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background-color: var(--bg-header);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border-crystal);
  transition: var(--theme-transition);
}

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

/* Top-Left Brand Logo Anchor (Transparent PNG, Zero White Border) */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  flex-shrink: 0;
  background: transparent;
}

.brand-logo-img {
  height: 30px;
  width: auto;
  display: block;
  background: transparent;
  border: none;
  object-fit: contain;
  transition: filter 0.35s ease, transform 0.22s ease;
}

.brand:hover .brand-logo-img {
  transform: translateY(-1px);
}

[data-theme="dark"] .brand-logo-img {
  filter: brightness(0) invert(1) opacity(0.95);
}

.nav-directory {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-directory a {
  padding: 7px 11px;
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: color 0.22s ease, background-color 0.22s ease, transform 0.2s ease;
  white-space: nowrap;
}

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

.nav-directory a.nav-news {
  color: var(--azure);
  border: 1px solid var(--border-crystal);
  background: var(--bg-surface-glass);
}

.nav-directory a.nav-news:hover {
  background: var(--azure);
  color: #ffffff;
  border-color: var(--azure);
}

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

/* Mobile Quick Anchor Strip */
.mobile-nav-strip {
  display: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-top: 1px solid var(--border-crystal);
  padding: 8px 16px;
  gap: 8px;
}

.mobile-nav-strip::-webkit-scrollbar {
  display: none;
}

.mobile-nav-strip a {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-crystal);
}

.mobile-nav-strip a.nav-news {
  color: var(--azure);
  border-color: var(--azure);
}

/* Refined Translucent Optical Theme Toggle */
.theme-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-crystal);
  background: var(--bg-toggle);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 var(--border-bevel), 0 4px 12px rgba(24, 121, 132, 0.1);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
  outline: none;
}

.theme-toggle:hover {
  background: var(--bg-toggle-hover);
  border-color: var(--azure);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(24, 121, 132, 0.2);
}

.theme-toggle:active {
  transform: scale(0.94);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  width: 18px;
  height: 18px;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.32s ease;
}

.theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  color: #187984;
}

.theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-75deg) scale(0.5);
  color: #5eead4;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(75deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.94rem;
  border-radius: var(--radius-full);
  padding: 12px 26px;
  min-height: 46px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.86rem;
  min-height: 40px;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
  min-height: 50px;
}

.btn-primary {
  background-color: var(--azure);
  background-image: linear-gradient(135deg, #187984 0%, #238f9b 100%);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(24, 121, 132, 0.5);
  filter: brightness(1.06);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-crystal);
  box-shadow: var(--shadow-ceramic);
}

.btn-secondary:hover {
  border-color: var(--azure);
  color: var(--azure);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Hero: Deep Petrol Teal (#153a48) Stage + Diagonal Texture + Cyan-Teal Beam
   ========================================================================== */
.hero {
  position: relative;
  padding: 64px 0 74px;
  overflow: hidden;
  background-color: var(--hero-bg);
  background-image: repeating-linear-gradient(
    -58deg,
    rgba(255, 255, 255, 0.032) 0px,
    rgba(255, 255, 255, 0.032) 1px,
    transparent 1px,
    transparent 136px
  );
  color: var(--hero-text);
}

.hero-stage-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 44px;
  align-items: center;
}

/* Coherent Cyan-Teal Light Beam SVG Overlay */
.optical-beam-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 6;
  overflow: visible;
}

.beam-line {
  stroke: url(#azureBeamGrad);
  stroke-width: 2.4;
  stroke-linecap: round;
  fill: none;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(50, 165, 178, 0.9));
  transition: opacity 0.28s ease;
}

.beam-line.active {
  opacity: 1;
}

.beam-pulse {
  fill: #5eead4;
  opacity: 0;
  filter: drop-shadow(0 0 8px rgba(94, 234, 212, 0.95));
  transition: opacity 0.25s ease;
}

.beam-pulse.active {
  opacity: 1;
}

/* Left Visual Stage: 3D Crystal Cluster & Waveguide Rings on Petrol Glass */
.crystal-stage {
  position: relative;
  min-height: 460px;
  border-radius: 26px;
  background: var(--hero-card-bg);
  border: 1px solid var(--hero-card-border);
  box-shadow: 0 24px 48px -16px rgba(6, 20, 26, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  perspective: 1000px;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
}

/* Snell's-law internal light caustics shifting with cursor */
.crystal-stage::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(50, 165, 178, 0.34) 0%, rgba(94, 234, 212, 0.14) 30%, transparent 64%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.crystal-cluster-3d {
  position: relative;
  width: 320px;
  height: 320px;
  transform-style: preserve-3d;
  transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Concentric Cyan-Teal Waveguide Rings */
.waveguide-rings {
  position: absolute;
  width: 286px;
  height: 286px;
  transform: translateZ(-24px) rotateX(68deg);
  pointer-events: none;
}

.waveguide-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--ring-color);
  box-shadow: 0 0 18px rgba(50, 165, 178, 0.24), inset 0 0 12px rgba(94, 234, 212, 0.14);
}

.waveguide-ring.r2 {
  inset: 28px;
  border-color: rgba(50, 165, 178, 0.56);
  border-style: dashed;
  animation: spinSlow 24s linear infinite;
}

.waveguide-ring.r3 {
  inset: 58px;
  border-color: rgba(94, 234, 212, 0.52);
  animation: spinSlowReverse 18s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinSlowReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes levitateCloud {
  0%, 100% { transform: translateZ(46px) translateY(0px); }
  50% { transform: translateZ(56px) translateY(-10px); }
}

/* Sculptural 3D Crystal SVG */
.crystal-prism-svg {
  width: 290px;
  height: 290px;
  transform: translateZ(14px);
  filter: drop-shadow(0 18px 28px rgba(6, 24, 32, 0.38));
}

/* Levitating Ceramic-White Cloud Emblem */
.cloud-emblem {
  position: absolute;
  top: 24px;
  width: 112px;
  height: 68px;
  transform: translateZ(48px);
  animation: levitateCloud 5.2s ease-in-out infinite;
  filter: drop-shadow(0 14px 22px rgba(6, 24, 32, 0.32));
}

/* Sub-15ms Live Optical Ping Bar */
.optical-telemetry {
  position: relative;
  z-index: 3;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(15, 42, 51, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.84rem;
  font-weight: 600;
  color: #e8f5f6;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.optical-telemetry.locked {
  border-color: #5eead4;
  box-shadow: 0 0 0 3px rgba(50, 165, 178, 0.28);
  transform: scale(1.03);
}

.telemetry-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5eead4;
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.22);
}

.telemetry-ping {
  color: #5eead4;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

/* Right Side: Crisp White Headline + Subtitle + Translucent Petrol Panels */
.hero-right {
  position: relative;
  z-index: 4;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #d9eef0;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-right h1 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 16px;
}

.brand-accent {
  color: #5eead4;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--hero-muted);
  line-height: 1.78;
  margin-bottom: 24px;
}

.hero-modular-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 26px;
}

.ceramic-panel {
  position: relative;
  background: var(--hero-card-bg);
  border: 1px solid var(--hero-card-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: 0 12px 26px -12px rgba(6, 20, 26, 0.36);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, var(--theme-transition);
  cursor: default;
}

.ceramic-panel:hover,
.ceramic-panel.beam-target {
  transform: translateX(4px);
  border-color: #32a5b2;
  box-shadow: 0 16px 32px -12px rgba(6, 20, 26, 0.48), -4px 0 18px -4px rgba(50, 165, 178, 0.45);
}

.ceramic-panel-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.ceramic-panel-desc {
  font-size: 0.87rem;
  color: #bdd6dc;
  line-height: 1.55;
}

.ceramic-metric-tag {
  flex-shrink: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #5eead4;
  background: rgba(50, 165, 178, 0.2);
  border: 1px solid rgba(94, 234, 212, 0.32);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-variant-numeric: tabular-nums;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero .btn-primary {
  background-color: #32a5b2;
  background-image: linear-gradient(135deg, #32a5b2 0%, #24929f 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px -6px rgba(50, 165, 178, 0.5);
}

.hero .btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: none;
}

.hero .btn-secondary:hover {
  border-color: #5eead4;
  color: #5eead4;
  background-color: rgba(255, 255, 255, 0.06);
}

/* ==========================================================================
   Sections & Ceramic-White Cards
   ========================================================================== */
.section {
  padding: 76px 0;
}

.section-crystal {
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-crystal);
  border-bottom: 1px solid var(--border-crystal);
  backdrop-filter: blur(10px);
  transition: var(--theme-transition);
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--azure);
  background: var(--bg-surface);
  border: 1px solid var(--border-crystal);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.24;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* 3 Core Advantage Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-crystal);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-ceramic);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, var(--theme-transition);
}

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

.feature-visual {
  width: 100%;
  height: 118px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #e7f4f3, #f3faf9);
  border: 1px solid var(--border-crystal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

[data-theme="dark"] .feature-visual {
  background: linear-gradient(145deg, rgba(50, 165, 178, 0.16), rgba(21, 58, 72, 0.4));
}

.feature-card h3 {
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}

.feature-points {
  list-style: none;
  border-top: 1px solid var(--border-crystal);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.bullet-prism {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--azure);
  flex-shrink: 0;
}

/* Streaming & AI Media Cards */
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.media-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-crystal);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-ceramic);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, var(--theme-transition);
}

.media-card:hover {
  transform: translateY(-4px);
  border-color: var(--azure);
  box-shadow: var(--shadow-ceramic-hover);
}

.media-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.media-monogram {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  flex-shrink: 0;
}

.mono-netflix { background: linear-gradient(135deg, #e50914, #b20710); }
.mono-disney { background: linear-gradient(135deg, #1890ff, #1d4ed8); }
.mono-youtube { background: linear-gradient(135deg, #ef4444, #dc2626); }
.mono-tiktok { background: linear-gradient(135deg, #0a0a0c, #374151); }
.mono-gpt { background: linear-gradient(135deg, #0ea5a0, #0d9488); }
.mono-claude { background: linear-gradient(135deg, #d97757, #b45309); }
.mono-gemini { background: linear-gradient(135deg, #1890ff, #818cf8); }
.mono-mj { background: linear-gradient(135deg, #4f46e5, #1890ff); }

.status-pill {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--azure);
  border: 1px solid var(--accent-soft-border);
}

.media-card h3 {
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--text-primary);
}

.media-card p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.62;
}

.media-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.media-tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--ice-blue);
  color: #153a48;
}

[data-theme="dark"] .media-tag {
  background: rgba(50, 165, 178, 0.18);
  color: #99e2e9;
}

/* ==========================================================================
   Real Market Pricing Cards & Comparison Table
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}

.price-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-crystal);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  box-shadow: var(--shadow-ceramic);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, var(--theme-transition);
}

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

.price-card.featured {
  border: 2px solid var(--azure);
  box-shadow: var(--shadow-ceramic-hover);
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--dispersion-gradient);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 14px rgba(24, 121, 132, 0.34);
}

.price-tier {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.price-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  min-height: 40px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 3px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-crystal);
}

.price-currency {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-secondary);
}

.price-value {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
}

.price-unit {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Comparison Table */
.table-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-crystal);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-ceramic);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  text-align: left;
}

.compare-table th,
.compare-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border-crystal);
  font-size: 0.91rem;
}

.compare-table thead th {
  background: var(--accent-soft);
  font-weight: 800;
  color: var(--text-primary);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:hover {
  background: var(--accent-soft);
}

.compare-table td:first-child {
  font-weight: 700;
  color: var(--text-primary);
}

.compare-table td:not(:first-child),
.compare-table th:not(:first-child) {
  text-align: center;
}

.col-highlight {
  color: var(--azure);
  font-weight: 800;
}

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

/* ==========================================================================
   Reviews & FAQ
   ========================================================================== */
.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-crystal);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-ceramic);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-rating {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--azure);
  letter-spacing: 0.04em;
}

.review-text {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.72;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-crystal);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--dispersion-gradient);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name {
  font-weight: 800;
  font-size: 0.93rem;
  color: var(--text-primary);
}

.review-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-crystal);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-ceramic);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item[open] {
  border-color: var(--azure);
}

.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--azure);
  flex-shrink: 0;
  transition: transform 0.28s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border-crystal);
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.76;
}

/* Bottom CTA Banner */
.cta-banner {
  margin-top: 60px;
  padding: 46px 32px;
  border-radius: 26px;
  background: linear-gradient(135deg, #153a48 0%, #187984 72%, #32a5b2 100%);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 22px 44px -12px rgba(21, 58, 72, 0.38);
}

.cta-banner h2 {
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 0.98rem;
  opacity: 0.94;
  max-width: 560px;
  margin: 0 auto 26px;
}

.btn-white {
  background: #ffffff;
  color: #0a0a0c;
  box-shadow: 0 10px 22px rgba(10, 10, 12, 0.16);
}

.btn-white:hover {
  transform: translateY(-2px);
  color: var(--azure);
}

/* ==========================================================================
   Footer (Strictly 4 Titles: 网站地图, 关于我们, 服务条款, 隐私政策)
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-crystal);
  padding: 38px 0 34px;
  transition: var(--theme-transition);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 34px;
  list-style: none;
}

.footer-nav a {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 4px 2px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--azure);
}

.footer-copy {
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Subpage Layout (sitemap, about, terms, privacy, news-7x9k2m)
   ========================================================================== */
.subpage-main {
  padding: 52px 0 78px;
  min-height: calc(100vh - var(--header-height) - 135px);
}

.subpage-card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-crystal);
  border-radius: 24px;
  padding: 42px 40px;
  box-shadow: var(--shadow-ceramic);
}

.subpage-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--azure);
  margin-bottom: 16px;
}

.subpage-breadcrumb:hover {
  text-decoration: underline;
}

.subpage-card h1 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.subpage-meta {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-crystal);
}

.subpage-section {
  margin-bottom: 28px;
}

.subpage-section:last-child {
  margin-bottom: 0;
}

.subpage-section h2 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.subpage-section p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.82;
  margin-bottom: 12px;
}

.subpage-section ul {
  padding-left: 20px;
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.85;
}

.subpage-section li {
  margin-bottom: 6px;
}

.highlight-box {
  background: var(--accent-soft);
  border-left: 4px solid var(--azure);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 16px 0;
  color: var(--text-primary);
  font-size: 0.94rem;
  line-height: 1.75;
}

.sitemap-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 14px;
}

.sitemap-group,
.news-article {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-crystal);
  border-radius: var(--radius-md);
  padding: 22px;
}

.sitemap-group h3,
.news-article h2 {
  font-size: 1.06rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.sitemap-group ul {
  list-style: none;
  padding: 0;
}

.sitemap-group a {
  color: var(--azure);
  font-weight: 600;
}

.sitemap-group a:hover {
  text-decoration: underline;
}

.news-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--azure);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.news-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.news-article {
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.news-article:hover {
  transform: translateY(-3px);
  border-color: var(--azure);
  box-shadow: var(--shadow-ceramic-hover);
}

.news-article p {
  flex: 1;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--azure);
}

.news-read-more:hover {
  text-decoration: underline;
}

/* Long-form SEO Article Layout */
.article-toc {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-crystal);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.article-toc-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.article-toc ol {
  padding-left: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 24px;
  font-size: 0.9rem;
}

.article-toc a {
  color: var(--azure);
  font-weight: 600;
}

.article-toc a:hover {
  text-decoration: underline;
}

.article-body h2 {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-crystal);
}

.article-body h3 {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 22px 0 10px;
}

.article-body p {
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.88;
  margin-bottom: 14px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.86;
  margin-bottom: 16px;
}

.article-body li {
  margin-bottom: 6px;
}

.article-body a.inline-link {
  color: var(--azure);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body code {
  background: var(--accent-soft);
  color: var(--azure);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.88em;
}

.article-table-wrap {
  overflow-x: auto;
  margin: 18px 0 24px;
  border: 1px solid var(--border-crystal);
  border-radius: var(--radius-md);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.9rem;
}

.article-table th,
.article-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-crystal);
  text-align: left;
}

.article-table thead th {
  background: var(--accent-soft);
  color: var(--text-primary);
  font-weight: 800;
}

.article-table tbody tr:last-child td {
  border-bottom: none;
}

.article-faq {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--border-crystal);
}

.article-faq h2 {
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.related-section {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-crystal);
}

.related-section h2 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 16px;
}

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

.related-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-crystal);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--azure);
}

.related-card-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.45;
}

.related-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Responsive Media Queries (@media)
   ========================================================================== */
@media (max-width: 1120px) {
  .nav-directory {
    display: none;
  }

  .mobile-nav-strip {
    display: flex;
  }

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

@media (max-width: 920px) {
  .hero-stage-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .optical-beam-layer {
    display: none;
  }

  .crystal-stage {
    min-height: 360px;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 36px 0 48px;
  }

  .section {
    padding: 52px 0;
  }

  .grid-3,
  .media-grid,
  .pricing-grid,
  .sitemap-grid,
  .news-grid,
  .related-grid,
  .article-toc ol {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-cta-row {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-row .btn,
  .cta-banner .btn {
    width: 100%;
    min-height: 50px;
  }

  .crystal-cluster-3d {
    width: 260px;
    height: 260px;
  }

  .crystal-prism-svg {
    width: 230px;
    height: 230px;
  }

  .waveguide-rings {
    width: 236px;
    height: 236px;
  }

  .subpage-card {
    padding: 26px 20px;
  }

  .cta-banner {
    padding: 34px 20px;
  }

  .footer-nav {
    gap: 10px 22px;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 1.08rem;
  }

  .header-actions .btn-sm {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .ceramic-panel {
    flex-direction: column;
    gap: 10px;
  }

  .faq-item summary {
    padding: 16px 18px;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 14px 18px 18px;
  }
}
