/* ==========================================================================
   DENGTACLOUD (灯塔CLOUD · 灯塔云) DESIGN SYSTEM & THEME
   Deep Learning from dengtacloud.com UI aesthetics & Atlas Lab architecture
   ========================================================================== */

:root {
  /* Color Palette: Cosmic Dark & Beacon Illumination */
  --bg-space: #070B14;
  --bg-deep: #0A0F1D;
  --bg-surface: #0E162B;
  --bg-card: rgba(17, 26, 47, 0.72);
  --bg-card-hover: rgba(24, 37, 66, 0.88);
  --bg-glass: rgba(13, 20, 38, 0.65);
  --bg-glass-heavy: rgba(10, 15, 29, 0.92);

  /* Signature Beacon Brand Accents */
  --beacon-cyan: #00C3FD;
  --beacon-sky: #38BDF8;
  --beacon-blue: #2563EB;
  --beacon-gold: #F59E0B;
  --beacon-amber: #FDE047;
  --beacon-purple: #8B5CF6;
  --beacon-indigo: #6366F1;
  --beacon-emerald: #10B981;
  --beacon-rose: #FA4B66;

  /* Gradients */
  --grad-cyan-blue: linear-gradient(135deg, #00C3FD 0%, #2563EB 100%);
  --grad-beacon-gold: linear-gradient(135deg, #FDE047 0%, #F59E0B 100%);
  --grad-indigo-purple: linear-gradient(135deg, #6366F1 0%, #A855F7 100%);
  --grad-aurora: linear-gradient(135deg, #00C3FD 0%, #6366F1 50%, #F59E0B 100%);
  --grad-card-border: linear-gradient(135deg, rgba(56, 189, 248, 0.4) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(245, 158, 11, 0.3) 100%);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  
  --text-white: #FFFFFF;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dark: #0F172A;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-medium: rgba(255, 255, 255, 0.22);
  --border-glow-cyan: rgba(0, 195, 253, 0.45);
  --border-glow-gold: rgba(245, 158, 11, 0.45);

  /* Shadows & Glows */
  --glow-cyan: 0 0 25px rgba(0, 195, 253, 0.35);
  --glow-gold: 0 0 25px rgba(245, 158, 11, 0.35);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-card-hover: 0 20px 40px -12px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.25);

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s var(--ease-spring);
}

/* Base Reset & Background */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-space);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-space);
  line-height: 1.6;
}

/* Background Canvas & Starfield Layer */
#starfieldCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.cosmic-nebula-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: 
    radial-gradient(circle at 20% 15%, rgba(0, 195, 253, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 25%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(245, 158, 11, 0.06) 0%, transparent 60%);
}

/* Universal Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Top Brand Switcher Bar (Connecting 门户, 实验室 & 研究所)
   ========================================================================== */
.top-brand-switcher {
  background: rgba(7, 11, 20, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 100;
  font-size: 13px;
}

.top-brand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}

.brand-portal-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 3px 10px;
  border-radius: 9999px;
  transition: var(--transition-fast);
  font-weight: 500;
}

.brand-portal-link:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
}

.brand-portal-link.active {
  color: var(--beacon-cyan);
  background: rgba(0, 195, 253, 0.1);
  border: 1px solid rgba(0, 195, 253, 0.3);
}

.top-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--beacon-emerald);
  font-size: 12px;
  font-family: var(--font-mono);
}

.pulse-dot-green {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--beacon-emerald);
  box-shadow: 0 0 10px var(--beacon-emerald);
  animation: pulseBeacon 2s infinite ease-in-out;
}

@keyframes pulseBeacon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* ==========================================================================
   Header & Navigation (Sleek, Independent Engineering Lab Header)
   ========================================================================== */
.top-brand-switcher {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-smooth);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo-symbol {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.45);
  background: rgba(14, 22, 43, 0.95);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 195, 253, 0.25);
  transition: var(--transition-smooth);
}

