/* ==========================================================================
   LightACloud / 灯塔云机场官网 - Cyberpunk Tech Design System
   Matches Design Inspiration (HUD Canvas & Clean Cream Plan Cards)
   ========================================================================== */

:root {
  --bg-dark: #0a0c14;
  --bg-card: #121624;
  --bg-card-hover: #181e30;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-bright: #ffffff;
  
  --cyan-neon: #00f2fe;
  --magenta-neon: #ff0055;
  --green-neon: #00ff88;
  --purple-neon: #7928ca;
  --orange-accent: #ff5e00;

  --plan-cream-bg: #fff7ed;
  --plan-cream-card: #ffedd5;
  --plan-cream-border: #f97316;
  --plan-dark-card: #181d2c;

  --border-neon: rgba(0, 242, 254, 0.3);
  --glass-bg: rgba(18, 22, 36, 0.75);
  --font-mono: 'Fira Code', 'Courier New', monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, #171d33 0%, #0a0c14 70%);
  min-height: 100vh;
}

/* Background Scanline Overlay */
body::before {
  content: " ";
  display: block;
  position: fixed;
  top: 0; left: 0; bottom: 0; right: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  z-index: 999;
  pointer-events: none;
  opacity: 0.4;
}

a {
  color: var(--cyan-neon);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--cyan-neon);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- HUD Header & Nav --- */
.hud-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 12, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 242, 254, 0.2);
  padding: 15px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

.brand-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--cyan-neon), var(--purple-neon));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 0;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan-neon);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--cyan-neon);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.btn-cyber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(90deg, #ff0055, #ff5e00);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 6px;
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-shadow: none;
}

.btn-cyber:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 0, 85, 0.7);
  color: #fff;
}

.btn-cyan {
  background: linear-gradient(90deg, #00f2fe, #4facfe);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
  color: #0a0c14 !important;
}

.btn-cyan:hover {
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.7);
}

/* --- Hero Section & Image 1 HUD Canvas Style --- */
.hero-section {
  padding: 60px 0 40px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--cyan-neon);
  padding: 6px 14px;
  border-radius: 20px;
  color: var(--cyan-neon);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  margin-bottom: 20px;
}

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

@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(90deg, var(--cyan-neon), var(--magenta-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* HUD Panel Component (Exact Replication of Image 1 UI) */
.hud-panel {
  background: rgba(13, 17, 26, 0.9);
  border: 1px solid #2a2f45;
  border-radius: 12px;
  padding: 24px;
  position: relative;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  font-family: var(--font-mono);
}

.hud-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.hud-panel-title {
  color: var(--green-neon);
  font-size: 0.85rem;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-target-box {
  width: 100%;
  height: 140px;
  border: 1px solid rgba(0, 242, 254, 0.2);
  position: relative;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.05) 0%, transparent 70%);
}

.hud-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--cyan-neon);
  border-style: solid;
}

.hud-corner.tl { top: -2px; left: -2px; border-width: 2px 0 0 2px; }
.hud-corner.tr { top: -2px; right: -2px; border-width: 2px 2px 0 0; }
.hud-corner.bl { bottom: -2px; left: -2px; border-width: 0 0 2px 2px; }
.hud-corner.br { bottom: -2px; right: -2px; border-width: 0 2px 2px 0; }

.hud-crosshair {
  width: 50px;
  height: 50px;
  border: 1px solid var(--cyan-neon);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hud-crosshair::before {
  content: '';
  width: 1px; height: 70px;
  background: var(--cyan-neon);
  position: absolute;
}

.hud-crosshair::after {
  content: '';
  width: 70px; height: 1px;
  background: var(--cyan-neon);
  position: absolute;
}

.hud-crosshair-center {
  width: 8px;
  height: 8px;
  background: var(--magenta-neon);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--magenta-neon);
}

.hud-status-box {
  border: 1px solid var(--purple-neon);
  border-radius: 8px;
  padding: 15px;
  background: rgba(121, 40, 202, 0.05);
}

