/* ============================================
   VAAYUN — Advanced Styles & Sticky Animation
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-white: #ffffff;
  --bg-light: #f4f5f7;
  --bg-dark: #000000;
  --text-main: #111111;
  --text-muted: #666666;
  --text-white: #ffffff;
  --text-white-muted: rgba(255, 255, 255, 0.7);
  --accent: #2563eb;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-white);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  line-height: 1.5;
  cursor: auto;
}

body.loading {
  overflow: hidden;
}

/* Cursor Rules - Text cursor only for input elements */
input,
textarea,
[contenteditable="true"] {
  cursor: text;
}

/* Cursor pointer only for clickable elements */
button,
a,
[role="button"],
.btn,
.contact-trigger,
label input[type="checkbox"],
label input[type="radio"],
.menu-toggle,
.menu-btn,
.checkbox-container {
  cursor: pointer;
}

/* Ensure default cursor for normal content */
p,
h1,
h2,
h3,
h4,
h5,
h6,
span,
div,
section {
  cursor: auto;
  user-select: auto;
}

/* Explicitly remove text cursor from all non-input elements */
* {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}

/* ONLY text cursor in input and textarea */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea {
  cursor: text !important;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

/* Pointer cursor for interactive elements */
button,
a,
label,
[role="button"],
.btn,
.contact-trigger,
input[type="checkbox"],
input[type="radio"],
.menu-toggle,
.menu-btn {
  cursor: pointer !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.bg-white {
  background: var(--bg-white);
}

.bg-light {
  background: var(--bg-light);
}

.bg-dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

.text-white {
  color: var(--text-white);
}

.text-main {
  color: var(--text-main);
}

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

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

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-pad {
  padding: 160px 0;
}

.pt-100 {
  padding-top: 100px;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 6vw, 7rem);
}

h2 {
  font-size: clamp(1.75rem, 4.5vw, 4.5rem);
  margin-bottom: 24px;
}

h3 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  margin-bottom: 16px;
}

p {
  font-size: clamp(0.95rem, 2vw, 1.125rem);
  color: var(--text-muted);
}

.bg-dark p {
  color: var(--text-white-muted);
}

.massive-text {
  font-size: clamp(4rem, 10vw, 9rem);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

.btn-light {
  background: var(--bg-white);
  color: var(--text-main);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-large {
  padding: 20px 48px;
  font-size: 1.125rem;
}

/* ---------- Splash Screen ---------- */
.splash-screen {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1s var(--ease), visibility 1s;
}

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

.splash-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.splash-logo-container {
  position: absolute;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.splash-logo-text {
  font-size: clamp(5rem, 15vw, 15rem);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.05em;
  opacity: 0;
  animation: fly-through 3.5s cubic-bezier(0.7, 0, 0.3, 1) forwards;
  transform-origin: center;
  white-space: nowrap;
}

.splash-drone {
  position: absolute;
  z-index: 1;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 400px;
  height: 400px;
  animation: drone-fly-by 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  animation-delay: 0.5s;
}

.splash-drone iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  pointer-events: none;
  display: block;
}

.prop-spin {
  animation: spin 0.05s linear infinite;
  transform-origin: center;
}

@keyframes fly-through {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(50px);
    filter: blur(10px);
  }

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

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

  100% {
    opacity: 0;
    transform: scale(40);
    filter: blur(5px);
  }
}

@keyframes drone-fly-by {
  0% {
    opacity: 0;
    transform: translate(-30vw, 30vh) scale(0.3) rotate(-20deg);
  }

  30% {
    opacity: 1;
    transform: translate(-10vw, 0) scale(1) rotate(0deg);
  }

  70% {
    opacity: 1;
    transform: translate(10vw, 0) scale(1.1) rotate(5deg);
  }

  100% {
    opacity: 0;
    transform: translate(40vw, -30vh) scale(0.5) rotate(20deg);
  }
}

@keyframes spin {
  0% {
    transform: scaleX(1);
    opacity: 0.8;
  }

  50% {
    transform: scaleX(0.2);
    opacity: 0.4;
  }

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

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 16px 0;
}

.nav.dark-mode {
  color: var(--text-white);
}

.nav.scrolled {
  color: var(--text-main);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* Header logo icon sizing/placement */
.logo-brand {
  display: flex;
  align-items: flex-start;
}

.logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  margin-top: -8px;
}

/* Logo styling removed */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 32px;
  width: auto;
  display: block;
  transition: opacity 0.3s var(--ease);
}

