/* ==========================
   RESET & BASE
   ========================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: "Inter", sans-serif;
  background: #0a0a0a;
  color: #e0e0e0;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================
   TYPOGRAPHY
   ========================== */
h1,
h2,
h3,
h4 {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  letter-spacing: 1.2px;
}

h1 {
  font-size: 4.5rem;
}
h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
h3 {
  font-size: 1.8rem;
}
h4 {
  font-size: 1.3rem;
}

p {
  font-weight: 300;
}

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

/* ==========================
   HEADER & NAV
   ========================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 10, 0.7);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  transition: background 0.4s;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
}

.logo-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.8rem;
  color: #00ffff;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
  transition: transform 0.3s;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.brand-name {
  font-weight: 900;
  font-size: 1.6rem;
}
.logo {
  font-size: 2.2rem;
  color: #00ffff;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00ffff;
  transition: width 0.4s ease;
}

.nav-links a:hover {
  color: #00ffff;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #00ffff;
  background: none;
  border: none;
  cursor: pointer;
}

/* ==========================
   HERO
   ========================== */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7),
    rgba(0, 255, 255, 0.1)
  );
  z-index: -1;
}

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
}

.hero-title {
  font-size: 5.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #00ffff, #00bfff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  opacity: 0.9;
}

/* ==========================
   BUTTONS
   ========================== */
.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
  background: linear-gradient(45deg, #00ffff, #00bfff);
  border: none;
  border-radius: 50px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  transition: all 0.4s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.9);
}

.pulse {
  animation: pulse 2s infinite;
}

/* ==== TEAM PAGE STYLES ==== */
.team-hero {
  text-align: center;
  padding: 6rem 0;
  background: var(--gradient);
}
.team-intro {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 1rem auto 0;
  opacity: 0.9;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 4rem 0;
}
.team-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--surface);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px var(--accent-glow);
  transition: transform 0.4s;
}
.team-card:hover {
  transform: translateY(-8px);
}
.team-photo {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid var(--border);
}
.team-info {
  flex: 1;
}
.team-role {
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}
.team-name {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.team-bio {
  line-height: 1.7;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.team-link {
  padding: 0.8rem 1.5rem;
  font-size: 0.95rem;
}

/* Full-Width Founder Card */
.founder-spotlight {
  padding: 4rem 0;
}
.team-card.full-width {
  flex-direction: column;
  text-align: center;
  gap: 1.5rem;
}
.team-photo.full {
  width: 300px;
  height: 400px;
  margin: 0 auto;
}

/* Mobile: Stack Vertically */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .team-card {
    flex-direction: column;
    text-align: center;
  }
  .team-photo {
    width: 150px;
    height: 200px;
  }
  .team-name { font-size: 1.5rem; }
  .team-bio { font-size: 0.95rem; }
}

/* ==========================
   SECTION
   ========================== */
.section {
  padding: 8rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  background: linear-gradient(90deg, #00ffff, #00bfff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4rem;
}

/* ==========================
   SPEC GRID
   ========================== */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.spec-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.spec-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 255, 0.1),
    transparent
  );
  transition: 0.6s;
}

.spec-card:hover::before {
  left: 100%;
}
.spec-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2);
  border-color: #00ffff;
}

.icon {
  font-size: 2.5rem;
  color: #00ffff;
  margin-bottom: 1rem;
}

.spec-card h4 {
  margin-bottom: 0.5rem;
  color: #00ffff;
}

/* Product Video */
.product-video {
  width: 100%;
  max-width: 1000px;
  margin: 3rem auto;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
  display: block;
}

/* Battery Tech */
.battery-tech {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 4rem 0;
  align-items: center;
}

.battery-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.battery-desc h3 {
  color: #00ffff;
  margin-bottom: 1rem;
}

.spec-grid.detailed {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  background: rgba(255, 255, 255, 0.03);
  gap: 2.5rem;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 255, 0.1);
}

.spec-item {
  font-size: 1.1rem;
}

/* About */
/* DESKTOP EARTH VIDEO – FULL SCREEN */
.about .bg-video {
  position: absolute;
  top: 50%;
  bottom: 110%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;           /* fill the section completely */
  z-index: -2;
}

/* Ensure the section itself is tall enough */
.about {
  height: 100vh;               /* full viewport height */
  overflow: hidden;
}

.about .about-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(11,13,23,0.75);
  z-index: -1;
}

.about-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.about-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, #00ffff, #00bfff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-content p {
  font-size: 1.2rem;
  line-height: 1.8;
}

/* ==== LOGO IN NAV BAR ==== */
.logo-img {
  width: 120px;                /* Adjust size as needed */
  height: auto;
  margin-right: 10px;          /* Space between logo and text */
}

/* ==== FEEDBACK SECTION ==== */
.feedback {
  background: var(--surface);  /* Matches luxury dark theme */
  text-align: center;
}
.form-embed {
  max-width: 800px;            /* Center form on page */
  margin: 2rem auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 30px var(--accent-glow);
}
.form-embed iframe {
  width: 100%;
  height: 800px;               /* Adjustable – form scrolls inside */
  border: none;
}

/* ==== SOCIAL LINKS ==== */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.social {
  font-size: 1.8rem;
  color: var(--text);
  transition: color 0.3s, transform 0.3s;
}
.social:hover {
  color: var(--accent);
  transform: scale(1.1);
}


/* Contact */
.contact {
  background: rgba(10, 10, 10, 0.9);
  text-align: center;
}

.contact a {
  color: #00ffff;
  font-weight: 500;
}

.contact .btn-primary {
  margin-top: 2rem;
}

/* Footer */
.footer {
  background: #000;
  padding: 3rem 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

/* ==========================
   ANIMATIONS
   ========================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  }
  50% {
    box-shadow: 0 0 40px rgba(0, 255, 255, 1);
  }
}

/* ==========================
   MOBILE
   ========================== */
/* MOBILE HERO VIDEO (Aeterna Glimpse) */

@media (max-width: 768px) {
  .hero {
    height: 70vh;                /* shorter hero on phones */
  }
  .hero-video {
    object-fit: contain;         /* keep whole car in view */
    transform: scale(0.9);       /* slight shrink so it doesn’t touch edges */
  }
  .hero-content {
    bottom: 10%;                 /* move text up a bit */
  }
  .hero-title {
     /* font-size: 5.5rem; */
  margin-bottom: 1rem;
    position: relative;
    font-size: 0.1rem;
    padding: 0rem 1rem;

  }  
  .hero-subtitle{ 
   font-size: 1.5rem;
  margin-bottom: 7rem;
  letter-spacing: 1ch;
  opacity: 0.9;
   
  }
  
  .menu-toggle {
    display: block;
  }
  .hero-btn {
    font-size: medium !important;
  padding: 0rem 2rem !important;
  font-size: 0.4rem !important;
}

  

  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    transition: left 0.4s ease;
    backdrop-filter: blur(12px);
  }

  .nav-links.active {
    left: 0;
  }

  .hero-title {
    font-size: 3.5rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }

  .spec-grid,
  .battery-tech,
  .spec-grid.detailed {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 3.5rem;
  }
  h2 {
    font-size: 2.3rem;
  }
}
