:root {
  --bg-base: #f0f4f8;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06b6d4;
  --accent-glow: rgba(59, 130, 246, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.05);
  --nav-height: 100px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Unique Aurora Background */
body::before, body::after {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: -1;
  pointer-events: none;
}

body::before {
  background: 
    radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.12), transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.12), transparent 50%);
  animation: bgShift 20s ease-in-out infinite alternate;
}

body::after {
  background: 
    radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.12), transparent 50%);
  animation: bgShift2 15s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.2) translate(5%, 5%); }
}

@keyframes bgShift2 {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.1) translate(-5%, -2%); }
}

/* Glassmorphism Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.nav-brand img {
  height: 85px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.nav-brand span {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: #ffffff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -6px;
  left: 0;
  border-radius: 3px;
  background: linear-gradient(to right, var(--accent-blue), var(--accent-cyan));
  transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: opacity 2s ease-in-out;
  filter: grayscale(0.5) sepia(0.5) hue-rotate(180deg) brightness(0.5);
}

@keyframes slowDronePan {
  0% { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.15) translate(-2%, -1%); }
}

.ourconduit-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('../assets/aerial_park_bg.png') center center/cover no-repeat;
  z-index: -2;
  animation: slowDronePan 60s ease-in-out infinite alternate;
}

.paycrew-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('../assets/bg_paycrew.jpg') center center/cover no-repeat;
  z-index: -2;
  animation: slowDronePan 60s ease-in-out infinite alternate;
}

.craftbelt-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('../assets/bg_craftbelt.jpg') center center/cover no-repeat;
  z-index: -2;
  animation: slowDronePan 60s ease-in-out infinite alternate;
}

.investors-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('../assets/bg_investors.png') center center/cover no-repeat;
  z-index: -2;
  animation: slowDronePan 60s ease-in-out infinite alternate;
}

.contact-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: url('../assets/bg_storms.png') center center/cover no-repeat;
  z-index: -2;
  animation: slowDronePan 60s ease-in-out infinite alternate;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.4) 60%, var(--bg-base) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 1000px;
  width: 95%;
  min-height: 400px;
  animation: fadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 60px 40px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  z-index: 1;
  text-align: center;
}

.hero-flex {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  z-index: 1;
  animation: fadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-logo-large {
  flex: 0 0 auto;
}

.hero-logo-large img {
  max-width: 400px;
  width: 100%;
  animation: heroLogo3D 6s ease-in-out infinite alternate;
}

@keyframes heroLogo3D {
  0% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(10px 20px 15px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 40px rgba(0, 0, 0, 0.3));
  }
  100% {
    transform: translateY(-20px) scale(1.02);
    filter: drop-shadow(15px 35px 25px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 50px rgba(0, 0, 0, 0.2));
  }
}

.hero-text-content {
  text-align: left;
}

@media (max-width: 768px) {
  .hero-flex {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .hero-text-content {
    text-align: center;
  }
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -1.5px;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
  color: #00f2fe;
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.hero-text-content p, .hero-content p {
  font-size: 1.5rem !important;
  color: #ffffff !important;
  margin-bottom: 30px;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  max-width: 800px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.9) !important;
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 25px rgba(59, 130, 246, 0.4);
}

/* Section styling */
section {
  padding: 100px 5%;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 60px;
  color: var(--text-primary);
}

/* Glassmorphism Cards */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 50px 30px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--glass-shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  display: flex;
  flex-direction: column;
}

.glass-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(31, 38, 135, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

.glass-card h3 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 800;
  color: var(--text-primary);
}

.glass-card p {
  color: var(--text-secondary);
  margin-bottom: 35px;
  flex-grow: 1;
  font-size: 1.1rem;
}

/* Logo Frames */
.hero-logo-frame {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0 auto 30px;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  position: relative;
  z-index: 1;
}

@keyframes logoHoverFloat {
  0% { 
    transform: translateY(0) scale(1.3); 
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 60px rgba(59, 130, 246, 0.5)); 
  }
  100% { 
    transform: translateY(-15px) scale(1.3); 
    filter: drop-shadow(0 0 50px rgba(255, 255, 255, 1)) drop-shadow(0 0 80px rgba(6, 182, 212, 0.7)); 
  }
}

