/* 赔钱机场 - PEIQIANJCHANG.HOMES Reference Matched UI Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&display=swap');

:root {
  --bg-main: #f6fafe;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-pill: #e0f2fe;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --border-light: #e2e8f0;
  --border-blue: #bae6fd;
  --border-glow: #38bdf8;
  
  --primary: #0284c7;
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --primary-hover: #1d4ed8;
  --primary-light: #f0f9ff;
  
  --text-dark: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-red: #ef4444;

  --shadow-sm: 0 2px 8px rgba(2, 132, 199, 0.04);
  --shadow-md: 0 10px 30px rgba(2, 132, 199, 0.08);
  --shadow-lg: 0 20px 40px rgba(2, 132, 199, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 100px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% -10%, #e0f2fe 0%, #f6fafe 60%);
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Containers & Grid */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-blue-text {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.domain-pill {
  font-size: 0.75rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: var(--primary);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  margin-left: 6px;
}

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

.nav-links a {
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.4);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  border: 1.5px solid #bae6fd;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: #f0f9ff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 24px;
  cursor: pointer;
}

/* HERO SECTION (2-Column Match) */
.hero {
  padding: 70px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-dark);
  margin-bottom: 18px;
  letter-spacing: -0.8px;
}

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

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px dashed var(--border-light);
}

.metric-item {
  text-align: left;
}

.metric-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2px;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Right Card Showcase */
.hero-visual {
  position: relative;
}

.hero-card-frame {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-card-img-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0f172a;
}

.hero-card-img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  padding: 10px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.badge-top-right {
  top: 28px;
  right: -10px;
}

.badge-bottom-left {
  bottom: 28px;
  left: -10px;
}

.badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0f2fe;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

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

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--text-dark);
  font-weight: 800;
}

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

.pain-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #bae6fd;
}

.pain-card .icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fee2e2;
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.pain-card.solution .icon-box {
  background: #d1fae5;
  color: var(--accent-green);
}

.pain-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

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

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

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.feature-icon {
  width: 50px;
  height: 50px;
  background: #e0f2fe;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

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

/* Node Health Panel */
.node-panel {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

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

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

.node-card {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.node-flag { font-size: 24px; }
.node-name { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
.node-tags { font-size: 0.78rem; color: var(--text-muted); }
.node-ping { font-size: 0.95rem; font-weight: 800; color: var(--accent-green); }
.node-load { font-size: 0.78rem; color: var(--text-light); }

/* Pricing Cards */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.toggle-switch {
  position: relative;
  width: 58px;
  height: 30px;
  background: #cbd5e1;
  border-radius: 100px;
  cursor: pointer;
  padding: 3px;
  transition: var(--transition);
}

.toggle-switch.active {
  background: var(--primary);
}

.toggle-slider {
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.toggle-switch.active .toggle-slider {
  transform: translateX(28px);
}

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

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-lg);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 800;
}

.plan-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; color: var(--text-dark); }
.plan-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; min-height: 42px; }

.plan-price {
  font-size: 2.7rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

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

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

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

.plan-features li::before {
  content: "✓";
  color: var(--accent-green);
  font-weight: 800;
}

/* Tutorials Tab */
.tutorial-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 22px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.tutorial-content {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.step-list { list-style: none; counter-reset: step-counter; }
.step-item { position: relative; padding-left: 54px; margin-bottom: 28px; }
.step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  background: #e0f2fe;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.step-item h4 { font-size: 1.1rem; margin-bottom: 6px; color: var(--text-dark); }
.step-item p { color: var(--text-muted); font-size: 0.95rem; }

.code-box {
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--primary);
}

.copy-btn {
  background: var(--primary);
  border: none;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
}

.copy-btn:hover { background: var(--primary-hover); }

/* FAQ Accordion */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
}

.faq-item.active .faq-answer { display: block; }
.faq-toggle-icon { font-size: 1.2rem; transition: transform 0.3s; color: var(--primary); }
.faq-item.active .faq-toggle-icon { transform: rotate(180deg); }

/* Articles Directory Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.article-tag {
  font-size: 0.78rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 800;
  margin-bottom: 10px;
}

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

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

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

/* Article Detail Page Layout */
.article-detail { padding: 50px 0 90px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-muted); margin-bottom: 30px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }

.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }

.article-main {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.article-header { margin-bottom: 32px; border-bottom: 1px solid var(--border-light); padding-bottom: 24px; }
.article-header h1 { font-size: 2.2rem; margin-bottom: 16px; color: var(--text-dark); }
.article-body { font-size: 1.05rem; line-height: 1.8; color: var(--text-body); }
.article-body h2 { font-size: 1.5rem; margin: 36px 0 16px; color: var(--text-dark); border-left: 4px solid var(--primary); padding-left: 12px; }
.article-body h3 { font-size: 1.25rem; margin: 28px 0 12px; color: var(--text-dark); }
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; }
.article-body li { margin-bottom: 8px; }

.cta-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  margin: 40px 0;
  box-shadow: var(--shadow-md);
}

.cta-box h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--text-dark); }
.cta-box p { color: var(--text-muted); font-size: 0.98rem; margin-bottom: 20px; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget { background: #ffffff; border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.widget-title { font-size: 1.1rem; margin-bottom: 16px; border-bottom: 1px solid var(--border-light); padding-bottom: 10px; color: var(--text-dark); }
.toc-list { list-style: none; }
.toc-list li { margin-bottom: 10px; font-size: 0.9rem; }
.toc-list a { color: var(--text-muted); }
.toc-list a:hover { color: var(--primary); }

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

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

.footer-about p { font-size: 0.9rem; margin-top: 14px; max-width: 320px; }
.footer-col h4 { color: var(--text-dark); font-size: 1rem; margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { text-align: center; font-size: 0.85rem; color: var(--text-light); border-top: 1px solid var(--border-light); padding-top: 24px; }

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { font-size: 2.3rem; }
  .article-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero h1 { font-size: 1.9rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
