:root {
  --primary: #00f2fe;
  --primary-alt: #4facfe;
  --bg: #000b1a;
  --bg-alt: #001530;
  --card-bg: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-dim: #94a3b8;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

/* Splash Screen */
#splash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-content {
  text-align: center;
}

.splash-logo {
  display: inline-block;
  background: white;
  padding: 12px 24px;
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.splash-logo img {
  height: 160px;
  /* High-res logo display */
  width: auto;
  display: block;
  animation: pulse 2s infinite;
}

.splash-loader {
  width: 40px;
  height: 40px;
  border: 3px solid var(--glass-border);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-alt));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.2;
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(0, 11, 26, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 44px;
  /* Standardize height for the new asset */
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: var(--transition);
  background: white;
  padding: 6px 14px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: block;
}

.logo img:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.4));
}


/* Launch Page Animation */
.logo-animate {
  animation: logoLaunch 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  will-change: transform, opacity;
}

@keyframes logoLaunch {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    filter: blur(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

nav a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text);
  border-radius: 10px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Page Overlay Lock */
body.menu-open {
  overflow: hidden;
}

/* Button System */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-alt));
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
}

.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 140px 0 80px;
  /* Reduced from 180px for a more professional feel */
  background: radial-gradient(circle at top right, rgba(0, 242, 254, 0.05), transparent),
    radial-gradient(circle at bottom left, rgba(79, 172, 254, 0.05), transparent);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-image-container {
  position: relative;
}

.hero-image,
.hero-video {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
  display: block;
}

.hero-video {
  object-fit: cover;
  background: var(--bg-alt);
}

/* Cards & Sections */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

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

.card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 32px;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  background: var(--card-bg);
  padding: 60px;
  border-radius: 40px;
  border: 1px solid var(--border);
}

.contact-info h3 {
  font-size: 2.5rem;
  margin-bottom: 32px;
}

.in.footer-logo {
  margin-bottom: 1.5rem;
}

.logo-img {
  height: 40px;
  width: auto;
  background: white;
  padding: 4px 8px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-item {
  margin-bottom: 40px;
}

.info-item h4 {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}

.info-item p,
.info-item a {
  font-size: 1.1rem;
  color: var(--text-dim);
  text-decoration: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 14px 20px;
  border-radius: 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M1 4l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
}

.form-group select option {
  background-color: var(--bg-alt);
  color: var(--text);
  padding: 10px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

/* Footer */
footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

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

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    margin: 0 auto 30px;
  }

  .cta-group {
    justify-content: center;
  }

  .hero-image,
  .hero-video {
    border-radius: 20px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 100px 0 60px;
    /* Nominal top spacing for mobile */
  }

  .logo img {
    height: 38px;
    width: auto;
    max-width: 150px;
    padding: 4px 10px;
    border-radius: 10px;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(0, 11, 26, 0.95);
    backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 1000;
    border-left: 1px solid var(--border);
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  nav a {
    font-size: 1.5rem;
    color: var(--text);
  }

  .menu-toggle {
    display: flex;
  }

  header .container {
    justify-content: space-between;
  }

  .desktop-only {
    display: none;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .contact-grid {
    padding: 30px 20px;
  }

  /* Footer Mobile Refinement */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-grid>div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-grid ul {
    padding-left: 0;
    list-style: none;
  }

  .footer-grid li {
    margin-bottom: 12px;
  }

  .footer-bottom {
    margin-top: 30px;
  }
}