/* ==========================================================================
   速云梯机场 (suyunti-jc.my) - 极简黑白禅意 & 动态实时数据看板视觉系统
   Live Metrics Dashboard, Dynamic Speedometer, Halftone Dot Grid Canvas
   ========================================================================== */

:root {
  --bg-body: #F4F4F6;
  --bg-subtle: #FAFAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-pill: #E4E4E7;
  
  --color-black: #18181B;         /* Primary Accent Black */
  --color-black-hover: #000000;
  --color-gray-dark: #27272A;
  --color-gray-muted: #71717A;
  --color-gray-light: #F4F4F5;
  --color-gray-border: #E4E4E7;
  
  --status-green: #10B981;
  --status-green-bg: #ECFDF5;
  
  --text-main: #18181B;           /* Deep Charcoal */
  --text-muted: #52525B;
  --text-dim: #A1A1AA;
  
  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-light: #E4E4E7;
  
  /* Soft Silk Elevation Shadows */
  --shadow-soft-sm: 0 2px 6px 0 rgba(0, 0, 0, 0.03);
  --shadow-soft-md: 0 10px 28px -4px rgba(0, 0, 0, 0.05), 0 3px 10px -2px rgba(0, 0, 0, 0.02);
  --shadow-soft-hover: 0 16px 36px -6px rgba(0, 0, 0, 0.08), 0 4px 14px -2px rgba(0, 0, 0, 0.03);
  --shadow-floating-capsule: 0 12px 32px -6px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
  
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-pill: 9999px;
  --radius-card: 24px;
  --radius-md: 14px;
  
  --transition-smooth: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-family);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #FFFFFF 0%, #F4F4F6 100%);
}

/* Interactive Mouse Dot Grid Canvas (鼠标网格点霓散效果) */
#dot-grid-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Silk Backdrop */
.silk-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, 0.85) 0%, transparent 70%),
    radial-gradient(ellipse at 80% 30%, rgba(228, 228, 231, 0.35) 0%, transparent 60%);
}

header, main, footer, .modal-overlay {
  position: relative;
  z-index: 1;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
.text-gradient {
  color: var(--text-main);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft-sm);
}

.section-title {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 48px auto;
  line-height: 1.65;
}

/* Floating Capsule Header Navbar */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1040px;
  z-index: 100;
  padding: 8px 16px;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-floating-capsule);
}

.navbar.scrolled {
  top: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 32px -6px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 2.2;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  background: var(--color-gray-light);
  padding: 4px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link.active {
  color: var(--text-main);
  background: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Pill Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  outline: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--color-black);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: var(--color-black-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft-sm);
}

.btn-outline:hover {
  border-color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft-md);
}

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

/* Hero Section */
.hero-section {
  padding-top: 160px;
  padding-bottom: 80px;
  background: transparent;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-capsule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft-sm);
}

.badge-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--status-green);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseBreathing 2s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes pulseBreathing {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.6rem, 4.8vw, 3.8rem);
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 560px;
  line-height: 1.65;
}

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

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-black);
}

/* Dashboard Visual Card (完全参考用户最新截图排版) */
.hero-visual {
  position: relative;
}

.node-card-main {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft-md);
  transition: var(--transition-smooth);
}

.node-card-main:hover {
  box-shadow: var(--shadow-soft-hover);
}

.node-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  gap: 12px;
  flex-wrap: wrap;
}

.node-status-title {
  font-size: 1.08rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.header-metrics-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metrics-badge {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  white-space: nowrap;
}

/* Retest Button */
.btn-retest {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-gray-light);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-retest:hover {
  background: #E4E4E7;
  border-color: var(--color-black);
  transform: translateY(-1px);
}

.btn-retest.spinning #retest-icon {
  animation: spinIcon 0.8s linear infinite;
}

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

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

.node-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.node-item:hover {
  border-color: var(--color-black);
  box-shadow: var(--shadow-soft-sm);
  transform: translateX(2px);
}

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

.code-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-gray-light);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.node-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--text-main);
}

.node-type {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--color-gray-light);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 2px;
  display: inline-block;
}

.node-ping {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--status-green);
  white-space: nowrap;
}

