/* ==========================================================================
   COCODUCK VPN - Organic Zen Pebble-Fluid Design System
   "So smooth you don't even perceive our presence"
   Muted Scandinavian Palette: Warm Sand (#f3efe6) | Pebble Grey (#3f4246) | Apricot (#ffb066)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens & CSS Variables
   -------------------------------------------------------------------------- */
:root {
  /* Scandinavian Warm Sand Palette (Light Mode - Default) */
  --bg-sand: #f5f1e8;
  --bg-sand-light: #faf7f2;
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(250, 247, 242, 0.85);
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-pebble-subtle: #eae4d8;
  
  /* River-Pebble Greys */
  --pebble-dark: #2a2d31;
  --pebble-slate: #3f4246;
  --pebble-medium: #5a5f66;
  --pebble-light: #8e949e;
  --pebble-border: rgba(63, 66, 70, 0.12);
  --pebble-border-focus: rgba(255, 176, 102, 0.55);

  /* Apricot Duck-Bill Pastels */
  --apricot: #ffb066;
  --apricot-hover: #f39e4a;
  --apricot-subtle: rgba(255, 176, 102, 0.16);
  --apricot-gradient: linear-gradient(135deg, #ffb066 0%, #ff8c42 100%);
  --pebble-gradient: linear-gradient(145deg, #ffffff 0%, #f4efe6 100%);
  --droplet-reflection: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.15) 100%);

  /* Typography Colors */
  --text-primary: #272a2e;
  --text-secondary: #4f545a;
  --text-muted: #798089;
  --text-inverse: #ffffff;

  /* Functional Accents */
  --water-teal: #3ba49a;
  --water-teal-light: rgba(59, 164, 154, 0.12);
  --success: #3ba49a;

  /* Asymmetric River-Stone Pebble Radii */
  --radius-pebble-1: 38px 46px 34px 44px / 44px 34px 46px 38px;
  --radius-pebble-2: 44px 32px 48px 36px / 36px 48px 32px 44px;
  --radius-pebble-3: 32px 48px 38px 44px / 46px 36px 44px 34px;
  --radius-pill: 9999px;
  --radius-droplet: 28px 28px 36px 28px / 28px 36px 28px 36px;
  --radius-soft: 20px;

  /* Fluid Shadows & Organic Elevation */
  --shadow-pebble-sm: 0 4px 16px -2px rgba(63, 66, 70, 0.06);
  --shadow-pebble-md: 0 12px 32px -4px rgba(63, 66, 70, 0.08), 0 4px 12px -2px rgba(63, 66, 70, 0.04);
  --shadow-pebble-lg: 0 24px 48px -8px rgba(63, 66, 70, 0.12), 0 8px 16px -4px rgba(63, 66, 70, 0.05);
  --shadow-apricot-glow: 0 8px 24px -2px rgba(255, 176, 102, 0.38);
  --shadow-droplet: inset 0 2px 4px rgba(255, 255, 255, 0.9), 0 8px 20px rgba(63, 66, 70, 0.08);

  --transition-fluid: cubic-bezier(0.25, 1, 0.35, 1);
  --header-height: 76px;
  --max-width: 1220px;
}

/* Deep Riverbed Slate (Dark Mode) */
[data-theme="dark"] {
  --bg-sand: #16181b;
  --bg-sand-light: #1c1f24;
  --bg-surface: #22262c;
  --bg-surface-glass: rgba(22, 24, 27, 0.88);
  --bg-card: rgba(28, 32, 38, 0.92);
  --bg-card-hover: #262a32;
  --bg-pebble-subtle: #292d35;

  --pebble-dark: #f0f2f5;
  --pebble-slate: #cfd5de;
  --pebble-medium: #9ba3af;
  --pebble-light: #6e7683;
  --pebble-border: rgba(255, 255, 255, 0.09);
  --pebble-border-focus: rgba(255, 176, 102, 0.45);

  --text-primary: #f2f4f7;
  --text-secondary: #b5bcc7;
  --text-muted: #838c99;
  --text-inverse: #16181b;

  --pebble-gradient: linear-gradient(145deg, #242931 0%, #1c2026 100%);
  --droplet-reflection: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.02) 100%);

  --shadow-pebble-sm: 0 4px 16px -2px rgba(0, 0, 0, 0.4);
  --shadow-pebble-md: 0 12px 32px -4px rgba(0, 0, 0, 0.5);
  --shadow-pebble-lg: 0 24px 48px -8px rgba(0, 0, 0, 0.65);
  --shadow-apricot-glow: 0 8px 26px -2px rgba(255, 176, 102, 0.28);
  --shadow-droplet: inset 0 1px 2px rgba(255, 255, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.5);
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-sand);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color 0.45s var(--transition-fluid), color 0.45s var(--transition-fluid);
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Interactive Fluid Ripple Canvas */
#ripple-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

