/* ==========================================================================
   奶昔VPN (NaiXi VPN) · https://nexitallyvip.lol
   Apple-Style Bento-Grid & Raspberry-Magenta Minimalist Design System
   Pure Native CSS · Zero External Dependencies · Auto Day/Night Mode
   ========================================================================== */

:root {
  /* Optical Daylight Gallery Palette */
  --bg-page: #ffffff;
  --bg-bento: #f5f5f7;
  --bg-bento-alt: #fbfbfd;
  --bg-surface: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.76);

  --text-primary: #1d1d1f;
  --text-secondary: #515154;
  --text-muted: #86868b;

  --magenta: #d91b7a;
  --magenta-hover: #bf166b;
  --magenta-soft: rgba(217, 27, 122, 0.08);
  --magenta-sheen: rgba(217, 27, 122, 0.22);
  --n-gradient: linear-gradient(135deg, #0071e3 0%, #6d28d9 52%, #d91b7a 100%);

  --border-subtle: rgba(29, 29, 31, 0.08);
  --border-card: rgba(29, 29, 31, 0.06);
  --border-strong: rgba(29, 29, 31, 0.16);

  --toggle-bg: rgba(29, 29, 31, 0.045);
  --toggle-bg-hover: rgba(29, 29, 31, 0.09);
  --toggle-border: rgba(29, 29, 31, 0.11);

  --shadow-bento: 0 2px 12px rgba(0, 0, 0, 0.03);
  --shadow-buoyancy: 0 16px 38px -14px rgba(217, 27, 122, 0.2), 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow-cta: 0 10px 26px -8px rgba(217, 27, 122, 0.45);

  --radius-bento: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 9999px;

  --container-max: 1180px;
  --header-height: 66px;

  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-theme: background-color 0.38s var(--ease-spring),
                      color 0.32s var(--ease-spring),
                      border-color 0.32s var(--ease-spring),
                      box-shadow 0.32s var(--ease-spring);
}

[data-theme="dark"] {
  --bg-page: #0a0a0c;
  --bg-bento: #151519;
  --bg-bento-alt: #1b1b21;
  --bg-surface: #121216;
  --bg-glass: rgba(14, 14, 18, 0.78);

  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-muted: #86868b;

  --magenta: #f02d8c;
  --magenta-hover: #ff47a1;
  --magenta-soft: rgba(240, 45, 140, 0.14);
  --magenta-sheen: rgba(240, 45, 140, 0.36);

  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-card: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.18);

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

  --shadow-bento: 0 2px 14px rgba(0, 0, 0, 0.35);
  --shadow-buoyancy: 0 18px 40px -12px rgba(240, 45, 140, 0.28), 0 6px 18px rgba(0, 0, 0, 0.45);
  --shadow-cta: 0 12px 28px -8px rgba(240, 45, 140, 0.5);
}

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

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

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

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

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

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

/* Smooth Dynamic Anchor Transition Effect */
@keyframes anchorReveal {
  0% {
    opacity: 0.72;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-active {
  animation: anchorReveal 0.55s var(--ease-spring);
}

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

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

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

.brand-n {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--n-gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
  box-shadow: 0 4px 14px rgba(217, 27, 122, 0.28);
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  box-shadow: 0 6px 18px rgba(217, 27, 122, 0.28);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease-spring);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
  box-shadow: 0 8px 22px rgba(217, 27, 122, 0.36);
}

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

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--toggle-bg);
}

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

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

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

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

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

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

.theme-icon {
  position: absolute;
  width: 17px;
  height: 17px;
  transition: opacity 0.35s var(--ease-spring), transform 0.45s var(--ease-spring);
}

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

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

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

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

/* ==========================================================================
   Buttons & Pills
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.94rem;
  border-radius: var(--radius-pill);
  padding: 11px 22px;
  min-height: 44px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.24s var(--ease-spring), box-shadow 0.28s var(--ease-spring), background-color 0.24s var(--ease-spring), border-color 0.24s var(--ease-spring), color 0.24s var(--ease-spring);
  white-space: nowrap;
}

.btn-sm {
  padding: 7px 16px;
  min-height: 38px;
  font-size: 0.85rem;
}

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

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

.btn-primary:hover {
  background: var(--magenta-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(217, 27, 122, 0.58);
}

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

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

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Bento Card Base (28px Radius + 2px Trackpad Buoyancy + Magenta Sheen)
   ========================================================================== */
.bento-card {
  background: var(--bg-bento);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-bento);
  padding: 28px;
  box-shadow: var(--shadow-bento);
  transition: transform 0.34s var(--ease-spring),
              border-color 0.3s var(--ease-spring),
              box-shadow 0.34s var(--ease-spring),
              background-color 0.38s var(--ease-spring);
}

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

