/* ==========================================================================
   ImmTelecom (https://immtel.mom)
   Apple-Style Bento-Grid & Slate-Petrol Minimalist UI
   Zero External Dependencies · Instant Load · Adaptive Day/Night Theme
   ========================================================================== */

:root {
  /* Cupertino Daylight-Cloud Palette (Default Day Mode) */
  --bg-page: #ffffff;
  --bg-bento: #f5f5f7;
  --bg-bento-inner: #ffffff;
  --bg-hero: #283a46;
  --bg-hero-grad: linear-gradient(145deg, #2b3f4c 0%, #283a46 54%, #1f2e38 100%);
  --bg-header: rgba(255, 255, 255, 0.82);
  --bg-header-solid: rgba(255, 255, 255, 0.96);
  --bg-toggle: rgba(245, 245, 247, 0.72);
  --bg-toggle-hover: rgba(235, 235, 240, 0.92);

  --text-primary: #1d1d1f;
  --text-secondary: #515154;
  --text-muted: #6e6e73;
  --text-on-hero: #ffffff;
  --text-on-hero-sub: rgba(255, 255, 255, 0.78);

  --accent: #3b99fc;
  --accent-hover: #2487f2;
  --accent-soft: rgba(59, 153, 252, 0.1);
  --accent-border: rgba(59, 153, 252, 0.48);
  --accent-ring: rgba(59, 153, 252, 0.2);

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

  --border-subtle: rgba(29, 29, 31, 0.07);
  --border-strong: rgba(29, 29, 31, 0.13);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-bento: 0 2px 10px rgba(0, 0, 0, 0.03);
  --shadow-bento-hover: 0 10px 28px rgba(40, 58, 70, 0.08);
  --shadow-hero: 0 22px 48px rgba(40, 58, 70, 0.18);
  --shadow-cta: 0 4px 14px rgba(59, 153, 252, 0.28);

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

  --container: 1140px;
  --header-h: 66px;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  --bg-page: #0b0f14;
  --bg-bento: #151b23;
  --bg-bento-inner: #1b232e;
  --bg-hero: #1d2b36;
  --bg-hero-grad: linear-gradient(145deg, #243643 0%, #1d2b36 56%, #142029 100%);
  --bg-header: rgba(11, 15, 20, 0.8);
  --bg-header-solid: rgba(15, 20, 27, 0.96);
  --bg-toggle: rgba(255, 255, 255, 0.07);
  --bg-toggle-hover: rgba(255, 255, 255, 0.14);

  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-muted: #86868b;
  --text-on-hero: #ffffff;
  --text-on-hero-sub: rgba(245, 245, 247, 0.78);

  --accent: #3b99fc;
  --accent-hover: #5aa9ff;
  --accent-soft: rgba(59, 153, 252, 0.15);
  --accent-border: rgba(59, 153, 252, 0.55);
  --accent-ring: rgba(59, 153, 252, 0.25);

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

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-bento: 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-bento-hover: 0 14px 34px rgba(0, 0, 0, 0.45);
  --shadow-hero: 0 24px 56px rgba(0, 0, 0, 0.5);
  --shadow-cta: 0 6px 20px rgba(59, 153, 252, 0.32);
}

/* Smooth theme cross-fade enabled after initial paint */
.theme-transition,
.theme-transition *,
.theme-transition *::before,
.theme-transition *::after {
  transition:
    background-color 0.38s var(--spring),
    color 0.3s var(--spring),
    border-color 0.3s var(--spring),
    box-shadow 0.38s var(--spring);
}

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

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

html[data-theme="dark"] {
  color-scheme: dark;
}

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

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

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

h1, h2, h3, h4, p, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

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

/* Anchor jump gentle highlight pulse */
@keyframes anchorPulse {
  0% {
    opacity: 0.72;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.anchor-arrived {
  animation: anchorPulse 0.55s var(--spring) both;
}

/* ==========================================================================
   Frosted Top Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg-header);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.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: 600;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #000000;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-theme="dark"] .brand-mark {
  border-color: rgba(255, 255, 255, 0.16);
}

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

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

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--text-primary);
  background: var(--bg-bento);
  outline: none;
}

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

.nav-links a.nav-insights:hover {
  background: var(--accent-soft);
}

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

/* Refined Translucent Day/Night Toggle */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-toggle);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-primary);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), var(--shadow-xs);
  transition: background-color 0.25s var(--spring), border-color 0.25s var(--spring), transform 0.18s var(--spring);
}