.logo:hover img {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.6;
}

.nav-login-link {
  background: rgba(0, 0, 0, 0.05);
  padding: 8px 16px;
  border-radius: 100px;
}

.nav.dark-mode .nav-login-link {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--text-white);
  padding-top: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #000000;
}

.sky-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1e3a8a 0%, #000000 100%);
  opacity: 0.8;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.hero p {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--text-white-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

/* ---------- MODERN CITY Drone Simulation ---------- */
/* ---------- MODERN CITY Drone Simulation (Premium Dark Futuristic) ---------- */
.delivery-demo {
  padding: 120px 0;
  background: #000;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.delivery-demo h2 { 
  color: #fff; 
  font-weight: 800;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.delivery-demo .sub-heading { 
  color: rgba(255, 255, 255, 0.6); 
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.simulation-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.simulation-header {
  text-align: center;
  margin-bottom: 60px;
}

.simulation-controls {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.destination-picker {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.destination-picker span {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-left: 12px;
}

.dest-btn {
  padding: 10px 24px;
  border-radius: 100px;
  border: none;
  background: transparent;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s var(--ease);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

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

.dest-btn.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.city-viewport {
  position: relative;
  width: 100%;
  height: 650px;
  background: radial-gradient(circle at 50% 50%, #0f172a 0%, #020617 100%);
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.futuristic-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.subtle-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
}

/* Platforms */
.platforms-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 100px;
}

.platform {
  position: relative;
  width: 120px;
  height: 40px;
  perspective: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-base {
  width: 80px;
  height: 80px;
  background: #1e293b;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transform: rotateX(60deg) translateZ(0);
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.p-top {
  position: absolute;
  inset: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.p-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%) rotateX(60deg);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(20px);
  z-index: -1;
}

.p-green { background: #10b981; }
.p-red { background: #ef4444; }
.p-blue { background: #3b82f6; }

.platform.active .p-glow {
  opacity: 0.8;
  filter: blur(30px);
  animation: platform-pulse 2s infinite alternate;
}

@keyframes platform-pulse {
  from { opacity: 0.5; transform: translate(-50%, -40%) rotateX(60deg) scale(0.9); }
  to { opacity: 0.9; transform: translate(-50%, -40%) rotateX(60deg) scale(1.1); }
}

.p-label {
  position: absolute;
  bottom: -40px;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.hub .p-base {
  background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
  border-color: rgba(255, 255, 255, 0.2);
}

.hub .p-scanner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: scan 2s linear infinite;
  opacity: 0.5;
}

@keyframes scan {
  0% { top: 0; }
  50% { top: 100%; }
  100% { top: 0; }
}

.med-cross-white {
  width: 24px;
  height: 24px;
  background: #fff;
  clip-path: polygon(33% 0, 67% 0, 67% 33%, 100% 33%, 100% 67%, 67% 67%, 67% 100%, 33% 100%, 33% 67%, 0 67%, 0 33%, 33% 33%);
}

#warehouse { position: absolute; left: 100px; top: 50%; transform: translateY(-50%); }
#dest-1 { position: absolute; right: 200px; top: 15%; }
#dest-2 { position: absolute; right: 100px; top: 50%; transform: translateY(-50%); }
#dest-3 { position: absolute; right: 200px; bottom: 15%; }

/* Drone Styling */
.sim-drone-wrapper {
  position: absolute;
  width: 80px;
  height: 80px;
  z-index: 1000;
  pointer-events: none;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.drone-glow-bottom {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%) rotateX(60deg);
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
  filter: blur(10px);
}

.sim-drone-body {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: drone-float 3s ease-in-out infinite;
}

@keyframes drone-float {
  0%, 100% { transform: translateY(0) rotateX(0deg); }
  50% { transform: translateY(-10px) rotateX(2deg); }
}

.drone-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: #0f172a;
  clip-path: polygon(20% 20%, 80% 20%, 90% 50%, 80% 80%, 20% 80%, 10% 50%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.drone-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: #1e293b;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-light {
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 10px #3b82f6;
  animation: blink 1s infinite alternate;
}

@keyframes blink {
  from { opacity: 0.4; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.2); }
}

.rotor {
  position: absolute;
  width: 24px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.rotor::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: rotor-spin 0.1s linear infinite;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

@keyframes rotor-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.rotor.tl { top: 0; left: 0; }
.rotor.tr { top: 0; right: 0; }
.rotor.bl { bottom: 0; left: 0; }
.rotor.br { bottom: 0; right: 0; }

.sim-package {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  transition: all 0.8s var(--ease);
}

.pkg-box {
  width: 20px;
  height: 20px;
  background: #f59e0b;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Flight Path */
.flight-path-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#dronePath {
  stroke-width: 2;
  stroke: rgba(59, 130, 246, 0.3);
  stroke-dasharray: 5, 5;
  filter: drop-shadow(0 0 5px rgba(59, 130, 246, 0.5));
}

.drone-trail-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 8px #3b82f6;
  pointer-events: none;
  z-index: 50;
  transition: opacity 0.5s, transform 0.5s;
}

/* Status Panel */
.sim-status-box {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 280px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 24px;
  color: #fff;
  z-index: 1000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.status-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
}

.status-dot.pulse {
  animation: status-pulse 1.5s infinite;
}

@keyframes status-pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

#simStatusText {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.9);
}

.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tel-item label {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.tel-item .val {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent);
}


/* ---------- Impact & Vision ---------- */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Ecosystem (Expanded) ---------- */
.section-intro {
  max-width: 800px;
  margin: 0 auto 80px;
}

.eco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  text-align: left;
}

.eco-card {
  padding: 40px;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.eco-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.eco-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.eco-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.eco-card-featured {
  grid-column: 1 / -1;
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%);
}

.eco-card-featured h3 {
  color: var(--accent);
}

.eco-card-featured:hover {
  border-color: var(--accent);
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
}

.eco-sublist {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.eco-subitem h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.eco-subitem p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.hardware-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.hardware-card {
  background: var(--bg-white);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.hardware-card:hover {
  transform: translateY(-15px) perspective(1000px) rotateX(2deg);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
}

.hw-visual {
  height: 400px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hw-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.hardware-card:hover .hw-visual img {
  transform: scale(1.05);
}

.hw-icon {
  width: 120px;
  height: 120px;
  opacity: 0.2;
}

.hw-content {
  padding: 48px;
}

/* ---------- Team Section - Horizontal Scrolling ---------- */
.team-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 16px;
  scroll-behavior: smooth;
}

/* Custom scrollbar styling */
.team-scroll-wrapper::-webkit-scrollbar {
  height: 8px;
}

.team-scroll-wrapper::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.team-scroll-wrapper::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.5);
  border-radius: 10px;
  transition: background 0.2s;
}

.team-scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(37, 99, 235, 0.8);
}

.team-grid {
  display: flex;
  gap: 32px;
  min-width: min-content;
  padding-right: 32px;
}

.team-member {
  flex: 0 0 200px;
  text-align: center;
}

.member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  background: #e2e8f0;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-member p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Footer ---------- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-desc {
  margin-top: 16px;
  font-size: 1rem;
  max-width: 250px;
  color: var(--text-white-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h5 {
  font-size: 1rem;
  margin-bottom: 24px;
  color: var(--text-white);
}

.footer-col a {
  display: block;
  color: var(--text-white-muted);
  margin-bottom: 12px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  color: var(--text-white-muted);
  font-size: 0.875rem;
}

/* Standard Reveals */
.reveal-text {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.reveal-text span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 1s var(--ease-out);
}

.reveal-text.active span {
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity 1s var(--ease);
}

.reveal-fade.active {
  opacity: 1;
}

.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s var(--ease-out);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.team-member {
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-8px);
}

.team-member:hover .member-photo {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .logo img {
    height: 32px;
  }

  .splash-logo-text {
    font-size: 3rem;
  }

  .splash-drone {
    width: 250px;
    height: 250px;
  }

  .menu-toggle {
    display: block;
    border: none;
    background: transparent;
    width: 24px;
    height: 16px;
    position: relative;
  }

  .menu-toggle span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: currentColor;
  }

  .menu-toggle span:first-child {
    top: 0;
  }

  .menu-toggle span:last-child {
    bottom: 0;
  }

  .impact-grid,
  .hardware-grid,
  .footer-grid,
  .eco-grid {
    grid-template-columns: 1fr;
  }

  .eco-card-featured {
    grid-column: 1;
  }

  .eco-sublist {
    grid-template-columns: 1fr;
  }

  .eco-card {
    padding: 24px;
  }

  .eco-card h3 {
    font-size: 1.25rem;
  }

  .section-intro {
    margin-bottom: 48px;
  }

  .team-grid {
    gap: 24px;
  }

  .team-member {
    flex: 0 0 160px;
  }

  .member-photo {
    width: 120px;
    height: 120px;
  }

  .splash-logo-text {
    font-size: 3rem;
  }

  .sticky-header {
    top: 80px;
    padding: 0 20px;
  }

  .house-graphic {
    right: -50px;
    width: 300px;
    bottom: 20%;
  }

  .anim-drone-wrapper {
    width: 150px;
  }

  .team-scroll-wrapper {
    padding-bottom: 12px;
  }
}

/* ---------- Mobile Navigation Menu ---------- */
.mobile-nav-menu {
  position: fixed;
  inset: 0;
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.mobile-nav-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  padding: 16px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-menu.active .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-close {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.mobile-nav-close:active {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding-top: 12px;
}

.mobile-nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background 0.2s;
}

.mobile-nav-links a:not(.btn):hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Contact Trigger Link ---------- */
.contact-trigger {
  cursor: pointer;
  transition: opacity 0.2s;
}

.contact-trigger:hover {
  opacity: 0.6;
}

/* ---------- Contact Modal ---------- */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contact-modal.active {
  display: flex;
}

.contact-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: -1;
}

.contact-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: slideUp 0.3s var(--ease);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 32px;
  color: #666;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  z-index: 10;
}

.contact-modal-close:hover {
  color: #000;
}

.contact-modal-header {
  padding: 32px 32px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.contact-modal-header h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
  color: #111;
}

.contact-modal-header p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

.contact-modal-body {
  padding: 32px;
}

.contact-info-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.contact-info-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2563eb;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.contact-info-item p {
  font-size: 0.95rem;
  color: #333;
  margin: 0;
}

.contact-info-item a {
  color: #2563eb;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-info-item a:hover {
  opacity: 0.7;
}

.contact-form-divider {
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  margin: 32px 0;
  position: relative;
}

.contact-form-divider::before,
.contact-form-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 60px);
  height: 1px;
  background: #e5e5e5;
}

.contact-form-divider::before {
  left: 0;
}

.contact-form-divider::after {
  right: 0;
}

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

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

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-submit-btn {
  padding: 12px 24px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.contact-submit-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

/* Modal responsiveness */
@media (max-width: 768px) {
  .contact-modal-content {
    max-width: calc(100% - 40px);
    border-radius: 16px;
  }

  .contact-modal-header {
    padding: 24px 24px 12px;
  }

  .contact-modal-header h2 {
    font-size: 1.5rem;
  }

  .contact-modal-body {
    padding: 24px;
  }

  .contact-info-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---------- Top-Right Menu ---------- */
.top-menu {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
}

.menu-btn {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.8) 0%, rgba(0, 242, 254, 0.8) 100%);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  padding: 0;
}

.menu-btn:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 1) 0%, rgba(0, 242, 254, 1) 100%);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.5);
  transform: scale(1.05);
}

