/* ==========================================================================
   xxyun加速 (https://xxyunvip.buzz)
   Deep Petrol-Teal & Frosted-Glass Bento UI
   Default: Day Mode (Light) | Auto & Manual Night Mode (Dark)
   ========================================================================== */

:root {
  /* Day Mode — Clean White, Pale Mint-Mist & Deep Petrol-Teal Palette */
  --bg-base: #eef6f6;
  --bg-gradient: linear-gradient(160deg, #e8f4f4 0%, #f3f9f9 45%, #ffffff 100%);
  --bg-ambient:
    radial-gradient(ellipse 68% 48% at 12% 4%, rgba(38, 147, 154, 0.12), transparent 62%),
    radial-gradient(ellipse 56% 42% at 88% 14%, rgba(21, 58, 72, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 45% at 50% 92%, rgba(45, 166, 173, 0.07), transparent 65%);

  --hero-band-bg: #153a48;
  --hero-card-bg: rgba(44, 77, 90, 0.72);
  --hero-card-hover: rgba(44, 77, 90, 0.88);
  --hero-border: rgba(255, 255, 255, 0.14);
  --hero-border-strong: rgba(45, 166, 173, 0.52);

  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-bg-hover: rgba(255, 255, 255, 0.98);
  --glass-bg-subtle: rgba(234, 246, 245, 0.72);
  --glass-header: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(21, 58, 72, 0.11);
  --glass-border-strong: rgba(31, 122, 130, 0.34);

  --text-primary: #0f2a36;
  --text-secondary: #3d5a66;
  --text-muted: #64808c;

  --azure: #1f7a82;
  --azure-hover: #176269;
  --azure-bright: #2da6ad;
  --azure-soft: rgba(31, 122, 130, 0.1);
  --azure-border: rgba(31, 122, 130, 0.26);
  --azure-glow: rgba(31, 122, 130, 0.3);

  --caustic-core: rgba(45, 166, 173, 0.16);
  --caustic-mid: rgba(31, 122, 130, 0.07);

  --success: #1a8a7d;
  --success-soft: rgba(26, 138, 125, 0.12);
  --danger-bg: rgba(220, 38, 38, 0.06);
  --danger-border: rgba(220, 38, 38, 0.2);

  --shadow-card: 0 8px 26px -10px rgba(21, 58, 72, 0.1), 0 2px 8px -2px rgba(15, 42, 54, 0.04);
  --shadow-card-hover: 0 16px 36px -12px rgba(21, 58, 72, 0.18), 0 4px 14px -4px rgba(15, 42, 54, 0.05);
  --shadow-cta: 0 8px 20px -6px rgba(31, 122, 130, 0.44);

  /* Translucent Theme Toggle */
  --toggle-bg: rgba(255, 255, 255, 0.72);
  --toggle-bg-hover: rgba(234, 246, 245, 0.96);
  --toggle-border: rgba(21, 58, 72, 0.16);
  --toggle-icon: #0f2a36;

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

  --max-width: 1180px;
  --header-height: 70px;
  --theme-transition:
    background-color 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  /* Night Mode — Deep Midnight Petrol-Teal */
  --bg-base: #0b2029;
  --bg-gradient: linear-gradient(155deg, #0b2029 0%, #102c38 48%, #153a48 100%);
  --bg-ambient:
    radial-gradient(ellipse 68% 48% at 14% 4%, rgba(45, 166, 173, 0.18), transparent 62%),
    radial-gradient(ellipse 54% 42% at 88% 12%, rgba(31, 122, 130, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 45% at 50% 92%, rgba(45, 166, 173, 0.1), transparent 65%);

  --hero-band-bg: #0f2b36;
  --hero-card-bg: rgba(28, 63, 77, 0.76);
  --hero-card-hover: rgba(35, 76, 92, 0.9);
  --hero-border: rgba(140, 212, 216, 0.18);
  --hero-border-strong: rgba(56, 184, 191, 0.48);

  --glass-bg: rgba(19, 50, 62, 0.8);
  --glass-bg-hover: rgba(25, 64, 79, 0.92);
  --glass-bg-subtle: rgba(14, 38, 48, 0.76);
  --glass-header: rgba(11, 32, 41, 0.86);
  --glass-border: rgba(118, 196, 200, 0.18);
  --glass-border-strong: rgba(56, 184, 191, 0.42);

  --text-primary: #f0f8f9;
  --text-secondary: #b6d0d6;
  --text-muted: #7ea1ab;

  --azure: #2da6ad;
  --azure-hover: #3abcc4;
  --azure-bright: #3abcc4;
  --azure-soft: rgba(45, 166, 173, 0.16);
  --azure-border: rgba(56, 184, 191, 0.34);
  --azure-glow: rgba(45, 166, 173, 0.38);

  --caustic-core: rgba(56, 184, 191, 0.2);
  --caustic-mid: rgba(31, 122, 130, 0.09);

  --success: #45d1be;
  --success-soft: rgba(69, 209, 190, 0.14);
  --danger-bg: rgba(248, 113, 113, 0.1);
  --danger-border: rgba(248, 113, 113, 0.28);

  --shadow-card: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
  --shadow-card-hover: 0 18px 42px -12px rgba(45, 166, 173, 0.22), 0 8px 22px -8px rgba(0, 0, 0, 0.6);
  --shadow-cta: 0 8px 24px -6px rgba(45, 166, 173, 0.48);

  --toggle-bg: rgba(21, 58, 72, 0.65);
  --toggle-bg-hover: rgba(31, 79, 97, 0.9);
  --toggle-border: rgba(56, 184, 191, 0.3);
  --toggle-icon: #e8f6f7;
}

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

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

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

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

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

h1, h2, h3, h4, p, ul, ol {
  margin: 0;
}

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

/* ==========================================================================
   Frosted-Glass Bento Surface & Fluid-Caustics Micro-Interaction
   ========================================================================== */
.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    var(--theme-transition),
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Ice-blue caustic light ripple steered by cursor (--mx, --my) */
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    var(--caustic-core) 0%,
    var(--caustic-mid) 38%,
    transparent 72%
  );
  transition: opacity 0.35s ease;
  z-index: 0;
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-strong);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

/* Anchor Jump Dynamic Pulse Animation */
@keyframes anchorReveal {
  0% {
    opacity: 0.65;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-pulse {
  animation: anchorReveal 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  height: var(--header-height);
  background: var(--glass-header);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--theme-transition);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  flex-shrink: 0;
}

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

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

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

.nav-wrap {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-wrap::-webkit-scrollbar {
  display: none;
}

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

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.22s ease, background-color 0.22s ease;
}

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

.nav-links a.nav-news {
  color: var(--azure);
  border: 1px solid var(--azure-border);
  background: var(--azure-soft);
  margin-left: 4px;
}

.nav-links a.nav-news:hover {
  background: var(--azure-soft);
}

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

/* Refined Translucent Day/Night Toggle */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-full);
  border: 1px solid var(--toggle-border);
  background: var(--toggle-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--toggle-icon);
  cursor: pointer;
  transition: background-color 0.28s ease, border-color 0.28s ease, transform 0.24s ease;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--toggle-bg-hover);
  border-color: var(--azure-border);
  transform: translateY(-1px);
}

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

