/* ==========================================================================
   FlyV Master Hub (flyv.website) - 自研全球专线平台集群官方总站
   Universal Command Nexus · Deep Titanium Glassmorphism & Multi-Platform Matrix
   Pure Native CSS - Ultra Fast, Responsive, High Conversion
   ========================================================================== */

:root {
  --bg-space: #070913;
  --bg-card: rgba(16, 21, 38, 0.72);
  --bg-card-hover: rgba(24, 32, 58, 0.9);
  --bg-card-solid: #0e1324;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(6, 182, 212, 0.45);
  
  --cyan: #06b6d4;
  --indigo: #6366f1;
  --purple: #a855f7;
  --pink: #ec4899;
  --amber: #f59e0b;
  --emerald: #10b981;
  
  --gradient-nexus: linear-gradient(135deg, #06b6d4 0%, #6366f1 50%, #ec4899 100%);
  --gradient-btn: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-btn-warm: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
  --gradient-pill: linear-gradient(90deg, rgba(6, 182, 212, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
  
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Segoe UI", Roboto, "PingFang SC", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", Menlo, monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  
  --shadow-card: 0 16px 40px -10px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 35px rgba(6, 182, 212, 0.25);
  --inner-glow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 50% -10%, rgba(99, 102, 241, 0.18) 0%, transparent 60%),
    radial-gradient(circle at 85% 25%, rgba(6, 182, 212, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 15% 65%, rgba(236, 72, 153, 0.12) 0%, transparent 50%),
    var(--bg-space);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Background Matrix Grid */
.bg-grid-mesh {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Navigation Bar (Command Center Capsule)
   ========================================================================== */
.navbar-wrapper {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 16px;
}

.navbar {
  width: 100%;
  max-width: 1200px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(11, 15, 28, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), var(--inner-glow);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-icon {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 14px rgba(6, 182, 212, 0.5));
  transition: transform 0.4s ease;
}

.brand-logo:hover .brand-icon {
  transform: rotate(20deg) scale(1.1);
}

.brand-name {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-name span {
  background: var(--gradient-nexus);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-badge {
  font-size: 0.68rem;
  padding: 3px 8px;
  background: var(--gradient-pill);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: var(--radius-full);
  color: var(--cyan);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.nav-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-ghost {
  padding: 8px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.btn-ghost:hover {
  color: #fff;
}

.btn-primary {
  padding: 10px 22px;
  background: var(--gradient-btn);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(6, 182, 212, 0.65);
}

/* ==========================================================================
   Hero Section & Command Hub Header
   ========================================================================== */
.hero-section {
  padding: 165px 0 80px;
  text-align: center;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px;
  background: var(--gradient-pill);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-full);
  color: var(--cyan);
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 28px;
  box-shadow: 0 4px 24px rgba(6, 182, 212, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title .text-gradient {
  background: var(--gradient-nexus);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.08rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 38px;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.btn-hero-main {
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 800;
  background: var(--gradient-btn);
  color: #fff;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 32px rgba(6, 182, 212, 0.4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-hero-main:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 42px rgba(6, 182, 212, 0.65);
}

.btn-hero-secondary {
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  border-radius: var(--radius-full);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

/* Platform Cluster Stats Bar */
.cluster-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(16, 21, 38, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  max-width: 1080px;
  margin: 0 auto;
}

.stat-chip {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 10px;
}

.stat-chip:last-child {
  border-right: none;
}

.stat-val {
  font-size: 1.8rem;
  font-weight: 900;
  font-family: var(--font-mono);
  background: var(--gradient-nexus);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 600;
}

/* ==========================================================================
   Master Hub: The 4 Flagship Brand Platform Showcases
   ========================================================================== */
.section-padding {
  padding: 95px 0;
}

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

.section-tag {
  color: var(--cyan);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

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

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
  gap: 30px;
}

.platform-hub-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-card), var(--inner-glow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.platform-hub-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.card-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
}

.brand-emblem-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.emblem-cocoduck {
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.35);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.2);
}

.emblem-shanshuiyun {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.emblem-flyv {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.35);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.emblem-wjkche {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.platform-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.platform-heading {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}

.platform-subheading {
  font-size: 0.96rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.platform-desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.feature-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.feature-tag {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.domains-cluster-list {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 26px;
}

.domains-cluster-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.domains-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.domain-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cyan);
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.platform-cta-row {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.btn-portal-direct {
  flex: 1;
  padding: 14px;
  font-weight: 800;
  font-size: 0.98rem;
  text-align: center;
  border-radius: var(--radius-md);
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 18px rgba(6, 182, 212, 0.35);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-portal-direct:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(6, 182, 212, 0.6);
}

.btn-portal-sub {
  padding: 14px 20px;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: center;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  transition: var(--transition);
}

.btn-portal-sub:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Real-Time Global Node Ping & Availability Radar
   ========================================================================== */
.radar-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.radar-node-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.radar-node-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

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

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

.node-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.node-line {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.node-ping-val {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 800;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* ==========================================================================
   Smart Scenario Recommender (智能场景快速选台)
   ========================================================================== */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.scenario-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.scenario-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
}

.scenario-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.scenario-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.scenario-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.scenario-recommend {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 18px;
}

/* ==========================================================================
   Multi-Device Platform Setup Hub
   ========================================================================== */
.client-setup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.client-setup-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  transition: var(--transition);
}

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

.client-emblem {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

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

.client-apps {
  font-size: 0.82rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 18px;
}

.btn-client-guide {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-box {
  max-width: 860px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-card[open] {
  border-color: rgba(6, 182, 212, 0.4);
  background: rgba(22, 29, 52, 0.85);
}

.faq-header {
  padding: 22px 26px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-header::-webkit-details-marker {
  display: none;
}

.faq-header::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--cyan);
  transition: transform 0.25s ease;
}

.faq-card[open] .faq-header::after {
  content: "−";
}

.faq-body {
  padding: 0 26px 24px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* ==========================================================================
   Bottom Universal Banner
   ========================================================================== */
.bottom-universal-banner {
  background: 
    radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.18) 0%, transparent 70%),
    rgba(16, 21, 38, 0.9);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-xl);
  padding: 75px 40px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), var(--shadow-glow);
  margin-bottom: 85px;
}

.bottom-banner-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.bottom-banner-desc {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 38px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 55px 0 40px;
  background: #05070e;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

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

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

/* Mobile Sticky Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(9, 13, 24, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(6, 182, 212, 0.35);
  padding: 12px 20px;
  z-index: 999;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .platforms-grid { grid-template-columns: 1fr; }
  .cluster-stats-strip { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .mobile-sticky-bar { display: flex; }
}