.menu-btn:active {
  transform: scale(0.98);
}

.menu-btn span {
  width: 20px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  display: block;
}

.menu-dropdown {
  position: absolute;
  top: 70px;
  right: 0;
  background: rgba(15, 15, 25, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  min-width: 240px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.3s var(--ease);
  z-index: 2001;
}

.menu-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.menu-item {
  display: block;
  padding: 16px 20px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.2) 0%, rgba(0, 242, 254, 0.2) 100%);
  padding-left: 28px;
  color: #00f2fe;
}

/* ---------- Auth Page (Login) ---------- */
.auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #050505;
  color: #fff;
  overflow-x: hidden;
}

.auth-nav {
  position: absolute;
  background: transparent !important;
  border: none !important;
}

.auth-nav .logo {
  color: #fff;
}

.auth-nav .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.auth-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 20px 40px;
  overflow: hidden;
}

/* Cinematic Auth Background */
.auth-bg-graphic {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 100% -20%, rgba(0, 242, 254, 0.15) 0%, transparent 50%),
    radial-gradient(circle at -20% 120%, rgba(245, 87, 108, 0.15) 0%, transparent 50%);
}

.auth-3d-drone {
  position: absolute;
  right: -10%;
  top: 20%;
  width: 600px;
  height: 400px;
  opacity: 0.15;
  filter: blur(4px);
  pointer-events: none;
  animation: float-drone 10s ease-in-out infinite alternate;
}