.ping-bar {
  width: 5px;
  height: 14px;
  background: var(--status-green);
  border-radius: 3px;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

/* Value change glow animation */
.value-pulse {
  animation: valueFlash 0.4s ease-out;
}

@keyframes valueFlash {
  0% { color: #2563EB; transform: scale(1.15); }
  50% { color: #10B981; transform: scale(1.05); }
  100% { color: var(--status-green); transform: scale(1); }
}

/* Floating Sub Cards (完全符合用户截图放置) */
.floating-subcard {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  padding: 14px 20px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft-md);
  z-index: 3;
  animation: floatSlow 6s ease-in-out infinite alternate;
}

.subcard-top {
  top: -24px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.subcard-bottom {
  bottom: -24px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation-delay: -3s;
}

.subcard-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.subcard-icon-box.green {
  background: var(--status-green-bg);
  color: var(--status-green);
}

.subcard-icon-box.dark {
  background: var(--color-gray-light);
  color: var(--color-black);
}

.subcard-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.subcard-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text-main);
}

.live-dot-tag {
  font-size: 0.65rem;
  font-weight: 900;
  background: var(--status-green-bg);
  color: var(--status-green);
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  animation: pulseBreathing 2s infinite ease-in-out;
}

.subcard-status-pill {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--status-green);
}

.subcard-desc-row {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.sparkline-mini {
  vertical-align: middle;
  transition: all 0.3s ease;
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

/* Core Advantages Section (精简 6 卡片) */
.features-section {
  padding: 80px 0;
  background: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft-sm);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-black);
  box-shadow: var(--shadow-soft-hover);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-black);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.feature-title {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}

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

.kw-badge {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--bg-subtle);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  font-weight: 600;
}

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

.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 48px;
  background: #FFFFFF;
  padding: 6px;
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft-sm);
}

.toggle-btn {
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.toggle-btn.active {
  background: var(--color-black);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  box-shadow: var(--shadow-soft-sm);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft-hover);
  border-color: var(--color-black);
}

.pricing-card.featured {
  border: 2px solid var(--color-black);
  box-shadow: var(--shadow-soft-hover);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--color-black);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.plan-price-box {
  margin: 20px 0;
}

.plan-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
}

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

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

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

.plan-feature-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-black);
  flex-shrink: 0;
}

.plan-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 8px;
  text-align: center;
}

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

.reviews-carousel-wrapper {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-slide {
  min-width: 100%;
  padding: 0 12px;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft-md);
}

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

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-black);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.author-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-main);
}

.author-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.review-stars {
  color: #F59E0B;
  display: flex;
  gap: 4px;
}

.review-content {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft-sm);
}

.carousel-btn:hover {
  background: var(--color-black);
  color: #FFFFFF;
  border-color: var(--color-black);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  width: 28px;
  border-radius: 5px;
  background: var(--color-black);
}

/* Articles Hub Section (图5双列卡片) */
.articles-section {
  padding: 80px 0;
  background: transparent;
}

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

.article-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 32px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition-smooth);
  cursor: pointer;
  box-shadow: var(--shadow-soft-sm);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-black);
  box-shadow: var(--shadow-soft-hover);
}

.article-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.45;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.article-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.faq-search-box {
  max-width: 600px;
  margin: 0 auto 40px auto;
  position: relative;
}

.faq-search-input {
  width: 100%;
  padding: 16px 24px 16px 54px;
  border-radius: var(--radius-pill);
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft-sm);
}

.faq-search-input:focus {
  border-color: var(--color-black);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  width: 20px;
  height: 20px;
}

.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft-sm);
}

.faq-item.active {
  border-color: var(--color-black);
  box-shadow: var(--shadow-soft-md);
}

.faq-question {
  padding: 22px 28px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.faq-toggle-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  stroke: var(--color-black);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 28px 22px 28px;
}

/* Article Reader Modal */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow-y: auto;
  padding: 40px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: var(--color-black);
  color: #FFFFFF;
}

/* Article Content Styling Inside Modal */
.article-full-content h1 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 900;
}

.article-full-content h2 {
  font-size: 1.35rem;
  color: var(--color-black);
  margin: 32px 0 16px 0;
  border-left: 4px solid var(--color-black);
  padding-left: 12px;
  font-weight: 800;
}

.article-full-content h3 {
  font-size: 1.15rem;
  color: var(--text-main);
  margin: 24px 0 12px 0;
  font-weight: 800;
}

.article-full-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.98rem;
  line-height: 1.8;
}

.article-full-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--bg-subtle);
  border-radius: 8px;
  overflow: hidden;
}

