:root {
  --bg-corporate: #000000;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --accent-blue-light: #3D93F7;
  --accent-blue-dark: #1F70D2;
  --accent-gradient: linear-gradient(135deg, var(--accent-blue-light), var(--accent-blue-dark));
  --font-heading: 'Outfit', sans-serif;
  --font-tech: 'Space Grotesk', sans-serif;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

html,
body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background-color: var(--bg-corporate);
  font-family: var(--font-heading);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* No scrollbar needed for full screen single view */
::-webkit-scrollbar {
  display: none;
}

/* Background Particle Network */
#quant-network {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  /* Lets mouse events pass through to capture them in body */
}

/* Layout Structure */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 4rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Header & Navigation */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Reduced top/bottom space */
  width: 100%;
  position: relative;
  z-index: 20;
  padding-bottom: 3rem;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo {
  max-width: 720px;
  /* Strong brand presence */
  max-height: 130px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.header-social-hub {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
  margin-left: 1rem;
  margin-right: 1rem;
  padding-right: 3rem;
  /* Breath space for the last icon */
  align-items: center;
}

.social-icon {
  color: var(--text-secondary);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-icon:hover {
  color: var(--accent-blue-light);
  transform: translateY(-2px);
}

/* Hero Section (Left Aligned) */
.hero-section {
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 800px;
  z-index: 10;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 2rem;

  /* Entrance Animation */
  opacity: 0;
  transform: translateY(20px);
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.4s;
}

.hero-subtitle {
  font-family: var(--font-tech);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-blue-light);
  margin-bottom: 1rem;

  opacity: 0;
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
}

.hero-separator {
  width: 100px;
  height: 2px;
  background: var(--accent-gradient);
  margin-bottom: 2.5rem;

  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  animation: expandX 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
}

.hero-description {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 3.5rem;

  opacity: 0;
  transform: translateY(15px);
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.6s;
}

.coming-soon-badge {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  border-radius: 99px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-family: var(--font-tech);
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #FFFFFF;
  backdrop-filter: blur(5px);
  opacity: 0;
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.8s;
}

/* Footer Area */
.main-footer {
  padding: 1.5rem 0;
  /* Tightened footer height */
  border-top: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 20;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
}

@media (max-width: 768px) {
  .footer-content {
    text-align: center;
  }
}

/* Fallback Logo */
.logo-text-fallback {
  font-family: var(--font-tech);
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -1.5px;
  color: var(--text-primary);
}

.logo-text-fallback span {
  font-weight: 300;
  color: var(--accent-blue-light);
}

/* Global Animations Refined */
@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandX {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Base Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive constraints */
@media (max-width: 1024px) {
  .app-container {
    padding: 0 4rem;
  }
}

@media (max-width: 768px) {
  .app-container {
    padding: 2rem 1.5rem;
    height: auto;
  }

  .main-header {
    padding-bottom: 2.5rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .header-social-hub {
    margin-left: 0;
    padding-right: 0;
    width: auto;
    gap: 1.25rem;
    justify-content: flex-end;
  }

  .hero-headline {
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
  }

  .logo {
    max-width: 180px;
    max-height: 80px;
  }

  .hero-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
  }
}