[data-theme="dark"] #ripple-canvas {
  opacity: 0.35;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.22s var(--transition-fluid);
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* --------------------------------------------------------------------------
   Layout & Typography
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
  position: relative;
  z-index: 1;
}

.section {
  padding: 90px 0;
  position: relative;
}

@media (min-width: 992px) {
  .section {
    padding: 120px 0;
  }
}

.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px auto;
}

/* Zen Pebble Badge */
.pebble-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--bg-card);
  color: var(--pebble-slate);
  border: 1px solid var(--pebble-border);
  box-shadow: var(--shadow-pebble-sm);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.pebble-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--apricot);
  box-shadow: 0 0 10px var(--apricot);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--pebble-dark);
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.85rem;
  }
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.zen-highlight {
  color: var(--apricot-hover);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Navigation Bar & Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-surface-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pebble-border);
  z-index: 1000;
  transition: all 0.35s var(--transition-fluid);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--pebble-dark);
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: contain;
  transition: transform 0.3s var(--transition-fluid);
  filter: drop-shadow(0 3px 10px rgba(255, 176, 102, 0.4));
}

.logo:hover .logo-img {
  transform: rotate(-6deg) scale(1.08);
}

.logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-weight: 800;
}

.logo-accent {
  color: var(--apricot);
  font-weight: 900;
  font-size: 1.15rem;
}

/* Zen Navigation Menu */
.nav-menu {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.5);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--pebble-border);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .nav-menu {
  background: rgba(34, 38, 44, 0.6);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.05);
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pebble-slate);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: all 0.25s var(--transition-fluid);
  position: relative;
}

.nav-link:hover {
  color: var(--pebble-dark);
  background: var(--bg-surface);
  box-shadow: var(--shadow-pebble-sm);
}

.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-surface);
  box-shadow: var(--shadow-pebble-sm);
  border: 1px solid var(--pebble-border);
}

/* '推荐资讯' Accent Pill in Nav */
.nav-link-special {
  color: #c96e1b;
  background: var(--apricot-subtle);
  border: 1px solid rgba(255, 176, 102, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

[data-theme="dark"] .nav-link-special {
  color: #ffb066;
}

.nav-link-special:hover {
  background: var(--apricot);
  color: #ffffff;
  border-color: var(--apricot);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* --------------------------------------------------------------------------
   Pebble Day/Night Switch
   Organic water-pebble frosted glass design
   -------------------------------------------------------------------------- */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pebble-1);
  background: var(--bg-card);
  border: 1px solid var(--pebble-border);
  color: var(--pebble-slate);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-pebble-sm);
  transition: all 0.35s var(--transition-fluid);
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  transform: translateY(-2px) scale(1.06);
  border-color: var(--apricot);
  color: var(--apricot);
  box-shadow: var(--shadow-apricot-glow);
}

.theme-icon-sun,
.theme-icon-moon {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: transform 0.45s var(--transition-fluid), opacity 0.45s ease;
}

/* Light mode state */
.theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.theme-icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0.4);
}

/* Dark mode state */
[data-theme="dark"] .theme-icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.4);
}
[data-theme="dark"] .theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* --------------------------------------------------------------------------
   Buttons & CTA (Zen Fluid Bubbles)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  min-height: 48px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transition: all 0.28s var(--transition-fluid);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--apricot-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-apricot-glow);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 28px -2px rgba(255, 176, 102, 0.55);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

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

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--pebble-border-focus);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-pebble-md);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  min-height: 54px;
}

.btn-block {
  width: 100%;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--pebble-border);
  background: var(--bg-card);
  color: var(--pebble-slate);
}