.brand-logo-wrap:hover .logo-symbol {
  transform: rotate(15deg) scale(1.05);
  border-color: var(--beacon-cyan);
}

.brand-text-block strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08rem;
  background: linear-gradient(90deg, #FFFFFF 0%, #38BDF8 80%, #00C3FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.brand-text-block .sub-brand {
  display: block;
  font-size: 9.5px;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Segmented Capsule Navigation */
.desktop-nav-wrap {
  display: flex;
  align-items: center;
}

.header-nav {
  display: flex;
  align-items: center;
  list-style: none;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  background: rgba(14, 22, 43, 0.7);
  padding: 0;
  overflow: hidden;
}

.header-nav li {
  border-left: 1px solid var(--border-subtle);
}

.header-nav li:first-child {
  border-left: none;
}

.header-nav a {
  display: block;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04rem;
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
}

.header-nav a.active {
  color: var(--beacon-cyan);
  background: rgba(0, 195, 253, 0.14);
  font-weight: 700;
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-dengta-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.05rem;
  color: #070B14;
  background: linear-gradient(135deg, #00C3FD 0%, #38BDF8 100%);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 195, 253, 0.35);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-dengta-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 195, 253, 0.55);
}

/* Language Dropdown */
.lang-selector-wrap {
  position: relative;
}

.btn-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-secondary);
  padding: 7px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-lang:hover {
  color: var(--text-white);
  border-color: var(--border-medium);
}

.lang-dropdown-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 6px;
  min-width: 120px;
  box-shadow: var(--shadow-card);
  display: none;
  flex-direction: column;
  z-index: 100;
}

.lang-dropdown-panel.show {
  display: flex;
}

.lang-opt {
  background: none;
  border: none;
  color: var(--text-secondary);
  text-align: left;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-opt:hover, .lang-opt.active {
  background: rgba(0, 195, 253, 0.12);
  color: var(--beacon-cyan);
}

/* Mobile Hamburger Button */
.btn-burger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
}

.btn-burger span {
  width: 100%;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section & Lighthouse Dimension Aesthetic
   ========================================================================== */
.hero-wrapper {
  padding: 70px 0 60px 0;
  position: relative;
  text-align: center;
}

/* dengtacloud.com signature vertical ray connecting line */
.hero-lighthouse-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 25px;
}

.hero-beacon-emblem {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.5);
  background: rgba(14, 22, 43, 0.9);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 35px rgba(0, 195, 253, 0.45);
  position: relative;
  z-index: 2;
}

.hero-ray-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(0, 195, 253, 0.8) 0%, rgba(255, 255, 255, 0.15) 100%);
  margin: 0 auto;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(0, 195, 253, 0.08);
  border: 1px solid rgba(0, 195, 253, 0.3);
  border-radius: 9999px;
  font-size: 13px;
  color: var(--beacon-sky);
  margin-bottom: 20px;
  letter-spacing: 0.05rem;
}

.hero-title-box {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 30px 20px;
  margin: 0 auto 30px auto;
  max-width: 980px;
  background: rgba(14, 22, 43, 0.35);
  backdrop-filter: blur(10px);
}

.hero-title-box h1 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.18rem;
  line-height: 1.25;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero-title-gradient {
  background: linear-gradient(90deg, #FFFFFF 0%, #38BDF8 40%, #F59E0B 85%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  letter-spacing: 0.1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* 3 Big Metric Highlights (Authentic dengtacloud & lab benchmarks) */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto 40px auto;
}

.hero-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 20px 16px;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.hero-metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-card-hover);
}

.metric-number-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 6px;
}

.metric-number {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-white);
  font-family: var(--font-mono);
}

.metric-unit {
  font-size: 18px;
  font-weight: 700;
  color: var(--beacon-cyan);
}

.metric-label {
  font-size: 12.5px;
  color: var(--text-secondary);
  letter-spacing: 0.05rem;
}

