/* =========================================================
   大象网络 (大象VPN) - elephantvip.cfd
   Official 1:1 Bento-Card Design System (Pure Native CSS)
   Palette: #031b29 Marine Navy | #ffffff Pure White
            #f8fafc Ice-Grey Bento | #e2e8f0 Slate Border
            #5d5fef Royal Indigo | #facc15 Gold Stars | #222222 Footer
   ========================================================= */

:root {
  /* Light Mode (Default) */
  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-bento: #f8fafc;
  --bg-bento-inner: #ffffff;
  --bg-header: rgba(255, 255, 255, 0.94);
  --bg-navy: #031b29;
  --bg-navy-card: rgba(255, 255, 255, 0.05);
  --bg-footer: #222222;

  --bg-glass: rgba(248, 250, 252, 0.65);
  --bg-glass-hover: rgba(226, 232, 240, 0.85);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-navy: #f8fafc;
  --text-on-navy-muted: #94b3c7;

  --border-bento: #e2e8f0;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-navy: rgba(255, 255, 255, 0.12);

  --indigo: #5d5fef;
  --indigo-hover: #4b4de0;
  --indigo-soft: rgba(93, 95, 239, 0.10);
  --indigo-glow: rgba(93, 95, 239, 0.24);

  --gold: #facc15;
  --success: #10b981;
  --success-soft: rgba(16, 185, 129, 0.12);

  --shadow-sm: 0 1px 2px rgba(3, 27, 41, 0.04);
  --shadow-bento-hover: 0 10px 26px -10px rgba(93, 95, 239, 0.18), 0 2px 6px rgba(3, 27, 41, 0.04);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  --container-max: 1160px;
  --header-height: 70px;
  --theme-transition: background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg-page: #07111a;
  --bg-surface: #07111a;
  --bg-bento: #0d1d2b;
  --bg-bento-inner: #081520;
  --bg-header: rgba(7, 17, 26, 0.88);
  --bg-navy: #03131d;
  --bg-navy-card: rgba(255, 255, 255, 0.05);
  --bg-footer: #14171c;

  --bg-glass: rgba(255, 255, 255, 0.07);
  --bg-glass-hover: rgba(255, 255, 255, 0.14);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-on-navy: #f8fafc;
  --text-on-navy-muted: #94b3c7;

  --border-bento: #1c3144;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-navy: rgba(255, 255, 255, 0.12);

  --indigo: #5d5fef;
  --indigo-hover: #7072f7;
  --indigo-soft: rgba(93, 95, 239, 0.18);
  --indigo-glow: rgba(93, 95, 239, 0.32);

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-bento-hover: 0 12px 30px -10px rgba(93, 95, 239, 0.28), 0 4px 12px rgba(0, 0, 0, 0.4);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "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;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: var(--theme-transition);
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

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

/* Anchor Arrival Dynamic Transition */
.anchor-flash {
  animation: anchorHighlight 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes anchorHighlight {
  0% {
    opacity: 0.72;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   Header (Pure White Top Bar in Light Mode)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-bento);
  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: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--indigo);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--indigo-glow);
}

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

.nav-links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 2px;
  transition: color 0.22s ease;
}

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

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

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

.nav-news-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--indigo) !important;
  font-weight: 600 !important;
}

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

/* Refined Translucent Day/Night Button */
.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-bento);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: background-color 0.25s ease, border-color 0.25s ease,
    transform 0.2s ease, box-shadow 0.25s ease;
}

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

.theme-toggle:active {
  transform: translateY(1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
}

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

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

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

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

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

/* =========================================================
   Buttons (#5d5fef Royal Indigo + 2px Tactile Press)
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease,
    border-color 0.2s ease, transform 0.14s ease, box-shadow 0.2s ease;
}

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

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

.btn-primary {
  background-color: var(--indigo);
  color: #ffffff;
  box-shadow: 0 6px 18px -4px var(--indigo-glow);
}

.btn-primary:hover {
  background-color: var(--indigo-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -4px var(--indigo-glow);
}

.btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 8px -2px var(--indigo-glow);
}

.btn-secondary {
  background-color: var(--bg-bento-inner);
  color: var(--text-primary);
  border: 1px solid var(--border-bento);
}

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

.btn-secondary:active {
  transform: translateY(2px);
}

.btn-block {
  width: 100%;
}

/* =========================================================
   Hero Section (#031b29 Marine-Teal Navy)
   ========================================================= */
.hero {
  background-color: var(--bg-navy);
  color: var(--text-on-navy);
  padding: 72px 0 76px;
  position: relative;
  overflow: hidden;
  transition: var(--theme-transition);
}

.hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  top: -220px;
  right: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 95, 239, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(93, 95, 239, 0.16);
  border: 1px solid rgba(93, 95, 239, 0.35);
  color: #c7c8ff;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

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

.hero h1 .brand-highlight {
  color: #8b8dff;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--text-on-navy-muted);
  margin-bottom: 24px;
  line-height: 1.75;
  max-width: 560px;
}

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

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: #e2edf5;
}

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