@media (min-width: 1024px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: var(--bg-sand);
  border-bottom: 1px solid var(--pebble-border);
  padding: 24px;
  box-shadow: var(--shadow-pebble-lg);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.mobile-menu-links .nav-link {
  font-size: 1.05rem;
  padding: 10px 18px;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  padding-top: calc(var(--header-height) + 56px);
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

.hero-ambient-fluid {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 550px;
  background: radial-gradient(ellipse at center, rgba(255, 176, 102, 0.18) 0%, rgba(59, 164, 154, 0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

[data-theme="dark"] .hero-ambient-fluid {
  background: radial-gradient(ellipse at center, rgba(255, 176, 102, 0.12) 0%, rgba(59, 164, 154, 0.05) 50%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

/* Headline must contain brand name */
.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--pebble-dark);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.6rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.1rem;
  }
}

.hero-title-brand {
  display: inline-block;
  color: var(--pebble-dark);
  position: relative;
}

.hero-title-tagline {
  display: block;
  font-size: 0.8em;
  font-weight: 700;
  color: var(--apricot-hover);
  margin-top: 6px;
}

.hero-brief {
  font-size: 1.18rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 40px auto;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .hero-cta-group {
    flex-direction: row;
  }
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  padding-top: 20px;
  border-top: 1px solid var(--pebble-border);
}

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

.hero-trust-item svg {
  color: var(--water-teal);
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Water Droplet Latency & Status Readout
   "Latency status displayed as pure, crystal-clear water droplets that coalesce into numerical readouts"
   -------------------------------------------------------------------------- */
.droplet-showcase-wrap {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

.droplet-panel {
  background: var(--bg-card);
  border: 1px solid var(--pebble-border);
  border-radius: var(--radius-pebble-2);
  padding: 32px;
  box-shadow: var(--shadow-pebble-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 100%;
  max-width: 860px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--transition-fluid);
}

.droplet-panel:hover {
  transform: translateY(-4px);
}

.droplet-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--pebble-border);
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.droplet-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--pebble-slate);
}

.droplet-bead {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--water-teal);
  box-shadow: 0 0 0 0 rgba(59, 164, 154, 0.6);
  animation: ripple-pulse 2.4s infinite;
}

@keyframes ripple-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 164, 154, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(59, 164, 154, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 164, 154, 0);
  }
}

.droplet-metrics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 640px) {
  .droplet-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Single Droplet Card */
.droplet-cell {
  background: var(--bg-sand-light);
  border: 1px solid var(--pebble-border);
  border-radius: var(--radius-pebble-1);
  padding: 24px 20px;
  text-align: left;
  box-shadow: var(--shadow-droplet);
  position: relative;
  transition: all 0.3s var(--transition-fluid);
}

.droplet-cell:hover {
  transform: translateY(-3px);
  border-color: var(--apricot);
}

.droplet-label {
  font-size: 0.85rem;
  color: var(--pebble-medium);
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.droplet-value {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--pebble-dark);
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.droplet-value small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--pebble-medium);
}

.droplet-caption {
  font-size: 0.82rem;
  color: var(--water-teal);
  font-weight: 600;
  margin-top: 6px;
  display: block;
}

/* --------------------------------------------------------------------------
   Product Core Advantages (3 Asymmetric Pebble Cards)
   -------------------------------------------------------------------------- */
.pebble-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .pebble-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pebble-card {
  background: var(--bg-card);
  border: 1px solid var(--pebble-border);
  border-radius: var(--radius-pebble-1);
  padding: 40px 32px;
  box-shadow: var(--shadow-pebble-md);
  transition: all 0.4s var(--transition-fluid);
  position: relative;
  display: flex;
  flex-direction: column;
}

.pebble-card:nth-child(2) {
  border-radius: var(--radius-pebble-2);
}

.pebble-card:nth-child(3) {
  border-radius: var(--radius-pebble-3);
}

.pebble-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-pebble-lg);
  border-color: var(--apricot);
}

.pebble-icon-wrap {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-pebble-2);
  background: var(--apricot-subtle);
  color: var(--apricot-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.35s var(--transition-fluid);
}

.pebble-card:hover .pebble-icon-wrap {
  transform: rotate(8deg) scale(1.08);
}

.pebble-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--pebble-dark);
  margin-bottom: 14px;
}

