/* ==========================================================================
   仙路湾 (XianLu-Current) · 仙路潮汐·杂志分栏台
   方案三视觉设计系统 & 核心主样式表
   Editorial Aesthetic · Mist White, Ink Charcoal & Warm Coral
   ========================================================================== */

:root {
  /* Color Palette - 方案三：明亮柔和调色体系 */
  --bg-main: #f8f7f2;               /* 柔雾米白主背景 */
  --bg-surface: #ffffff;            /* 通透纸白 */
  --bg-sand: #f2eee5;               /* 浅砂米表面 */
  --bg-subtle: #fbf9f4;             /* 极浅米白次级表面 */
  --bg-card: rgba(255, 255, 255, 0.94);
  --bg-glass: rgba(248, 247, 242, 0.88);

  /* Typography Colors - 满足 WCAG AA 高对比度 */
  --text-main: #161922;             /* 深松烟墨主标题 */
  --text-body: #2e3440;             /* 板岩墨灰正文 */
  --text-muted: #5c6370;            /* 冷苔灰辅助说明 */
  --text-light: #8892b0;            /* 浅石灰标尺 */

  /* Primary Accent: 暖橙红主操作色 */
  --accent-orange: #d94828;
  --accent-orange-hover: #b83619;
  --accent-orange-light: #fef0ec;
  --accent-orange-border: #f8cfc5;

  /* Secondary Accent: 松石绿辅助标尺色 */
  --accent-teal: #0d9488;
  --accent-teal-hover: #0f766e;
  --accent-teal-light: #e6f7f5;
  --accent-teal-border: #99f6e4;

  /* Deep Oceanic Accent */
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-border: #bae6fd;

  /* Editorial Dividers & Borders */
  --border-light: #e5e0d4;
  --border-card: #dcd6c8;
  --border-subtle: #eeeadf;

  /* Functional Status */
  --status-green: #059669;
  --status-green-bg: #d1fae5;
  --status-amber: #d97706;
  --status-amber-bg: #fef3c7;

  /* Typography Stacks */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-serif: "New York", "Georgia", "Source Han Serif SC", "Songti SC", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Shadows & Elevations */
  --shadow-sm: 0 1px 3px rgba(22, 25, 34, 0.04), 0 1px 2px rgba(22, 25, 34, 0.02);
  --shadow-md: 0 4px 14px rgba(22, 25, 34, 0.06), 0 1px 3px rgba(22, 25, 34, 0.03);
  --shadow-lg: 0 12px 32px rgba(22, 25, 34, 0.08), 0 4px 10px rgba(22, 25, 34, 0.03);
  --shadow-hover: 0 18px 38px rgba(217, 72, 40, 0.12), 0 6px 14px rgba(22, 25, 34, 0.06);

  /* Layout Constants */
  --max-w: 1220px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility: Focus visible */
:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 3px;
}

/* Anchor scroll margin for sticky header offset */
[id] {
  scroll-margin-top: 88px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(1100px at 12% 8%, rgba(217, 72, 40, 0.035), transparent 70%),
    radial-gradient(1000px at 88% 18%, rgba(13, 148, 136, 0.035), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, transparent 100%);
  background-attachment: fixed;
}

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--accent-orange);
  color: #ffffff !important;
  padding: 10px 18px;
  z-index: 10001;
  border-radius: var(--radius-sm);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-orange);
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

/* Editorial Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -0.015em;
}

.serif-title {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-main) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-spacing {
  padding-top: 88px;
  padding-bottom: 88px;
}

@media (max-width: 768px) {
  .section-spacing {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* Elastic Press Feedback for interactive buttons & links */
.btn, .btn-current, .btn-secondary, button {
  transition: transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.16s ease, background 0.2s ease;
}

.btn:active, .btn-current:active, .btn-secondary:active, button:active {
  transform: scale(0.97);
}

