/* ==========================================================================
   大哥云 (DaGe Cloud / daggeyun.cfd) — Frosted-Acrylic Blue-White Native CSS
   Palette: #ffffff gallery white, #0f172a royal navy, #1677ff cobalt blue, #10b981 live dot
   Zero External Frameworks · Instant Load · Auto Time Day/Night · Specular Glass Sheen
   ========================================================================== */

:root {
  /* Light Theme (Default Gallery White & Ice-Blue Ambient Glow) */
  --bg-page: #ffffff;
  --bg-page-soft: #f5f9ff;
  --bg-glass-card: rgba(255, 255, 255, 0.88);
  --bg-glass-strong: rgba(255, 255, 255, 0.94);
  --bg-glass-nav: rgba(255, 255, 255, 0.82);
  --bg-surface-alt: rgba(241, 247, 255, 0.82);

  --rim-cobalt: rgba(22, 119, 255, 0.16);
  --rim-cobalt-strong: rgba(22, 119, 255, 0.36);
  --border-subtle: rgba(15, 23, 42, 0.08);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --cobalt: #1677ff;
  --cobalt-hover: #0958d9;
  --cobalt-soft: rgba(22, 119, 255, 0.09);
  --cobalt-gradient: linear-gradient(135deg, #1677ff 0%, #3b82f6 55%, #0ea5e9 100%);

  --live-green: #10b981;
  --live-green-soft: rgba(16, 185, 129, 0.14);

  --bg-toggle: rgba(255, 255, 255, 0.62);
  --bg-toggle-hover: rgba(255, 255, 255, 0.95);

  --shadow-card: 0 8px 28px -10px rgba(15, 23, 42, 0.07), 0 1px 2px rgba(22, 119, 255, 0.05);
  --shadow-lift: 0 18px 40px -12px rgba(22, 119, 255, 0.22), 0 4px 12px -2px rgba(15, 23, 42, 0.06);
  --shadow-featured: 0 22px 48px -14px rgba(22, 119, 255, 0.26);

  --ambient-bg:
    radial-gradient(ellipse 75% 45% at 15% -5%, rgba(22, 119, 255, 0.10), transparent 65%),
    radial-gradient(ellipse 65% 45% at 85% 5%, rgba(56, 189, 248, 0.10), transparent 65%);

  --sheen-color: rgba(22, 119, 255, 0.14);

  --footer-bg: #0f172a;
  --footer-text: #cbd5e1;
  --footer-hover: #ffffff;

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

  --container-max: 1180px;
  --nav-height: 72px;
  --theme-transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

[data-theme="dark"] {
  --bg-page: #060d1c;
  --bg-page-soft: #0b1426;
  --bg-glass-card: rgba(15, 23, 42, 0.80);
  --bg-glass-strong: rgba(15, 23, 42, 0.92);
  --bg-glass-nav: rgba(6, 13, 28, 0.80);
  --bg-surface-alt: rgba(15, 23, 42, 0.65);

  --rim-cobalt: rgba(59, 130, 246, 0.24);
  --rim-cobalt-strong: rgba(59, 130, 246, 0.55);
  --border-subtle: rgba(148, 163, 184, 0.14);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --cobalt: #1677ff;
  --cobalt-hover: #4096ff;
  --cobalt-soft: rgba(22, 119, 255, 0.18);
  --cobalt-gradient: linear-gradient(135deg, #1677ff 0%, #3b82f6 55%, #38bdf8 100%);

  --live-green: #10b981;
  --live-green-soft: rgba(16, 185, 129, 0.18);

  --bg-toggle: rgba(255, 255, 255, 0.06);
  --bg-toggle-hover: rgba(255, 255, 255, 0.14);

  --shadow-card: 0 12px 32px -12px rgba(0, 0, 0, 0.55);
  --shadow-lift: 0 22px 46px -12px rgba(22, 119, 255, 0.34);
  --shadow-featured: 0 24px 54px -14px rgba(22, 119, 255, 0.38);

  --ambient-bg:
    radial-gradient(ellipse 75% 45% at 15% -5%, rgba(22, 119, 255, 0.20), transparent 65%),
    radial-gradient(ellipse 65% 45% at 85% 5%, rgba(14, 165, 233, 0.16), transparent 65%);

  --sheen-color: rgba(56, 189, 248, 0.18);

  --footer-bg: #040915;
  --footer-text: #94a3b8;
  --footer-hover: #ffffff;
}

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

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

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

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

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

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

/* ==========================================================================
   Specular Frosted-Acrylic Glass Cards & Micro-interactions
   ========================================================================== */
.glass-card {
  position: relative;
  background: var(--bg-glass-card);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid var(--rim-cobalt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.28s ease, var(--theme-transition);
}

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

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

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

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

/* Smooth anchor jump highlight transition */
@keyframes sectionFocus {
  0% {
    opacity: 0.78;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

.brand-shield {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(22, 119, 255, 0.28));
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  line-height: 1;
  margin-top: 2px;
}

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

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

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

.nav-links a.nav-insights {
  color: var(--cobalt);
  font-weight: 650;
}

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

/* Refined Translucent Day/Night Toggle Button */
.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-full);
  border: 1px solid var(--rim-cobalt-strong);
  background: var(--bg-toggle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(22, 119, 255, 0.08);
  transition: transform 0.25s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-toggle:hover {
  background: var(--bg-toggle-hover);
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px var(--cobalt-soft);
  transform: translateY(-1px);
}

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

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

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

.theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
  color: #60a5fa;
}

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

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

/* Pure CSS Mobile Nav Toggle */
.nav-toggle-input {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--rim-cobalt-strong);
  background: var(--bg-toggle);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ==========================================================================
   Buttons (#1677ff Cobalt Blue)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.94rem;
  font-weight: 650;
  border: 1px solid transparent;
  cursor: pointer;
  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 {
  min-height: 36px;
  padding: 7px 15px;
  font-size: 0.86rem;
}

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

.btn-primary {
  background: var(--cobalt);
  color: #ffffff;
  box-shadow: 0 8px 22px -6px rgba(22, 119, 255, 0.52);
}

.btn-primary:hover {
  background: var(--cobalt-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(22, 119, 255, 0.65);
}

.btn-outline {
  background: var(--bg-glass-card);
  color: var(--text-primary);
  border-color: var(--rim-cobalt-strong);
}

.btn-outline:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(22, 119, 255, 0.22);
}

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

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

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 72px 0 56px;
  scroll-margin-top: var(--nav-height);
}

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

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-glass-card);
  border: 1px solid var(--rim-cobalt);
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live-green);
  box-shadow: 0 0 0 4px var(--live-green-soft);
  flex-shrink: 0;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.brand-accent {
  color: var(--cobalt);
}

.hero-subtitle {
  margin: 0 0 22px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
}

.hero-bullets {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--text-primary);
}

.hero-bullets svg {
  width: 17px;
  height: 17px;
  color: var(--cobalt);
  flex-shrink: 0;
}

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

/* Frosted-Glass Live Node Telemetry & OS Client Panel */
.telemetry-panel {
  padding: 24px;
}

.telemetry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.telemetry-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--text-primary);
}

