/* 肯の机机场官网 Design System - Black, White & Cyber Crimson Red */
:root {
  --bg-dark: #0a0a0c;
  --bg-card: #121216;
  --bg-card-hover: #1a1a22;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 42, 69, 0.5);
  
  --text-main: #f0f0f5;
  --text-muted: #8a8a9e;
  --text-dim: #555566;
  
  --accent-red: #ff2a45;
  --accent-red-glow: rgba(255, 42, 69, 0.35);
  --accent-red-dark: #990014;
  --white: #ffffff;
  
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", Consolas, Monaco, monospace;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

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

/* Navigation Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

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

.logo-badge {
  background: var(--accent-red);
  color: var(--white);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 900;
  box-shadow: 0 0 12px var(--accent-red-glow);
}

.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
}

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

.nav-menu a:hover {
  color: var(--white);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-red);
  transition: width 0.25s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-btn {
  background: var(--accent-red);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--accent-red);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 16px var(--accent-red-glow);
  text-decoration: none;
  display: inline-block;
}

.nav-btn:hover {
  transform: translateY(-2px);
  background: #ff475f;
  box-shadow: 0 0 24px rgba(255, 42, 69, 0.6);
}

/* Shared Section Styles */
section {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  color: var(--accent-red);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(255, 42, 69, 0.08);
  border: 1px solid rgba(255, 42, 69, 0.2);
  border-radius: 4px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--white);
  margin-bottom: 16px;
}

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

/* Hero Section */
.hero {
  padding-top: 170px;
  padding-bottom: 110px;
  text-align: center;
  position: relative;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #a0a0b5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span {
  color: var(--accent-red);
  -webkit-text-fill-color: var(--accent-red);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
}

.btn-primary {
  background: var(--accent-red);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 30px var(--accent-red-glow);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: #ff475f;
  box-shadow: 0 0 45px rgba(255, 42, 69, 0.7);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Feature Grid - Asymmetric Modern Layout */
.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  background: var(--bg-card-hover);
}

.feature-card.col-8 { grid-column: span 8; }
.feature-card.col-4 { grid-column: span 4; }
.feature-card.col-6 { grid-column: span 6; }
.feature-card.col-12 { grid-column: span 12; }

@media (max-width: 992px) {
  .feature-card.col-8,
  .feature-card.col-4,
  .feature-card.col-6 {
    grid-column: span 12;
  }
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 42, 69, 0.1);
  border: 1px solid rgba(255, 42, 69, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

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

/* Node Status Board (Terminal Cyber Style) */
.node-board {
  background: #0d0d12;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.node-board-header {
  background: #15151c;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

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

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.node-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.node-item:hover {
  border-color: rgba(255, 42, 69, 0.3);
  background: rgba(255, 42, 69, 0.03);
}

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

.node-flag {
  font-size: 1.4rem;
}

.node-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}

.node-type {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.node-metrics {
  text-align: right;
}

.node-ping {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: #27c93f;
}

.node-status {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #27c93f;
  border-radius: 50%;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: var(--accent-red);
  box-shadow: 0 0 35px rgba(255, 42, 69, 0.15);
  background: linear-gradient(180deg, #181216 0%, #121216 100%);
}

.pricing-card.featured::before {
  content: 'POPULAR / 推荐';
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--accent-red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

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

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

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

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

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

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

.plan-btn {
  width: 100%;
  text-align: center;
  padding: 14px 0;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: block;
  transition: all 0.25s ease;
}

.plan-btn-primary {
  background: var(--accent-red);
  color: var(--white);
  box-shadow: 0 0 20px var(--accent-red-glow);
}

.plan-btn-primary:hover {
  background: #ff475f;
}

.plan-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid var(--border-color);
}

.plan-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

@media (max-width: 992px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 42, 69, 0.15);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: 1px solid rgba(255, 42, 69, 0.3);
}

.user-name {
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}

.user-role {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.review-rating {
  color: #ffb400;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

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

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.active {
  border-color: rgba(255, 42, 69, 0.4);
}

.faq-question {
  padding: 22px 28px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  color: var(--accent-red);
  transition: transform 0.3s ease;
}

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

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

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

/* Knowledge Base / Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
}

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

.article-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.article-tag {
  color: var(--accent-red);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
}

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

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 14px;
}

.footer-links h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

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

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* Article Detail Page Specific Styles */
.article-detail {
  padding-top: 140px;
  max-width: 840px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

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

.breadcrumb a:hover {
  color: var(--accent-red);
}

.article-header-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 18px;
}

.article-content {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.article-content h2 {
  color: var(--white);
  font-size: 1.6rem;
  margin: 40px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.article-content h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin: 28px 0 12px 0;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

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

.article-cta-box {
  background: linear-gradient(135deg, rgba(255, 42, 69, 0.15) 0%, rgba(20, 20, 26, 0.9) 100%);
  border: 1px solid var(--accent-red);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.article-cta-box h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

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