@keyframes float-drone {
  0% {
    transform: translate(0, 0) rotate(-5deg);
  }

  100% {
    transform: translate(-30px, 40px) rotate(5deg);
  }
}

.auth-card {
  position: relative;
  z-index: 10;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.04) 40%, rgba(0, 0, 0, 0.32) 100%);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  padding: 48px;
  box-shadow: 0 55px 120px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(37, 99, 235, 0.08) inset;
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: transform 0.4s var(--ease), opacity 0.4s;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 242, 254, 0.18) 0%, transparent 35%),
    radial-gradient(circle at 85% 0%, rgba(37, 99, 235, 0.20) 0%, transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.auth-card>* {
  position: relative;
  z-index: 1;
}

.auth-form h2 {
  font-size: 2.4rem;
  text-shadow: 0 0 24px rgba(37, 99, 235, 0.25);
}

.auth-form p {
  color: var(--text-white-muted);
  margin-bottom: 32px;
  font-size: 1rem;
}

.input-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.input-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #a1a1aa;
}

.input-group input {
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.input-group input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.22), 0 14px 40px rgba(37, 99, 235, 0.12);
  background: rgba(0, 0, 0, 0.5);
}

.input-group input::placeholder {
  color: #52525b;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  font-size: 0.875rem;
  color: #a1a1aa;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.forgot-link {
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.2s;
}

