/* 赔钱机场官网 - CSS Design System (Ultra Minimalist B2B Emerald White) */

:root {
  --primary: #10b981;
  --primary-dark: #059669;
  --primary-light: #f0fdf4;
  --bg-main: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --transition: all 0.2s ease-in-out;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

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

/* Hide Canvas */
#bg-canvas {
  display: none;
}

/* Container */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary-dark);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #047857;
}

.btn-outline {
  background-color: #ffffff;
  color: var(--text-main);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
  background-color: var(--primary-light);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

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

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

.nav-links a:hover {
  color: var(--primary-dark);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Section Shared */
.section {
  padding: 80px 0;
}

.section-subtle {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 10px 0 8px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

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

.hero-content {
  max-width: 780px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  margin: 16px 0 20px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.stat-item h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

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

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

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--primary-dark);
}

.advantage-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.advantage-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Node Latency & Status Dashboard */
.status-dashboard {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
}

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

.status-indicator {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.node-table {
  width: 100%;
  border-collapse: collapse;
}

.node-table th {
  text-align: left;
  padding: 10px 14px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.node-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.latency-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.825rem;
}

.latency-low {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.latency-mid {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.status-badge {
  color: var(--primary-dark);
  font-weight: 600;
}

/* Pricing Section */
.pricing-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--primary-dark);
  border-width: 2px;
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
}

.pricing-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing-price {
  margin: 16px 0;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.pricing-price .currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.pricing-price .amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.pricing-price .period {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.pricing-features {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* User Reviews */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.review-text {
  color: var(--text-main);
  font-size: 0.925rem;
  line-height: 1.55;
  margin-bottom: 16px;
}

.user-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
}

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

/* FAQ Accordion */
.faq-container {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 20px 16px 20px;
}

/* Tutorials & Knowledge Base */
.tutorial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.tutorial-card:hover {
  border-color: var(--primary-dark);
}

.tutorial-tag {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 10px;
}

.tutorial-card h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text-main);
}

.tutorial-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.tutorial-meta {
  font-size: 0.8rem;
  color: var(--primary-dark);
  font-weight: 600;
}

/* Footer */
.footer {
  background: #ffffff;
  color: var(--text-muted);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}

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

.footer-brand h3 {
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 320px;
}

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

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

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--primary-dark);
}

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

/* Article Page Specifics */
.article-header {
  padding: 110px 0 30px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.article-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.article-body {
  padding: 48px 0;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
}

.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 24px 0 12px;
}

.article-body p {
  margin-bottom: 16px;
}

.article-body ul, .article-body ol {
  margin: 0 0 20px 20px;
}

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

.article-cta-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin: 36px 0;
}

.article-cta-box h3 {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.article-cta-box p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.925rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.25rem; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero h1 { font-size: 1.85rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .status-dashboard { padding: 16px; }
  .node-table th:nth-child(3), .node-table td:nth-child(3) { display: none; }
}