/* 4 OS Download Buttons (#5d5fef + 2px Tactile Depression) */
.os-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 480px;
}

.os-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background-color: var(--indigo);
  color: #ffffff;
  font-size: 0.93rem;
  font-weight: 600;
  box-shadow: 0 6px 16px -4px rgba(93, 95, 239, 0.45);
  transition: background-color 0.2s ease, transform 0.14s ease, box-shadow 0.2s ease;
}

.os-btn:hover {
  background-color: var(--indigo-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -4px rgba(93, 95, 239, 0.55);
}

.os-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Global Node Map Card in Hero */
.hero-map-card {
  background: var(--bg-navy-card);
  border: 1px solid var(--border-navy);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
}

.map-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: #e2edf5;
  font-weight: 600;
}

.map-pill {
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
}

.map-svg-wrap {
  background: rgba(2, 16, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
}

.map-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.map-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
}

.map-stat-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.map-stat-label {
  font-size: 0.76rem;
  color: var(--text-on-navy-muted);
  margin-top: 2px;
}

/* =========================================================
   Sections & Shared Bento Card Micro-Interaction
   ========================================================= */
.section {
  padding: 76px 0;
  background-color: var(--bg-page);
  transition: var(--theme-transition);
}

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

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

/* Bento Card Base + Indigo-Rim Highlight & 2px Lift */
.bento-card {
  background-color: var(--bg-bento);
  border: 1px solid var(--border-bento);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s ease, transform 0.22s ease,
    box-shadow 0.22s ease, var(--theme-transition);
}

.bento-card:hover {
  border-color: var(--indigo);
  transform: translateY(-2px);
  box-shadow: var(--shadow-bento-hover);
}

/* =========================================================
   Core Advantages (3-Column Bento Grid)
   ========================================================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

.feature-illustration {
  height: 112px;
  border-radius: var(--radius-sm);
  background: var(--bg-bento-inner);
  border: 1px solid var(--border-bento);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--theme-transition);
}

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

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

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

.tag {
  font-size: 0.77rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--indigo-soft);
  color: var(--indigo);
}

/* =========================================================
   Streaming & AI Support Bento Cards
   ========================================================= */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.showcase-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.showcase-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--indigo-soft);
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.showcase-badge {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--success-soft);
  color: var(--success);
}

.showcase-card h3 {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

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

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

.service-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-bento-inner);
  border: 1px solid var(--border-bento);
  transition: var(--theme-transition);
}

.service-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  color: #ffffff;
  flex-shrink: 0;
}