/* Hero Action CTAs */
.hero-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06rem;
  color: #070B14;
  background: linear-gradient(135deg, #00C3FD 0%, #38BDF8 60%, #F59E0B 100%);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 195, 253, 0.4);
  transition: var(--transition-smooth);
}

.btn-hero-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(0, 195, 253, 0.6);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-medium);
  transform: translateY(-3px);
}

/* Terminal CLI Box */
.hero-cli-box {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(7, 11, 20, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.cli-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(14, 22, 43, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cli-dots {
  display: flex;
  gap: 6px;
}

.cli-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.cli-dot.red { background: #EF4444; }
.cli-dot.yellow { background: #F59E0B; }
.cli-dot.green { background: #10B981; }

.cli-title {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

.cli-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #38BDF8;
}

.cli-prompt {
  color: var(--beacon-gold);
  margin-right: 8px;
}

.btn-copy-cli {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
}

.btn-copy-cli:hover {
  color: var(--text-white);
}

/* ==========================================================================
   Dual Gateway Hub Section (灯塔实验室 vs 灯塔研究所)
   ========================================================================== */
.dual-engine-section {
  padding: 70px 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2rem;
  color: var(--beacon-cyan);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.08rem;
  margin-bottom: 12px;
  color: var(--text-white);
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
}

/* Gateway Cards Grid */
.dual-gateway-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.gateway-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 38px 32px;
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.gateway-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.8), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.gateway-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-card-hover);
}

.gateway-card:hover::before {
  opacity: 1;
}

.gateway-card.institute::before {
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.8), transparent);
}
.gateway-card.institute:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.25);
}

.gateway-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1rem;
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.gateway-badge.lab {
  color: var(--beacon-cyan);
  background: rgba(0, 195, 253, 0.1);
  border: 1px solid rgba(0, 195, 253, 0.3);
}

.gateway-badge.institute {
  color: var(--beacon-gold);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.gateway-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 12px;
}

.gateway-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.gateway-features-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gateway-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-primary);
}

.gateway-features-list svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.gateway-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-gateway-enter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-gateway-enter.lab {
  color: #070B14;
  background: linear-gradient(135deg, #00C3FD 0%, #38BDF8 100%);
  box-shadow: 0 4px 15px rgba(0, 195, 253, 0.3);
}
.btn-gateway-enter.lab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 195, 253, 0.5);
}

.btn-gateway-enter.institute {
  color: #070B14;
  background: linear-gradient(135deg, #FDE047 0%, #F59E0B 100%);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.btn-gateway-enter.institute:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.link-gateway-sub {
  font-size: 13.5px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}
.link-gateway-sub:hover {
  color: var(--text-white);
  text-decoration: underline;
}

/* ==========================================================================
   Beacon Radar Interactive Simulator (Recreated for DengtaCloud IEPL)
   ========================================================================== */
.radar-appshow-section {
  padding: 50px 0 80px 0;
}

.radar-stage-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(20px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.radar-left-intro h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 14px;
}

.radar-left-intro p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.radar-points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.radar-point-item {
  background: rgba(14, 22, 43, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px;
}

.radar-point-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--text-white);
  margin-bottom: 4px;
}

.radar-point-item span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