.pebble-card-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.pebble-feature-list {
  margin-top: auto;
  border-top: 1px solid var(--pebble-border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pebble-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.pebble-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--water-teal);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Dual Pebble Showcase: Streaming & AI Support Cards
   -------------------------------------------------------------------------- */
.dual-pebble-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 992px) {
  .dual-pebble-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.zen-dual-card {
  background: var(--bg-card);
  border: 1px solid var(--pebble-border);
  border-radius: var(--radius-pebble-2);
  padding: 40px;
  box-shadow: var(--shadow-pebble-md);
  transition: all 0.4s var(--transition-fluid);
  display: flex;
  flex-direction: column;
}

.zen-dual-card:nth-child(2) {
  border-radius: var(--radius-pebble-3);
}

.zen-dual-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-pebble-lg);
  border-color: var(--pebble-border-focus);
}

.zen-dual-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 22px;
}

.zen-dual-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-pebble-1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-streaming {
  background: rgba(255, 176, 102, 0.2);
  color: #e67e22;
}

.icon-ai {
  background: rgba(59, 164, 154, 0.2);
  color: #3ba49a;
}

.zen-dual-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--pebble-dark);
  margin-bottom: 8px;
}

.zen-dual-desc {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.zen-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.pebble-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-sand-light);
  border: 1px solid var(--pebble-border);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pebble-slate);
  transition: all 0.25s var(--transition-fluid);
}

.pebble-tag:hover {
  border-color: var(--apricot);
  background: var(--bg-card);
  color: var(--pebble-dark);
  transform: translateY(-2px);
}

.pebble-tag svg {
  width: 16px;
  height: 16px;
}

.zen-feature-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  border-top: 1px solid var(--pebble-border);
  padding-top: 24px;
  margin-top: auto;
}

@media (min-width: 640px) {
  .zen-feature-bullets {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.bullet-item svg {
  width: 16px;
  height: 16px;
  color: var(--water-teal);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Pebble Pricing Table (Fluid Buoyancy Physics)
   "Service plan pebble-tiles subtly bob on an invisible water plane with fluid buoyancy physics when hovered over"
   -------------------------------------------------------------------------- */
.pricing-pebble-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing-pebble-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-pebble-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-pebble-card {
  background: var(--bg-card);
  border: 1px solid var(--pebble-border);
  border-radius: var(--radius-pebble-1);
  padding: 44px 32px 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-pebble-md);
  transition: all 0.45s var(--transition-fluid);
}

.pricing-pebble-card:nth-child(2) {
  border-radius: var(--radius-pebble-2);
}

.pricing-pebble-card:nth-child(3) {
  border-radius: var(--radius-pebble-3);
}

/* Fluid Buoyancy Bob Physics on Hover */
@keyframes fluid-buoyancy-bob {
  0% {
    transform: translateY(-8px) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(-0.75deg);
  }
  100% {
    transform: translateY(-8px) rotate(0deg);
  }
}

.pricing-pebble-card:hover {
  animation: fluid-buoyancy-bob 4s ease-in-out infinite;
  box-shadow: var(--shadow-pebble-lg);
  border-color: var(--apricot);
}

.pricing-pebble-card.featured {
  border-color: var(--apricot);
  box-shadow: var(--shadow-apricot-glow);
  background: var(--bg-card);
}

.pricing-pebble-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--apricot-gradient);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-apricot-glow);
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--pebble-dark);
}

.plan-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 44px;
  line-height: 1.6;
}

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

.plan-currency {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--pebble-dark);
}

.plan-amount {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--pebble-dark);
}

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

.plan-sub-note {
  font-size: 0.84rem;
  color: var(--water-teal);
  font-weight: 600;
  margin-bottom: 24px;
}

.plan-feature-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex-grow: 1;
  border-top: 1px solid var(--pebble-border);
  padding-top: 24px;
}

.plan-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.plan-row svg {
  width: 18px;
  height: 18px;
  color: var(--water-teal);
  flex-shrink: 0;
}

.plan-row.disabled {
  color: var(--pebble-light);
  opacity: 0.55;
}

.plan-row.disabled svg {
  color: var(--pebble-light);
}

/* --------------------------------------------------------------------------
   FAQ Section (Organic Pebble Accordion)
   -------------------------------------------------------------------------- */
.faq-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--pebble-border);
  border-radius: var(--radius-pebble-1);
  overflow: hidden;
  transition: all 0.3s var(--transition-fluid);
  box-shadow: var(--shadow-pebble-sm);
}

.faq-item:nth-child(even) {
  border-radius: var(--radius-pebble-2);
}

.faq-item:hover {
  border-color: var(--pebble-border-focus);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pebble-dark);
  background: transparent;
  gap: 16px;
  transition: color 0.25s ease;
}

