/* 一翻云机场官网 - Quantum Ladder Design Tokens & Grid Layout */
:root {
  --bg-deep: #070A13;
  --bg-card: #0F172A;
  --bg-card-hover: #1E293B;
  --text-white: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --accent-cyan: #00F2FE;
  --accent-blue: #4FACFE;
  --accent-purple: #818CF8;
  --status-green: #10B981;
  --status-yellow: #F59E0B;
  
  --gradient-cta: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
  --gradient-card: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
  --border-cyan-glow: 1px solid rgba(0, 242, 254, 0.25);
  --box-shadow-glow: 0 0 20px rgba(0, 242, 254, 0.12), inset 0 0 15px rgba(0, 242, 254, 0.05);
  --box-shadow-hover: 0 10px 30px rgba(0, 242, 254, 0.25), 0 0 40px rgba(79, 172, 254, 0.2);

  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container-max-width: 1280px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-white);
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Background Canvas & Hero Background Image Integration */
#quantum-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.bg-image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('bg-ladder.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  opacity: 0.28;
  z-index: -1;
  pointer-events: none;
  filter: contrast(1.1) brightness(0.85);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%);
}

/* Top Announcement Banner */
.top-banner {
  background: linear-gradient(90deg, rgba(0, 242, 254, 0.15) 0%, rgba(129, 140, 248, 0.2) 50%, rgba(79, 172, 254, 0.15) 100%);
  border-bottom: 1px solid rgba(0, 242, 254, 0.3);
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(10px);
}

.top-banner .badge {
  background: var(--gradient-cta);
  color: #070A13;
  font-weight: 700;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

.top-banner a {
  color: var(--accent-cyan);
  text-decoration: underline;
  font-weight: 600;
  margin-left: 6px;
}

/* Header Navbar */
header.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 19, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-white);
}

.brand-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-cta);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.brand-logo .logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  background: var(--gradient-cta);
  color: #070A13;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.8);
  border: var(--border-cyan-glow);
  color: var(--text-white);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  background: rgba(30, 41, 59, 0.9);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

/* Common Section Styles */
section {
  padding: 90px 24px;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

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

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-white);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  padding: 110px 24px 80px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.9);
  border: var(--border-cyan-glow);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  box-shadow: var(--box-shadow-glow);
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #FFFFFF 0%, #CBD5E1 60%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

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

.stat-card {
  background: var(--bg-card);
  border: var(--border-cyan-glow);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--box-shadow-glow);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-cyan);
}

.stat-val {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 6px;
}

.stat-lbl {
  font-size: 14px;
  color: var(--text-muted);
}

/* Grid Layout Matrix Cards (20% Card Theme) */
.grid-container {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-quantum {
  background: var(--bg-card);
  border: var(--border-cyan-glow);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--box-shadow-glow);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-quantum:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-6px);
}

.card-icon {
  width: 54px;
  height: 54px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-white);
}

.card-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Node Latency Monitor Section */
.node-monitor-card {
  background: var(--bg-card);
  border: var(--border-cyan-glow);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--box-shadow-glow);
}

.node-monitor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.monitor-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--status-green);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--status-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--status-green);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

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

.node-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.node-table td {
  padding: 16px;
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.node-region {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.flag {
  font-size: 20px;
}

.latency-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.latency-green {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.latency-purple {
  background: rgba(129, 140, 248, 0.15);
  color: #A5B4FC;
  border: 1px solid rgba(129, 140, 248, 0.3);
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-cta);
  border-radius: 3px;
}

/* Pricing Section */
.pricing-card {
  background: var(--bg-card);
  border: var(--border-cyan-glow);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.35s ease;
}

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.8) 100%);
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.25);
  transform: translateY(-8px);
}

.featured-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--gradient-cta);
  color: #070A13;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
}

.price-header {
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 42px;
  font-weight: 900;
  color: var(--accent-cyan);
}

.price-amount span {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 400;
}

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

.plan-features li {
  padding: 10px 0;
  color: var(--text-muted);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

/* Knowledge Base / Articles Grid */
.article-card {
  background: var(--bg-card);
  border: var(--border-cyan-glow);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

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

.article-tag {
  font-size: 12px;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

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

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

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--bg-card);
  border: var(--border-cyan-glow);
  border-radius: var(--radius-md);
  padding: 28px;
}

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

.user-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #070A13;
  font-size: 18px;
}

.user-details .name {
  font-weight: 700;
  color: var(--text-white);
}

.user-details .role {
  font-size: 13px;
  color: var(--text-muted);
}

.stars {
  color: #F59E0B;
  margin-bottom: 12px;
}

/* FAQ Accordion */
.faq-item {
  background: var(--bg-card);
  border: var(--border-cyan-glow);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  padding: 22px 28px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-answer {
  padding: 0 28px 22px;
  color: var(--text-muted);
  font-size: 15px;
  display: none;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  display: block;
}

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

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

/* Footer */
footer {
  background: rgba(7, 10, 19, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 24px 30px;
  color: var(--text-muted);
}

.footer-grid {
  max-width: var(--container-max-width);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 14px;
  max-width: 320px;
}

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

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

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

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-dim);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title { font-size: 42px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 16px; }
  .grid-3, .grid-4, .grid-2, .hero-stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
