/* ==========================================================================
   大象网络机场官网 - Liquid Glass / Neumorphism 2.0 Design System
   Designed for Apple Ecosystem Enthusiasts & Tech Connoisseurs
   ========================================================================== */

:root {
  /* Color Palette - Cold Light Sky-Blue to Pure White Frosted Acrylic */
  --bg-primary: #EEF2F6;
  --bg-gradient: linear-gradient(135deg, #E6EEF8 0%, #EEF2F6 40%, #F5F8FC 80%, #EBF3FD 100%);
  --bg-mesh-1: rgba(184, 212, 245, 0.45);
  --bg-mesh-2: rgba(210, 230, 255, 0.35);
  --bg-mesh-3: rgba(255, 255, 255, 0.8);
  
  /* Glass Surface Tokens */
  --glass-bg: rgba(255, 255, 255, 0.68);
  --glass-bg-hover: rgba(255, 255, 255, 0.82);
  --glass-bg-active: rgba(255, 255, 255, 0.92);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-border-subtle: rgba(255, 255, 255, 0.5);
  --glass-inner-glow: inset 0 1px 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 2px 0 rgba(190, 210, 235, 0.2);
  --glass-shadow: 0 16px 36px -8px rgba(90, 115, 145, 0.08), 0 4px 12px 0 rgba(90, 115, 145, 0.04);
  --glass-shadow-hover: 0 24px 48px -10px rgba(70, 100, 135, 0.14), 0 8px 20px 0 rgba(70, 100, 135, 0.06);
  --glass-blur: blur(24px);

  /* Accent Colors - Frosted Cyan / Cobalt Blue / Apple System Colors */
  --accent-cyan: #0A84FF;
  --accent-glow: rgba(10, 132, 255, 0.3);
  --accent-emerald: #30D158;
  --accent-amber: #FF9F0A;
  --accent-indigo: #5E5CE6;
  --accent-gradient: linear-gradient(135deg, #0A84FF 0%, #0071E3 100%);
  
  /* Typography */
  --text-main: #1D1D1F;
  --text-secondary: #51545A;
  --text-muted: #86868B;
  --text-light: #FFFFFF;
  --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", Menlo, Consolas, Monaco, monospace;

  /* Layout & Geometry */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;
  --container-max: 1240px;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-apple);
  background: var(--bg-primary);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  letter-spacing: -0.015em;
}

/* ================= Dynamic Liquid Glass Ambient Background ================= */
.ambient-scene {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

#liquid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.floating-glass-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  opacity: 0.55;
  will-change: transform;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

.orb-1 {
  width: 520px;
  height: 520px;
  top: -8%;
  right: -5%;
  background: radial-gradient(circle, rgba(160, 205, 255, 0.6) 0%, rgba(200, 230, 255, 0) 70%);
  animation-duration: 22s;
}

.orb-2 {
  width: 600px;
  height: 600px;
  bottom: 10%;
  left: -10%;
  background: radial-gradient(circle, rgba(180, 215, 255, 0.5) 0%, rgba(220, 240, 255, 0) 70%);
  animation-duration: 26s;
  animation-delay: -5s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  top: 45%;
  right: 15%;
  background: radial-gradient(circle, rgba(205, 225, 255, 0.45) 0%, rgba(240, 248, 255, 0) 70%);
  animation-duration: 20s;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50% { transform: translate3d(30px, 45px, 0) scale(1.08) rotate(60deg); }
  100% { transform: translate3d(-25px, -35px, 0) scale(0.95) rotate(-40deg); }
}

/* ================= Content Wrapper ================= */
.app-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

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

/* ================= Frosted Acrylic Glass Card Utility ================= */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow), var(--glass-inner-glow);
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 30%, rgba(255,255,255,0.95) 70%, rgba(255,255,255,0) 100%);
  opacity: 0.9;
  pointer-events: none;
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover), var(--glass-inner-glow);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.95);
}

/* ================= Crystalline Buttons ================= */
.crystal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.7);
  outline: none;
  user-select: none;
}

/* Primary Glass Crystal Button */
.crystal-btn-primary {
  background: linear-gradient(180deg, #0A84FF 0%, #006ADC 100%);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(10, 132, 255, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.crystal-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(10, 132, 255, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.crystal-btn-primary:active {
  transform: translateY(1px) scale(0.98);
}

/* Light Liquid Crystal Button */
.crystal-btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(100, 125, 150, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.95);
}

