/* ==========================================================================
   奶昔VPN (nexitallyvip.sbs)
   Pure-White SaaS & Raspberry-Magenta Helix-Waveguide Design System
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.84);
  --badge-ice-bg: #eff6ff;
  --badge-ice-border: #dbeafe;
  --badge-ice-text: #1d4ed8;
  --text: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.16);
  --magenta: #d91b7a;
  --magenta-hover: #be1568;
  --magenta-soft: rgba(217, 27, 122, 0.08);
  --magenta-border: rgba(217, 27, 122, 0.28);
  --magenta-glow: rgba(217, 27, 122, 0.26);
  --indigo: #3b82f6;
  --indigo-deep: #4f46e5;
  --success: #059669;
  --success-soft: rgba(5, 150, 105, 0.1);
  --warning: #f59e0b;
  --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 14px 36px rgba(15, 23, 42, 0.08);
  --shadow-magenta: 0 18px 42px rgba(217, 27, 122, 0.16);
  --toggle-bg: rgba(255, 255, 255, 0.65);
  --toggle-hover: rgba(248, 250, 252, 0.95);
  --toggle-border: rgba(15, 23, 42, 0.12);
  --prism-bg: rgba(255, 255, 255, 0.68);
  --prism-border: rgba(255, 255, 255, 0.85);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --max-width: 1180px;
  --header-height: 70px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #090d16;
  --bg-subtle: #0e1422;
  --bg-elevated: #121929;
  --bg-glass: rgba(9, 13, 22, 0.82);
  --badge-ice-bg: rgba(59, 130, 246, 0.14);
  --badge-ice-border: rgba(96, 165, 250, 0.26);
  --badge-ice-text: #93c5fd;
  --text: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.26);
  --magenta: #ec2e8a;
  --magenta-hover: #f43f97;
  --magenta-soft: rgba(236, 46, 138, 0.14);
  --magenta-border: rgba(236, 46, 138, 0.4);
  --magenta-glow: rgba(236, 46, 138, 0.34);
  --indigo: #60a5fa;
  --indigo-deep: #6366f1;
  --success: #34d399;
  --success-soft: rgba(52, 211, 153, 0.14);
  --warning: #fbbf24;
  --shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.36);
  --shadow-md: 0 16px 40px rgba(0, 0, 0, 0.48);
  --shadow-magenta: 0 20px 50px rgba(236, 46, 138, 0.24);
  --toggle-bg: rgba(255, 255, 255, 0.06);
  --toggle-hover: rgba(255, 255, 255, 0.14);
  --toggle-border: rgba(255, 255, 255, 0.14);
  --prism-bg: rgba(18, 25, 41, 0.72);
  --prism-border: rgba(255, 255, 255, 0.14);
}

/* Smooth theme transition after first paint */
.theme-ready,
.theme-ready body,
.theme-ready .site-header,
.theme-ready .card,
.theme-ready .pricing-card,
.theme-ready .compare-table-wrap,
.theme-ready .faq-item,
.theme-ready .site-footer,
.theme-ready .theme-toggle,
.theme-ready .os-pill,
.theme-ready .subpage-card,
.theme-ready .prism-stage,
.theme-ready .iepl-card {
  transition:
    background-color 0.36s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.36s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.36s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

svg {
  display: block;
}

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

/* ==========================================================================
   Anchor Transition Feedback Animation
   ========================================================================== */
@keyframes sectionFocusPulse {
  0% {
    opacity: 0.72;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-emblem {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  box-shadow: 0 6px 16px rgba(217, 27, 122, 0.24);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  position: relative;
  padding: 8px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.22s ease, background-color 0.22s ease;
  white-space: nowrap;
}

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

.nav-links a.active {
  color: var(--magenta);
  font-weight: 700;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--magenta);
}

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

.nav-links a.nav-insights:hover {
  color: var(--magenta);
}

.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;
  padding: 0;
  border-radius: var(--radius-pill);
  border: 1px solid var(--toggle-border);
  background: var(--toggle-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  box-shadow: var(--shadow-xs);
  outline: none;
}

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

.theme-toggle:focus-visible {
  box-shadow: 0 0 0 3px var(--magenta-glow);
}

.theme-toggle svg {
  position: absolute;
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.28s ease;
}

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

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

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

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

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

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

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

.btn-primary {
  background: var(--magenta);
  color: #ffffff;
  box-shadow: 0 8px 22px var(--magenta-glow);
}

.btn-primary:hover {
  background: var(--magenta-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--magenta-glow);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

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

/* ==========================================================================
   Hero Section (Pure-White SaaS + 3D Frosted-Glass Double-Helix "N" Prism)
   ========================================================================== */
.hero {
  position: relative;
  padding: 68px 0 72px;
  overflow: hidden;
  background: var(--bg);
}

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

.ice-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--badge-ice-bg);
  border: 1px solid var(--badge-ice-border);
  color: var(--badge-ice-text);
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 18px;
}

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

.hero-title {
  margin: 0 0 14px;
  font-size: clamp(2.15rem, 4.2vw, 3.3rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text);
}

.hero-title .brand-highlight {
  background: linear-gradient(115deg, var(--indigo-deep) 0%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

/* 4-5 Feature Checkmarks with #d91b7a Circular Icons */
.hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.check-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--magenta);
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.check-circle svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 2-Row Grid of 5 White-Outlined OS Download Pills */
.os-download-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 480px;
  margin-bottom: 20px;
}

.os-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-elevated);
  border: 1.5px solid var(--border-strong);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.22s ease, color 0.2s ease;
}