.radar-right-interactive {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.radar-svg-container {
  width: 100%;
  max-width: 360px;
  height: 360px;
  position: relative;
}

/* Concentric Pulse Animations */
@keyframes radarWavePulse {
  0% {
    transform: scale(0.65);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.3;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.ellipop {
  transform-origin: 250px 250px;
  animation: radarWavePulse 3.5s infinite ease-out;
}
.ellipop2 { animation-delay: 1.1s; }
.ellipop3 { animation-delay: 2.2s; }

/* Rotating Orbit Particles */
@keyframes orbitRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.orbit-track {
  transform-origin: 250px 250px;
  animation: orbitRotate 16s infinite linear;
}

.telemetry-card {
  width: 100%;
  max-width: 400px;
  background: rgba(10, 15, 29, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 20px;
}

.telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
  font-family: var(--font-mono);
}

.badge-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
}
.badge-status-pill.ready {
  background: rgba(245, 158, 11, 0.15);
  color: var(--beacon-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-status-pill.connecting {
  background: rgba(99, 102, 241, 0.15);
  color: var(--beacon-indigo);
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.badge-status-pill.connected {
  background: rgba(16, 185, 129, 0.15);
  color: var(--beacon-emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

.telemetry-item {
  background: rgba(14, 22, 43, 0.6);
  padding: 8px;
  border-radius: 6px;
}

.telemetry-key {
  display: block;
  font-size: 10.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.telemetry-val {
  display: block;
  font-size: 13.5px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-white);
}

/* ==========================================================================
   Six Brand Pillars (Why Choose DengtaCloud IEPL)
   ========================================================================== */
.pillars-section {
  padding: 80px 0;
  position: relative;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px 24px;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-card-hover);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 195, 253, 0.1);
  border: 1px solid rgba(0, 195, 253, 0.25);
  color: var(--beacon-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.pillar-tag {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--beacon-gold);
  letter-spacing: 0.1rem;
  margin-bottom: 6px;
}

.pillar-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-white);
}

.pillar-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Platform Downloads Section (dengtacloud.com authentic clients)
   ========================================================================== */
.downloads-section {
  padding: 80px 0;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
  position: relative;
}

.platform-card.featured {
  border-color: rgba(0, 195, 253, 0.45);
  box-shadow: 0 0 25px rgba(0, 195, 253, 0.2);
}

.platform-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(0, 195, 253, 0.15);
  color: var(--beacon-cyan);
  border: 1px solid rgba(0, 195, 253, 0.3);
}

.platform-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: var(--shadow-card-hover);
}

.platform-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px auto;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--beacon-cyan);
}

.platform-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-white);
}

.platform-version-pill {
  display: inline-block;
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.platform-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-platform-download {
  display: block;
  width: 100%;
  padding: 10px 0;
  font-size: 13.5px;
  font-weight: 700;
  color: #070B14;
  background: linear-gradient(135deg, #00C3FD 0%, #38BDF8 100%);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-platform-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 195, 253, 0.4);
}

.btn-platform-download.outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-platform-download.outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-medium);
}

/* ==========================================================================
   Footer (dengtacloud.com & Multi-Column Ecosystem Architecture)
   ========================================================================== */
.site-footer {
  background: rgba(7, 11, 20, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px 0;
  margin-top: 60px;
  position: relative;
  z-index: 10;
}

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

.footer-brand-col p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 14px;
  max-width: 360px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1rem;
  color: var(--text-white);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  font-size: 13.5px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--beacon-cyan);
  padding-left: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-bottom-bar a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-bottom-bar a:hover {
  color: var(--text-white);
}

/* ==========================================================================
   Modals & Toast Notifications
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.show {
  display: flex;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
  position: relative;
  padding: 36px;
}

.btn-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-modal-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #EF4444;
  color: #EF4444;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(14, 22, 43, 0.95);
  border: 1px solid var(--beacon-cyan);
  box-shadow: 0 8px 30px rgba(0, 195, 253, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 12px 20px;
  color: var(--text-white);
  font-size: 13.5px;
  display: none;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  animation: slideToast 0.3s ease-out;
}

.toast-container.show {
  display: flex;
}

@keyframes slideToast {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   Mobile Responsive Rules
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .hero-metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dual-gateway-grid {
    grid-template-columns: 1fr;
  }
  .radar-stage-box {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  .header-nav {
    display: none;
  }
  .btn-burger {
    display: flex;
  }
  .hero-title-box h1 {
    font-size: 26px;
    letter-spacing: 0.1rem;
  }
  .hero-subtitle {
    font-size: 14px;
  }
  .hero-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .platforms-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