.theme-toggle:hover {
  background: var(--bg-toggle-hover);
  border-color: var(--accent-border);
}

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

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

.theme-icon-wrap {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-block;
}

.theme-icon {
  position: absolute;
  inset: 0;
  width: 16px;
  height: 16px;
  transition: transform 0.42s var(--spring), opacity 0.3s var(--spring);
}

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

.icon-moon {
  opacity: 0;
  transform: rotate(-70deg) scale(0.5);
  color: #5aa9ff;
}

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

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

.theme-label {
  color: var(--text-secondary);
}

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

/* ==========================================================================
   Buttons (Azure #3b99fc with Quiet Tactile Damping)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.22s var(--spring),
    border-color 0.22s var(--spring),
    box-shadow 0.22s var(--spring),
    transform 0.16s var(--spring);
}

.btn:active {
  transform: scale(0.975);
}

.btn-sm {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.84rem;
}

.btn-lg {
  min-height: 48px;
  padding: 0 26px;
  font-size: 0.96rem;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 18px rgba(59, 153, 252, 0.36);
}

.btn-hero-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.36);
}

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

.btn-secondary:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Hero Section — Wide 24px-Rounded Deep Slate-Petrol (#283a46) Card
   ========================================================================== */
.hero-wrap {
  padding: 28px 0 36px;
  scroll-margin-top: var(--header-h);
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--bg-hero-grad);
  color: var(--text-on-hero);
  padding: 58px 52px 48px;
  box-shadow: var(--shadow-hero);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 153, 252, 0.22) 0%, transparent 68%);
  pointer-events: none;
}

.hero-card::after {
  content: "";
  position: absolute;
  bottom: -140px;
  left: -60px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 40px;
  align-items: center;
}

.hero-sla-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.sla-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.79rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.sla-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
}

