/* ==================================================
   赔钱机场 (PEIQIAN / NETWORK) - 第 4 套
   THEME: DOCKED PRODUCT INTERFACE
   ================================================== */

:root {
  /* Core Color System (75% White/Warm White, 20% Dark Text, 5% Blue/Green) */
  --bg-body: #FAFAF8;
  --bg-white: #FFFFFF;
  --bg-gray-light: #EDEFEA;
  --bg-gray-soft: #F4F5F2;
  --bg-blue-soft: #EEF4FF;
  --bg-green-soft: #EFF5EF;
  
  --text-main: #171B20;
  --text-body: #4B5258;
  --text-muted: #7C8287;
  
  --brand-blue: #3478F6;
  --brand-blue-hover: #2563EB;
  --brand-blue-light: #EBF2FE;
  
  --sage-green: #7CA982;
  --sage-green-light: #EBF3EC;
  
  --border-color: #DDE1DD;
  --border-subtle: #ECEFEA;
  
  /* Fonts */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  
  /* Radii */
  --radius-dock: 18px;
  --radius-btn: 10px;
  --radius-sm: 6px;
  --radius-card: 12px;
  
  /* Shadows */
  --shadow-dock: 0 8px 30px rgba(20, 30, 40, 0.08);
  --shadow-subtle: 0 4px 16px rgba(20, 30, 40, 0.04);
  
  /* Transitions */
  --transition-base: 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-shelf: 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 120px; /* Space reserved for floating bottom dock */
  position: relative;
  overflow-x: hidden;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base), opacity var(--transition-base);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==================================================
   1. MINIMAL TOP BRAND BAR (56px - 64px)
   ================================================== */
.top-brand-bar {
  height: 60px;
  background-color: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-bar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 1px;
}

.brand-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.network-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 20px;
  background-color: var(--bg-gray-light);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.network-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--sage-green);
}

.menu-trigger {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-main);
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.menu-trigger:hover, .menu-trigger:focus-visible {
  background: var(--bg-gray-soft);
  border-color: var(--text-muted);
}

/* ==================================================
   2. FULL SCREEN / DRAWER MENU OVERLAY
   ================================================== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(23, 27, 32, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.menu-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.menu-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 380px;
  height: 100%;
  background-color: var(--bg-white);
  border-left: 1px solid var(--border-color);
  padding: 32px 28px 48px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
}

.menu-overlay.is-active .menu-drawer {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-close {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: background var(--transition-base);
}

.drawer-close:hover {
  background: var(--bg-gray-soft);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.drawer-link {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-base), color var(--transition-base);
}

.drawer-link:hover {
  background-color: var(--bg-blue-soft);
  color: var(--brand-blue);
}

.drawer-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.btn-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px;
  background-color: var(--brand-blue);
  color: var(--bg-white);
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 14px;
  gap: 8px;
  transition: background var(--transition-base);
}

.btn-drawer-cta:hover {
  background-color: var(--brand-blue-hover);
}

/* ==================================================
   3. BOTTOM FLOATING DOCK (Main Navigation)
   ================================================== */
.bottom-dock-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: auto;
  max-width: calc(100vw - 32px);
  pointer-events: none; /* Container clicks pass through, dock catches them */
}

.bottom-dock {
  pointer-events: auto;
  width: 680px;
  max-width: 100%;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-dock);
  box-shadow: var(--shadow-dock);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 8px;
  gap: 4px;
}

.dock-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  transition: background var(--transition-base), color var(--transition-base);
  white-space: nowrap;
}

.dock-item:hover {
  background-color: var(--bg-gray-soft);
  color: var(--text-main);
}

.dock-item.is-active {
  background-color: var(--bg-gray-light);
  color: var(--text-main);
  font-weight: 700;
}

.dock-cta {
  background-color: var(--brand-blue);
  color: var(--bg-white) !important;
  border-radius: 12px;
  padding: 8px 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(52, 120, 246, 0.2);
}

.dock-cta:hover {
  background-color: var(--brand-blue-hover) !important;
}

/* ==================================================
   4. CENTERED PRODUCT HERO
   ================================================== */
.scene-hero {
  min-height: 560px;
  padding: 72px 0 56px;
  background-color: var(--bg-body);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

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

.hero-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  background-color: var(--bg-blue-soft);
  border: 1px solid rgba(52, 120, 246, 0.15);
}

.hero-h1 {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 8px;
}

.hero-title-brand {
  display: block;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.hero-title-claim {
  display: block;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--brand-blue);
  margin-top: 4px;
}

