/* ==========================================================================
   GUGA CLOUD (咕嘎云) - PHOSPHOR TERMINAL CONSOLE STYLESHEET
   Aesthetics: Phosphor Green #A9EFA6, Amber #FFC466, Dark #0A0F0B, 44px Grid
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
  --bg-primary: #0A0F0B;
  --bg-secondary: #0E1610;
  --bg-card: rgba(14, 22, 16, 0.85);
  --bg-elevated: #131E15;
  --text-primary: #A9EFA6;
  --text-muted: #6B9C69;
  --text-bright: #D2FFCF;
  --accent-amber: #FFC466;
  --accent-amber-glow: rgba(255, 196, 102, 0.4);
  --border-color: rgba(169, 239, 166, 0.25);
  --border-active: #FFC466;
  --glow-green: 0 0 8px rgba(169, 239, 166, 0.45);
  --glow-amber: 0 0 10px rgba(255, 196, 102, 0.6);
  --grid-size: 44px;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, monospace;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Strict phosphor console rule: 0 radius everywhere */
}

html {
  font-family: var(--font-mono);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  font-size: 15px;
  line-height: 1.6;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    linear-gradient(rgba(169, 239, 166, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 239, 166, 0.04) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  cursor: crosshair;
  text-shadow: 0 0 4px rgba(169, 239, 166, 0.35);
  letter-spacing: -0.01em;
}

/* Crosshair Overlay lines & Coordinates Display */
.crosshair-h, .crosshair-v {
  position: fixed;
  pointer-events: none;
  z-index: 9990;
  background: rgba(169, 239, 166, 0.18);
}
.crosshair-h {
  left: 0;
  right: 0;
  height: 1px;
}
.crosshair-v {
  top: 0;
  bottom: 0;
  width: 1px;
}
.coord-readout {
  position: fixed;
  bottom: 12px;
  right: 18px;
  z-index: 9999;
  background: rgba(10, 15, 11, 0.9);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  font-size: 11px;
  color: var(--accent-amber);
  text-shadow: 0 0 6px var(--accent-amber-glow);
  pointer-events: none;
  font-family: var(--font-mono);
}

/* CRT Screen Scanline Simulation (Subtle) */
body::after {
  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: 9980;
  pointer-events: none;
  opacity: 0.35;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Status Banner */
.sys-status-bar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  padding: 6px 0;
  color: var(--text-muted);
}
.sys-status-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.blink-dot {
  width: 8px;
  height: 8px;
  background: var(--text-primary);
  box-shadow: var(--glow-green);
  animation: pulseDot 1.4s infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 15, 11, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-bright);
  font-weight: 700;
  font-size: 18px;
}
.logo-prefix {
  color: var(--accent-amber);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  padding: 4px 6px;
}
.nav-link:hover {
  color: var(--accent-amber);
  text-shadow: var(--glow-amber);
}
.nav-link.highlight {
  color: var(--accent-amber);
  border: 1px dashed var(--accent-amber);
  background: rgba(255, 196, 102, 0.08);
}
.nav-link.highlight:hover {
  background: rgba(255, 196, 102, 0.18);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Button Component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-primary);
  cursor: crosshair;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(169, 239, 166, 0.15), transparent);
  transition: left 0.4s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  text-shadow: var(--glow-amber);
  box-shadow: 0 0 12px rgba(255, 196, 102, 0.25);
}
.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-color: var(--text-primary);
  font-weight: 700;
}
.btn-primary:hover {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  color: var(--bg-primary);
  box-shadow: var(--glow-amber);
}
.btn-amber {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  background: rgba(255, 196, 102, 0.08);
}
.btn-amber:hover {
  background: var(--accent-amber);
  color: #0A0F0B;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* Hero Section */
.hero-section {
  padding: 56px 0 64px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}
.terminal-window {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  margin-bottom: 32px;
}
.terminal-header {
  background: #141E16;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
}
.terminal-controls {
  display: flex;
  gap: 8px;
}
.ctrl-btn {
  width: 10px;
  height: 10px;
  border: 1px solid var(--border-color);
}
.ctrl-btn.active {
  background: var(--text-primary);
}
.terminal-body {
  padding: 24px 28px;
  font-size: 14px;
}
.boot-log-container {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.7;
}
.boot-line {
  display: block;
}
.boot-line .ok {
  color: var(--text-bright);
  font-weight: 700;
}
.boot-line .accent {
  color: var(--accent-amber);
}

.hero-headline-wrap {
  margin: 16px 0 20px 0;
}
.hero-headline {
  font-size: clamp(26px, 4.5vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-bright);
  text-shadow: var(--glow-green);
  min-height: 1.25em;
  display: inline;
}
.blinking-cursor {
  display: inline-block;
  width: 14px;
  height: 1.1em;
  vertical-align: text-bottom;
  background-color: var(--text-primary);
  margin-left: 4px;
  animation: cursorBlink 0.9s infinite step-end;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 820px;
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-subtitle strong {
  color: var(--text-primary);
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.meta-item span {
  color: var(--text-bright);
}

/* Section Header Generic */
.section-header {
  margin-bottom: 40px;
  position: relative;
}
.section-tag {
  font-size: 12px;
  color: var(--accent-amber);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}
.section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-bright);
  text-shadow: var(--glow-green);
}
.section-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 720px;
}

/* Core Advantages (Scanline hover effect) */
.features-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border-color);
}
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.terminal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.terminal-card:hover {
  border-color: var(--border-active);
  box-shadow: 0 0 16px rgba(255, 196, 102, 0.2);
}
/* Scanline sweep on hover */
.terminal-card::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 196, 102, 0.15) 50%, rgba(169, 239, 166, 0.25) 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.terminal-card:hover::after {
  opacity: 1;
  animation: scanlineSweep 1.2s infinite linear;
}
@keyframes scanlineSweep {
  0% { top: -60px; }
  100% { top: 100%; }
}