.os-pill svg {
  width: 16px;
  height: 16px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.os-pill:hover {
  border-color: var(--magenta);
  color: var(--magenta);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--magenta-soft);
}

.os-pill:hover svg {
  color: var(--magenta);
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 500;
}

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

.stars-inline svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

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

/* Right Hero: 3D Frosted-Glass Double-Helix "N" Prism + Live IEPL Card */
.hero-visual-wrap {
  position: relative;
  perspective: 1100px;
}

.prism-ambient {
  position: absolute;
  inset: -24px;
  background:
    radial-gradient(circle at 22% 22%, rgba(59, 130, 246, 0.18), transparent 52%),
    radial-gradient(circle at 80% 78%, rgba(217, 27, 122, 0.2), transparent 54%);
  filter: blur(36px);
  pointer-events: none;
  z-index: 0;
}

.prism-stage {
  position: relative;
  z-index: 1;
  border-radius: 26px;
  padding: 28px;
  background: var(--prism-bg);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}

/* Cursor-reactive raspberry-magenta & indigo bevel sheen */
.prism-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(
    360px circle at var(--mx, 50%) var(--my, 35%),
    rgba(217, 27, 122, 0.2),
    rgba(79, 70, 229, 0.12) 42%,
    transparent 74%
  );
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.prism-helix-box {
  position: relative;
  height: 215px;
  border-radius: 18px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.72), rgba(253, 242, 248, 0.78));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
}

[data-theme="dark"] .prism-helix-box {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.78), rgba(76, 16, 54, 0.35));
}

.prism-helix-svg {
  width: 240px;
  height: 185px;
  filter: drop-shadow(0 14px 24px rgba(217, 27, 122, 0.24));
  transform: translateZ(26px);
}

.iepl-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: var(--shadow-xs);
}

.iepl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.86rem;
  font-weight: 700;
}

.iepl-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--success);
  background: var(--success-soft);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.iepl-rows {
  display: grid;
  gap: 8px;
}

.iepl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  font-size: 0.85rem;
}

.iepl-node-left {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}

.iepl-code {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  background: var(--badge-ice-bg);
  color: var(--badge-ice-text);
}

.iepl-ping {
  font-weight: 700;
  color: var(--success);
  font-variant-numeric: tabular-nums;
}

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

.section-subtle {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

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

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  line-height: 1.24;
  letter-spacing: -0.025em;
  font-weight: 800;
}

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

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

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

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.24s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--magenta-border);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin: 0 0 9px;
  font-size: 1.1rem;
  font-weight: 700;
}

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

/* #d91b7a Square Line-Art Icons for Core Advantages */
.feature-visual {
  height: 112px;
  border-radius: 12px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--badge-ice-bg), var(--magenta-soft));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.square-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--bg-elevated);
  border: 1.5px solid var(--magenta-border);
  color: var(--magenta);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px var(--magenta-soft);
}

.square-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Streaming & AI Media Cards */
.media-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 20px;
}

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