.hero-subtitle {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 18px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero-description {
  font-size: 17px;
  color: var(--text-body);
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: var(--bg-white);
  padding: 12px 26px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  box-shadow: 0 4px 12px rgba(52, 120, 246, 0.22);
}

.btn-primary:hover {
  background-color: var(--brand-blue-hover);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--text-main);
  padding: 12px 22px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background-color: var(--bg-gray-soft);
  border-color: var(--text-muted);
}

.btn-tertiary {
  color: var(--text-body);
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-tertiary:hover {
  color: var(--brand-blue);
}

/* Mini Index Strip */
.hero-mini-index {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.mini-index-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mini-index-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--border-color);
}

/* ==================================================
   5. PRODUCT SCENES (Full Width Panels)
   ================================================== */
.product-scene {
  padding: 88px 0;
  position: relative;
}

.scene-header {
  margin-bottom: 48px;
}

.scene-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.scene-title {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-main);
  white-space: pre-line;
}

/* --------------------------------------------------
   SCENE 01: GLOBAL NETWORK (#EEF4FF)
   -------------------------------------------------- */
.scene-global {
  background-color: var(--bg-blue-soft);
  border-bottom: 1px solid var(--border-color);
}

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

.global-region {
  padding: 24px 0;
}

.region-name {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--text-main);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

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

.node-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
}

.node-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-blue);
}

.node-subtext {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* --------------------------------------------------
   SCENE 02: EVERY DEVICE (#F4F5F2)
   -------------------------------------------------- */
.scene-device {
  background-color: var(--bg-gray-soft);
  border-bottom: 1px solid var(--border-color);
}

.device-quartet {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 48px;
  column-gap: 64px;
}

.device-unit {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.device-name {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--text-main);
  line-height: 1.1;
  margin-bottom: 8px;
}

.device-category {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--sage-green);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.device-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
}

/* --------------------------------------------------
   SCENE 03: AI TOOLS (#FFFFFF)
   -------------------------------------------------- */
.scene-ai {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.tool-selector-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
  margin-bottom: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tool-tab-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 8px 18px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-base);
}

.tool-tab-btn:hover {
  background-color: var(--bg-gray-soft);
  color: var(--text-main);
}

.tool-tab-btn.is-active {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
  color: var(--bg-white);
}

.tool-panels {
  min-height: 180px;
}

.tool-panel {
  display: none;
  animation: fadeIn 0.2s ease-in-out;
}

.tool-panel.is-active {
  display: block;
}

/* Non-JS Fallback for Tool Selector */
.no-js .tool-panel {
  display: block;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.tool-panel-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.tool-panel-desc {
  font-size: 16px;
  color: var(--text-body);
  max-width: 760px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.tool-panel-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tool-panel-link:hover {
  text-decoration: underline;
}

.ai-bottom-guide {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------
   SCENE 04: STREAMING (#EFF5EF)
   -------------------------------------------------- */
.scene-streaming {
  background-color: var(--bg-green-soft);
  border-bottom: 1px solid var(--border-color);
}

.streaming-typography-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 32px;
}

.streaming-brand-text {
  font-size: 38px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
  opacity: 0.9;
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.streaming-brand-text:hover {
  opacity: 1;
  color: var(--sage-green);
  transform: translateY(-2px);
}

.streaming-desc-block {
  max-width: 720px;
}

/* --------------------------------------------------
   SCENE 05: PLANS (Pricing Horizontal Selector)
   -------------------------------------------------- */
.scene-plans {
  background-color: var(--bg-body);
  border-bottom: 1px solid var(--border-color);
}

.plan-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.plan-tab-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-base);
}

.plan-tab-btn:hover {
  background: var(--bg-gray-soft);
  color: var(--text-main);
}

.plan-tab-btn.is-active {
  background: var(--text-main);
  border-color: var(--text-main);
  color: var(--bg-white);
}

.plan-badge-rec {
  background-color: var(--sage-green);
  color: var(--bg-white);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0;
}

.plan-panels {
  position: relative;
}

.plan-panel {
  display: none;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 36px 44px;
}

.plan-panel.is-active {
  display: block;
}

/* Fallback for no-js */
.no-js .plan-panel {
  display: block;
  margin-bottom: 24px;
}

.plan-panel-layout {
  display: grid;
  grid-template-columns: 240px 1fr 260px;
  align-items: center;
  gap: 36px;
}

.plan-col-left .plan-volume {
  font-size: 38px;
  font-weight: 900;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
  font-family: var(--font-mono);
  line-height: 1.1;
}

.plan-col-left .plan-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 6px;
}

.plan-col-mid {
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  padding: 0 32px;
}

.plan-tier-label {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.plan-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.plan-feature-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  background-color: var(--bg-gray-soft);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.plan-col-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.plan-price {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.plan-price-period {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

/* --------------------------------------------------
   SCENE 06: READING SHELF (Blog Content Shelf)
   -------------------------------------------------- */
.scene-shelf {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.reading-shelf {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px 0 24px;
  -webkit-overflow-scrolling: touch;
}

.shelf-spine {
  flex: 0 0 110px;
  height: 380px;
  background-color: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  transition: flex var(--transition-shelf), background var(--transition-base), border-color var(--transition-base);
  overflow: hidden;
}

.shelf-spine:nth-child(3n+1) {
  background-color: #F6F8FC;
}
.shelf-spine:nth-child(3n+2) {
  background-color: #F5F8F5;
}
.shelf-spine:nth-child(3n+3) {
  background-color: #F8F8F6;
}

.shelf-spine:hover,
.shelf-spine:focus-within {
  flex: 0 0 300px;
  background-color: var(--bg-white);
  border-color: var(--brand-blue);
  box-shadow: 0 10px 24px rgba(20, 30, 40, 0.06);
}

.spine-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.spine-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-muted);
}

.spine-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--brand-blue);
  background: var(--bg-blue-soft);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.spine-body {
  margin-top: auto;
  margin-bottom: auto;
}

.spine-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 8px;
}

.spine-summary {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease-in;
}

.shelf-spine:hover .spine-summary,
.shelf-spine:focus-within .spine-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 1;
}