/* ==========================================================================
   Header & Navigation (Single line, 6 links, skip link, promotion CTA)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(22, 25, 34, 0.05);
  background: rgba(255, 255, 255, 0.95);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--text-main) 0%, #2e3440 100%);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: var(--bg-sand);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-tagline {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Nav Menu: Exactly 6 single-line links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 8px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-orange);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-orange);
  border-radius: 2px;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
}

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

.btn-lg {
  padding: 14px 28px;
  font-size: 1.02rem;
}

.btn-current, .btn-primary {
  background: var(--accent-orange);
  color: #ffffff !important;
  box-shadow: 0 3px 12px rgba(217, 72, 40, 0.28);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-current:hover, .btn-primary:hover {
  background: var(--accent-orange-hover);
  box-shadow: 0 6px 18px rgba(217, 72, 40, 0.38);
  color: #ffffff !important;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-sand);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.btn-soft {
  background: var(--accent-teal-light);
  color: var(--accent-teal);
  border: 1px solid var(--accent-teal-border);
}

.btn-soft:hover {
  background: #ccfbf1;
  color: var(--accent-teal-hover);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 10px;
  color: var(--text-main);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--border-light);
    gap: 16px;
    align-items: flex-start;
  }
  .nav-menu.open .nav-link {
    width: 100%;
    padding: 10px 0;
    font-size: 1.05rem;
    border-bottom: 1px dashed var(--border-subtle);
  }
}

/* ==========================================================================
   Editorial Masthead Banner & Live Telemetry Bar
   ========================================================================== */
.editorial-bar {
  background: #161922;
  color: #cbd5e1;
  font-size: 0.78rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.editorial-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 148, 136, 0.16);
  color: #2dd4bf;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  border: 1px solid rgba(13, 148, 136, 0.3);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #14b8a6;
  box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7);
  animation: pulseBeacon 2.2s infinite;
}

@keyframes pulseBeacon {
  0% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(20, 184, 166, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

.bar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.bar-links a {
  color: #94a3b8;
  font-size: 0.76rem;
}

.bar-links a:hover {
  color: #f1f5f9;
}

/* ==========================================================================
   Hero Section: Editorial Cover & Masthead (#hero)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 72px 0 54px;
}

.hero-editorial-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
  font-size: 0.84rem;
}

.hero-editorial-tag {
  background: var(--text-main);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-editorial-text {
  color: var(--text-muted);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text-body);
  max-width: 820px;
  margin-bottom: 32px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px dashed var(--border-light);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-sand);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-text-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.trust-text-lbl {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   杂志分栏台 (Magazine Split Column Desk) (#features)
   ========================================================================== */
.magazine-desk {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  padding: 34px;
  margin-top: 36px;
  position: relative;
}

.desk-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--text-main);
  flex-wrap: wrap;
  gap: 16px;
}

.desk-masthead {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.desk-title {
  font-size: 1.6rem;
  font-weight: 900;
  font-family: var(--font-serif);
  color: var(--text-main);
}

.desk-vol {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-orange);
  text-transform: uppercase;
}

.desk-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.desk-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 28px;
}

@media (max-width: 992px) {
  .desk-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.desk-col {
  display: flex;
  flex-direction: column;
}

.desk-col.featured {
  padding-right: 28px;
  border-right: 1px solid var(--border-light);
}

@media (max-width: 992px) {
  .desk-col.featured {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 24px;
  }
}

.article-card-lead {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.lead-title {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.38;
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

.lead-title:hover {
  color: var(--accent-orange);
}

.lead-excerpt {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.68;
  margin-bottom: 16px;
}

.lead-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.sub-story {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px dashed var(--border-light);
}

.sub-story:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.sub-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.42;
}

.sub-title:hover {
  color: var(--accent-orange);
}

.sub-excerpt {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.desk-aside-box {
  background: var(--bg-sand);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-light);
}

.aside-heading {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.radar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(220, 214, 200, 0.7);
  font-size: 0.82rem;
}

.radar-item:last-child {
  border-bottom: none;
}

.radar-name {
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.radar-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-teal);
}

/* ==========================================================================
   Pulse Architecture (脉流网络架构可视化)
   ========================================================================== */
.pulse-architecture-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.pulse-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.pulse-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: var(--bg-sand);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
}

.pulse-interactive-svg {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
}

.pulse-node {
  cursor: pointer;
  transition: all 0.2s ease;
}

.pulse-node:hover rect, .pulse-node:focus rect {
  stroke: var(--accent-orange);
  stroke-width: 2.5;
  filter: drop-shadow(0 4px 10px rgba(217, 72, 40, 0.2));
}

.pulse-node:focus {
  outline: none;
}

.pulse-path {
  stroke-dasharray: 6 4;
  animation: pulseFlow 2.8s linear infinite;
}