.hero-logo-frame img {
  max-height: 100%;
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  animation: logoHoverFloat 4s ease-in-out infinite alternate;
}

.card-logo-frame {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border-radius: 0;
  margin: 0 auto 25px;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover .card-logo-frame {
  transform: scale(1.05) translateY(-5px);
}

.card-logo-frame img {
  width: auto;
  max-width: 250px;
  height: auto;
  max-height: 200px;
  display: block;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

/* Contact Form */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 50px;
  border-radius: 32px;
  backdrop-filter: blur(20px);
  box-shadow: var(--glass-shadow);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid transparent;
  border-radius: 16px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

button[type="submit"] {
  width: 100%;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  margin-top: 50px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Product Page Specific */
.product-hero {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--nav-height) + 40px);
  position: relative;
}

.product-hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.feature-item {
  background: var(--glass-bg);
  padding: 40px 30px;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 15px 35px rgba(31, 38, 135, 0.08);
}

.feature-icon {
  color: var(--accent-blue);
  font-size: 3rem;
  filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.2));
}

.feature-item h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ==========================================================================
   Mobile UI & Responsive Design
   ========================================================================== */

/* Tablet & Smaller Devices */
@media (max-width: 1024px) {
  .nav-links {
    gap: 20px;
  }
  
  .hero h1 {
    font-size: 4rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  /* Navigation */
  nav {
    flex-direction: column;
    height: auto;
    padding: 15px 5%;
    gap: 15px;
  }

  .nav-brand img {
    height: 60px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .nav-links a {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  /* Typography Scaling */
  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.1rem;
    padding: 0 15px;
  }

  h2 {
    font-size: 2.2rem;
  }

  /* Layout Adjustments */
  .hero {
    height: auto;
    min-height: 100vh;
    padding-top: 140px !important;
    padding-bottom: 60px !important;
    align-items: flex-start !important;
  }

  .hero-logo-large img {
    max-width: 200px !important;
  }

  .products-grid,
  .mission-grid,
  .metrics-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* Padding Adjustments */
  section {
    padding: 60px 5%;
  }

  .product-hero {
    padding-top: calc(var(--nav-height) + 60px);
    min-height: 50vh;
  }

  .product-hero h1 {
    font-size: 3rem;
  }

  /* Cards */
  .glass-card {
    padding: 30px 20px;
  }

  /* Images */
  .card-logo-frame {
    height: 120px;
  }
  
  .card-logo-frame img {
    max-height: 60px;
    max-width: 80%;
  }

  /* Executive Dashboard specific */
  .admin-body .login-card {
    width: 90%;
    margin: 20px;
  }
  
  .dashboard-container {
    flex-direction: column;
  }
  
  .dashboard-sidebar {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding: 15px;
  }
  
  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
  }
  
  .dashboard-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .header-actions {
    justify-content: center;
  }
}

/* Very Small Mobile */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .nav-links a {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
}
\n
/* MOBILE NAVIGATION HOTFIX */
@media (min-width: 769px) {
    .nav-toggle { display: none !important; }
}

@media (max-width: 768px) {
    nav, .navbar {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    .nav-toggle {
        display: block !important;
        font-size: 1.8rem;
        color: var(--accent-blue, var(--color-orange, var(--color-primary, #fff)));
        cursor: pointer;
        z-index: 1001;
    }
    
    .nav-links {
        display: none !important;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(15px);
        padding: 20px 0;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        padding: 15px !important;
        font-size: 1.2rem !important;
        width: 100%;
        display: block;
    }

    .hero h1, .hero-title, .hero-content h1, .product-hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        word-break: break-word;
        hyphens: auto;
    }
}

@media (max-width: 480px) {
    .hero h1, .hero-title, .hero-content h1, .product-hero h1 {
        font-size: 1.8rem !important;
    }
}


@media (max-width: 768px) {
    .btn, a[href^="mailto:"] {
        max-width: 100% !important;
        box-sizing: border-box !important;
        word-break: break-word !important;
        white-space: normal !important;
        font-size: 1rem !important;
        padding: 0.8rem 1rem !important;
        display: inline-flex !important;
        justify-content: center !important;
        text-align: center !important;
    }
}