.spine-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.spine-time {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

.spine-arrow {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-blue);
}

/* Mobile Shelf List (Hidden on Desktop) */
.shelf-mobile-list {
  display: none;
}

/* --------------------------------------------------
   SCENE 07: FIELD NOTES (#FAFAF8)
   -------------------------------------------------- */
.scene-notes {
  background-color: var(--bg-body);
  border-bottom: 1px solid var(--border-color);
  padding: 72px 0;
}

.notes-staggered-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.field-note-item {
  position: relative;
  padding: 16px 0;
}

.field-note-item:nth-child(2) {
  margin-top: 28px; /* Subtle staggered layout */
}

.note-num-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: block;
}

.note-text {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
}

/* --------------------------------------------------
   SCENE 08: QUESTIONS (FAQ Index)
   -------------------------------------------------- */
.scene-faq {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.faq-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
}

.faq-sidebar {
  position: sticky;
  top: 90px;
  height: fit-content;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 18px 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--border-color);
}

.faq-question-btn {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  padding: 4px 0;
  gap: 16px;
}

.faq-q-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.faq-q-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}

.faq-toggle-icon {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform var(--transition-base);
}

.faq-item[open] .faq-toggle-icon,
.faq-item.is-open .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding-top: 14px;
  padding-left: 36px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
}

/* details/summary native support */
details.faq-item summary {
  list-style: none;
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}

/* ==================================================
   6. SOFT SYSTEM FOOTER (#EDEFEA)
   ================================================== */
.system-footer {
  background-color: var(--bg-gray-light);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 120px; /* Safe padding-bottom for bottom dock */
}

.footer-top-strip {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
}

.footer-brand-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.footer-brand-claim {
  font-size: 14px;
  color: var(--text-body);
  margin-top: 8px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-main);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-body);
}

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

.footer-bottom-strip {
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-links a:hover {
  color: var(--text-main);
}

/* ==================================================
   7. ARTICLE & CATEGORY LAYOUT (Focus Reader & Library)
   ================================================== */
.focus-reader {
  padding: 48px 0 120px;
}

.breadcrumb-nav {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-nav a:hover {
  color: var(--brand-blue);
}

.article-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.article-category-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand-blue);
  background-color: var(--bg-blue-soft);
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.article-h1 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 16px;
}

.article-lead {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}

.article-meta-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* Quick Answer Box for GEO */
.quick-answer {
  background-color: var(--bg-blue-soft);
  border: 1px solid rgba(52, 120, 246, 0.2);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  margin: 32px 0;
}

.quick-answer h2 {
  font-size: 20px;
  color: var(--brand-blue);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-answer p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
}

/* Table of Contents */
.article-toc {
  background-color: var(--bg-gray-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  margin: 32px 0;
}

.article-toc-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.article-toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.article-toc-list a {
  color: var(--text-body);
}

.article-toc-list a:hover {
  color: var(--brand-blue);
}

/* Article Prose Content */
.prose {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 48px;
}

.prose h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.prose h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 32px;
  margin-bottom: 12px;
}

