/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #000;
  color: #fff;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(59,130,246,0.3); }
a { text-decoration: none; color: inherit; }

/* === NAV === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 48px;
  backdrop-filter: blur(16px);
  background: rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.nav-logo {
  font-size: 20px; font-weight: 700; letter-spacing: -0.5px;
  background: linear-gradient(135deg, #fff, #777);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 11px; letter-spacing: 1.5px; color: #444;
}
.nav-links a { transition: color 0.3s; }
.nav-links a:hover { color: #999; }
.nav-login {
  border: 1px solid #222 !important; padding: 6px 18px; border-radius: 99px;
  color: #aaa !important; transition: all 0.3s !important;
}
.nav-login:hover { border-color: #555 !important; color: #fff !important; }
.lang-toggle {
  opacity: 0.25; cursor: pointer; transition: opacity 0.3s;
  display: flex; align-items: center;
}
.lang-toggle:hover { opacity: 0.5; }

/* === HERO === */
.hero {
  position: relative; height: 100vh; overflow: hidden;
}
#globeContainer {
  position: absolute; inset: 0; z-index: 1;
}
/* Everything after the hero must stack above the globe canvas bleed */
.stats-bar, .section, footer { position: relative; z-index: 10; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 5;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 80px;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.5) 35%,
    rgba(0,0,0,0.05) 60%,
    rgba(0,0,0,0.2) 100%
  );
  pointer-events: none;
}
.hero-content { pointer-events: auto; max-width: 420px; }
.hero-content h1 {
  font-size: 56px; font-weight: 700; letter-spacing: -3px; line-height: 1.05;
  background: linear-gradient(180deg, #fff 0%, #555 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-tagline {
  font-size: 15px; color: #777; margin-top: 20px; line-height: 1.8;
}
.hero-actions {
  display: flex; align-items: center; gap: 20px; margin-top: 36px;
}

/* === LOCATION LABEL === */
.location-label {
  position: absolute;
  bottom: 80px;
  right: 80px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  color: rgba(160,200,255,0.6);
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  z-index: 6;
}

/* === BUTTONS === */
.btn-primary {
  background: #fff; color: #000;
  padding: 13px 30px; border-radius: 99px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.3s;
  display: inline-block;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255,255,255,0.08);
}
.btn-ghost {
  font-size: 12px; color: #555; letter-spacing: 0.5px; transition: color 0.3s;
}
.btn-ghost:hover { color: #aaa; }

/* === STATS BAR === */
.stats-bar {
  display: flex;
  border-top: 1px solid #161616;
  border-bottom: 1px solid #161616;
  background: #0a0a10;
}
.stat {
  flex: 1; padding: 36px 48px; text-align: center;
  border-right: 1px solid #1a1a24;
}
.stat:last-child { border-right: none; }
.stat-num {
  font-size: 40px; font-weight: 700; letter-spacing: -2px;
  background: linear-gradient(180deg, #fff 0%, #555 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 11px; color: #777; letter-spacing: 2px; margin-top: 6px;
  text-transform: uppercase;
}

/* === SECTIONS === */
.section {
  padding: 120px 80px;
  position: relative;
}
.section-label {
  font-size: 11px; letter-spacing: 5px; color: #4f8cff;
  text-transform: uppercase; margin-bottom: 20px; display: block;
}
.section-title {
  font-size: 38px; font-weight: 700; letter-spacing: -1.5px; line-height: 1.2;
  background: linear-gradient(180deg, #fff 0%, #666 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  max-width: 600px;
}
.section-desc {
  font-size: 15px; color: #999; margin-top: 20px; line-height: 1.8;
  max-width: 500px;
}

/* === PLATFORM SECTION === */
.section-platform {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(59,130,246,0.06) 0%, transparent 50%),
    #080810;
}
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; margin-top: 64px;
  background: #1a1a28;
  border: 1px solid #1a1a28;
}
.feature-card {
  background: #0e0e18;
  padding: 48px;
  transition: background 0.4s;
}
.feature-card:hover {
  background: #141422;
}
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: #0a0a14;
  border: 1px solid #151520;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; color: #4f8cff;
}
.feature-card h3 {
  font-size: 18px; font-weight: 600; letter-spacing: -0.3px;
  color: #eee; margin-bottom: 10px;
}
.feature-card p {
  font-size: 13px; color: #999; line-height: 1.7;
}
.feature-tag {
  display: inline-block; margin-top: 16px;
  font-size: 10px; letter-spacing: 2px; color: #777;
  border: 1px solid #2a2a3a; padding: 4px 12px; border-radius: 99px;
}

/* === INTELLIGENCE SECTION === */
.section-intel {
  background:
    radial-gradient(ellipse at 80% 50%, rgba(59,130,246,0.05) 0%, transparent 50%),
    #060610;
  border-top: 1px solid #161616;
}
.intel-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 24px; margin-top: 64px;
}
.intel-item {
  padding: 24px 0;
  border-top: 1px solid #111;
}
.intel-line {
  width: 32px; height: 2px;
  background: linear-gradient(90deg, #4f8cff, transparent);
  margin-bottom: 12px;
}
.intel-label {
  font-size: 13px; color: #bbb; letter-spacing: 0.3px;
}

/* === CTA SECTION === */
.section-cta {
  text-align: center;
  padding: 160px 80px;
  background:
    radial-gradient(ellipse at 50% 80%, rgba(59,130,246,0.06) 0%, transparent 50%),
    #0a0a14;
  border-top: 1px solid #161616;
}
.section-cta h2 {
  font-size: 42px; font-weight: 700; letter-spacing: -2px; line-height: 1.2;
  background: linear-gradient(180deg, #fff 0%, #444 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-cta p {
  font-size: 14px; color: #999; margin-top: 16px; margin-bottom: 36px;
}

/* === FOOTER === */
.footer {
  border-top: 1px solid #161616;
  padding: 40px 80px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; color: #666; letter-spacing: 1px;
  background: #060610;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .nav-links { gap: 16px; }
  .hero-overlay { padding: 0 32px; }
  .hero-content h1 { font-size: 36px; }
  .section { padding: 80px 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .intel-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { flex-wrap: wrap; }
  .stat { flex-basis: 50%; }
  .section-cta h2 { font-size: 28px; }
  .footer { flex-direction: column; gap: 12px; }
}