.logo-netflix { background: #e50914; }
.logo-youtube { background: #ff0000; }
.logo-disney { background: #1d4ed8; }
.logo-tiktok { background: #111827; }
.logo-chatgpt { background: #10a37f; }
.logo-claude { background: #d97757; }
.logo-gemini { background: #4f46e5; }
.logo-midjourney { background: #5d5fef; }

.service-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.service-desc {
  font-size: 0.77rem;
  color: var(--text-muted);
}

/* =========================================================
   Pricing Cards & Realistic Comparison Table
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 36px;
}

.price-card {
  position: relative;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--indigo);
  box-shadow: var(--shadow-bento-hover);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--indigo);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

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

.plan-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.plan-price {
  margin: 20px 0 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

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

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

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

.plan-cycles {
  font-size: 0.8rem;
  color: var(--indigo);
  font-weight: 600;
  margin-bottom: 18px;
}

.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);
}

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

.table-wrap {
  background: var(--bg-bento);
  border: 1px solid var(--border-bento);
  border-radius: var(--radius-md);
  overflow-x: auto;
  transition: var(--theme-transition);
}

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

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

.compare-table thead th {
  background: var(--bg-bento-inner);
  font-weight: 700;
  color: var(--text-primary);
}

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

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

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

.col-highlight {
  color: var(--indigo) !important;
  font-weight: 700;
}

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

/* =========================================================
   Testimonials (2x2 Bento Grid + Circular Avatars + Gold Stars)
   ========================================================= */
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

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

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

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

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--indigo);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

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

/* =========================================================
   FAQ (6-Row Bento Accordion with Indigo Rim Hover)
   ========================================================= */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

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

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

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

.faq-chevron {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.25s ease, color 0.25s ease;
}

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

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

/* =========================================================
   Bottom #031b29 Navy CTA Banner
   ========================================================= */
.navy-banner {
  background-color: var(--bg-navy);
  color: #ffffff;
  padding: 64px 0;
  text-align: center;
}

.navy-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.navy-banner p {
  font-size: 1rem;
  color: var(--text-on-navy-muted);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* =========================================================
   Footer (#222222 Charcoal — Strictly 4 Titles Only)
   ========================================================= */
.site-footer {
  background-color: var(--bg-footer);
  color: #d1d5db;
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.footer-nav a {
  font-size: 0.94rem;
  font-weight: 600;
  color: #e5e7eb;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #8b8dff;
}

.footer-copy {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* =========================================================
   Subpages & News Page
   ========================================================= */
.page-hero {
  background-color: var(--bg-navy);
  color: #ffffff;
  padding: 56px 0 42px;
}

.page-hero .section-eyebrow {
  color: #8b8dff;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--text-on-navy-muted);
  max-width: 680px;
}

.doc-content {
  padding: 48px 0 72px;
}

.doc-card {
  padding: 30px;
  margin-bottom: 22px;
}

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

.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 {
  margin-top: 10px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.sitemap-list {
  list-style: none;
  padding-left: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sitemap-list a {
  color: var(--indigo);
  font-weight: 500;
}

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

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

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

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

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

/* =========================================================
   Responsive Media Queries (Mobile Single-Column & Touch)
   ========================================================= */
@media (max-width: 1024px) {
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 0.86rem;
  }
}

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

  .hero-grid,
  .grid-3,
  .pricing-grid,
  .showcase-grid,
  .grid-2x2,
  .sitemap-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 18px;
  }

  .hero {
    padding: 46px 0 54px;
  }

  .section {
    padding: 54px 0;
  }

  .hero-bullets,
  .os-buttons,
  .service-tiles {
    grid-template-columns: 1fr;
  }

  .os-btn,
  .btn {
    min-height: 48px;
  }

  .header-actions .btn-sm {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 0.84rem;
  }

  .feature-card,
  .showcase-card,
  .price-card,
  .review-card,
  .doc-card,
  .news-card {
    padding: 22px 20px;
  }

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

  .footer-nav {
    gap: 18px;
  }

  .footer-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

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

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

.breadcrumb a {
  color: #c7c8ff;
  transition: color 0.2s ease;
}

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

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

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

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

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

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

.toc-list a {
  display: block;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.45;
  padding: 4px 6px;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

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

.article-body {
  min-width: 0;
}

.prose-card {
  padding: 36px 38px;
  margin-bottom: 28px;
}

.prose-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-bento);
  letter-spacing: -0.02em;
}

.prose-card h2:first-child {
  margin-top: 0;
}

.prose-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 22px 0 10px;
}

.prose-card p {
  font-size: 0.97rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 14px;
}

.prose-card ul,
.prose-card ol {
  margin: 10px 0 18px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.prose-card a:not(.btn) {
  color: var(--indigo);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-card a:not(.btn):hover {
  color: var(--indigo-hover);
}

.prose-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--bg-bento-inner);
  border: 1px solid var(--border-bento);
  color: var(--indigo);
}

.prose-card pre {
  background: var(--bg-navy);
  color: #e2edf5;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 0.86rem;
  line-height: 1.65;
  margin: 14px 0 18px;
}

.prose-card pre code {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

.callout-box {
  background: var(--bg-bento-inner);
  border-left: 4px solid var(--indigo);
  border-top: 1px solid var(--border-bento);
  border-right: 1px solid var(--border-bento);
  border-bottom: 1px solid var(--border-bento);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin: 22px 0;
}

.callout-box strong {
  color: var(--text-primary);
}

.article-cta-box {
  background: var(--bg-navy);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px 28px;
  margin: 28px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.article-cta-box p {
  color: var(--text-on-navy-muted) !important;
  margin: 0 !important;
  font-size: 0.92rem;
}

.article-section-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 18px;
}

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

.related-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

.related-card span.read-more {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--indigo);
}

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

  .toc-box {
    position: static;
  }

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

@media (max-width: 640px) {
  .prose-card {
    padding: 22px 18px;
  }

  .article-cta-box {
    padding: 22px 18px;
  }

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