.theme-icon {
  position: absolute;
  width: 17px;
  height: 17px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease;
}

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

.theme-icon-moon {
  opacity: 0;
  transform: rotate(-75deg) scale(0.5);
}

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

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

/* Mobile Quick Nav Bar (Visible on <= 960px) */
.mobile-nav-bar {
  display: none;
  background: var(--glass-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.mobile-nav-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 16px;
  scrollbar-width: none;
}

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

.mobile-nav-scroll a {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 6px 13px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

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

/* ==========================================================================
   Buttons (Azure #1890ff Pill)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s ease, box-shadow 0.26s ease, background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.btn-sm {
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.875rem;
}

.btn-lg {
  min-height: 52px;
  padding: 0 30px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--azure);
  color: #ffffff;
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  background: var(--azure-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -6px rgba(31, 122, 130, 0.56);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border-color: var(--glass-border-strong);
}

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

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero Bento-Cloud Section — Signature Deep Petrol-Teal Band (#153a48)
   ========================================================================== */
.hero {
  padding: 46px 0 52px;
  background-color: var(--hero-band-bg);
  background-image:
    repeating-linear-gradient(
      122deg,
      rgba(255, 255, 255, 0.032) 0,
      rgba(255, 255, 255, 0.032) 1px,
      transparent 1px,
      transparent 118px
    ),
    radial-gradient(ellipse 65% 60% at 85% 20%, rgba(45, 166, 173, 0.16), transparent 65%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--theme-transition);
}

.hero .glass-card {
  background: var(--hero-card-bg);
  border-color: var(--hero-border);
  box-shadow: 0 14px 36px -14px rgba(4, 16, 22, 0.48);
}

.hero .glass-card:hover {
  background: var(--hero-card-hover);
  border-color: var(--hero-border-strong);
  box-shadow: 0 18px 42px -12px rgba(4, 16, 22, 0.58);
}

.hero-bento {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 20px;
}

.hero-main-card {
  padding: 40px 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
}

.hero-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

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

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38c0c7;
  box-shadow: 0 0 0 4px rgba(56, 192, 199, 0.24);
}

/* Minimalist Pure-White Cloud Emblem */
.cloud-emblem {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 26px -10px rgba(4, 16, 22, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.hero-title .azure-accent {
  color: #5cd6dc;
}

.hero-subtitle {
  font-size: 1.02rem;
  line-height: 1.78;
  color: rgba(232, 245, 247, 0.84);
  max-width: 600px;
}

.hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.8125rem;
  font-weight: 600;
  color: #e9f6f7;
}

.spec-chip strong {
  color: #5cd6dc;
}

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

.hero .btn-primary {
  background: var(--azure-bright);
  color: #ffffff;
  box-shadow: 0 8px 22px -6px rgba(45, 166, 173, 0.55);
}

.hero .btn-primary:hover {
  background: #36b9c1;
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

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

/* Hero Right Bento — IPLC Low-Latency Node Cards */
.hero-side-card {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.side-head h2 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #ffffff;
}

.status-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: #5cd6dc;
  background: rgba(92, 214, 220, 0.14);
  border: 1px solid rgba(92, 214, 220, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.node-stack {
  display: grid;
  gap: 10px;
}

/* Node Card Thaw & 2px Buoyant Lift */
.node-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  border-radius: var(--radius-md);
  background: rgba(21, 58, 72, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease;
}

.node-card:hover {
  background: rgba(21, 58, 72, 0.88);
  border-color: #5cd6dc;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(45, 166, 173, 0.38);
}

.node-left {
  display: flex;
  align-items: center;
  gap: 11px;
}

.node-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 24px;
  border-radius: 7px;
  background: rgba(92, 214, 220, 0.16);
  color: #7ee3e8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.node-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.node-sub {
  display: block;
  font-size: 0.75rem;
  color: rgba(216, 238, 240, 0.72);
}

.node-ping {
  font-size: 0.88rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #6ce5d8;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(108, 229, 216, 0.14);
  transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.node-card:hover .node-ping {
  color: #0b2029;
  background: #5cd6dc;
  transform: scale(1.04);
}

.side-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(216, 238, 240, 0.68);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Bottom Hero Bento Strip */
.hero-bento-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.strip-tile {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.strip-tile strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.strip-tile span {
  font-size: 0.82rem;
  color: rgba(216, 238, 240, 0.76);
}

.strip-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #7ee3e8;
  background: rgba(92, 214, 220, 0.14);
  border: 1px solid rgba(92, 214, 220, 0.3);
  padding: 5px 11px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ==========================================================================
   Section Common
   ========================================================================== */
.section {
  padding: 58px 0;
}

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

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

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.028em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

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

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

.adv-card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--azure-soft);
  border: 1px solid var(--azure-border);
  color: var(--azure);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

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

.adv-metric {
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg-subtle);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.adv-metric strong {
  color: var(--azure);
  font-weight: 800;
}

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

.media-card {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

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

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

.brand-nf { background: linear-gradient(135deg, #e50914, #b20710); }
.brand-dp { background: linear-gradient(135deg, #1890ff, #096dd9); }
.brand-yt { background: linear-gradient(135deg, #ff1e42, #c8102e); }
.brand-sp { background: linear-gradient(135deg, #1db954, #15803d); }

.brand-oa { background: linear-gradient(135deg, #10a37f, #0d9488); }
.brand-cl { background: linear-gradient(135deg, #d97757, #b45309); }
.brand-gm { background: linear-gradient(135deg, #1890ff, #6366f1); }
.brand-cp { background: linear-gradient(135deg, #1e293b, #0a0a0c); }

.unlock-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--azure-soft);
  color: var(--azure);
  border: 1px solid var(--azure-border);
  white-space: nowrap;
}

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

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

.media-meta {
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px dashed var(--glass-border);
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.plan-card {
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
}

.plan-featured {
  border: 2px solid var(--azure);
  box-shadow: 0 18px 44px -14px rgba(31, 122, 130, 0.28);
}

.plan-badge {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--azure);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.plan-badge-ghost {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--azure);
  background: var(--azure-soft);
  border: 1px solid var(--azure-border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 22px;
}

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

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

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

.plan-features {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 11px;
  margin-bottom: 26px;
  flex: 1;
}

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

.check-icon {
  width: 17px;
  height: 17px;
  color: var(--azure);
  flex-shrink: 0;
}

/* Comparison Table */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

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

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

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

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

.compare-table td {
  color: var(--text-secondary);
}

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

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

/* ==========================================================================
   Reviews
   ========================================================================== */
.review-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.stars {
  display: inline-flex;
  gap: 3px;
  color: var(--azure);
}

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

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

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--azure-soft);
  border: 1px solid var(--azure-border);
  color: var(--azure);
  font-weight: 800;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

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

/* ==========================================================================
   FAQ (Pure HTML details/summary)
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-md);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  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: 0 24px 20px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.76;
}

/* ==========================================================================
   Bottom CTA Banner
   ========================================================================== */
.cta-banner {
  padding: 46px 36px;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.cta-banner p {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 24px;
}

/* ==========================================================================
   Footer — Strictly 4 Links Only
   ========================================================================== */
.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--glass-border);
  background: var(--glass-header);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 34px 0;
  transition: var(--theme-transition);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
}

.footer-links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

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

/* ==========================================================================
   Subpages (About, Terms, Privacy, Sitemap, Recommended News)
   ========================================================================== */
.page-hero {
  padding: 48px 0 28px;
}

.page-hero-card {
  padding: 36px 34px;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.4vw, 2.45rem);
  font-weight: 900;
  letter-spacing: -0.028em;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.page-hero p {
  color: var(--text-secondary);
  max-width: 720px;
}

.doc-content {
  padding: 12px 0 68px;
  display: grid;
  gap: 20px;
}

.doc-card {
  padding: 30px;
}

.doc-card h2 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.doc-card p,
.doc-card li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.doc-card p + p {
  margin-top: 12px;
}

.doc-card ul {
  padding-left: 20px;
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.region-pill {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--glass-bg-subtle);
  border: 1px solid var(--glass-border);
}

.region-pill strong {
  display: block;
  font-size: 0.94rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.region-pill span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.sitemap-list {
  list-style: none;
  padding: 0 !important;
  display: grid;
  gap: 10px;
}

.sitemap-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg-subtle);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-weight: 600;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sitemap-list a:hover {
  border-color: var(--azure);
  color: var(--azure);
  transform: translateX(3px);
}

.news-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.news-tag {
  font-weight: 700;
  color: var(--azure);
  background: var(--azure-soft);
  border: 1px solid var(--azure-border);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.news-card h2 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
}

.news-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.news-points {
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.highlight-box {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--azure-soft);
  border: 1px solid var(--azure-border);
  color: var(--text-primary);
  margin-top: 14px;
}

.warning-box {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  margin-top: 14px;
}

/* ==========================================================================
   SEO News Hub & Long-Form Article Editorial Styles
   ========================================================================== */
.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--azure);
  transition: gap 0.2s ease, color 0.2s ease;
}

.news-card:hover .news-card-link {
  gap: 10px;
  color: var(--azure-hover);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

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

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

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.article-shell {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 24px;
  align-items: start;
  padding: 12px 0 68px;
}

.article-toc {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  padding: 22px 20px;
}

.article-toc h2 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
}

.toc-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 6px;
}

.toc-list a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.45;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.toc-list a:hover {
  background: var(--azure-soft);
  color: var(--azure);
}

.article-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.article-body {
  padding: 34px 36px;
}

.article-body h2 {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 34px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.article-body h2:first-child {
  margin-top: 0;
}

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

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

.article-body ul,
.article-body ol {
  padding-left: 22px;
  margin: 10px 0 16px;
  display: grid;
  gap: 8px;
}

.article-body li {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.article-body a.inline-link {
  color: var(--azure);
  font-weight: 700;
  border-bottom: 1px dashed var(--azure-border);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.article-body a.inline-link:hover {
  color: var(--azure-hover);
  border-bottom-style: solid;
}

.article-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--glass-bg-subtle);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.article-body .table-wrap {
  margin: 18px 0 22px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.article-faq {
  padding: 30px 32px;
}

.article-faq h2 {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.article-faq .faq-list {
  max-width: none;
}

.related-section {
  padding: 30px 32px;
}

.related-section h2 {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 18px;
}

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

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

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

.related-card span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--azure);
}

.related-card strong {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.48;
}

/* ==========================================================================
   Responsive Design (@media) — Single Column & Touch-Friendly on Mobile
   ========================================================================== */
@media (max-width: 1080px) {
  .article-shell {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
  .hero-bento {
    grid-template-columns: 1fr;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

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

@media (max-width: 960px) {
  .nav-wrap {
    display: none;
  }

  .mobile-nav-bar {
    display: block;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 62px;
  }

  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 24px 0 32px;
  }

  .hero-main-card,
  .hero-side-card,
  .page-hero-card,
  .doc-card,
  .news-card,
  .article-body,
  .article-faq,
  .related-section {
    padding: 22px 18px;
  }

  .cloud-emblem {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-bento-strip,
  .grid-3,
  .media-grid,
  .sitemap-grid,
  .news-grid,
  .region-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section {
    padding: 42px 0;
  }

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

  .btn {
    min-height: 48px;
  }

  .btn-sm {
    min-height: 38px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .faq-item summary {
    padding: 17px 18px;
    font-size: 0.94rem;
  }

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

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

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-links {
    gap: 16px 24px;
  }
}

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