.telemetry-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--live-green);
  background: var(--live-green-soft);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.node-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
}

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

.node-code {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

.node-name {
  font-size: 0.89rem;
  font-weight: 600;
  color: var(--text-primary);
}

.node-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.node-ping {
  font-size: 0.84rem;
  font-weight: 750;
  color: var(--live-green);
  font-variant-numeric: tabular-nums;
}

.os-mini-panel {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.os-mini-label {
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

.os-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.os-pill {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background: var(--bg-glass-strong);
  border: 1px solid var(--rim-cobalt);
  color: var(--text-primary);
}

/* ==========================================================================
   4-Column Metric Row
   ========================================================================== */
.metrics-section {
  padding: 16px 0 44px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric-card {
  padding: 22px 20px;
  text-align: center;
  border-radius: var(--radius-md);
}

.metric-card strong {
  display: block;
  font-size: 1.7rem;
  font-weight: 850;
  color: var(--cobalt);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.metric-card span {
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--text-secondary);
}

/* ==========================================================================
   Common Section Styling
   ========================================================================== */
.section {
  padding: 76px 0;
  scroll-margin-top: var(--nav-height);
}

.section-tint {
  background: linear-gradient(180deg, rgba(22, 119, 255, 0.03) 0%, rgba(22, 119, 255, 0.015) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

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

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 2.8vw, 2.3rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

/* ==========================================================================
   Core Advantages (3 Graphic Cards + 2x3 Technical Grid)
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.adv-graphic {
  height: 152px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(22, 119, 255, 0.08), rgba(56, 189, 248, 0.10));
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px;
}

.adv-body {
  padding: 24px;
  flex: 1;
}

.adv-body h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 780;
  color: var(--text-primary);
}

.adv-body p {
  margin: 0 0 16px;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--cobalt-soft);
  color: var(--cobalt);
}

/* 2x3 Technical Highlights Grid */
.tech-subhead {
  margin: 52px 0 24px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
}

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

.tech-card {
  padding: 22px;
  border-radius: var(--radius-md);
}

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

.tech-card h4 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 750;
}

.tech-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

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

.media-card {
  padding: 22px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 13px;
}

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

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

.m-netflix { background: linear-gradient(135deg, #e50914, #991b1b); }
.m-youtube { background: linear-gradient(135deg, #ff0000, #c81e1e); }
.m-disney { background: linear-gradient(135deg, #1677ff, #0ea5e9); }
.m-hbo { background: linear-gradient(135deg, #4338ca, #7c3aed); }
.m-tiktok { background: linear-gradient(135deg, #0f172a, #ec4899); }
.m-spotify { background: linear-gradient(135deg, #10b981, #059669); }

.m-openai { background: linear-gradient(135deg, #0f766e, #10b981); }
.m-claude { background: linear-gradient(135deg, #d97706, #b45309); }
.m-gemini { background: linear-gradient(135deg, #1677ff, #6366f1); }
.m-mj { background: linear-gradient(135deg, #0f172a, #334155); }
.m-cursor { background: linear-gradient(135deg, #0284c7, #1677ff); }
.m-pplx { background: linear-gradient(135deg, #0d9488, #0369a1); }

.status-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--live-green-soft);
  color: var(--live-green);
}

.media-card h3 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 750;
}

.media-card p {
  margin: 0;
  font-size: 0.89rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Pricing Cards (#1677ff-Rimmed Middle Plan) & Real Comparison Table
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 42px;
}

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

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

.plan-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 750;
  background: var(--cobalt-soft);
  color: var(--cobalt);
  margin-bottom: 12px;
}

.pricing-card.featured .plan-badge {
  background: var(--cobalt);
  color: #ffffff;
}

.plan-name {
  margin: 0 0 6px;
  font-size: 1.24rem;
  font-weight: 850;
}

.plan-desc {
  margin: 0 0 18px;
  font-size: 0.89rem;
  color: var(--text-secondary);
}

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

.plan-price .currency {
  font-size: 1.15rem;
  font-weight: 750;
}

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

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

.plan-subprice {
  font-size: 0.82rem;
  color: var(--cobalt);
  font-weight: 600;
  margin-bottom: 20px;
}

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

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

.plan-features svg {
  width: 17px;
  height: 17px;
  color: var(--live-green);
  flex-shrink: 0;
}

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

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.91rem;
}

.compare-table th,
.compare-table td {
  padding: 15px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

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

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

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

.col-featured {
  background: var(--cobalt-soft);
  color: var(--cobalt);
  font-weight: 700;
}

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

/* ==========================================================================
   Client Compatibility Strip
   ========================================================================== */
.clients-strip {
  padding: 28px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.clients-strip-title strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
}

.clients-strip-title span {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.client-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.client-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-alt);
  border: 1px solid var(--rim-cobalt);
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--text-primary);
}

/* ==========================================================================
   User Reviews
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  padding: 26px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
}

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

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

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cobalt-gradient);
  color: #ffffff;
  font-weight: 750;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reviewer strong {
  display: block;
  font-size: 0.91rem;
}

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

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

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

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

.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 750;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

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

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

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

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

/* ==========================================================================
   Bottom CTA Banner
   ========================================================================== */
.cta-banner {
  margin: 20px 0 76px;
  padding: 52px 32px;
  border-radius: var(--radius-lg);
  background: var(--cobalt-gradient);
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-featured);
}

.cta-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 2.8vw, 2.2rem);
  font-weight: 850;
}

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

.btn-white {
  background: #ffffff;
  color: #1677ff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.btn-white:hover {
  transform: translateY(-2px);
  background: #f8fafc;
}

/* ==========================================================================
   #0f172a Navy Footer (Strictly Only the 4 Required Titles)
   ========================================================================== */
.site-footer {
  background-color: var(--footer-bg);
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--theme-transition);
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 40px;
}

.footer-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--footer-text);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--footer-hover);
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Subpages (Insights, About, Terms, Privacy, Sitemap)
   ========================================================================== */
.page-hero {
  padding: 60px 0 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 850;
}

.page-hero p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.doc-content {
  padding: 44px 0 76px;
}

.doc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}

.doc-card {
  padding: 28px;
  border-radius: var(--radius-md);
}

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

.doc-card p {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.doc-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-secondary);
}

.doc-card li {
  margin-bottom: 8px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 1020px;
  margin: 0 auto;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 920px;
  margin: 0 auto;
}

.sitemap-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sitemap-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  font-weight: 550;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.sitemap-links a:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1060px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--rim-cobalt);
    padding: 14px 24px 20px;
    box-shadow: var(--shadow-card);
  }

  .nav-links a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }

  .nav-toggle-label {
    display: inline-flex;
  }

  .nav-toggle-input:checked ~ .nav-links {
    display: flex;
  }
}

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

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

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

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

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

  .section {
    padding: 52px 0;
  }

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

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

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

  .grid-3,
  .tech-grid,
  .media-grid,
  .pricing-grid,
  .reviews-grid,
  .insights-grid,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .header-auth {
    display: none;
  }

  .cta-banner {
    padding: 36px 20px;
    margin: 16px 0 52px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 6px;
  }

  .footer-nav a {
    width: 100%;
    text-align: center;
    padding: 12px;
  }
}

/* ==========================================================================
   SEO Long-Form Article Layout (TOC, Breadcrumb, Prose, Callouts, Related)
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--cobalt);
  font-weight: 550;
}

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

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

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

.toc-box {
  position: sticky;
  top: calc(var(--nav-height) + 20px);
  padding: 22px;
  border-radius: var(--radius-md);
}

.toc-title {
  margin: 0 0 12px;
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

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

.article-body {
  padding: 36px 38px;
  border-radius: var(--radius-lg);
}

.article-body h2 {
  margin: 34px 0 14px;
  padding-top: 10px;
  font-size: 1.42rem;
  font-weight: 820;
  color: var(--text-primary);
  scroll-margin-top: calc(var(--nav-height) + 18px);
  border-top: 1px solid var(--border-subtle);
}

.article-body h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

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

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

.article-body ul,
.article-body ol {
  margin: 0 0 18px;
  padding-left: 22px;
  color: var(--text-secondary);
  line-height: 1.8;
}

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

.article-body a.inline-link {
  color: var(--cobalt);
  font-weight: 650;
  border-bottom: 1px solid rgba(22, 119, 255, 0.35);
}

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

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

.callout-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--cobalt);
}

.article-table-wrap {
  margin: 20px 0 24px;
  overflow-x: auto;
  border: 1px solid var(--rim-cobalt);
  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 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.article-table thead th {
  background: var(--bg-surface-alt);
  color: var(--text-primary);
  font-weight: 750;
}

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

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

.article-faq .faq-list {
  max-width: none;
  margin-top: 16px;
}

.related-section {
  margin-top: 40px;
}

.related-section h2 {
  margin: 0 0 18px;
  font-size: 1.32rem;
  font-weight: 820;
}

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

.related-card {
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-card h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.45;
  color: var(--text-primary);
}

.related-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex: 1;
}

.related-more {
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--cobalt);
  margin-top: 4px;
}

/* Insights Hub Article Cards */
.insights-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.insight-card {
  padding: 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.insight-card.featured-article {
  grid-column: span 2;
  border-color: var(--cobalt);
}

.insight-card h2 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text-primary);
}

.insight-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex: 1;
}

.insight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.83rem;
  color: var(--text-muted);
}

.read-link {
  color: var(--cobalt);
  font-weight: 700;
}

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

  .toc-box {
    position: static;
  }

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

  .insight-card.featured-article {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .article-body {
    padding: 24px 18px;
  }

  .insights-list-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .insight-card.featured-article {
    grid-column: span 1;
  }
}