.prose p {
  margin-bottom: 20px;
}

.prose ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 24px;
}

.prose ol {
  list-style: decimal;
  padding-left: 24px;
  margin-bottom: 24px;
}

.prose li {
  margin-bottom: 8px;
}

.prose strong {
  color: var(--text-main);
  font-weight: 700;
}

.prose a {
  color: var(--brand-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--brand-blue-hover);
}

/* Responsive Table */
.table-wrapper {
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.prose th {
  background-color: var(--bg-gray-light);
  color: var(--text-main);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

.prose td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-body);
}

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

.prose tr:nth-child(even) td {
  background-color: var(--bg-gray-soft);
}

/* Article Technical Figures */
.article-figure {
  margin: 32px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: var(--bg-white);
}

.article-figure:empty,
.article-figure:not(:has(img)) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.article-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.article-figure figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  padding: 10px 16px;
  background-color: var(--bg-gray-soft);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

/* Category Reading Library */
.reading-library-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-white);
}

.library-cat-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: inline-block;
}

.library-h1 {
  font-size: 38px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 16px;
}

.library-intro {
  font-size: 16px;
  color: var(--text-body);
  max-width: 800px;
  line-height: 1.75;
}

.library-featured-card {
  margin: 40px 0;
  background-color: var(--bg-blue-soft);
  border: 1px solid rgba(52, 120, 246, 0.2);
  border-radius: var(--radius-card);
  padding: 32px;
}

.library-list-container {
  padding: 40px 0 60px;
}

.library-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  gap: 20px;
}

.library-item:first-child {
  border-top: 1px solid var(--border-color);
}

.library-item-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
}

.library-item:hover .library-item-title {
  color: var(--brand-blue);
}

.library-item-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ==================================================
   8. ANIMATIONS & ACCESSIBILITY
   ================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 2px;
}

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

/* ==================================================
   9. RESPONSIVE BREAKPOINTS (1024, 768, 430, 390, 375)
   ================================================== */
@media (max-width: 1024px) {
  .global-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }
  
  .plan-panel-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .plan-col-mid {
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 20px 0;
  }
  
  .plan-col-right {
    text-align: left;
    align-items: flex-start;
  }
  
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .faq-sidebar {
    position: static;
  }
  
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }

  main,
  .focus-reader {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }

  .top-brand-bar {
    height: 56px;
  }

  .network-badge {
    display: none; /* Hide on mobile to keep top minimal */
  }

  /* Centered Hero on Mobile */
  .scene-hero {
    min-height: 480px;
    padding: 48px 0 36px;
  }

  .hero-h1 {
    font-size: 38px;
  }

  .hero-title-brand {
    font-size: 36px;
  }

  .hero-title-claim {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-description {
    font-size: 15px;
  }

  .product-scene {
    padding: 60px 0;
  }

  .scene-title {
    font-size: 30px;
  }

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

  .device-quartet {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .device-name {
    font-size: 32px;
  }

  .streaming-typography-row {
    justify-content: flex-start;
    gap: 16px;
  }

  .streaming-brand-text {
    font-size: 26px;
  }

  .notes-staggered-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .field-note-item:nth-child(2) {
    margin-top: 0;
  }

  /* Shelf transforms to clean vertical list on mobile */
  .reading-shelf {
    display: none;
  }

  .shelf-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .shelf-mobile-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .shelf-mobile-meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
  }

  .shelf-mobile-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
  }

  .shelf-mobile-desc {
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.5;
  }

  .shelf-mobile-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
  }

  /* Mobile Dock: 5 items, compact, safe-area support */
  .bottom-dock-container {
    width: 100%;
    max-width: 100%;
    bottom: 12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .bottom-dock {
    width: 100%;
    height: 52px;
    padding: 4px 6px;
    border-radius: 14px;
  }

  .dock-item {
    padding: 6px 8px;
    font-size: 12px;
  }

  .dock-cta {
    padding: 6px 12px;
    font-size: 12px;
  }

  .article-h1 {
    font-size: 30px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .system-footer {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 390px) {
  .hero-h1 {
    font-size: 32px;
  }

  .hero-title-brand {
    font-size: 30px;
  }

  .hero-title-claim {
    font-size: 34px;
  }

  .dock-item {
    padding: 4px 6px;
    font-size: 11px;
  }

  .dock-cta {
    padding: 5px 10px;
    font-size: 11px;
  }
}