.bento-card.vip-border {
  background: var(--bg-surface);
  border: 2px solid var(--magenta);
  box-shadow: var(--shadow-buoyancy);
}

/* ==========================================================================
   Hero Section (Apple Minimalist Negative Space + Bento Metrics)
   ========================================================================== */
.hero {
  padding: 76px 0 64px;
}

.hero-top {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 48px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  background: var(--magenta-soft);
  color: var(--magenta);
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--magenta);
}

.hero h1 {
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-accent {
  background: var(--n-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.72;
}

/* 5 Magenta Checkmark Highlights */
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  list-style: none;
  margin-bottom: 30px;
}

.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

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

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

/* OS Download Pills */
.os-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.os-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-bento);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: border-color 0.22s var(--ease-spring), color 0.22s var(--ease-spring), transform 0.22s var(--ease-spring);
}

.os-pill:hover {
  border-color: var(--magenta);
  color: var(--magenta);
  transform: translateY(-1px);
}

/* Asymmetric Hero Bento Grid */
.hero-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.bento-span-4 { grid-column: span 4; }
.bento-span-5 { grid-column: span 5; }
.bento-span-6 { grid-column: span 6; }
.bento-span-7 { grid-column: span 7; }
.bento-span-8 { grid-column: span 8; }

.metric-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.metric-big {
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.metric-big.magenta {
  color: var(--magenta);
}

.metric-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.vip-module {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.vip-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--magenta);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
}

/* ==========================================================================
   Section Framing
   ========================================================================== */
.section {
  padding: 76px 0;
}

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

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

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 12px;
}

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

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

.adv-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.adv-visual {
  height: 164px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--magenta-soft) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.adv-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.adv-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.adv-body p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  flex: 1;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

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

.showcase-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.mono-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: -0.02em;
  color: #ffffff;
  flex-shrink: 0;
}