.media-badge {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-netflix { background: linear-gradient(135deg, #e50914, #b20710); }
.brand-disney { background: linear-gradient(135deg, #113ccf, #0ea5e9); }
.brand-youtube { background: linear-gradient(135deg, #ff0000, #cc0000); }
.brand-hbo { background: linear-gradient(135deg, #5b21b6, #9333ea); }
.brand-spotify { background: linear-gradient(135deg, #1db954, #15803d); }
.brand-iyf { background: linear-gradient(135deg, #d91b7a, #f97316); }

.brand-openai { background: linear-gradient(135deg, #10a37f, #059669); }
.brand-claude { background: linear-gradient(135deg, #d97757, #b45309); }
.brand-gemini { background: linear-gradient(135deg, #2563eb, #7c3aed); }
.brand-grok { background: linear-gradient(135deg, #0f172a, #d91b7a); }

.pill-tag {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--badge-ice-bg);
  color: var(--badge-ice-text);
}

.pill-tag.magenta {
  background: var(--magenta-soft);
  color: var(--magenta);
}

/* ==========================================================================
   Real-World Nexitally Pricing Plans & Comparison Table
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
  border: 2px solid var(--magenta);
  box-shadow: var(--shadow-magenta);
  transform: translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -13px;
  right: 22px;
  background: var(--magenta);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px var(--magenta-glow);
}

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

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

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

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

.price-num {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

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

.plan-subnote {
  font-size: 0.8rem;
  color: var(--magenta);
  font-weight: 600;
  margin-bottom: 20px;
}

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

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

.plan-features .check-mini {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--magenta-soft);
  color: var(--magenta);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.plan-features .check-mini svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}

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

.compare-table-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-xs);
}

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

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

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

.compare-table thead th {
  background: var(--bg-subtle);
  font-weight: 700;
}

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

.compare-table .col-highlight {
  color: var(--magenta);
  font-weight: 700;
}

.pricing-footnote {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   User Reviews
   ========================================================================== */
.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.review-text {
  margin: 12px 0 0;
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.7;
}

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

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo-deep), var(--magenta));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.91rem;
}

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

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

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

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

.faq-icon {
  width: 19px;
  height: 19px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.28s ease, color 0.22s ease;
}

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

.faq-answer {
  padding: 14px 22px 20px;
  color: var(--text-secondary);
  font-size: 0.93rem;
  border-top: 1px solid var(--border);
}

/* Bottom CTA Banner */
.cta-banner {
  background: linear-gradient(125deg, #1e1b4b 0%, #4f46e5 48%, #d91b7a 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 50px 32px;
  text-align: center;
  box-shadow: var(--shadow-magenta);
}

.cta-banner h2 {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
}

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

.btn-white {
  background: #ffffff;
  color: var(--magenta);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

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

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

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

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

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

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

/* ==========================================================================
   Subpages & Insights Page
   ========================================================================== */
.subpage-hero {
  padding: 52px 0 36px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.subpage-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
}

.subpage-hero p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 700px;
}

.subpage-content {
  padding: 44px 0 72px;
}

.subpage-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-xs);
  margin-bottom: 22px;
}

.subpage-card h2 {
  margin: 0 0 12px;
  font-size: 1.26rem;
  font-weight: 800;
}

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

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

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

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

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

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

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

.sitemap-list a:hover {
  border-color: var(--magenta);
  color: var(--magenta);
}

/* Mobile Quick Nav Strip */
.mobile-nav-strip {
  display: none;
}

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

  .mobile-nav-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 16px;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border);
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav-strip a {
    flex-shrink: 0;
    padding: 6px 13px;
    border-radius: var(--radius-pill);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-secondary);
  }

  .mobile-nav-strip a.active {
    border-color: var(--magenta);
    color: var(--magenta);
    background: var(--magenta-soft);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .grid-3,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .pricing-card.featured {
    transform: none;
  }

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

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

  .site-header {
    height: 62px;
  }

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

  .hero-title {
    font-size: 1.98rem;
  }

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

  .os-pill {
    width: 100%;
    min-height: 46px;
  }

  .section {
    padding: 52px 0;
  }

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

  .prism-stage {
    padding: 20px;
  }

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

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

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

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

  .subpage-card {
    padding: 24px 18px;
  }
}

/* ==========================================================================
   SEO Articles Hub & Long-Form Article Layout
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.article-hub-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.24s ease;
}

.article-hub-card:hover {
  transform: translateY(-3px);
  border-color: var(--magenta-border);
  box-shadow: var(--shadow-md);
}

.article-hub-card.featured-article {
  border: 1.5px solid var(--magenta-border);
  background: linear-gradient(180deg, var(--magenta-soft) 0%, var(--bg-elevated) 28%);
}

.article-hub-card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: 800;
}

.article-hub-card h2 a:hover {
  color: var(--magenta);
}

.article-hub-card p {
  margin: 0 0 18px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.article-hub-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
}

.read-more-link {
  color: var(--magenta);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

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

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--magenta);
}

/* Long-Form Article Container */
.article-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.toc-box {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-xs);
}

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

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

.toc-list a {
  display: block;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-secondary);
  padding: 5px 8px;
  border-radius: 8px;
  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(--magenta);
  background: var(--magenta-soft);
  border-left-color: var(--magenta);
}

.article-body {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 40px;
  box-shadow: var(--shadow-xs);
}

.article-body h2 {
  margin: 34px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 1.42rem;
  line-height: 1.35;
  font-weight: 800;
  scroll-margin-top: calc(var(--header-height) + 22px);
}

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

.article-body h3 {
  margin: 22px 0 10px;
  font-size: 1.12rem;
  font-weight: 700;
}

.article-body p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.85;
}

.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(--magenta);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.callout-box {
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--badge-ice-bg);
  border: 1px solid var(--badge-ice-border);
  border-left: 4px solid var(--magenta);
}

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

.callout-box p:last-child {
  margin-bottom: 0;
}

.article-cta-box {
  margin: 28px 0;
  padding: 24px 26px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--badge-ice-bg), var(--magenta-soft));
  border: 1.5px solid var(--magenta-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-cta-box h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.article-cta-box p {
  margin: 0;
  font-size: 0.9rem;
}

.article-faq {
  margin-top: 34px;
}

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

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

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

.related-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.related-card h4 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text);
}

.related-card span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--magenta);
}

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

  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc-box {
    position: static;
  }

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

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