.hero-card h1 {
  font-size: clamp(1.95rem, 3.8vw, 2.95rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  color: var(--text-on-hero-sub);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-metric strong {
  display: block;
  font-size: 1.16rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-metric span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Hero Side Status Panel */
.hero-panel {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  padding: 20px;
  backdrop-filter: blur(12px);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  padding-bottom: 13px;
  margin-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #6ee7b7;
}

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

.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.node-code {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 22px;
  border-radius: 6px;
  background: rgba(59, 153, 252, 0.22);
  color: #93c5fd;
  font-size: 0.72rem;
  font-weight: 700;
}

.node-name {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.node-sub {
  display: block;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.62);
}

.node-ping {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6ee7b7;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Section Layout & Bento Trackpad Buoyancy
   ========================================================================== */
.section {
  padding: 44px 0;
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 660px;
  margin: 0 auto 30px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 6px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.24;
  color: var(--text-primary);
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 540px;
}

/* Core Bento Tile with Trackpad Buoyancy (2px lift + #3b99fc border highlight) */
.bento-tile {
  background: var(--bg-bento);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-bento);
  transition:
    transform 0.3s var(--spring),
    border-color 0.28s var(--spring),
    box-shadow 0.3s var(--spring);
}

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

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

.feature-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.feature-art {
  height: 156px;
  padding: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(59, 153, 252, 0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--border-subtle);
}

.feature-art svg {
  width: 100%;
  height: 100%;
  max-width: 220px;
}

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

.feature-body h3 {
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.feature-body p {
  color: var(--text-secondary);
  font-size: 0.91rem;
  line-height: 1.68;
  margin-bottom: 16px;
  flex: 1;
}

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

.tag {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-bento-inner);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

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

.showcase-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

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

.showcase-card h3 {
  font-size: 1.24rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}

.showcase-card .lead {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.showcase-badge {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

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

.service-tile {
  padding: 13px 12px;
  border-radius: 14px;
  background: var(--bg-bento-inner);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: transform 0.24s var(--spring), border-color 0.24s var(--spring);
}

.service-tile:hover {
  transform: translateY(-2px);
  border-color: var(--accent-border);
}

.mono-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.bg-netflix { background: #dc2626; }
.bg-disney  { background: #1d4ed8; }
.bg-youtube { background: #e11d48; }
.bg-hbo     { background: #5b21b6; }
.bg-spotify { background: #16a34a; }
.bg-tiktok  { background: #1d1d1f; }

.bg-openai  { background: #0f766e; }
.bg-claude  { background: #c2410c; }
.bg-gemini  { background: #2563eb; }
.bg-mj      { background: #283a46; }
.bg-copilot { background: #0369a1; }
.bg-cursor  { background: #334155; }

.service-tile strong {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-primary);
}

.service-tile span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

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

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

.plan-card.popular {
  border: 1.5px solid var(--accent);
  box-shadow: 0 10px 30px rgba(59, 153, 252, 0.1);
}

.popular-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
}

.plan-name {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 4px;
}

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

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

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

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

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

.plan-alt-note {
  display: block;
  font-size: 0.78rem;
  color: var(--accent);
  margin-top: -10px;
  margin-bottom: 16px;
  font-weight: 500;
}

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

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

.plan-features li strong {
  color: var(--text-primary);
}

/* Comparison Table */
.table-wrap {
  background: var(--bg-bento);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

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

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

.compare-table thead th {
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(29, 29, 31, 0.025);
}

[data-theme="dark"] .compare-table thead th {
  background: rgba(255, 255, 255, 0.03);
}

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

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

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

.col-highlight {
  background: var(--accent-soft);
  color: var(--text-primary) !important;
  font-weight: 600;
}

.pricing-footnote {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

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

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

.stars {
  display: inline-flex;
  gap: 2px;
  color: #f59e0b;
}

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

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

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-bento-inner);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

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

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

/* ==========================================================================
   FAQ (Native <details> Accordion)
   ========================================================================== */
.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-bento);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s var(--spring);
}

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

.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: 14px;
}

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

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

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

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

/* ==========================================================================
   Bottom Slate-Petrol Conversion Banner
   ========================================================================== */
.cta-banner {
  border-radius: var(--radius-lg);
  background: var(--bg-hero-grad);
  color: #ffffff;
  padding: 46px 36px;
  text-align: center;
  box-shadow: var(--shadow-hero);
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.cta-banner p {
  color: var(--text-on-hero-sub);
  max-width: 520px;
  margin: 0 auto 24px;
  font-size: 0.95rem;
}

/* ==========================================================================
   Footer (Strictly 4 Titles: 网站地图, 关于我们, 服务条款, 隐私政策)
   ========================================================================== */
.site-footer {
  margin-top: 32px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-bento);
  padding: 34px 0;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

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

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.footer-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

/* ==========================================================================
   Subpages & Insights Page
   ========================================================================== */
.subpage-hero-wrap {
  padding: 24px 0 20px;
}

.subpage-hero-card {
  border-radius: var(--radius-lg);
  background: var(--bg-hero-grad);
  color: #ffffff;
  padding: 44px 44px 40px;
  box-shadow: var(--shadow-hero);
}

.subpage-hero-card .section-eyebrow {
  color: #93c5fd;
}

.subpage-hero-card h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.subpage-hero-card p {
  color: var(--text-on-hero-sub);
  font-size: 0.97rem;
  max-width: 680px;
}

.doc-section {
  padding: 28px 0 64px;
}

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

.doc-card {
  padding: 28px;
}

.doc-card.full {
  grid-column: 1 / -1;
}

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

.doc-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 11px;
}

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

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

.doc-meta-pill {
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.doc-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 8px;
}

.doc-list li {
  position: relative;
  padding-left: 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.68;
}

.doc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.sitemap-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.sitemap-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--bg-bento-inner);
  border: 1px solid var(--border-subtle);
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--spring);
}

.sitemap-links a:hover {
  border-color: var(--accent-border);
  color: var(--accent);
  transform: translateY(-2px);
}

.notice-box {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  color: var(--text-primary);
  font-size: 0.92rem;
  line-height: 1.72;
  margin-bottom: 20px;
}

/* ==========================================================================
   SEO Editorial Hub & Long-Form Article Layout
   ========================================================================== */
.article-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.article-hub-card.featured {
  grid-column: 1 / -1;
  background: var(--bg-hero-grad);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
}

.article-hub-card.featured h2,
.article-hub-card.featured h3 {
  color: #ffffff;
}

.article-hub-card.featured p {
  color: var(--text-on-hero-sub);
}

.article-hub-card.featured .doc-meta {
  color: rgba(255, 255, 255, 0.72);
}

.article-hub-card.featured .doc-meta-pill {
  background: rgba(59, 153, 252, 0.25);
  color: #bfdbfe;
}

.article-hub-card h2,
.article-hub-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.015em;
}

.article-hub-card.featured h2 {
  font-size: clamp(1.32rem, 2.2vw, 1.65rem);
}

.article-hub-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.68;
  flex: 1;
}

.article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 6px;
}

.article-hub-card.featured .article-read-more {
  color: #93c5fd;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

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

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 18px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.76);
}

/* Article 2-Column Reading Shell (Main Prose + Sticky TOC) */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 28px;
  align-items: start;
}

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

.article-toc h2 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.toc-list a:hover {
  background: var(--bg-bento-inner);
  color: var(--accent);
}

.toc-cta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* Long-Form Prose Container */
.article-prose {
  padding: 36px 38px;
}

.article-prose h2 {
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 34px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

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

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

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

.article-prose a.inline-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-prose a.inline-link:hover {
  color: var(--accent-hover);
}

.article-prose ul,
.article-prose ol {
  margin: 12px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.article-prose ul li,
.article-prose ol li {
  position: relative;
  padding-left: 18px;
  font-size: 0.94rem;
  line-height: 1.76;
  color: var(--text-secondary);
}

.article-prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.article-prose ol {
  counter-reset: step-counter;
}

.article-prose ol li {
  counter-increment: step-counter;
  padding-left: 24px;
}

.article-prose ol li::before {
  content: counter(step-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--accent);
}

.article-callout {
  margin: 22px 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--bg-bento-inner);
  border: 1px solid var(--accent-border);
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--text-primary);
}

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

.article-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
  text-align: left;
  font-size: 0.88rem;
}

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

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

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

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

.article-faq {
  margin-top: 32px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.article-faq .faq-item {
  background: var(--bg-bento-inner);
}

.related-section {
  margin-top: 32px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.related-section h2 {
  font-size: 1.32rem;
  font-weight: 700;
  margin-bottom: 16px;
}

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

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

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

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

/* ==========================================================================
   Responsive Breakpoints (@media)
   ========================================================================== */
@media (max-width: 1060px) {
  .nav-links a {
    padding: 6px 8px;
    font-size: 0.82rem;
  }

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

  .bento-3,
  .pricing-grid,
  .reviews-grid,
  .article-hub-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .article-toc {
    position: static;
    order: -1;
  }

  .bento-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 62px;
  }

  .container {
    padding: 0 16px;
  }

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

  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 16px;
    background: var(--bg-header-solid);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  }

  .site-header.nav-open .nav-links {
    display: flex;
  }

  .nav-links a {
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
  }

  .header-cta {
    display: none;
  }

  .theme-label {
    display: none;
  }

  .theme-toggle {
    width: 36px;
    padding: 0;
  }

  .hero-wrap {
    padding: 16px 0 24px;
  }

  .hero-card,
  .subpage-hero-card {
    padding: 32px 22px 28px;
    border-radius: 20px;
  }

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

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

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

  .section {
    padding: 32px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .bento-3,
  .pricing-grid,
  .reviews-grid,
  .doc-grid,
  .sitemap-links,
  .article-hub-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .article-prose {
    padding: 24px 18px;
  }

  .showcase-card,
  .plan-card,
  .doc-card {
    padding: 22px 18px;
  }

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

  .check-list {
    grid-template-columns: 1fr;
  }

  .btn {
    min-height: 48px;
  }

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

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

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

@media (max-width: 420px) {
  .service-tiles {
    grid-template-columns: 1fr;
  }
}

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