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

body {
  font-family: 'Inter', sans-serif;
  /* Kept the blue gradient you requested */
  background: radial-gradient(circle at center, #2e8cff 0%, #0640a3 50%, #001a52 100%);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================
   TOP NAVIGATION
   ============================ */
.hero-nav {
  position: absolute;
  top: 40px;
  left: 60px;
  right: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-nav__logo {
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
}

.hero-nav__logo img {
  height: 50px;
  width: auto;
}

.hero-nav__links {
  display: flex;
  gap: 40px;
}

.hero-nav__links a {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.hero-nav__links a:hover {
  opacity: 1;
}

.mobile-menu-btn, .mobile-nav-overlay {
  display: none;
}

.mobile-menu-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 20;
}

/* ============================
   HUGE BACKGROUND TEXT
   ============================ */
.hero-title-bg {
  position: absolute;
  top: calc(38% - 1.5cm);
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 9.5vw;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  z-index: 1;
  opacity: 0.95;
  text-transform: uppercase;
  pointer-events: none;
}

/* ============================
   CENTER IMAGE
   ============================ */
.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100vh;
  pointer-events: none;
}

.image-placeholder {
  border: 2px dashed rgba(255, 255, 255, 0.3);
  padding: 40px 60px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* ============================
   BOTTOM LEFT CONTENT
   ============================ */
.hero-bottom-left {
  position: absolute;
  bottom: 50px;
  left: 60px;
  max-width: 320px;
  z-index: 10;
}

.hero-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  font-weight: 600;
}

.hero-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================
   BOTTOM RIGHT BUTTONS
   ============================ */
.hero-bottom-right {
  position: absolute;
  bottom: 50px;
  right: 60px;
  display: flex;
  gap: 16px;
  z-index: 10;
}

.btn {
  padding: 14px 28px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  background: transparent;
}

.btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn--solid {
  background: #fff;
  color: #000;
  border: 1px solid #fff;
}

.btn--solid:hover {
  background: #e0e0e0;
}

.arrow {
  font-size: 1rem;
  line-height: 0;
}

/* ============================
   RESPONSIVE DESIGN
   ============================ */
@media (max-width: 768px) {
  .hero-nav {
    top: 20px; left: 20px; right: 20px;
  }
  .hero-nav__links {
    display: none;
  }
  .hero-title-bg {
    font-size: 30vw;
  }
  .hero-bottom-left {
    bottom: 140px; left: 20px; right: 20px; max-width: none;
  }
  .hero-bottom-right {
    bottom: 30px; left: 20px; right: 20px; justify-content: space-between; gap: 10px;
  }
  .btn {
    flex: 1; justify-content: center; padding: 14px 16px;
  }
}


/* ============================
   MISSION SECTION
   ============================ */
.mission {
  position: relative;
  padding: 120px 60px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 10;
}

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

.mission-header {
  text-align: center;
  margin-bottom: 80px;
}

.mission-title {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: #8bbfff;
  margin-bottom: 16px;
  font-weight: 600;
}

.mission-headline {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

.mission-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 16px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.mission-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}

.mission-card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

/* Make the last card span wider on desktop if it's an odd number in a 2-col or 3-col grid */
@media (min-width: 1024px) {
  .mission-card:last-child {
    grid-column: span 2;
  }
}

.mission-closing {
  text-align: center;
  padding-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-closing p {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.4) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================
   RESPONSIVE DESIGN FOR MISSION
   ============================ */
@media (max-width: 768px) {
  .mission {
    padding: 80px 20px;
  }
  .mission-card {
    padding: 30px;
  }
  .mission-grid {
    grid-template-columns: 1fr;
  }
  .mission-card:last-child {
    grid-column: span 1;
  }
}


/* 3D Canvas specific styles */
#hero-3d-container canvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  outline: none;
}

/* ============================
   LAUNCH TIMELINE
   ============================ */
.launch-timeline {
  display: flex;
  align-items: center;
  gap: 20px;
}

.launch-timeline__marker {
  display: flex;
  align-items: center;
}

.launch-timeline__dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.launch-timeline__line {
  width: 60px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.launch-timeline__content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.launch-timeline__date {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
}

.launch-timeline__label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  font-weight: 600;
}

/* ============================
   NEW SECTIONS (Launch & Subscribe)
   ============================ */
.launch-section {
  position: relative;
  padding: calc(80px + 1cm) 20px 120px 20px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: center;
  z-index: 10;
  /* Fade smoothly into the hero background */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 150px);
  mask-image: linear-gradient(to bottom, transparent 0%, black 150px);
}

.section-container {
  max-width: 900px;
  margin: 0 auto;
}

/* The neon accent color matched to the blue theme */
.accent-color {
  color: #00d4ff !important;
}

.section-subtitle {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 16px;
  font-weight: 700;
}

.section-headline {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Inline Countdown */
.countdown-inline {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 60px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 40px 50px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.cd-num {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
}

.cd-separator {
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  margin-top: -2px;
}

.cd-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 15px;
  font-weight: 600;
}

/* Subscribe Form */
.subscribe-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 12px;
  flex-wrap: wrap;
}

.subscribe-form input {
  flex: 1 1 250px;
  padding: 20px 24px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.subscribe-form input:focus {
  border-color: #00d4ff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
}

.btn-accent {
  padding: 20px 40px;
  border-radius: 50px;
  background: #00d4ff;
  color: #000;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 70px 0 50px 0;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo {
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 6px;
  color: #fff;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
}

.footer-nav {
  display: flex;
  gap: 60px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-heading {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 8px;
  font-weight: 700;
}

.footer-nav-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav-col a:hover {
  color: #00d4ff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-made {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ============================
   HERO MINI COUNTDOWN
   ============================ */
.hero-countdown {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 32px;
}

.hero-cd-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.hero-cd-label {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
  font-weight: 600;
}

.hero-cd-sep {
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 2px;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .footer-nav {
    gap: 40px;
  }
}

/* ============================
   COMPREHENSIVE MOBILE CLEANUP
   ============================ */
html, body {
  overflow-x: hidden;
  width: 100%;
}

.mobile-break {
  display: none;
}

.desktop-space {
  display: inline;
}

@media (max-width: 768px) {
  .mobile-break {
    display: block !important;
  }
  
  .desktop-space {
    display: none !important;
  }

  /* Navigation Fixes & Mobile Menu Overlay */
  .hero-nav {
    top: 20px !important;
    left: 20px !important;
    right: 20px !important;
    position: fixed !important;
  }

  .mobile-menu-btn {
    display: block !important;
    position: relative !important;
    z-index: 9999 !important;
  }
  
  .mobile-menu-btn svg {
    pointer-events: none;
  }

  .desktop-only-links {
    display: none !important;
  }

  /* The new root-level overlay for mobile */
  .mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 5, 30, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .mobile-nav-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  
  .mobile-close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s ease;
  }
  
  .mobile-close-btn:active {
    transform: scale(0.9);
  }
  
  .mobile-nav-overlay a {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #fff;
    text-decoration: none;
  }

  /* Hero Layout Fixes */
  .hero-title-bg {
    font-size: 13.5vw !important;
    letter-spacing: -0.04em !important;
    white-space: normal !important;
    width: 100vw !important;
    padding: 0 5px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    line-height: 0.95 !important;
    top: calc(26% + 0.5cm) !important;
  }

  .hero-bottom-left {
    bottom: 40px !important;
    left: 20px !important;
    right: 20px !important;
    text-align: center;
  }

  .hero-bottom-right {
    top: 12% !important;
    bottom: auto !important;
    left: 20px !important;
    right: 20px !important;
    justify-content: center !important;
    width: auto !important;
  }

  .hero-countdown {
    justify-content: center;
  }

  .hero-cd-num { font-size: 1.4rem !important; }
  .hero-cd-label { font-size: 0.5rem !important; }
  .hero-cd-sep { font-size: 1rem !important; }

  /* Launch Section Countdown Fixes */
  .launch-section {
    padding: 60px 20px 80px 20px !important;
  }
  
  .section-headline {
    font-size: 2.2rem !important;
  }

  .countdown-inline {
    padding: 20px 10px !important;
    gap: 8px !important;
    border-radius: 16px !important;
    width: 100%;
  }

  .cd-item { min-width: 45px !important; }
  .cd-num { font-size: 2.2rem !important; }
  .cd-separator { font-size: 1.5rem !important; margin-top: 5px !important; }
  .cd-label { font-size: 0.55rem !important; margin-top: 10px !important; }

  /* Footer Layout Fixes */
  .footer-container { padding: 0 20px !important; }
  
  .footer-top {
    align-items: center !important;
    text-align: center;
    padding: 50px 0 30px 0 !important;
  }
  
  .footer-brand { margin: 0 auto; }
  
  .footer-nav {
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
    gap: 30px !important;
  }
  
  .footer-nav-col { align-items: center; text-align: center; }
}

/* ============================
   LOADING SCREEN & ANIMATIONS
   ============================ */
.global-loader {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: #00051e;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

body.loaded .global-loader {
  opacity: 0;
  visibility: hidden;
}

.loader-rings {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 25px;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
}

.ring-outer {
  top: 0; left: 0; right: 0; bottom: 0;
  border-top-color: #00d4ff;
  border-bottom-color: #00d4ff;
  animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.1), 0 0 15px rgba(0, 212, 255, 0.3);
}

.ring-inner {
  top: 12px; left: 12px; right: 12px; bottom: 12px;
  border-left-color: #ffffff;
  border-right-color: #ffffff;
  animation: spin-reverse 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  to { transform: rotate(-360deg); }
}

.loader-text {
  font-size: 0.8rem;
  letter-spacing: 6px;
  color: #00d4ff;
  text-transform: uppercase;
  font-weight: 600;
  margin-left: 6px; /* Balance tracking */
  animation: pulse-text 1.5s ease-in-out infinite;
}

@keyframes pulse-text {
  0%, 100% { opacity: 0.5; text-shadow: none; }
  50% { opacity: 1; text-shadow: 0 0 12px rgba(0, 212, 255, 0.6); }
}

/* Reveal Animations for UI */
.hero-title-bg, .hero-nav, .hero-bottom-left, .hero-bottom-right {
  opacity: 0;
  transform: translateY(30px);
}
.hero-title-bg {
  transform: translate(-50%, calc(-50% + 40px));
}

body.loaded .hero-title-bg {
  opacity: 0.95;
  transform: translate(-50%, -50%);
  transition: opacity 1.5s ease 0.2s, transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s;
}

body.loaded .hero-nav {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease 0.6s, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s;
}

body.loaded .hero-bottom-left {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease 0.8s, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s;
}

body.loaded .hero-bottom-right {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s ease 1s, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1) 1s;
}

/* 3D Canvas Intro Animation */
#hero-3d-container canvas {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 2s ease 0.4s, transform 2.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s;
}

body.loaded #hero-3d-container canvas {
  opacity: 1;
  transform: scale(1);
}