.article-full-content th, .article-full-content td {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  text-align: left;
  font-size: 0.9rem;
}

.article-full-content th {
  background: var(--color-gray-light);
  color: var(--text-main);
  font-weight: 800;
}

.article-full-content ol, .article-full-content ul {
  margin: 0 0 20px 24px;
  color: var(--text-muted);
}

.article-full-content li {
  margin-bottom: 8px;
}

.article-full-content .checklist-box {
  background: var(--color-gray-light);
  border: 1px solid var(--border-light);
  padding: 20px;
  border-radius: var(--radius-card);
  margin: 24px 0;
}

/* Footer Section */
.footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 80px 0 30px 0;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.65;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.875rem;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .navbar {
    width: calc(100% - 32px);
  }

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

  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 75px;
    left: -100%;
    width: calc(100vw - 32px);
    background: #FFFFFF;
    flex-direction: column;
    padding: 24px;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-floating-capsule);
    transition: var(--transition-smooth);
  }
  
  .nav-menu.active {
    left: 16px;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .article-pagination-box {
    grid-template-columns: 1fr !important;
  }

  .next-article-wrapper {
    text-align: left !important;
    align-items: flex-start !important;
  }
}

/* Article Pagination (上一篇 / 下一篇) */
.article-pagination-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px dashed var(--border-light);
}

.prev-article-wrapper, .next-article-wrapper {
  background: var(--color-gray-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition-smooth);
}

.prev-article-wrapper:hover, .next-article-wrapper:hover {
  border-color: var(--color-black);
  box-shadow: var(--shadow-soft-sm);
  transform: translateY(-2px);
}

.next-article-wrapper {
  text-align: right;
  align-items: flex-end;
}

.pagination-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pagination-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.pagination-link:hover {
  color: #2563EB;
}

/* Premium Article Detail Content Typography & Structure */
.article-full-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-main);
}

.article-full-content h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #18181B;
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #F4F4F5;
  letter-spacing: -0.01em;
}

.article-full-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #18181B;
  margin-top: 26px;
  margin-bottom: 12px;
}

.article-full-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: #3F3F46;
  margin-bottom: 20px;
  text-align: justify;
}

.article-full-content strong {
  color: #18181B;
  font-weight: 700;
}

/* Code Block Containers */
.article-full-content pre {
  background: #18181B;
  color: #F4F4F5;
  padding: 22px 24px;
  border-radius: 12px;
  font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
  font-size: 0.88rem;
  line-height: 1.65;
  overflow-x: auto;
  margin: 28px 0;
  border: 1px solid #27272A;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.article-full-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
  font-size: inherit;
  border-radius: 0;
  border: none;
  font-family: inherit;
}

.article-full-content code {
  background: #F4F4F5;
  color: #18181B;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid #E4E4E7;
}

/* Table Styling */
.article-full-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 28px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E4E4E7;
  box-shadow: var(--shadow-soft-sm);
}

.article-full-content th {
  background: #F8FAFC;
  color: #0F172A;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #E2E8F0;
}

.article-full-content td {
  padding: 14px 18px;
  font-size: 0.9rem;
  color: #334155;
  border-bottom: 1px solid #F1F5F9;
  font-weight: 500;
}

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

.article-full-content tr:nth-child(even) td {
  background: #FAFAFA;
}

/* Lists */
.article-full-content ul, .article-full-content ol {
  margin-bottom: 22px;
  padding-left: 24px;
  color: #3F3F46;
}

.article-full-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Custom Checklist & FAQ Container */
.article-full-content .checklist-box {
  background: #F4F4F5;
  border: 1px solid #E4E4E7;
  border-radius: 12px;
  padding: 22px 24px;
  margin: 28px 0;
}

.article-full-content .checklist-box h3 {
  margin-top: 0;
  font-size: 1.05rem;
  color: #18181B;
  font-weight: 800;
}

.article-full-content .article-faq {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 4px solid #18181B;
  padding: 24px 28px;
  border-radius: 12px;
  margin: 32px 0;
}

.article-full-content .article-faq p {
  margin-bottom: 20px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #334155;
}

.article-full-content .article-faq p:last-child {
  margin-bottom: 0;
}

.article-full-content .article-faq strong {
  color: #0F172A;
  font-size: 1.02rem;
  font-weight: 800;
  display: block;
  margin-bottom: 6px;
}