.forgot-link:hover {
  color: #fff;
  text-decoration: underline;
}

.switch-prompt {
  text-align: center;
  margin-top: 28px !important;
  margin-bottom: 0 !important;
  color: #a1a1aa !important;
  font-size: 0.98rem;
}

.switch-prompt a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s, opacity 0.2s;
}

.switch-prompt a:hover {
  border-color: #fff;
}

.btn-auth {
  background: linear-gradient(90deg, rgba(37, 99, 235, 1) 0%, rgba(0, 242, 254, 1) 100%);
  color: #071018;
  width: 100%;
  padding: 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  box-shadow: 0 22px 60px rgba(37, 99, 235, 0.28);
  transition: transform 0.2s var(--ease), opacity 0.2s, box-shadow 0.2s;
}

.btn-auth:hover {
  transform: translateY(-2px);
  opacity: 0.95;
  box-shadow: 0 26px 70px rgba(0, 242, 254, 0.20);
}

.btn-auth:active {
  transform: translateY(0);
  opacity: 0.9;
}

.btn-auth:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25), 0 22px 60px rgba(37, 99, 235, 0.28);
}

#authSuccess {
  background: radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.18) 0%, transparent 55%);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 18px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #fff;
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 500;
  transition: bottom 0.5s var(--ease);
  z-index: 10000;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.toast.show {
  bottom: 40px;
}