/* ==========================================================================
   MESL — Official 1:1 Dual-Blue Frosted-Acrylic Design System
   Pure Native CSS | Zero External Frameworks | Instant-Load Performance
   Palette: Gallery White (#ffffff), Ice-Blue (#f2f6ff),
            Royal Navy (#0c1e5b), Electric Sky-Blue (#007bff)
   ========================================================================== */

:root {
  /* Light Mode (Default Gallery White + Ice-Blue) */
  --bg-page: #ffffff;
  --bg-ice: #f2f6ff;
  --bg-ice-gradient: linear-gradient(180deg, #ffffff 0%, #f2f6ff 55%, #ffffff 100%);
  --bg-hero: radial-gradient(ellipse 85% 70% at 72% 18%, rgba(0, 123, 255, 0.11) 0%, rgba(242, 246, 255, 0.85) 48%, #ffffff 100%);

  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-bg-header: rgba(255, 255, 255, 0.82);
  --glass-rim: rgba(0, 123, 255, 0.22);
  --glass-rim-strong: rgba(0, 123, 255, 0.52);
  --glass-sheen: rgba(0, 123, 255, 0.11);

  --navy: #0c1e5b;
  --navy-deep: #081542;
  --blue: #007bff;
  --blue-hover: #0066d6;
  --blue-soft: rgba(0, 123, 255, 0.1);
  --blue-glow: rgba(0, 123, 255, 0.24);

  --text-primary: #0c1e5b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-subtle: rgba(12, 30, 91, 0.08);

  --toggle-bg: rgba(255, 255, 255, 0.6);
  --toggle-bg-hover: rgba(242, 246, 255, 0.95);
  --toggle-border: rgba(12, 30, 91, 0.14);

  --success: #059669;
  --success-soft: rgba(5, 150, 105, 0.11);
  --warning: #f59e0b;

  --shadow-card: 0 10px 30px -12px rgba(12, 30, 91, 0.09), 0 2px 8px -2px rgba(0, 123, 255, 0.05);
  --shadow-card-hover: 0 18px 42px -12px rgba(0, 123, 255, 0.2), 0 6px 16px -4px rgba(12, 30, 91, 0.08);
  --shadow-featured: 0 20px 50px -14px rgba(0, 123, 255, 0.26);
  --shadow-navy: 0 22px 54px -16px rgba(12, 30, 91, 0.38);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 9999px;

  --container-max: 1180px;
  --header-h: 72px;
  --theme-ease: background-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg-page: #050b1d;
  --bg-ice: #0a1433;
  --bg-ice-gradient: linear-gradient(180deg, #050b1d 0%, #0a1433 55%, #050b1d 100%);
  --bg-hero: radial-gradient(ellipse 85% 70% at 72% 18%, rgba(0, 123, 255, 0.22) 0%, rgba(10, 20, 51, 0.9) 52%, #050b1d 100%);

  --glass-bg: rgba(13, 26, 66, 0.72);
  --glass-bg-header: rgba(6, 13, 36, 0.78);
  --glass-rim: rgba(56, 160, 255, 0.26);
  --glass-rim-strong: rgba(56, 160, 255, 0.62);
  --glass-sheen: rgba(56, 160, 255, 0.16);

  --navy: #0c1e5b;
  --navy-deep: #07123a;
  --blue: #1e90ff;
  --blue-hover: #4aa6ff;
  --blue-soft: rgba(30, 144, 255, 0.16);
  --blue-glow: rgba(30, 144, 255, 0.34);

  --text-primary: #f1f6ff;
  --text-secondary: #a8bbd8;
  --text-muted: #7a90b3;
  --border-subtle: rgba(148, 184, 255, 0.14);

  --toggle-bg: rgba(255, 255, 255, 0.06);
  --toggle-bg-hover: rgba(255, 255, 255, 0.15);
  --toggle-border: rgba(148, 184, 255, 0.22);

  --success: #34d399;
  --success-soft: rgba(52, 211, 153, 0.15);

  --shadow-card: 0 12px 34px -12px rgba(0, 0, 0, 0.55);
  --shadow-card-hover: 0 20px 48px -12px rgba(0, 123, 255, 0.28);
  --shadow-featured: 0 22px 54px -12px rgba(30, 144, 255, 0.34);
  --shadow-navy: 0 24px 60px -14px rgba(0, 0, 0, 0.65);
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

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

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

/* ==========================================================================
   Frosted-Acrylic Glass Surface + Specular Optical Sheen
   ========================================================================== */
.glass-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  border: 1px solid var(--glass-rim);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.32s ease,
              box-shadow 0.32s ease,
              var(--theme-ease);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    var(--glass-sheen),
    transparent 65%
  );
  transition: opacity 0.35s ease;
  z-index: 0;
}

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

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

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

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

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

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

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 4px;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-news-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue) !important;
}

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

/* Refined Translucent Day/Night Toggle */
.theme-toggle {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--toggle-border);
  background: var(--toggle-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
  transition: background-color 0.32s ease,
              border-color 0.32s ease,
              transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.32s ease;
}

.theme-toggle:hover {
  background: var(--toggle-bg-hover);
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -6px var(--blue-glow);
}

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

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  width: 17px;
  height: 17px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.38s ease;
}

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

.theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
  color: #7dd3fc;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(90deg) 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;
  line-height: 1;
  border-radius: var(--radius-pill);
  padding: 13px 26px;
  min-height: 44px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s ease,
              background-color 0.25s ease,
              border-color 0.25s ease,
              color 0.25s ease;
}

.btn-sm {
  padding: 9px 17px;
  min-height: 36px;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 10px 24px -8px rgba(0, 123, 255, 0.55);
}

.btn-primary:hover {
  background: var(--blue-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(0, 123, 255, 0.65);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--glass-rim);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border-color: var(--glass-rim);
  backdrop-filter: blur(12px);
}

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

.btn-white {
  background: #ffffff;
  color: #0c1e5b;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.28);
}

.btn-white:hover {
  background: #f2f6ff;
  color: #007bff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Hero Section (1:1 Official Composition)
   ========================================================================== */
.hero {
  position: relative;
  padding: 76px 0 68px;
  background: var(--bg-hero);
  overflow: hidden;
  transition: var(--theme-ease);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-rim);
  color: var(--blue);
  font-size: 0.83rem;
  font-weight: 700;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.3vw, 3.45rem);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.hero-brand-blue {
  color: var(--blue);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-badges svg {
  color: var(--blue);
}

.hero-iso-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.hero-iso-card {
  width: 100%;
  padding: 26px;
  border-radius: var(--radius-lg);
}

.hero-iso-svg {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.iso-telemetry {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.iso-telemetry strong {
  color: var(--blue);
  font-weight: 800;
}

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

.section-ice {
  background: var(--bg-ice-gradient);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--theme-ease);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

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

.advantage-card {
  display: flex;
  flex-direction: column;
}

.advantage-art {
  height: 158px;
  background: linear-gradient(180deg, rgba(0, 123, 255, 0.06) 0%, rgba(242, 246, 255, 0.45) 100%);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

[data-theme="dark"] .advantage-art {
  background: linear-gradient(180deg, rgba(30, 144, 255, 0.1) 0%, rgba(10, 20, 51, 0.45) 100%);
}

.advantage-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.advantage-body h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.advantage-body p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  flex: 1;
}

.advantage-meta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
}

/* ==========================================================================
   5-Card Frosted-Glass Infrastructure Grid Flanking Central #0c1e5b Server Card
   ========================================================================== */
.infra-grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.infra-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.infra-card {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.infra-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.infra-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.infra-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Central Royal-Navy #0c1e5b Server Feature Card */
.infra-center {
  background: linear-gradient(155deg, #0c1e5b 0%, #122d84 55%, #081542 100%);
  border: 1px solid rgba(56, 160, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  color: #ffffff;
  box-shadow: var(--shadow-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease;
}

.infra-center:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px -14px rgba(0, 123, 255, 0.42);
}

.infra-center-badge {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7dd3fc;
  background: rgba(0, 123, 255, 0.22);
  border: 1px solid rgba(125, 211, 252, 0.32);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.infra-center h3 {
  font-size: 1.32rem;
  font-weight: 800;
  color: #ffffff;
}

.infra-center p {
  font-size: 0.9rem;
  color: rgba(241, 246, 255, 0.84);
  line-height: 1.7;
}

/* 4-Column Metrics Band (3000 / 20+ / 150+ / 2000) */
.metrics-band {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.metric-card {
  padding: 26px 20px;
  text-align: center;
}

.metric-num {
  display: block;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 900;
  color: var(--blue);
  line-height: 1.15;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================================================
   Streaming & AI Cards (Zero Generic Bot Icons)
   ========================================================================== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.media-card {
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.media-badge {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.96rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  box-shadow: 0 8px 18px -6px rgba(12, 30, 91, 0.25);
}

.mb-nf  { background: linear-gradient(135deg, #e50914, #991b1b); }
.mb-yt  { background: linear-gradient(135deg, #ef4444, #dc2626); }
.mb-dp  { background: linear-gradient(135deg, #007bff, #0c1e5b); }
.mb-hbo { background: linear-gradient(135deg, #5b21b6, #312e81); }
.mb-sp  { background: linear-gradient(135deg, #16a34a, #15803d); }
.mb-tv  { background: linear-gradient(135deg, #0c1e5b, #1e3a8a); }

.mb-gpt { background: linear-gradient(135deg, #0f766e, #059669); }
.mb-cld { background: linear-gradient(135deg, #c2410c, #d97706); }
.mb-gem { background: linear-gradient(135deg, #007bff, #4f46e5); }
.mb-mj  { background: linear-gradient(135deg, #0c1e5b, #007bff); }
.mb-cur { background: linear-gradient(135deg, #0284c7, #1d4ed8); }
.mb-ppx { background: linear-gradient(135deg, #0d9488, #0369a1); }

.media-body h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.media-body p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  margin-bottom: 9px;
}

.pill-ok {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--blue-soft);
  color: var(--blue);
}

/* ==========================================================================
   Pricing Cards (Premium 50G / 100G / 200G) + Comparison Table
   ========================================================================== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  margin-bottom: 42px;
}

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

.plan-card.plan-featured {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow-featured);
}

.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.plan-name {
  font-size: 1.24rem;
  font-weight: 900;
  color: var(--text-primary);
}

.plan-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--blue);
  color: #ffffff;
}

.plan-tag-sub {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--blue-soft);
  color: var(--blue);
}

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

.plan-price {
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1.1;
}

.plan-period {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-subnote {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.plan-features li::before {
  content: "✓";
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-card .btn {
  width: 100%;
}

/* Comparison Table */
.compare-wrap {
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

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

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

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

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: var(--text-primary);
  width: 26%;
}

.compare-table .col-hl {
  background: rgba(0, 123, 255, 0.06);
  font-weight: 700;
  color: var(--text-primary);
}

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

.table-note {
  margin-top: 14px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   2x3 Tailored Services Grid + Clash Client Carousel
   ========================================================================== */
.service-card {
  padding: 24px;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 12px 0 8px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.client-showcase {
  margin-top: 44px;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.client-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 18px;
}

.client-tab {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-rim);
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.client-tab.active,
.client-tab:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

.client-preview {
  background: linear-gradient(145deg, #0c1e5b 0%, #102a78 100%);
  border-radius: var(--radius-md);
  padding: 22px;
  color: #ffffff;
  border: 1px solid rgba(56, 160, 255, 0.35);
}

.client-window-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  color: #93c5fd;
  font-weight: 700;
}

.window-dots {
  display: inline-flex;
  gap: 6px;
}

.window-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  display: inline-block;
}

.client-panel-title {
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.client-panel-desc {
  font-size: 0.88rem;
  color: rgba(241, 246, 255, 0.82);
  margin-bottom: 14px;
}

.client-panel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.client-panel-tags span {
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 123, 255, 0.26);
  color: #dbeafe;
  font-weight: 600;
}

/* ==========================================================================
   User Reviews
   ========================================================================== */
.review-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

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

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

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0c1e5b, #007bff);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

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

/* ==========================================================================
   FAQ (Native <details>)
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 0 24px;
}

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

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

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

.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 0.28s ease;
  flex-shrink: 0;
  margin-right: 4px;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-answer {
  padding-bottom: 20px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ==========================================================================
   Full-Width #0c1e5b Royal-Navy Partner / CTA Banner
   ========================================================================== */
.partner-banner {
  background: linear-gradient(135deg, #0c1e5b 0%, #102a78 60%, #0056b3 100%);
  color: #ffffff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

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

.partner-copy {
  max-width: 640px;
}

.partner-copy h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 900;
  margin-bottom: 10px;
  color: #ffffff;
}

.partner-copy p {
  font-size: 1rem;
  color: rgba(241, 246, 255, 0.86);
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Footer — Strictly 4 Titles Only
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-page);
  padding: 36px 0;
  transition: var(--theme-ease);
}

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

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

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

/* ==========================================================================
   Subpages & Insights News Hub
   ========================================================================== */
.doc-page {
  padding: 64px 0 88px;
  background: var(--bg-ice-gradient);
  min-height: calc(100vh - var(--header-h) - 100px);
}

.doc-header {
  max-width: 860px;
  margin: 0 auto 38px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
}

.doc-header h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.doc-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.doc-content {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.doc-card {
  padding: 28px 30px;
}

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

.doc-card p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.doc-card p:last-child {
  margin-bottom: 0;
}

.doc-list {
  padding-left: 20px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.doc-list a {
  color: var(--blue);
  font-weight: 600;
}

.doc-list a:hover {
  text-decoration: underline;
}

.doc-highlight {
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-primary);
  font-weight: 600;
}

/* Insights Article Grid */
.news-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

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

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

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

.news-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  flex: 1;
}

/* ==========================================================================
   Long-Form SEO Article Layout (TOC, Typography, Tables, Related Reading)
   ========================================================================== */
.article-page {
  padding: 46px 0 88px;
  background: var(--bg-ice-gradient);
}

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

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

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

.article-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

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

.toc-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 4px 8px;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

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

.article-main {
  padding: 38px 42px;
}

.article-head {
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-head h1 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--text-primary);
  margin: 12px 0 14px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.article-body h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 34px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--blue);
}

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

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

.article-body ul,
.article-body ol {
  padding-left: 22px;
  margin-bottom: 18px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.78;
}

.article-body a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a.btn {
  text-decoration: none;
  color: #ffffff;
}

.article-body a.btn-secondary {
  color: var(--text-primary);
}

.callout-box {
  background: var(--blue-soft);
  border: 1px solid var(--glass-rim);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 20px;
  margin: 22px 0;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.article-table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

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

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

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

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

.article-cta-box {
  margin: 34px 0;
  padding: 26px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0c1e5b 0%, #102a78 65%, #0056b3 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.article-cta-box h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 1.15rem;
}

.article-cta-box p {
  margin: 0;
  color: rgba(241, 246, 255, 0.86);
  font-size: 0.9rem;
}

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

.article-faq h2 {
  margin-top: 0;
}

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

.related-section h2 {
  margin-top: 0;
  margin-bottom: 18px;
}

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

.related-card {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none !important;
}

.related-card strong {
  font-size: 0.96rem;
  color: var(--text-primary);
  line-height: 1.45;
}

.related-card span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

  .toc-sidebar {
    position: static;
  }

  .article-main {
    padding: 26px 22px;
  }
}

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

  .article-cta-box .btn {
    width: 100%;
  }
}

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

  .hero-grid,
  .infra-grid,
  .client-showcase {
    grid-template-columns: 1fr;
  }

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

  .grid-3,
  .media-grid,
  .pricing-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .header-actions .btn-ghost {
    display: none;
  }

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

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn,
  .partner-actions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 1rem;
  }

  .section {
    padding: 52px 0;
  }

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

  /* Perfect single-column layout on mobile */
  .grid-3,
  .media-grid,
  .pricing-cards,
  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .client-showcase {
    padding: 20px;
  }

  .plan-card .btn {
    min-height: 48px;
  }

  .partner-banner {
    padding: 46px 0;
  }

  .partner-actions {
    width: 100%;
  }

  .footer-nav {
    gap: 18px 26px;
  }

  .doc-card {
    padding: 22px 20px;
  }
}
