*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #06b6d4;
  --bg: #0f172a;
  --bg-card: #1e293b;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: #334155;
  --success: #22c55e;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.35);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #67e8f9; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,23,42,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--text-muted); font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,.4);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

/* Hero */
.hero {
  padding: 80px 0 60px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(37,99,235,.18) 0%, transparent 60%);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 12px;
}

.hero .tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 32px;
}

.tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: .9rem;
  color: var(--accent);
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.hero-note {
  margin-top: 20px;
  font-size: .9rem;
  color: var(--text-muted);
}

/* Stats */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat-label { font-size: .85rem; color: var(--text-muted); margin-top: 4px; }

/* Sections */
section { padding: 60px 0; }

.section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 40px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s, border-color .2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: .92rem; }

/* Nodes */
.nodes-section { background: var(--bg-card); }
.nodes-highlight {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.nodes-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.node-badge {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: .95rem;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.price-card.featured { border-color: var(--primary); box-shadow: var(--shadow); }

.price-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.price-amount { font-size: 2.2rem; font-weight: 800; color: var(--accent); margin: 16px 0; }
.price-amount small { font-size: .9rem; color: var(--text-muted); font-weight: 400; }
.price-features { list-style: none; margin: 20px 0; text-align: left; }
.price-features li { padding: 6px 0; color: var(--text-muted); font-size: .9rem; }
.price-features li::before { content: "✓ "; color: var(--success); }

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.review-stars { color: #fbbf24; margin-bottom: 8px; }
.review-author { font-size: .85rem; color: var(--text-muted); margin-top: 12px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  padding: 18px 24px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover { background: rgba(37,99,235,.08); }

.faq-answer {
  padding: 0 24px 18px;
  color: var(--text-muted);
  font-size: .92rem;
  display: none;
}

.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-arrow { transition: transform .2s; color: var(--text-muted); }

/* Daily update block */
.daily-update {
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(6,182,212,.08));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin: 40px 0;
}

.daily-update h3 { font-size: 1.15rem; margin-bottom: 8px; }
.daily-update .update-date { font-size: .85rem; color: var(--accent); margin-bottom: 12px; }
.daily-update p { color: var(--text-muted); font-size: .95rem; }

/* Articles list */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s;
}

.article-card:hover { transform: translateY(-4px); }

.article-card-body { padding: 24px; }
.article-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.article-card p { color: var(--text-muted); font-size: .9rem; margin-bottom: 16px; }
.article-meta { font-size: .8rem; color: var(--text-muted); }

/* Article page */
.article-header { padding: 60px 0 30px; }
.article-header h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 12px; }
.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.article-content h2 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
  color: var(--accent);
}

.article-content p { margin-bottom: 16px; color: var(--text-muted); }
.article-content ul, .article-content ol { margin: 0 0 16px 24px; color: var(--text-muted); }
.article-content li { margin-bottom: 8px; }

/* Download page */
.download-hero { text-align: center; padding: 60px 0 40px; }
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.download-card .platform-icon { font-size: 2.5rem; margin-bottom: 12px; }
.download-card h3 { margin-bottom: 8px; }
.download-card p { color: var(--text-muted); font-size: .85rem; margin-bottom: 16px; }

.steps-list {
  max-width: 640px;
  margin: 0 auto;
  counter-reset: step;
}

.step-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}

.step-content h4 { margin-bottom: 4px; }
.step-content p { color: var(--text-muted); font-size: .9rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-size: .9rem; }
.footer-copy { color: var(--text-muted); font-size: .85rem; margin-top: 24px; text-align: center; width: 100%; }

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0;
  font-size: .85rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 50px 0 40px; }
}