.status-row {
  margin-bottom: 12px;
}

.status-row:last-child {
  margin-bottom: 0;
}

.status-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

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

.progress-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.progress-bar-fill.cyan { background: var(--cyan-neon); box-shadow: 0 0 10px var(--cyan-neon); }
.progress-bar-fill.pink { background: var(--magenta-neon); box-shadow: 0 0 10px var(--magenta-neon); }
.progress-bar-fill.green { background: var(--green-neon); box-shadow: 0 0 10px var(--green-neon); }

.hud-footer-line {
  margin-top: 15px;
  font-size: 0.8rem;
  color: var(--cyan-neon);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-footer-line::before {
  content: '';
  width: 4px; height: 14px;
  background: var(--magenta-neon);
}

/* --- Features Grid Section --- */
.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-bottom: 70px;
}

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

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan-neon);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 242, 254, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--cyan-neon);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 10px;
}

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

/* --- Package / Pricing Section (Inspired by Image 2 Cards) --- */
.pricing-section {
  padding: 60px 0;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.plan-card {
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 16px;
  padding: 35px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-card.recommended {
  background: var(--plan-cream-bg);
  border: 2px solid var(--orange-accent);
  transform: scale(1.03);
}

.plan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--orange-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

.plan-code {
  font-size: 0.85rem;
  font-weight: 800;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.plan-name {
  font-size: 1.8rem;
  font-weight: 900;
  color: #111;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 25px;
  min-height: 40px;
}

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

.plan-features li {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li::before {
  content: '✓';
  color: #16a34a;
  font-weight: 900;
}

.plan-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 20px 0;
}

.plan-price-box {
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
}

.plan-price-symbol {
  font-size: 1.2rem;
  font-weight: 900;
  color: #111;
}

.plan-price-val {
  font-size: 2.8rem;
  font-weight: 900;
  color: #111;
  margin: 0 4px;
}

.plan-price-period {
  font-size: 0.9rem;
  color: #666;
}

.btn-plan {
  display: block;
  text-align: center;
  padding: 14px 20px;
  background: #111;
  color: #fff !important;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.plan-card.recommended .btn-plan {
  background: var(--orange-accent);
}

.btn-plan:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* --- Tutorials / Downloads --- */
.tutorial-section {
  padding: 70px 0;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.client-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.client-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.client-tag {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

/* --- Troubleshooting & Status Section --- */
.trouble-section {
  padding: 60px 0;
  background: rgba(18, 22, 36, 0.5);
  border-radius: 16px;
  margin: 40px auto;
}

.diag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

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

.diag-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 12px;
  padding: 25px;
}

.diag-card h3 {
  color: var(--cyan-neon);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.node-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.node-status {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  background: rgba(0, 255, 136, 0.15);
  color: var(--green-neon);
}

/* --- FAQ Accordion --- */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--cyan-neon);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 25px 20px 25px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

/* --- Article Hub Section --- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 25px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

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

.article-tag {
  color: var(--cyan-neon);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  margin-bottom: 10px;
}

.article-card h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.4;
}

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

/* --- Article Detail Page Styles --- */
.article-header {
  padding: 50px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 40px;
}

.article-meta {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 15px;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
  max-width: 900px;
  margin: 0 auto;
}

.article-content h1, .article-content h2, .article-content h3 {
  color: #fff;
  margin: 35px 0 18px;
}

.article-content h2 {
  font-size: 1.6rem;
  border-left: 4px solid var(--cyan-neon);
  padding-left: 12px;
}

.article-content h3 {
  font-size: 1.3rem;
  color: var(--cyan-neon);
}

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

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

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

.article-cta-box {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(255, 0, 85, 0.1));
  border: 1px solid var(--cyan-neon);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  margin: 40px 0;
}

.article-cta-box h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

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

/* --- Footer --- */
.footer {
  background: rgba(8, 10, 16, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

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

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--cyan-neon);
}

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

.keyword-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.keyword-tag {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
}