@keyframes pulseFlow {
  0% { stroke-dashoffset: 40; }
  100% { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-path {
    animation: none !important;
    stroke-dasharray: none !important;
  }
}

.pulse-desc-panel {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-sand);
  border: 1px solid var(--border-light);
  font-size: 0.86rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   4 款核准套餐价格区 (#pricing)
   ========================================================================== */
.pricing-section {
  position: relative;
  background: linear-gradient(180deg, var(--bg-main) 0%, #ffffff 50%, var(--bg-main) 100%);
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-sand);
  color: var(--text-muted);
  border: 1px solid var(--border-card);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 14px;
}

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

/* 4-Card Pricing Grid with Differential Visual Weights */
.pricing-grid-differentiated {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

@media (max-width: 1024px) {
  .pricing-grid-differentiated {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Plan Card: 仙路湾·基础版 (核心主推栏 · 视觉权重最高) */
.plan-card.featured-card {
  border: 2px solid var(--accent-orange);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.plan-featured-ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-orange);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
  box-shadow: 0 3px 8px rgba(217, 72, 40, 0.3);
  white-space: nowrap;
}

.plan-badge-top {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-sand);
  color: var(--text-muted);
  margin-bottom: 12px;
  align-self: flex-start;
}

.plan-title {
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 6px;
}

.plan-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  min-height: 40px;
}

.plan-pricing-block {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.price-val {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
}

.price-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  flex-grow: 1;
}

.plan-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-body);
}

.plan-feature-row strong {
  color: var(--text-main);
}

.plan-check-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-teal-light);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Wide-format Card: 仙路湾·独享私人订制要点 (宽幅定制栏) */
.plan-card-wide {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
}

.plan-wide-inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 992px) {
  .plan-wide-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Native <table> Comparison Matrix */
.table-wrap-responsive {
  margin-top: 48px;
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}

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

.pricing-table-native caption {
  padding: 16px 20px;
  text-align: left;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
}

.pricing-table-native th {
  padding: 14px 18px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-sand);
  border-bottom: 1px solid var(--border-card);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.pricing-table-native td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-body);
}

.pricing-table-native tr:hover td {
  background: var(--bg-subtle);
}

/* ==========================================================================
   Quick Start (新手五步入门流程)
   ========================================================================== */
.quickstart-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin: 32px 0 24px;
}

@media (max-width: 1024px) {
  .quickstart-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-sm);
}

.step-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-sand);
  color: var(--text-main);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.step-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Client Hub (多端客户端组织架构) (#client-hub)
   ========================================================================== */
.client-platform-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

@media (max-width: 1024px) {
  .client-platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .client-platform-grid {
    grid-template-columns: 1fr;
  }
}

.platform-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.platform-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

.platform-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-sand);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

/* ==========================================================================
   FAQ Section: Native <details> without open attribute (#faq)
   ========================================================================== */
.faq-wrap-native {
  max-width: 860px;
  margin: 0 auto;
}

details.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

details.faq-item[open] {
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-sm);
}

details.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  min-height: 44px;
}

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

details.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
  margin-left: 12px;
  font-weight: 400;
  line-height: 1;
}

details.faq-item[open] summary::after {
  content: "−";
  color: var(--accent-orange);
  font-size: 1.5rem;
}

.faq-answer {
  padding: 0 22px 20px;
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.75;
  border-top: 1px dashed var(--border-subtle);
}

/* ==========================================================================
   Current Info Tips 套餐信息提示 (非模拟订单)
   ========================================================================== */
.info-tip-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-left: 4px solid var(--accent-teal);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  max-width: 380px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.info-tip-toast.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tip-badge {
  font-size: 0.68rem;
  font-weight: 800;
  color: #fff;
  background: var(--accent-teal);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  text-transform: uppercase;
  flex-shrink: 0;
}