.crystal-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(100, 125, 150, 0.14), inset 0 1px 1px rgba(255, 255, 255, 1);
  color: var(--accent-cyan);
}

/* Liquid Ripple Effect */
.ripple-wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleAnimation 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

@keyframes rippleAnimation {
  to {
    transform: scale(3.5);
    opacity: 0;
  }
}

/* ================= Top Announcement Bar ================= */
.top-notice-bar {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding: 8px 24px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  position: relative;
  z-index: 101;
}

.top-notice-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  background: rgba(10, 132, 255, 0.12);
  color: var(--accent-cyan);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  animation: dotPulse 1.8s infinite;
}

@keyframes dotPulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(10, 132, 255, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(10, 132, 255, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(10, 132, 255, 0); }
}

/* ================= Navigation Bar ================= */
.main-nav {
  position: sticky;
  top: 14px;
  z-index: 100;
  margin: 0 auto;
  max-width: var(--container-max);
  padding: 0 20px;
}

.nav-glass-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(90, 115, 145, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.95);
  transition: var(--transition-smooth);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(220, 235, 255, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(10, 132, 255, 0.15), inset 0 1px 1px #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.brand-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

.brand-text-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
}

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

.nav-link {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.6);
}

.nav-link.badge-link {
  position: relative;
}

.nav-link.badge-link::after {
  content: "专栏";
  position: absolute;
  top: -2px;
  right: 2px;
  background: var(--accent-cyan);
  color: #fff;
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 6px;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  padding: 6px;
}

/* ================= Hero Section ================= */
.hero-section {
  padding: 70px 0 60px;
  text-align: center;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(100, 130, 160, 0.06), inset 0 1px 1px #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
  animation: floatSmall 6s ease-in-out infinite;
}

.hero-pill-badge .sparkle {
  color: var(--accent-cyan);
}

.hero-title {
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #1D1D1F 0%, #3A3A3C 60%, #51545A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #0A84FF 0%, #0056B3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-slogan {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.hero-slogan strong {
  color: var(--text-main);
  font-weight: 600;
}

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

/* Glass Stat Badges Bar */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.hero-stat-card {
  padding: 20px 16px;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-cyan);
  font-feature-settings: "tnum";
  line-height: 1.1;
  margin-bottom: 4px;
}

.stat-unit {
  font-size: 16px;
  font-weight: 600;
  margin-left: 2px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ================= 3D Node Pipeline Visualizer ================= */
.node-visualizer-container {
  margin: 40px auto 0;
  max-width: 1040px;
  padding: 30px;
  border-radius: 30px;
  position: relative;
}

.pipeline-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 20px 10px;
}

.pipeline-track {
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 4px;
  background: linear-gradient(90deg, rgba(10, 132, 255, 0.2) 0%, rgba(10, 132, 255, 0.7) 50%, rgba(48, 209, 88, 0.3) 100%);
  border-radius: 4px;
  transform: translateY(-50%);
  z-index: 1;
}

.pipeline-light-pulse {
  position: absolute;
  top: -2px;
  left: 0;
  width: 70px;
  height: 8px;
  background: radial-gradient(circle, #fff 0%, rgba(10, 132, 255, 0.8) 50%, transparent 100%);
  border-radius: 10px;
  box-shadow: 0 0 14px #0A84FF;
  animation: streamPulse 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes streamPulse {
  0% { left: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 90%; opacity: 0; }
}

.pipeline-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.node-sphere {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95) 0%, rgba(215, 235, 255, 0.75) 50%, rgba(150, 195, 255, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(10, 132, 255, 0.18), inset 0 2px 4px rgba(255, 255, 255, 0.95), inset 0 -3px 6px rgba(100, 150, 220, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition-bounce);
}

.pipeline-node:hover .node-sphere {
  transform: scale(1.15) translateY(-4px);
  box-shadow: 0 16px 32px rgba(10, 132, 255, 0.28), inset 0 2px 5px #fff;
}

.node-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.node-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--accent-cyan);
  font-weight: 600;
}

/* ================= Section Headers ================= */
.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-main);
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ================= Live Node Status & Latency Section ================= */
.nodes-section {
  padding: 80px 0;
}

.nodes-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 14px;
}

.filter-tabs {
  display: inline-flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-full);
}