.b-netflix { background: linear-gradient(135deg, #e50914, #991b1b); }
.b-disney  { background: linear-gradient(135deg, #0071e3, #1e3a8a); }
.b-youtube { background: linear-gradient(135deg, #ff0033, #be123c); }
.b-hbo     { background: linear-gradient(135deg, #6d28d9, #3b0764); }
.b-hulu    { background: linear-gradient(135deg, #10b981, #047857); }
.b-bbc     { background: linear-gradient(135deg, #d91b7a, #9d174d); }
.b-abema   { background: linear-gradient(135deg, #1d1d1f, #3f3f46); }
.b-spotify { background: linear-gradient(135deg, #1db954, #15803d); }

.b-gpt     { background: linear-gradient(135deg, #10a37f, #0f766e); }
.b-claude  { background: linear-gradient(135deg, #d97757, #b45309); }
.b-gemini  { background: var(--n-gradient); }
.b-cursor  { background: linear-gradient(135deg, #0071e3, #1d4ed8); }
.b-mj      { background: linear-gradient(135deg, #27272a, #52525b); }
.b-pplx    { background: linear-gradient(135deg, #0d9488, #115e59); }

.pill-status {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--magenta-soft);
  color: var(--magenta);
  white-space: nowrap;
}

.showcase-card h3 {
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.showcase-card p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.58;
}

.ai-cta-strip {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Pricing Segmented Control (Gliding Track) & Real Nexitally Pricing
   ========================================================================== */
.billing-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
}

.segmented-track {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  border-radius: var(--radius-pill);
  background: var(--bg-bento);
  border: 1px solid var(--border-subtle);
  width: min(100%, 420px);
}

.segmented-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  height: calc(100% - 8px);
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--magenta-sheen);
  box-shadow: 0 4px 12px rgba(217, 27, 122, 0.14);
  transition: transform 0.36s var(--ease-spring);
  pointer-events: none;
}

.segmented-btn {
  position: relative;
  z-index: 1;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color 0.24s var(--ease-spring);
}

.segmented-btn.active {
  color: var(--magenta);
}

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

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

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

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

.plan-title {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.plan-sub {
  font-size: 0.84rem;
  color: var(--text-secondary);
  min-height: 40px;
  margin-bottom: 18px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 3px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
}

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

.amount {
  font-size: 2.05rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

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

.plan-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex: 1;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.plan-list svg {
  width: 17px;
  height: 17px;
  color: var(--magenta);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Detailed Comparison Table */
.table-shell {
  background: var(--bg-bento);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-bento);
  overflow-x: auto;
  box-shadow: var(--shadow-bento);
}

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

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

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

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

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

.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
  text-align: center;
  color: var(--text-secondary);
}

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

/* ==========================================================================
   User Reviews & FAQ
   ========================================================================== */
.review-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

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

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

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

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

.faq-item {
  background: var(--bg-bento);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: border-color 0.25s var(--ease-spring), background-color 0.3s var(--ease-spring);
}

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

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  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-chevron {
  width: 19px;
  height: 19px;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.28s var(--ease-spring), color 0.25s var(--ease-spring);
}

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

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

/* ==========================================================================
   Bottom CTA Banner
   ========================================================================== */
.cta-section {
  padding: 56px 0 80px;
}

.cta-bento {
  background: var(--n-gradient);
  color: #ffffff;
  border-radius: var(--radius-bento);
  padding: 54px 32px;
  text-align: center;
  box-shadow: 0 24px 50px -16px rgba(217, 27, 122, 0.38);
}

.cta-bento h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.cta-bento p {
  font-size: 1.02rem;
  opacity: 0.93;
  max-width: 580px;
  margin: 0 auto 28px;
}

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

.btn-white:hover {
  background: #f5f5f7;
  color: var(--magenta);
  transform: translateY(-2px);
}

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

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

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

.footer-nav a {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 6px 4px;
  transition: color 0.2s var(--ease-spring);
}

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

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

/* ==========================================================================
   Subpages & News Feed Page
   ========================================================================== */
.subpage-hero {
  padding: 58px 0 38px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-bento);
}

.subpage-hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

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

.subpage-content {
  padding: 48px 0 76px;
}

.doc-card {
  margin-bottom: 20px;
}

.doc-card h2 {
  font-size: 1.26rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.doc-card h3 {
  font-size: 1.04rem;
  font-weight: 700;
  margin: 18px 0 8px;
}

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

.doc-card ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.notice-box {
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  background: var(--magenta-soft);
  border-left: 4px solid var(--magenta);
  margin-top: 16px;
}

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

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

.sitemap-links a {
  color: var(--magenta);
  font-weight: 600;
}

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

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

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

.news-card h2 {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.35;
}

.news-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.72;
  margin-bottom: 16px;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--magenta);
  margin-top: auto;
}

.news-card-link:hover {
  text-decoration: underline;
}

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

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

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

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

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

.article-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.toc-box {
  background: var(--bg-bento);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-bento);
  padding: 24px 28px;
  margin-bottom: 28px;
}

.toc-title {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
}

.toc-list a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s var(--ease-spring);
}

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

.article-body {
  background: var(--bg-bento);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-bento);
  padding: 36px 38px;
  margin-bottom: 28px;
}

.article-body h2 {
  font-size: 1.48rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 34px 0 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

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

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

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

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

.article-body ul,
.article-body ol {
  padding-left: 22px;
  margin: 10px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

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

.article-body strong {
  color: var(--text-primary);
}

.article-table-wrap {
  margin: 20px 0 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

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

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

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

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

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

.article-faq-section {
  margin-bottom: 32px;
}

.article-faq-section .section-heading-sm {
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

.related-section .section-heading-sm {
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

.related-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

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

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

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

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

@media (max-width: 820px) {
  .hero-bento {
    grid-template-columns: 1fr;
  }

  .bento-span-4,
  .bento-span-5,
  .bento-span-6,
  .bento-span-7,
  .bento-span-8 {
    grid-column: span 1;
  }

  .grid-3,
  .sitemap-grid,
  .news-grid,
  .related-grid,
  .toc-list {
    grid-template-columns: 1fr;
  }

  .article-body {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .toc-box {
    padding: 20px;
    border-radius: 22px;
  }
}

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

  .site-header {
    height: 62px;
  }

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

  .section {
    padding: 52px 0;
  }

  .bento-card {
    padding: 22px 20px;
    border-radius: 22px;
  }

  .adv-card {
    padding: 0;
  }

  /* Strict single-column mobile layout */
  .grid-3,
  .grid-4,
  .pricing-grid,
  .sitemap-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  /* Finger-friendly buttons */
  .btn,
  .btn-lg,
  .hero-cta-row .btn {
    width: 100%;
    min-height: 48px;
    font-size: 0.98rem;
  }

  .header-actions .btn-sm {
    width: auto;
    min-height: 38px;
    padding: 7px 14px;
    font-size: 0.83rem;
  }

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

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

  .ai-cta-strip {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .faq-item summary {
    padding: 18px;
  }

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

  .cta-bento {
    padding: 38px 20px;
    border-radius: 22px;
  }

  .footer-nav {
    gap: 10px 22px;
  }
}
