/* ===================================================================
   极速cloud (ijisuyun.mom) - 复古街机电玩与赛博雷电视觉系统 (Arcade Cyber Synthwave)
   视觉基调：午夜暗紫底色 + 电光琥珀金 + 赛博霓虹紫 + 街机HUD界面 + 雷电微动效
   =================================================================== */

:root {
  --bg-canvas: #0d081f;
  --bg-surface: #170f33;
  --bg-card: #201544;
  --bg-card-hover: #291b57;
  --bg-hud: rgba(23, 15, 51, 0.88);
  
  --brand-gold: #f59e0b;
  --brand-gold-hover: #d97706;
  --brand-gold-glow: rgba(245, 158, 11, 0.35);
  --brand-purple: #c084fc;
  --brand-purple-hover: #a855f7;
  --brand-cyan: #06b6d4;
  --brand-electric: #fbbf24;

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  --text-inverse: #0d081f;

  --border-arcade: #3b2875;
  --border-glow: #f59e0b;
  
  --font-system: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-arcade: 0 4px 20px -2px rgba(245, 158, 11, 0.2);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.4);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-system);
  background-color: var(--bg-canvas);
  color: var(--text-main);
  line-height: 1.68;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(192, 132, 252, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(245, 158, 11, 0.08) 0%, transparent 45%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 8, 31, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-arcade);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
}

.brand-name {
  background: linear-gradient(135deg, #fbbf24 0%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--brand-electric);
  background: rgba(245, 158, 11, 0.1);
}

.nav-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0d081f;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 15px var(--brand-gold-glow);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #fbbf24;
}

.nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

/* Hero Section */
.hero-section {
  padding: 70px 24px 60px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--brand-gold);
  border-radius: var(--radius-sm);
  color: var(--brand-electric);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.25;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title-accent {
  color: var(--brand-electric);
  text-shadow: 0 0 18px var(--brand-gold-glow);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #0d081f;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid #fde047;
  box-shadow: 0 0 25px var(--brand-gold-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.6);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-arcade);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.btn-secondary:hover {
  border-color: var(--brand-purple);
  color: var(--brand-purple);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border-arcade);
  padding-top: 24px;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--brand-electric);
}

.metric-lbl {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Arcade HUD Card */
.arcade-hud {
  background: var(--bg-hud);
  border: 2px solid var(--border-arcade);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card), inset 0 0 20px rgba(192, 132, 252, 0.05);
  position: relative;
  overflow: hidden;
}

.arcade-hud::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-purple), var(--brand-cyan));
}

.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border-arcade);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.hud-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-electric);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.hud-node-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.hud-node {
  background: var(--bg-surface);
  border: 1px solid var(--border-arcade);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.hud-node:hover {
  border-color: var(--brand-gold);
}

.hud-node-name {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-node-ping {
  font-family: var(--font-mono);
  color: #10b981;
  font-size: 0.85rem;
  font-weight: 700;
}

.hud-test-btn {
  width: 100%;
  padding: 10px;
  background: rgba(192, 132, 252, 0.15);
  border: 1px solid var(--brand-purple);
  color: var(--brand-purple);
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-mono);
}

.hud-test-btn:hover {
  background: var(--brand-purple);
  color: #0d081f;
}

/* Sections */
.section {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  color: var(--brand-electric);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-arcade);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all 0.25s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-arcade);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Use Cases */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--bg-card);
  border: 1px solid var(--border-arcade);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.case-badge {
  align-self: flex-start;
  padding: 4px 10px;
  background: rgba(192, 132, 252, 0.15);
  color: var(--brand-purple);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.case-device {
  font-size: 0.85rem;
  color: var(--brand-electric);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.case-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.case-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-arcade);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--brand-gold);
  box-shadow: 0 0 30px var(--brand-gold-glow);
  background: linear-gradient(180deg, #201544 0%, #170f33 100%);
}

.card-ribbon {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0d081f;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-sm);
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-desc {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.plan-price {
  margin-bottom: 24px;
}

.price-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--brand-electric);
  font-family: var(--font-mono);
}

.price-unit {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.92rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li::before {
  content: "⚡";
  color: var(--brand-electric);
  font-size: 0.85rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-arcade);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-toggle-icon {
  color: var(--brand-gold);
  font-size: 1.3rem;
  transition: transform 0.25s ease;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

/* Final CTA */
.final-cta-section {
  padding: 80px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(245, 158, 11, 0.06) 100%);
  border-top: 1px solid var(--border-arcade);
}

.final-cta-card {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-surface);
  border: 2px solid var(--border-arcade);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.final-cta-title {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.final-cta-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background: #090514;
  border-top: 1px solid var(--border-arcade);
  padding: 50px 24px 30px;
  color: var(--text-dim);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--brand-electric);
}

.disclaimer-text {
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
  max-width: 950px;
  margin: 0 auto 20px;
  color: #64748b;
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #475569;
}

/* Legal Pages & Articles */
.legal-container, .article-container {
  max-width: 860px;
  margin: 40px auto 80px;
  padding: 0 24px;
}

.legal-card, .article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-arcade);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.page-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--brand-electric);
}

.update-time {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-arcade);
  padding-bottom: 16px;
}

.legal-section {
  margin-bottom: 30px;
}

.legal-section h2, .article-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 28px 0 14px;
  color: var(--text-main);
  border-left: 3px solid var(--brand-gold);
  padding-left: 12px;
}

.legal-section p, .article-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-section ul, .article-card ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal-section li, .article-card li {
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.7;
}

/* Article specific */
.article-meta {
  display: flex;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 28px;
  font-family: var(--font-mono);
}

.article-lead {
  font-size: 1.12rem !important;
  color: var(--text-main) !important;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}

.article-cta {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(192, 132, 252, 0.08));
  border: 1px solid var(--brand-gold);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 36px 0;
  text-align: center;
}

.article-cta h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--brand-electric);
}

.article-crosslinks {
  border-top: 1px solid var(--border-arcade);
  padding-top: 24px;
  margin-top: 36px;
}

.article-crosslinks h4 {
  font-size: 1.05rem;
  margin-bottom: 14px;
  color: var(--text-main);
}

.crosslink-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.crosslink-list a {
  color: var(--brand-purple);
  font-size: 0.95rem;
}

.crosslink-list a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-metrics {
    justify-content: center;
  }
  .features-grid, .cases-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .legal-card, .article-card {
    padding: 28px 20px;
  }
}