.tab-btn {
  padding: 8px 18px;
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn.active {
  background: #FFFFFF;
  color: var(--accent-cyan);
  box-shadow: 0 4px 12px rgba(90, 115, 145, 0.12);
}

.refresh-ping-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.refresh-ping-btn:hover {
  background: #fff;
  color: var(--accent-cyan);
}

.refresh-ping-btn.spinning svg {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.node-card {
  padding: 22px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

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

.node-flag-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.node-flag-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.node-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.node-type-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(10, 132, 255, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-top: 3px;
}

.node-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-emerald);
  background: rgba(48, 209, 88, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.status-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.node-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 11px;
  color: var(--text-muted);
}

.metric-val {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.metric-val.latency {
  color: var(--accent-emerald);
}

.node-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  padding-top: 12px;
  font-size: 12px;
  color: var(--text-secondary);
}

.node-protocols {
  display: flex;
  gap: 6px;
}

.proto-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
}

.node-connect-btn {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.node-connect-btn:hover {
  text-decoration: underline;
}

/* ================= Core Advantages Section ================= */
.advantages-section {
  padding: 80px 0;
}

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

.advantage-card {
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adv-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(225, 240, 255, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(10, 132, 255, 0.12), inset 0 2px 2px #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.adv-icon-box svg {
  width: 28px;
  height: 28px;
}

.adv-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.adv-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.adv-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.adv-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-main);
}

.adv-features-list li svg {
  width: 14px;
  height: 14px;
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ================= Pricing Plans Section ================= */
.pricing-section {
  padding: 80px 0;
}

.billing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 48px;
}

.billing-toggle {
  display: inline-flex;
  padding: 5px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(90, 115, 145, 0.08);
}

.billing-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
}

.billing-btn.active {
  background: #FFFFFF;
  color: var(--accent-cyan);
  box-shadow: 0 4px 12px rgba(10, 132, 255, 0.15);
}

.discount-tag {
  background: linear-gradient(135deg, #FF3B30 0%, #FF9500 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}

.pricing-card {
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-lg);
  position: relative;
}

.pricing-card.popular {
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(10, 132, 255, 0.6);
  box-shadow: 0 24px 50px -10px rgba(10, 132, 255, 0.18), inset 0 1px 2px #fff;
  transform: translateY(-8px);
}

.pricing-card.popular:hover {
  transform: translateY(-12px);
}

.popular-badge {
  position: absolute;
  top: 14px;
  right: 18px;
  background: linear-gradient(135deg, #0A84FF 0%, #0066CC 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(10, 132, 255, 0.3);
}

.plan-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.plan-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.currency-symbol {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
}

.price-number {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-main);
  font-feature-settings: "tnum";
}

.price-cycle {
  font-size: 14px;
  color: var(--text-secondary);
}

.plan-features-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.06), transparent);
  margin-bottom: 20px;
}

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

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.plan-features li.highlight {
  color: var(--text-main);
  font-weight: 600;
}

.plan-features li svg {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ================= FAQ Section ================= */
.faq-section {
  padding: 80px 0;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

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

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(10, 132, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--accent-cyan);
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ================= User Reviews Section ================= */
.reviews-section {
  padding: 80px 0;
}

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

.review-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border-radius: var(--radius-lg);
}

.review-stars {
  display: flex;
  gap: 4px;
  color: #FFB800;
  font-size: 14px;
}

.review-content {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-style: normal;
}

.review-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  padding-top: 16px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DFECFA 0%, #C9E1F8 100%);
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-cyan);
  font-size: 15px;
}

.user-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.user-role-badge {
  font-size: 12px;
  color: var(--text-muted);
}

/* ================= Knowledge Portal Banner Section ================= */
.knowledge-portal-section {
  padding: 60px 0 90px;
}

.knowledge-portal-card {
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(235, 245, 255, 0.75) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
}

.kp-content {
  max-width: 620px;
}

.kp-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.kp-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.kp-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
}

.kp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.kp-chip {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.95);
  font-size: 12px;
  color: var(--text-secondary);
}

.kp-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
}

/* ================= Footer ================= */
.main-footer {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  padding: 60px 0 36px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

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

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 12px;
}

/* ================= Responsive Adjustments ================= */
@media (max-width: 1080px) {
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .knowledge-portal-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 24px;
  }
  .kp-content {
    max-width: 100%;
  }
  .kp-chips {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  }
  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pipeline-track {
    display: none;
  }
  .pipeline-diagram {
    flex-direction: column;
    gap: 20px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