.tip-text {
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.tip-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  min-height: 32px;
  min-width: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tip-close:hover {
  color: var(--text-main);
}

@media (max-width: 768px) {
  .info-tip-toast {
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }
}

/* ==========================================================================
   Stepped Reveal (渐进显现类)
   ========================================================================== */
.reveal-item {
  opacity: 1; /* 默认可见，支持无 JS 优雅降级 */
}

/* 当 JS 激活且支持 IntersectionObserver 时添加动画 */
.js-enabled .reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Footer & Transparent Affiliate Disclaimer
   ========================================================================== */
.site-footer {
  background: #161922;
  color: #94a3b8;
  padding: 64px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

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

.footer-col-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.86rem;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.affiliate-disclaimer {
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #8892b0;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Reading Progress Bar & Back to Top & Section III Grid Styles
   ========================================================================== */
.reading-progress-container {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 999;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent-orange);
  transition: width 0.1s ease;
}

/* Back to Top button */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top-btn:hover {
  background: var(--bg-sand);
  color: var(--accent-orange);
  transform: translateY(-2px);
}

/* Hot news digest & Badge NEW */
.badge-new {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  background: var(--accent-orange);
  color: #fff;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

.news-digest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 992px) {
  .news-digest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .news-digest-grid {
    grid-template-columns: 1fr;
  }
}

.news-digest-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

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

@media (max-width: 992px) {
  .column-trio-grid {
    grid-template-columns: 1fr;
  }
}

.column-trio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.column-trio-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-hover);
}


/* ==========================================================================
   Section V: XianLu-Current Editorial Grid & Tide Scale Deepening
   ========================================================================== */

/* Asymmetric Editorial Hero Grid */
.hero-editorial-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 40px;
}

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

.hero-visual-card {
  background: linear-gradient(145deg, #ffffff 0%, var(--bg-sand) 100%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero-visual-card::before {
  content: "TIDE SCALE 03";
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* Horizontal Service Tide Scale Bar */
.hero-tide-scale-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.tide-scale-rule {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  gap: 16px;
  flex-wrap: wrap;
}

.tide-scale-tick {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  flex: 1;
  min-width: 200px;
}

.tide-tick-notch {
  width: 4px;
  height: 36px;
  background: var(--accent-orange);
  border-radius: 2px;
  flex-shrink: 0;
}

.tide-tick-notch.teal {
  background: var(--accent-teal);
}

.tide-tick-notch.charcoal {
  background: var(--text-main);
}

.tide-tick-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.1;
  font-family: var(--font-mono);
}

.tide-tick-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* Asymmetric Pricing Editorial */
.pricing-desk-asymmetric {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pricing-row-split {
  display: grid;
  grid-template-columns: 0.42fr 0.58fr;
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .pricing-row-split {
    grid-template-columns: 1fr;
  }
}

/* Plan 1: Compact Starter Column */
.plan-card-compact {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

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

/* Plan 2: Featured Editorial Anchor */
.plan-card-featured-desk {
  background: #ffffff;
  border: 2px solid var(--accent-orange);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 30px rgba(217, 72, 40, 0.12);
  transition: var(--transition);
  position: relative;
}

.plan-card-featured-desk:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(217, 72, 40, 0.18);
}

/* Plan 3: Horizontal Long Strip (不限时轻量包) */
.plan-card-strip {
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-subtle) 100%);
  border: 1px solid var(--accent-teal-border);
  border-left: 5px solid var(--accent-teal);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1.8fr 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

@media (max-width: 992px) {
  .plan-card-strip {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.plan-card-strip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Plan 4: Bespoke Wide Banner (独享私人订制要点) */
.plan-card-bespoke {
  background: var(--text-main);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1.3fr 1.7fr 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

@media (max-width: 992px) {
  .plan-card-bespoke {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.plan-card-bespoke .price-val {
  color: #ffffff;
}

.plan-card-bespoke .plan-feature-list li {
  color: #cbd5e1;
}

/* Quick Start Tide Stepper */
.tide-stepper-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.tide-stepper-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 32px;
  padding: 0 10px;
}

.tide-stepper-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--border-light);
  transform: translateY(-50%);
  z-index: 1;
}

@media (max-width: 768px) {
  .tide-stepper-track {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
  }
  .tide-stepper-track::before {
    top: 20px;
    bottom: 20px;
    left: 20px;
    width: 2px;
    height: auto;
    transform: none;
  }
}

.tide-step-node-btn {
  position: relative;
  z-index: 2;
  background: var(--bg-surface);
  border: 2px solid var(--border-card);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-body);
}

.tide-step-node-btn:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.tide-step-node-btn.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 72, 40, 0.3);
}

.tide-step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-sand);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  font-weight: 800;
}

.tide-step-node-btn.active .tide-step-circle {
  background: #ffffff;
  color: var(--accent-orange);
}

.tide-step-panel {
  display: none;
  background: var(--bg-sand);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  animation: fadeIn 0.25s ease-in-out;
}

.tide-step-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.tide-stepper-ctrls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-light);
}