.faq-question:hover {
  color: var(--apricot-hover);
}

.faq-chevron {
  width: 22px;
  height: 22px;
  color: var(--pebble-light);
  transition: transform 0.35s var(--transition-fluid);
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--apricot);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-fluid);
}

.faq-answer-inner {
  padding: 0 28px 24px 28px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   User Reviews (River Pebble Tiles)
   -------------------------------------------------------------------------- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--pebble-border);
  border-radius: var(--radius-pebble-1);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-pebble-sm);
  transition: all 0.35s var(--transition-fluid);
}

.review-card:nth-child(2) {
  border-radius: var(--radius-pebble-2);
}

.review-card:nth-child(3) {
  border-radius: var(--radius-pebble-3);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-pebble-lg);
  border-color: var(--pebble-border-focus);
}

.review-stars {
  display: flex;
  gap: 4px;
  color: var(--apricot);
  margin-bottom: 16px;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.review-quote {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 22px;
  flex-grow: 1;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--pebble-border);
  padding-top: 18px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pebble-1);
  background: var(--apricot-subtle);
  color: var(--apricot-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
}

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

.review-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--pebble-dark);
}

.review-title {
  font-size: 0.84rem;
  color: var(--pebble-medium);
}

/* --------------------------------------------------------------------------
   Footer Section
   Requirement: ONLY keep these four headings/links:
   1. 网站地图 (sitemap.html)
   2. 关于我们 (about.html)
   3. 服务条款 (terms.html)
   4. 隐私政策 (privacy.html)
   Each opens in a new page!
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--pebble-border);
  padding: 70px 0 38px 0;
  margin-top: 60px;
  transition: all 0.45s var(--transition-fluid);
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-brand {
  max-width: 460px;
}

.footer-brand .logo {
  justify-content: center;
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Strictly the 4 requested links */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-link {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--pebble-dark);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-sand-light);
  border: 1px solid var(--pebble-border);
  transition: all 0.25s var(--transition-fluid);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-link:hover {
  color: var(--apricot-hover);
  border-color: var(--apricot);
  background: var(--bg-card);
  transform: translateY(-2px);
  box-shadow: var(--shadow-pebble-sm);
}

.footer-bottom {
  border-top: 1px solid var(--pebble-border);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--pebble-medium);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-domain {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--pebble-slate);
}

.footer-domain a {
  color: var(--apricot-hover);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Standalone & Insights Pages Styling
   -------------------------------------------------------------------------- */
.page-header {
  padding: calc(var(--header-height) + 48px) 0 48px 0;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--pebble-dark);
  margin-bottom: 16px;
}

.page-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.8;
}

.content-pebble-card {
  background: var(--bg-card);
  border: 1px solid var(--pebble-border);
  border-radius: var(--radius-pebble-2);
  padding: 44px 36px;
  box-shadow: var(--shadow-pebble-md);
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .content-pebble-card {
    padding: 56px 48px;
  }
}

.content-pebble-card h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--pebble-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-pebble-card h2:first-child {
  margin-top: 0;
}

.content-pebble-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--pebble-dark);
}

.content-pebble-card p {
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 18px;
  font-size: 1rem;
}

.content-pebble-card ul {
  margin-bottom: 22px;
  padding-left: 24px;
}

.content-pebble-card li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 10px;
  list-style-type: disc;
}

.highlight-box {
  background: var(--bg-sand-light);
  border-left: 4px solid var(--apricot);
  border-radius: var(--radius-soft);
  padding: 22px 24px;
  margin: 26px 0;
  font-size: 0.98rem;
  color: var(--text-secondary);
}

.highlight-box.danger {
  border-left-color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}

.highlight-box.success {
  border-left-color: var(--water-teal);
  background: rgba(59, 164, 154, 0.09);
}

/* Insights Articles Grid (`pulse-insights.html`) */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.article-pebble-card {
  background: var(--bg-card);
  border: 1px solid var(--pebble-border);
  border-radius: var(--radius-pebble-1);
  padding: 36px 32px;
  box-shadow: var(--shadow-pebble-sm);
  transition: all 0.35s var(--transition-fluid);
  display: flex;
  flex-direction: column;
}

.article-pebble-card:nth-child(even) {
  border-radius: var(--radius-pebble-2);
}

.article-pebble-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-pebble-lg);
  border-color: var(--apricot);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--pebble-medium);
}

