/* FlashFox 闪狐云 - Organic Eco & Wellness Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  /* Color Palette - Organic Eco & Wellness */
  --bg-primary: #F7F5F0;       /* Oatmeal Sand White (60%) */
  --bg-secondary: #F4F7F4;     /* Light Sage Grey White */
  --card-bg: #FFFFFF;          /* Pure Soft White (20%) */
  --text-main: #1C3328;        /* Deep Fir Green (10%) */
  --text-muted: #4A6055;       /* Muted Sage Forest Green */
  --text-light: #7A9084;       /* Light Forest Grey */
  --accent-warm: #D97706;      /* Vibrant Warm Ochre Yellow (10% Accent) */
  --accent-warm-hover: #B45309;
  --accent-green: #4B6F58;     /* Misty Forest Green */
  --accent-green-light: #EAF0EC;
  --border-line: #DCE5DC;      /* Soft Grey-Green Divider */
  --border-light: #EBF0EC;

  /* Node Status Colors */
  --status-good: #10B981;
  --status-warning: #F59E0B;
  --status-shadow: rgba(16, 185, 129, 0.2);

  /* Radius & Shadows */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 10px 30px -5px rgba(28, 51, 40, 0.05);
  --shadow-hover: 0 20px 40px -10px rgba(28, 51, 40, 0.1);
  --shadow-glow: 0 0 25px rgba(217, 119, 6, 0.2);

  /* Font Families */
  --font-family: 'Noto Sans SC', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Organic Blobs & Mesh */
.dynamic-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: floatBlob 18s ease-in-out infinite alternate;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, #E3EBE4 0%, #D8E5DA 100%);
}

.blob-2 {
  bottom: -10%;
  right: -5%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, #FDE8D4 0%, #F5E3D0 100%);
  animation-delay: -6s;
}

.blob-3 {
  top: 40%;
  left: 30%;
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, #E6EFEA 0%, #D5E4DB 100%);
  animation-delay: -12s;
}

@keyframes floatBlob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.08); }
  100% { transform: translate(-30px, -20px) scale(0.95); }
}

/* Layout Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247, 245, 240, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-line);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(28, 51, 40, 0.04);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--text-main), var(--accent-green));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(28, 51, 40, 0.15);
}

.brand-tag {
  font-size: 0.75rem;
  background: var(--accent-green-light);
  color: var(--accent-green);
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
  margin-left: 6px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-warm);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--accent-warm-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--card-bg);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  border: 1px solid var(--border-line);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--accent-green);
  transform: translateY(-2px);
}

/* Announcement Top Banner */
.top-announcement {
  background: var(--text-main);
  color: #FFFFFF;
  font-size: 0.88rem;
  padding: 10px 0;
  text-align: center;
}

.top-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.badge-new {
  background: var(--accent-warm);
  color: #FFFFFF;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.75rem;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border-line);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--accent-green);
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -1px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title span {
  color: var(--accent-warm);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
}

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

/* Organic Hero Graphic / Dashboard Mockup */
.hero-graphic {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 24px;
  border: 1px solid var(--border-line);
  box-shadow: var(--shadow-soft);
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.hero-graphic-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

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

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #E2E8F0;
}
.dot.red { background-color: #F87171; }
.dot.yellow { background-color: #FBBF24; }
.dot.green { background-color: #34D399; }

.graphic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.stat-card {
  background: var(--bg-primary);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: left;
  border: 1px solid var(--border-line);
}

.stat-card .val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 4px;
}

.stat-card .lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Feature Highlights Bar */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

.trust-item svg {
  color: var(--accent-green);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--accent-green);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

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

/* Section Wrapper */
.section {
  padding: 90px 0;
}

.section-alt {
  background-color: var(--bg-secondary);
}

/* Node Latency & Status Section */
.node-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.node-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-line);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.node-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flag-icon {
  font-size: 1.5rem;
}

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

.node-type {
  font-size: 0.75rem;
  color: var(--accent-green);
  background: var(--accent-green-light);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.node-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--status-good);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--status-good);
  box-shadow: 0 0 8px var(--status-shadow);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.node-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-primary);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
}

.ping-value {
  font-family: monospace;
  font-weight: 700;
  color: var(--accent-warm);
}

/* Core Advantages Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.adv-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-line);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

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

.adv-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--accent-green-light);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.adv-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.adv-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  border: 1px solid var(--border-line);
  box-shadow: var(--shadow-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border: 2px solid var(--accent-warm);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}

.featured-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-warm);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
}

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

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 24px;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.plan-features li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-line);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

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

.faq-question svg {
  transition: transform 0.3s ease;
  color: var(--accent-green);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 24px 24px;
}

/* Knowledge Base Articles Grid */
.kb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.kb-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

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

.kb-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-warm);
  background: #FEF3C7;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 14px;
  width: fit-content;
}

.kb-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.4;
}

.kb-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.kb-link-btn {
  color: var(--accent-green);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-line);
  box-shadow: var(--shadow-soft);
}

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

.review-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--accent-green-light);
  color: var(--accent-green);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Article Template Styles (for detail sub-pages) */
.article-header {
  padding: 60px 0 40px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-line);
}

.article-body {
  padding: 60px 0;
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}

.article-body h1, .article-body h2, .article-body h3 {
  color: var(--text-main);
  margin-top: 36px;
  margin-bottom: 16px;
  font-weight: 800;
}

.article-body h2 {
  font-size: 1.6rem;
  border-bottom: 2px solid var(--border-line);
  padding-bottom: 8px;
}

.article-body p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
  color: var(--text-muted);
}

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

.article-cta-box {
  background: linear-gradient(135deg, var(--bg-secondary), var(--accent-green-light));
  border: 1px solid var(--border-line);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  margin: 40px 0;
}

/* Footer */
.footer {
  background: var(--text-main);
  color: #E2E8F0;
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.footer-brand p {
  color: #94A3B8;
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #64748B;
  font-size: 0.85rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hero-title { font-size: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}