.card-num {
  font-size: 12px;
  color: var(--accent-amber);
  margin-bottom: 12px;
  display: block;
  font-weight: 700;
}
.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
}
.card-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Media & AI Support Grid */
.unlock-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border-color);
  background: rgba(14, 22, 16, 0.5);
}
.service-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-badge {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 18px;
  transition: all 0.25s;
}
.service-badge:hover {
  border-color: var(--accent-amber);
  transform: translateY(-2px);
}
.badge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.service-name {
  font-weight: 700;
  color: var(--text-bright);
  font-size: 15px;
}
.service-status {
  font-size: 11px;
  color: var(--accent-amber);
  border: 1px solid var(--accent-amber);
  padding: 2px 6px;
}
.service-detail {
  font-size: 12px;
  color: var(--text-muted);
}

/* Global Node Matrix */
.nodes-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border-color);
}
.nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.node-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s;
}
.node-card:hover {
  border-color: var(--accent-amber);
}
.node-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.node-country {
  font-weight: 700;
  color: var(--text-bright);
  font-size: 14px;
}
.node-flag {
  font-size: 16px;
}
.node-route {
  font-size: 12px;
  color: var(--text-muted);
}
.node-stats {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  border-top: 1px dashed rgba(169, 239, 166, 0.15);
  padding-top: 6px;
  color: var(--accent-amber);
}

/* 3-Step Onboarding */
.steps-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-item {
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  padding: 24px;
  position: relative;
}
.step-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-amber);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.85;
}
.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Clients Matrix */
.clients-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border-color);
}
.client-platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.platform-tag {
  background: rgba(169, 239, 166, 0.08);
  border: 1px solid var(--border-color);
  color: var(--text-bright);
  font-size: 12px;
  padding: 4px 12px;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.client-card {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s;
}
.client-card:hover {
  border-color: var(--accent-amber);
}
.client-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.client-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.6;
}
.client-link {
  font-size: 12px;
  color: var(--accent-amber);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.client-link:hover {
  text-decoration: underline;
}

/* Pricing Table */
.pricing-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border-color);
  background: rgba(14, 22, 16, 0.4);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pricing-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s;
}
.pricing-card.featured {
  border-color: var(--accent-amber);
  box-shadow: 0 0 20px rgba(255, 196, 102, 0.15);
  background: #0E1810;
}
.featured-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent-amber);
  color: #0A0F0B;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  letter-spacing: 0.05em;
}
.plan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.plan-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 4px;
}
.plan-price .currency {
  font-size: 18px;
  font-weight: 400;
  color: var(--accent-amber);
  margin-right: 2px;
}
.plan-period {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.plan-features {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1;
}
.plan-features li {
  font-size: 13px;
  color: var(--text-primary);
  padding: 6px 0;
  border-bottom: 1px dashed rgba(169, 239, 166, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before {
  content: ">";
  color: var(--accent-amber);
  font-weight: 700;
}

/* Quick Access */
.shortcuts-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-color);
}
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.shortcut-card {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  padding: 16px;
  text-decoration: none;
  display: block;
  transition: all 0.2s;
}
.shortcut-card:hover {
  border-color: var(--accent-amber);
  background: #131E15;
}
.shortcut-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 4px;
}
.shortcut-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* User Reviews (Terminal Log Style) */
.reviews-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border-color);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  padding: 20px;
}
.review-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--accent-amber);
  margin-bottom: 10px;
}
.review-stars {
  color: var(--accent-amber);
}
.review-body {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 12px;
}
.review-user {
  font-size: 11px;
  color: var(--text-muted);
}

/* FAQ Accordion Terminal */
.faq-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border-color);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
}
.faq-item {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}
.faq-question {
  padding: 16px 20px;
  cursor: crosshair;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-bright);
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-question:hover {
  color: var(--accent-amber);
}
.faq-icon {
  color: var(--accent-amber);
  font-size: 14px;
  transition: transform 0.2s;
}
.faq-item.active .faq-icon {
  transform: rotate(90deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
  padding: 0 20px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 20px 16px 20px;
}

/* Support Banner */
.support-section {
  padding: 48px 0;
  background: #101912;
  border-bottom: 1px solid var(--border-color);
}
.support-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.support-content h3 {
  font-size: 20px;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.support-content p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Footer (EXACTLY 4 titles opening in new tabs) */
.site-footer {
  background: #080C09;
  padding: 48px 0 36px 0;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px dashed rgba(169, 239, 166, 0.15);
}
.footer-logo {
  font-weight: 700;
  color: var(--text-bright);
  font-size: 16px;
}
.footer-nav-four {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav-four a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.footer-nav-four a:hover {
  color: var(--accent-amber);
  border-bottom-color: var(--accent-amber);
  text-shadow: var(--glow-amber);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 12px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .cards-grid-3, .steps-grid, .clients-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-badges-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shortcuts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: auto;
    padding: 12px 0;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .main-nav {
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .hero-headline {
    font-size: 24px;
  }
  .cards-grid-3, .steps-grid, .clients-grid, .reviews-grid, .pricing-grid, .service-badges-grid, .shortcuts-grid, .nodes-grid {
    grid-template-columns: 1fr; /* Pure Single Column on Mobile */
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta-group .btn {
    width: 100%;
    min-height: 48px; /* Finger friendly touch targets */
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-nav-four {
    flex-direction: column;
    gap: 14px;
  }
  .support-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .support-card .btn {
    width: 100%;
  }
}