.article-category {
  padding: 4px 12px;
  background: var(--apricot-subtle);
  color: var(--apricot-hover);
  font-weight: 700;
  border-radius: var(--radius-pill);
}

.article-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--pebble-dark);
  line-height: 1.4;
  margin-bottom: 14px;
}

.article-excerpt {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--pebble-border);
  padding-top: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--apricot-hover);
}

/* Theme Adaptive Logos */
.theme-logo-light {
  display: block;
}
.theme-logo-dark {
  display: none;
}
[data-theme="dark"] .theme-logo-light {
  display: none !important;
}
[data-theme="dark"] .theme-logo-dark {
  display: block !important;
}

/* --------------------------------------------------------------------------
   Long-form SEO Article Detail Styling
   -------------------------------------------------------------------------- */
.article-detail-wrap {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--pebble-medium);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--pebble-slate);
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--apricot-hover);
}

.breadcrumbs span.separator {
  color: var(--pebble-light);
}

.article-header {
  margin-bottom: 36px;
  text-align: left;
}

.article-header .pebble-badge {
  margin-bottom: 14px;
}

.article-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--pebble-dark);
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .article-main-title {
    font-size: 2.75rem;
  }
}

.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--pebble-medium);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--pebble-border);
}

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

.meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--apricot);
}

/* Table of Contents (TOC) Pebble Box */
.toc-box {
  background: var(--bg-sand-light);
  border: 1px solid var(--pebble-border);
  border-radius: var(--radius-pebble-1);
  padding: 28px 32px;
  margin-bottom: 44px;
  box-shadow: var(--shadow-pebble-sm);
}

.toc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--pebble-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 4px;
}

.toc-list li {
  list-style: none;
}

.toc-link {
  font-size: 0.96rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.toc-link:hover {
  color: var(--apricot-hover);
  transform: translateX(4px);
}

.toc-sublist {
  padding-left: 24px;
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.toc-sublist .toc-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--pebble-medium);
}

/* Article Prose Typography */
.article-prose {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.article-prose h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--pebble-dark);
  margin-top: 48px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--pebble-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-prose h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pebble-dark);
  margin-top: 32px;
  margin-bottom: 14px;
}

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

.article-prose ul, .article-prose ol {
  margin-bottom: 24px;
  padding-left: 28px;
}

.article-prose li {
  margin-bottom: 10px;
  list-style-type: disc;
}

.article-prose ol li {
  list-style-type: decimal;
}

.article-prose strong {
  color: var(--pebble-dark);
  font-weight: 700;
}

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

.article-prose a:hover {
  color: var(--apricot);
}

/* Comparison Tables in Articles */
.pebble-table-wrap {
  overflow-x: auto;
  margin: 28px 0;
  border-radius: var(--radius-soft);
  border: 1px solid var(--pebble-border);
  box-shadow: var(--shadow-pebble-sm);
}

.pebble-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.93rem;
  background: var(--bg-card);
}

.pebble-table th {
  background: var(--bg-sand-light);
  color: var(--pebble-dark);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid var(--pebble-border);
  white-space: nowrap;
}

.pebble-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--pebble-border);
  color: var(--text-secondary);
}

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

.pebble-table tr:hover td {
  background: var(--bg-sand-light);
}

/* In-Article Callout / CTA Box */
.in-article-cta {
  background: var(--apricot-gradient);
  border-radius: var(--radius-pebble-2);
  padding: 36px 32px;
  color: #ffffff;
  text-align: center;
  margin: 48px 0;
  box-shadow: var(--shadow-apricot-glow);
}

.in-article-cta h3 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.in-article-cta p {
  font-size: 1rem;
  opacity: 0.95;
  max-width: 580px;
  margin: 0 auto 24px auto;
  line-height: 1.7;
}

/* Related Reading Grid */
.related-box {
  margin-top: 56px;
  border-top: 1px solid var(--pebble-border);
  padding-top: 40px;
}

.related-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--pebble-dark);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.related-card {
  background: var(--bg-sand-light);
  border: 1px solid var(--pebble-border);
  border-radius: var(--radius-pebble-1);
  padding: 24px 20px;
  transition: all 0.28s var(--transition-fluid);
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--apricot);
  box-shadow: var(--shadow-pebble-md);
  background: var(--bg-card);
}

.related-card-category {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--apricot-hover);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.related-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pebble-dark);
  line-height: 1.45;
  margin-bottom: 8px;
}

.related-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

