/* Footer tagline style */
.footer-tagline {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}
/* Vamfyre Global Styles */

/* Font Definitions */
@font-face {
    font-family: 'Montserrat';
    src: url('../assets/Montserrat/Montserrat-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/Montserrat/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../assets/Open_Sans/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../assets/Open_Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 300 800;
    font-style: italic;
    font-display: swap;
}

:root {
  /* New Primary Colors */
  --primary-light: #D5D8D8;     /* Light gray-blue */
  --primary-dark: #51534e;      /* Dark gray-green */
  --neutral-gray: #696969;      /* Medium gray */
  --accent-blue: #0045ff;       /* Blue for special buttons */
  --accent-orange: #ff7a30;     /* Orange for alerts/reset buttons */
  
  /* Glassmorphic Colors */
  --white: #ffffff;
  --off-white: #f8f9fa;
  --black: #000000;
  --text-primary: #ffffff;
  --text-secondary: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  
  /* Background Colors */
  --bg-primary: var(--primary-dark);
  --bg-secondary: var(--neutral-gray);
  --bg-glass: rgba(255, 255, 255, 0.1);
  --bg-glass-hover: rgba(255, 255, 255, 0.15);
  
  /* Tasteful Gradients - limited use */
  --gradient-accent: linear-gradient(135deg, var(--accent-blue) 0%, #0066ff 100%);
  --gradient-alert: linear-gradient(135deg, var(--accent-orange) 0%, #ff9550 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  --gradient-mesh: radial-gradient(circle at 20% 50%, var(--neutral-gray) 0%, transparent 50%),
                   radial-gradient(circle at 80% 80%, #00e6ff 0%, transparent 50%);
  
  /* Dynamic Background Gradients - Greyscale Only */
  --gradient-animated-1: linear-gradient(-45deg, #2a2a2a, #3a3a3a, #4a4a4a, #5a5a5a);
  --gradient-animated-2: linear-gradient(-45deg, #1a1a1a, #2a2a2a, #3a3a3a, #4a4a4a);
  --gradient-animated-3: linear-gradient(-45deg, #0f0f0f, #1f1f1f, #2f2f2f, #3f3f3f);
  
  /* Geometric Pattern Variables */
  --pattern-opacity: 0.03;
  --pattern-size: 60px;
  /* Typography Scale */
  --display-1: clamp(4rem, 10vw, 7rem);
  --display-2: clamp(3rem, 8vw, 5rem);
  --h1: clamp(2.5rem, 5vw, 4rem);
  --h2: clamp(2rem, 4vw, 3rem);
  --h3: clamp(1.5rem, 3vw, 2rem);
  --h4: clamp(1.25rem, 2vw, 1.5rem);
  --body-large: clamp(1.125rem, 2vw, 1.25rem);
  --body-regular: 1rem;
  --body-small: 0.875rem;
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  --space-2xl: 12rem;
  /* Container Widths */
  --container-xl: 1440px;
  --container-lg: 1200px;
  --container-md: 960px;
  --container-sm: 720px;
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  /* Legacy fallback */
  --primary: var(--accent-blue);
  --secondary: var(--white);        /* Changed from gray to white for text */
  --accent: var(--white);           /* Changed from gray to white for text */
  --dark: var(--primary-dark);
  --dark-lighter: var(--neutral-gray);
  --dark-card: var(--bg-glass);
  --text-primary: var(--white);
  --text-secondary: var(--white);
  --text-muted: rgba(255, 255, 255, 0.7);
  --gradient-1: var(--gradient-primary);
  --gradient-2: linear-gradient(135deg, #2a2a2a 0%, #404040 100%);
  --gradient-3: linear-gradient(135deg, #0045ff 0%, #3366ff 50%, #6699ff 100%);
  --gradient-card: linear-gradient(145deg, rgba(64, 64, 64, 0.8) 0%, rgba(58, 58, 58, 0.6) 100%);
  --glow-primary: 0 0 20px rgba(255, 255, 255, 0.15);
  --glow-secondary: 0 0 20px rgba(102, 102, 102, 0.1);
  --max-width: var(--container-xl);
  --border-radius: var(--radius-lg);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="white" fill-opacity="0"/><circle cx="10" cy="10" r="1.5" fill="%23ccd6e0" fill-opacity="0.08"/><circle cx="50" cy="50" r="1.5" fill="%23ccd6e0" fill-opacity="0.08"/><circle cx="80" cy="80" r="1.5" fill="%23ccd6e0" fill-opacity="0.08"/><circle cx="70" cy="20" r="1.5" fill="%23ccd6e0" fill-opacity="0.08"/><circle cx="20" cy="70" r="1.5" fill="%23ccd6e0" fill-opacity="0.08"/></svg>');
  opacity: 0.25;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 300;
    line-height: 1;
    margin: 0;
    letter-spacing: 0.02em;
}
h1 {font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
.display-1 { font-size: var(--display-1); font-weight: 200; }
.display-2 { font-size: var(--display-2); font-weight: 200; }

/* Container - Full width approach */
.container {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 2rem;
}

.container-constrained {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 5%;
}
.container-lg { max-width: var(--container-lg); }
.container-md { max-width: var(--container-md); }
.container-sm { max-width: var(--container-sm); }

/* Section Styling - Enhanced */
.section {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-header h1,
.section-header h2, 
.section-header h3,
.section-header h4,
.section-header h5,
.section-header h6 {
    margin-top: -1rem;
}
.section-dark {
    background: var(--bg-secondary);
    position: relative;
}
.section-mesh {
    background: var(--gradient-mesh);
    position: relative;
}
.section-mesh::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.2;
    pointer-events: none;
}

.text-gradient {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: white;
}

/* Fix trademark symbol rendering */
h1, h2, h3, h4, h5, h6, .feature-title {
    font-variant-numeric: normal;
    font-feature-settings: "liga" 1, "kern" 1;
    text-rendering: optimizeLegibility;
}

/* Make trademark symbol smaller in headings */
.trademark {
    font-size: 0.4em;
    vertical-align: baseline;
    line-height: 0;
    position: relative;
    top: -1em;
    left: -0.1em;
    display: inline-block;
}


/* Utility classes from enhanced-styles */
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.opacity-80 { opacity: 0.8; }
.opacity-60 { opacity: 0.6; }
.opacity-40 { opacity: 0.4; }
.blur-sm { filter: blur(4px); }
.blur-md { filter: blur(8px); }
.blur-lg { filter: blur(16px); }

/* Large display text for hero sections */
.hero-title {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 200;
    line-height: 0.9;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
}

/* Body text improvements */
p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.lead-text {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 400;
}

/* Central Logo (Initial State) - Homepage only */
#central-logo {
    position: fixed;
    top: 33.33%; /* 1/3 from top position */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    pointer-events: auto;
    display: none; /* Hidden by default */
}

/* Show central logo only on homepage */
body.homepage #central-logo {
    display: block;
}

#central-logo img {
    height: 80px;
    width: auto;
    max-width: 80vw;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Central logo morphs to navbar position when scrolled - Desktop */
body.scrolled #central-logo {
    top: calc(1rem + 10px); /* Align with navbar */
    left: 2rem;
    transform: translate(0, 0);
    opacity: 1;
}

body.scrolled #central-logo img {
    height: 28px;
}





/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0rem 0;
    background: rgba(42, 42, 42, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    transform: translateY(-100%);
    opacity: 0;
    display: flex;
    align-items: center;
}

/* Show navbar when scrolled */
body.scrolled nav {
    transform: translateY(0);
    opacity: 1;
}

/* Homepage navbar visible but with hidden logo initially */
body.homepage nav {
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transform: translateY(0);
    opacity: 1;
    padding: 2rem 0;
}

body.homepage.scrolled nav {
    background: rgba(42, 42, 42, 0.55);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1.5px solid rgba(255,255,255,0.12);
    padding: 2rem 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Other pages use existing navbar behavior */
body.product-page nav {
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transform: translateY(0);
    opacity: 1;
    padding: 2rem 0;
}

nav.scrolled, 
body.product-page nav.visible{
    background: rgba(42, 42, 42, 0.55);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1.5px solid rgba(255,255,255,0.12);
    padding: 2rem 0;
    transition: background 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* Desktop: Keep default left alignment */
@media (min-width: 769px) {
    .nav-container {
        justify-content: space-between;
    }
    
    .logo {
        position: relative;
        left: auto;
        transform: none;
    }
    
    .logo img {
        height: 28px;
    }
}

/* Desktop navbar adjustments */
@media (min-width: 769px) {
    /* Force consistent navbar height across all pages on desktop */
    nav,
    body.product-page nav,
    nav.scrolled,
    body.product-page nav.visible {
        padding: 1rem 0 !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Specifically target homepage navbar states with higher specificity */
    body.homepage nav,
    body.homepage.scrolled nav {
        padding: 1rem 0 !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Force consistent logo height across all navbar states */
    .logo img {
        height: 28px !important;
        max-height: 28px !important;
        width: auto !important;
    }
    
    /* Ensure proper vertical alignment of nav elements */
    nav, body.homepage nav, body.homepage.scrolled nav, body.product-page nav {
        display: flex;
        align-items: center;
    }
    
    .nav-container {
        align-items: center;
        min-height: 48px !important;
    }
    
    .logo {
        display: flex;
        align-items: center;
    }
    
    /* Ensure navbar logo stays hidden on homepage */
    body.homepage .logo,
    body.homepage.scrolled .logo {
        display: none !important;
    }
    
    /* Fix any calc-based positioning that references old navbar padding */
    .nav-links {
        align-items: center;
    }
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    max-width: inherit;
    width: inherit;
    margin: 0;
    position: relative;
}

/* On homepage, move nav links to right since logo is hidden */
body.homepage .nav-container {
    justify-content: flex-end;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}


.logo img {
    vertical-align: middle;
    display: block;
    height: 28px;
    width: auto;
    transition: var(--transition);
}

/* Completely hide navbar logo on homepage - replaced by central logo */
body.homepage .logo {
    display: none;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
    margin-right: 0;
    padding-right: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--text-primary);
    transition: width 0.3s ease;
}

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

/* Buttons */
.cta-button {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 2px solid var(--white);
    box-shadow: none;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.secondary-button:hover {
    background: var(--bg-glass-hover);
    color: white;
    border-color: white;
}


.secondary-button {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-glass);
    color: white;
    padding: 0.75rem 2rem;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.secondary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--secondary);
    transition: width 0.3s ease;
    z-index: -1;
}

.secondary-button:hover::before {
    width: 100%;
}

.secondary-button:hover {
    background: var(--bg-glass-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: none;
    border-color: white;
}

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

.hero-logo img {
    height: 40px;
    width: auto;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 1;
    filter: contrast(1.25);
}
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 5;
    opacity: 1;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

.hero-image-container {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-drone {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    filter: none;
    animation: float 6s ease-in-out infinite;
}

.hero-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.radar-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 3s ease-in-out infinite;
    opacity: 0.6;
}

.data-stream {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 4px;
    height: 60%;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: dataFlow 2s linear infinite;
}

@keyframes dataFlow {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

/* POSEIDON Network Visualization */
.poseidon-visualization {
    position: relative;
    height: 500px;
    background: radial-gradient(circle at center, rgba(30, 30, 30, 0.1) 0%, transparent 50%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.network-globe {
    width: 400px;
    height: 400px;
    object-fit: contain;
    opacity: 0.8;
    animation: rotate 20s linear infinite;
}

.network-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.network-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--secondary);
    animation: pulse 2s ease-in-out infinite;
}

.node-1 { top: 20%; left: 25%; animation-delay: 0s; }
.node-2 { top: 35%; right: 20%; animation-delay: 0.5s; }
.node-3 { bottom: 30%; left: 30%; animation-delay: 1s; }
.node-4 { bottom: 25%; right: 25%; animation-delay: 1.5s; }

.connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.6;
    animation: connectionPulse 3s ease-in-out infinite;
}

.line-1 {
    top: 25%;
    left: 30%;
    width: 40%;
    transform: rotate(15deg);
}

.line-2 {
    top: 40%;
    left: 25%;
    width: 50%;
    transform: rotate(-10deg);
}

.line-3 {
    bottom: 35%;
    left: 35%;
    width: 30%;
    transform: rotate(25deg);
}

.network-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    text-align: left;
}

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

@keyframes connectionPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Glassmorphic Styling */
.glassmorphic {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.glassmorphic-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Hydro card white icons */
.hydro-card .feature-icon img {
    filter: brightness(0) saturate(100%) invert(100%);
}

/* Interactive Benefits Section */
.benefits-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 0px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.benefits-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
}

.benefit-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 100px;
}

.benefit-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-tab.active::after {
    transform: scaleX(1);
}

.benefit-tab:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.benefit-tab.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.benefit-tab:focus {
    outline: none;
}

.tab-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) saturate(100%) invert(100%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.benefit-tab.active .tab-icon img,
.benefit-tab:hover .tab-icon img {
    opacity: 1;
}

.benefits-content {
    position: relative;
    min-height: auto;
}

.benefit-panel {
    display: none;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.benefit-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

.benefit-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
}

.benefit-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.benefit-description {
    color: rgba(255, 255, 255, 1);
    margin-bottom: 0;
}

.benefit-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.point-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--gradient-accent);
    border-radius: 50%;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    flex-shrink: 0;
}

.benefit-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: auto;
    padding: 0;
    height: 100%;
}

.benefit-visual .benefit-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    margin: auto 0;
}

/* Content-only layout for single column benefit panels */
.benefit-content-only {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: start;
}

.benefit-content-only .benefit-content-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-content-only .benefit-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Unified Visualization */
.unified-visualization {
    position: relative;
    width: 280px;
    height: 280px;
}

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hub-core {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    animation: pulse 2s infinite;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

.central-hub span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.vehicle-nodes {
    position: relative;
    width: 100%;
    height: 100%;
}

.vehicle-node {
    position: absolute;
    text-align: center;
}

.land-node {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.sea-node {
    bottom: 0;
    left: 0;
}

.air-node {
    bottom: 0;
    right: 0;
}

.node-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 0.5rem;
    animation: float 3s ease-in-out infinite;
}

.land-node .node-icon {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    animation-delay: 0s;
}

.sea-node .node-icon {
    background: linear-gradient(135deg, #0066ff, #0080ff);
    animation-delay: 0.5s;
}

.air-node .node-icon {
    background: linear-gradient(135deg, #00d4ff, #66e0ff);
    animation-delay: 1s;
}

.vehicle-node span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 500;
}

.connection-lines {
    position: relative;
    width: 100%;
    height: 100%;
}

.connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 255, 0.6), transparent);
    animation: connectionFlow 2s ease-in-out infinite;
}

.line-1 {
    top: 30%;
    left: 50%;
    width: 70px;
    transform: translateX(-50%) rotate(-45deg);
    animation-delay: 0s;
}

.line-2 {
    bottom: 30%;
    left: 30%;
    width: 70px;
    transform: rotate(45deg);
    animation-delay: 0.7s;
}

.line-3 {
    bottom: 30%;
    right: 30%;
    width: 70px;
    transform: rotate(-45deg);
    animation-delay: 1.4s;
}

/* Efficiency Visualization */
.efficiency-visualization {
    text-align: center;
}

.efficiency-chart {
    display: flex;
    gap: 2rem;
    align-items: end;
    justify-content: center;
    height: 200px;
    margin-bottom: 1rem;
}

.chart-bar {
    position: relative;
    width: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

.chart-bar span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.bar-fill {
    width: 100%;
    border-radius: 8px 8px 0 0;
    transition: height 1.5s ease;
}

.traditional .bar-fill {
    background: linear-gradient(180deg, #ff6b35, #ff8c42);
    height: 85%;
}

.bluea .bar-fill {
    background: var(--gradient-accent);
    height: 35%;
}

.efficiency-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

/* Scalability Visualization */
.scalability-visualization {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.scale-levels {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.scale-level {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.level-nodes {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    min-width: 120px;
}

.scale-node {
    width: 12px;
    height: 12px;
    background: var(--gradient-accent);
    border-radius: 50%;
    animation: scalePulse 2s ease-in-out infinite;
}

.level-1 .scale-node {
    animation-delay: 0s;
}

.level-2 .scale-node:nth-child(1) { animation-delay: 0.2s; }
.level-2 .scale-node:nth-child(2) { animation-delay: 0.4s; }
.level-2 .scale-node:nth-child(3) { animation-delay: 0.6s; }

.level-3 .scale-node:nth-child(1) { animation-delay: 0.8s; }
.level-3 .scale-node:nth-child(2) { animation-delay: 1s; }
.level-3 .scale-node:nth-child(3) { animation-delay: 1.2s; }
.level-3 .scale-node:nth-child(4) { animation-delay: 1.4s; }
.level-3 .scale-node:nth-child(5) { animation-delay: 1.6s; }
.level-3 .scale-node:nth-child(6) { animation-delay: 1.8s; }

.scale-level span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes connectionFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes scalePulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.3);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .benefits-tabs {
        flex-direction: column;
    }
    
    .benefit-tab {
        padding: 1rem;
    }
    
    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
    }
    
    .benefit-panel {
        padding: 2rem;
    }
    
    .unified-visualization,
    .efficiency-chart,
    .scalability-visualization {
        transform: scale(0.8);
    }
}

/* Technical Tab Styles */
.benefit-grid-technical {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.technical-section {
    background: rgba(40, 40, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 80, 80, 0.4);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.technical-section:hover {
    transform: translateY(-5px);
    border-color: rgba(30, 30, 30, 0.6);
    box-shadow: 0 10px 30px rgba(20, 20, 20, 0.2);
}

.technical-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.technical-description {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

@media (max-width: 768px) {
    /* Technical grid */
    .benefit-grid-technical {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .technical-section {
        padding: 1.5rem;
    }

    /* Central logo positioning for mobile */
    #central-logo {
        top: 28%;
    }
    #central-logo img {
        width: 70vw;
        max-width: 500px;
        height: auto;
    }
    body.scrolled #central-logo {
        top: 36px !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1002;
        position: fixed;
    }
    
    body.scrolled #central-logo img {
        height: 20px;
        max-height: 20px;
        width: auto !important;
    }
    .nav-container {
        padding: 0;
        justify-content: center;
    }
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 1002;
    }
    .logo img {
        height: 20px;
        max-width: 60vw;
    }
    .mobile-menu-toggle {
        position: absolute;
        right: 1rem;
        z-index: 1003;
    }

    .container {
        padding: 0 2rem;
    }
    .section {
        padding: 1.5rem 0;
    }
    .hero {
        min-height: 110vh;
        height: 110vh;
        padding: 80px 0 200px;
        overflow: hidden;
    }
    .hero .hero-video {
        height: 110vh !important;
        min-height: 110vh !important;
    }
    .hero .hero-overlay {
        height: 110vh !important;
        min-height: 110vh !important;
    }
    section#solutions {
        margin-top: 100px !important;
        padding-top: 150px !important;
    }
    .hero-buttons.mobile-center {
        margin-bottom: 100px !important;
    }
    .hero-content {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        padding: 0 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 60vh;
    }
    .hero-text {
        text-align: center;
        max-width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    .hero-buttons,
    .hero-buttons.align-right {
        flex-direction: column !important;
        gap: 1rem !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
    .hero-buttons.align-right .cta-button,
    .hero-buttons.align-right .hero-button {
        margin: 0 auto !important;
        text-align: center !important;
        flex: 1 1 100% !important;
        width: 100% !important;
    }
    .hero-buttons.align-right {
        justify-content: center !important;
        align-items: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
        padding-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
    }
    .hero-buttons.mobile-center {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 2rem auto 0 auto !important;
        gap: 1rem !important;
        text-align: center !important;
    }
    .hero-buttons.mobile-center .cta-button {
        width: 100% !important;
        padding: 1rem !important;
        text-align: center !important;
    }
    .hero-buttons .cta-button {
        width: 100%;
        padding: 1rem;
    }
    .hero + section {
        margin-top: 100px;
        padding-top: 50px;
    }
    .grid-2,
    .grid-3 {
        gap: 1rem;
    }
    [style*="padding: 0 16rem"] {
        padding: 0 0.5rem !important;
    }
    /* Ensure navbar logo stays hidden on homepage even when scrolled */
    body.homepage.scrolled .logo {
        display: none !important;
    }

}


/* Neural Network Visualization */
.neural-network {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 280px;
    position: relative;
    flex: 1;
}

.neural-layer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.neural-node {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.3);
    border: 2px solid rgba(0, 102, 255, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.neural-node.processing {
    background: rgba(255, 107, 53, 0.3);
    border-color: rgba(255, 107, 53, 0.6);
    animation: pulse 1.5s ease-in-out infinite;
}

.neural-node.output {
    background: rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.6);
    animation: pulse 1s ease-in-out infinite;
}

.neural-label {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Hardware Abstraction Visualization */
.abstraction-visualization {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(40, 40, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 80, 80, 0.4);
    border-radius: 20px;
    min-height: 300px;
    height: auto;
}

.abstraction-layer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 250px;
}

.layer-box {
    padding: 1rem 2rem;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    width: 100%;
    border: 2px solid;
}

.layer-box.software {
    background: rgba(0, 102, 255, 0.2);
    border-color: rgba(0, 102, 255, 0.6);
    color: rgba(0, 102, 255, 1);
}

.layer-box.abstraction {
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.6);
    color: rgba(255, 107, 53, 1);
}

.hardware-platforms {
    display: flex;
    gap: 0.5rem;
    width: 100%;
    justify-content: space-between;
}

.platform-box {
    flex: 1;
    padding: 0.5rem;
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.6);
    color: rgba(0, 212, 255, 1);
    border-radius: 10px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Adaptive Control Visualization */
.adaptive-visualization {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(40, 40, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 80, 80, 0.4);
    border-radius: 20px;
    min-height: 300px;
    height: auto;
}

.adaptation-cycle {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cycle-step {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.cycle-step.sense { top: 0; left: 50%; transform: translateX(-50%); }
.cycle-step.analyze { right: 0; top: 50%; transform: translateY(-50%); }
.cycle-step.adapt { bottom: 0; left: 50%; transform: translateX(-50%); }
.cycle-step.execute { left: 0; top: 50%; transform: translateY(-50%); }

.step-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.8);
    animation: pulse 2s ease-in-out infinite;
}

.cycle-center {
    background: rgba(40, 40, 40, 0.9);
    border: 2px solid rgba(0, 102, 255, 0.6);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Safety Architecture Visualization */
.safety-visualization {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(40, 40, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 80, 80, 0.4);
    border-radius: 20px;
    min-height: 300px;
    height: auto;
}

.safety-layers {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safety-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
}

.safety-ring.primary {
    width: 220px;
    height: 220px;
    border-color: rgba(255, 107, 53, 0.6);
    color: rgba(255, 107, 53, 1);
    background: rgba(255, 107, 53, 0.1);
}

.safety-ring.secondary {
    width: 160px;
    height: 160px;
    border-color: rgba(255, 193, 7, 0.6);
    color: rgba(255, 193, 7, 1);
    background: rgba(255, 193, 7, 0.1);
}

.safety-ring.tertiary {
    width: 100px;
    height: 100px;
    border-color: rgba(0, 212, 255, 0.6);
    color: rgba(0, 212, 255, 1);
    background: rgba(0, 212, 255, 0.1);
}

.safety-core {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(40, 200, 40, 0.3);
    border: 2px solid rgba(40, 200, 40, 0.8);
    color: rgba(40, 200, 40, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    z-index: 10;
    position: relative;
}

.glassmorphic-overlay {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 0;
}

/* Product Hero Styles */
.product-hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 3rem 2.5rem;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero-title {
    color: white;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 1);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

/* Force button pairs to be exactly equal width based on longest content */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}



.hero-buttons .cta-button,
.hero-buttons .hero-button {
    padding: 1rem 2rem;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
}

.hero-buttons.align-right,
.hero-buttons.mobile-center {
    justify-content: flex-end !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    padding-top: 0.1rem;
    display: flex;
    gap: 1rem;
}

.hero-buttons.align-right .cta-button,
.hero-buttons.align-right .hero-button {
    flex: 0 0 auto;
    width: auto;
}

.hero-button {
    background: transparent;
    color: white;
    padding: 1rem 2.5rem;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    min-width: 180px;
    text-align: center;
    justify-content: center;
}

.hero-button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Swarm Overview Cards */
.swarm-card {
    background: rgba(40, 40, 40, 0.7);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 12px 12px 50px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.swarm-card:hover {
    transform: translateY(-5px);
    box-shadow: 12px 20px 60px rgba(0, 0, 0, 0.5);
}

.swarm-card .feature-icon {
    width: 110px;
    height: 110px;
}

.swarm-card .feature-icon img {
    width: 110px !important;
    height: 110px !important;
    filter: brightness(0) invert(1);
}

.swarm-card h3 {
    text-align: center;
    margin-bottom: 1rem;
}

.swarm-card p {
    text-align: center;
}

/* Full Width Background Section */
.full-width-bg {
    position: relative;
    min-height: 70vh;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: #000;
}

.full-width-bg img {
    width: 100vw;
    min-height: 60vh;
    object-fit: cover;
    object-position: center;
    filter: brightness(1) contrast(1) drop-shadow(0 10px 30px rgba(0, 0, 0, 0.25));
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.content-overlay {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 5rem 2rem 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.overlay-title {
    color: white;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    margin-bottom: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.overlay-subtitle {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 400;
    margin-bottom: 2rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.overlay-description {
    max-width: 700px;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Interactive Elements */
.interactive:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Additional Glassmorphic Components */


.bluea-hero {
    background-image: url('../assets/drone_waves.jpg');
}
.about-hero {
    background-image: url('../assets/submarine2.png');
}
.newdimension-hero{
    background-image: url('../assets/HomeBackground.jpg');
}
.swarm-hero {
    background-image: url('../assets/drone_sunset.jpg');
}
.contact-hero {
    background-image: url('../assets/drone_sky.jpg');
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 1rem auto;
    line-height: 1.6;
}

.intro-container {
    max-width: 800px;
    margin: 0 auto;
}

.intro-content {
    padding: 2rem;
    margin: 2rem 0;
}

.intro-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    margin: 0;
}

.why-grid {
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-card {
    padding: 2.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 35px rgba(255, 255, 255, 0.10);
}

.feature-title {
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-description {
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-container {
    padding: 4rem 3rem;
    margin: 2rem auto;
    max-width: 900px;
    text-align: center;
}

.cta-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.mission-container {
    padding: 3rem;
    margin: 2rem auto;
    max-width: 900px;
    text-align: center;
}

.mission-statement {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.approach-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}



.approach-point {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.approach-point:last-child {
    border-bottom: none;
}

.approach-point h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.approach-point p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.visualization-container {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.integration-viz {
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
}

.visualization-content {
    text-align: center;
    padding: 2rem;
}

.visualization-placeholder {
    color: var(--text-secondary);
    margin-top: 1rem;
    font-style: italic;
}

.integration-cta {
    margin-top: 2rem;
    text-align: center;
}

/* Vessel Containers */
.vessel-container {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.1) 0%, rgba(50, 50, 50, 0.1) 100%);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ocean-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    object-fit: cover;
    opacity: 0.6;
    animation: wave 4s ease-in-out infinite;
}

.vessel-image {
    position: relative;
    max-width: 80%;
    max-height: 70%;
    width: auto;
    height: auto;
    filter: none;
    z-index: 2;
    animation: float 8s ease-in-out infinite;
}

.vessel-wake {
    position: absolute;
    bottom: 20%;
    right: 60%;
    width: 200px;
    height: 100px;
    opacity: 0.7;
    animation: wakeFlow 3s ease-in-out infinite;
}

.sonar-ping {
    position: absolute;
    bottom: 30%;
    left: 50%;
    width: 150px;
    height: 150px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: sonarPulse 4s ease-in-out infinite;
}

.nav-lights {
    position: absolute;
    top: 40%;
    left: 45%;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: none;
    animation: blink 2s ease-in-out infinite;
}

/* Aero Container */
.aero-container {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.1) 0%, rgba(50, 50, 50, 0.1) 100%);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sky-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(0, 230, 255, 0.1) 0%, transparent 50%);
}

.aero-image {
    position: relative;
    max-width: 70%;
    max-height: 60%;
    width: auto;
    height: auto;
    filter: none;
    z-index: 3;
    animation: fly 10s ease-in-out infinite;
}

.flight-path {
    position: absolute;
    top: 30%;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0.6;
    animation: pathTrace 6s ease-in-out infinite;
}

.signal-beam {
    position: absolute;
    bottom: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-top: 100px solid rgba(0, 230, 255, 0.2);
    transform: translateX(-50%);
    animation: beamScan 5s ease-in-out infinite;
}

.coverage-map {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 100px;
    height: 80px;
    opacity: 0.4;
    filter: none;
}

/* Mesh Network Container */
.mesh-network-container {
    position: relative;
    background: rgba(40, 40, 40, 0.4);
    border: 1px solid rgba(30, 30, 30, 0.3);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    overflow: hidden;
}

.mesh-globe {
    width: 300px;
    height: 300px;
    object-fit: contain;
    opacity: 0.7;
    animation: rotate 30s linear infinite;
    margin-bottom: 2rem;
}

.network-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

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

.stat-item .stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-10px); }
}

@keyframes wakeFlow {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes sonarPulse {
    0% { transform: translateX(-50%) scale(0.8); opacity: 1; }
    100% { transform: translateX(-50%) scale(1.5); opacity: 0; }
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0.3; }
}

@keyframes fly {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    25% { transform: translateY(-10px) rotateY(5deg); }
    50% { transform: translateY(-5px) rotateY(0deg); }
    75% { transform: translateY(-15px) rotateY(-5deg); }
}

@keyframes pathTrace {
    0% { transform: scaleX(0); transform-origin: left; }
    50% { transform: scaleX(1); transform-origin: left; }
    51% { transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

@keyframes beamScan {
    0%, 100% { transform: translateX(-50%) rotate(-10deg); opacity: 0.2; }
    50% { transform: translateX(-50%) rotate(10deg); opacity: 0.6; }
}

/* Global Coverage Container */
.global-coverage-container {
    background: var(--gradient-card);
    border: 1px solid rgba(30, 30, 30, 0.3);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.coverage-visualization {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

.coverage-globe {
    width: 350px;
    height: 350px;
    object-fit: contain;
    opacity: 0.8;
    animation: rotate 25s linear infinite;
}

.australia-highlight {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 80px;
    height: 60px;
    opacity: 0.9;
    filter: drop-shadow(0 0 15px var(--accent));
    animation: pulse 3s ease-in-out infinite;
}

.coverage-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.coverage-point {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: none;
    animation: ping 4s ease-in-out infinite;
}

.point-1 { top: 25%; left: 30%; animation-delay: 0s; }
.point-2 { top: 40%; right: 25%; animation-delay: 1s; }
.point-3 { bottom: 35%; left: 35%; animation-delay: 2s; }
.point-4 { bottom: 20%; right: 30%; animation-delay: 3s; }

@keyframes ping {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
}

/* Team Visualization */
.team-visualization {
    position: relative;
    height: 400px;
    background: radial-gradient(circle at center, rgba(30, 30, 30, 0.1) 0%, transparent 50%);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: blur(1px);
}

.team-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-icons {
    position: relative;
    width: 250px;
    height: 250px;
}

.team-member {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-card);
    border: 2px solid var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    animation: memberPulse 4s ease-in-out infinite;
}

.member-1 { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.member-2 { right: 0; top: 50%; transform: translateY(-50%); animation-delay: 1s; }
.member-3 { bottom: 0; left: 50%; transform: translateX(-50%); animation-delay: 2s; }
.member-4 { left: 0; top: 50%; transform: translateY(-50%); animation-delay: 3s; }

.collaboration-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.collab-line {
    position: absolute;
    height: 2px;
    background: var(--gradient-1);
    opacity: 0.6;
    animation: lineFlow 5s ease-in-out infinite;
}

.line-1 {
    top: 25%;
    left: 50%;
    width: 40%;
    transform: translateX(-50%) rotate(45deg);
}

.line-2 {
    top: 50%;
    left: 25%;
    width: 50%;
    transform: rotate(-45deg);
}

.line-3 {
    bottom: 25%;
    left: 50%;
    width: 40%;
    transform: translateX(-50%) rotate(135deg);
}

.team-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    text-align: left;
}

@keyframes memberPulse {
    0%, 100% { transform: scale(1); box-shadow: none; }
    50% { transform: scale(1.1); box-shadow: none; }
}

@keyframes lineFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.hero-content {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100vw;
    height: 100vh;
    animation: fadeInUp 1s ease-out;
    padding-right: 8%;
    padding-bottom: 8%;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.1s ease-out;
}

.hero-text {
    pointer-events: auto;
    max-width: 60%;
    text-align: right;
}

.hero-text h1 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #27e9ff 50%, #3269ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.7);
    animation: slideInLeft 1s ease-out 0.5s both;
}

.hero-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    line-height: 1.2;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
    animation: slideInLeft 1s ease-out 0.6s both;
    justify-content: flex-end;
}
.product-hero .hero-buttons {
    justify-content: center;
    align-items: center;
}



/* Cards - Enhanced */
.card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
}

.card:hover {
    transform: translateY(-20px);
    background: var(--bg-glass-hover);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.4);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: stretch;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    align-items: center;
}

/* Features - Enhanced */
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem auto;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    filter: none;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}


.card:hover .feature-icon img {
    transform: scale(1.1);
}

.card h3 {
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    color: var(--text-primary);
}

.card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--text-secondary);
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.feature h3 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 0.5rem;
    text-shadow: none;
}

/* Footer */
footer {
    padding: 60px 0 30px;
    background: var(--gradient-dark);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.footer-links h4 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Loading Animation - Ocean Waves Theme */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0a1b2e 0%, #1a2332 50%, #2a3340 100%);
    display: none; /* Disabled - was causing immediate flash */
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Ocean waves loading animation */
.ocean-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 200%;
    height: 100px;
    transform: translateX(-50%);
    background: linear-gradient(45deg, 
        rgba(0, 102, 255, 0.1) 0%, 
        rgba(0, 212, 255, 0.15) 25%, 
        rgba(0, 102, 255, 0.2) 50%, 
        rgba(0, 212, 255, 0.15) 75%, 
        rgba(0, 102, 255, 0.1) 100%);
    border-radius: 50% 50% 0 0;
    animation: oceanFlow 4s ease-in-out infinite;
}

.wave-1 {
    animation-delay: 0s;
    opacity: 0.8;
    height: 120px;
    bottom: -20px;
}

.wave-2 {
    animation-delay: -0.5s;
    opacity: 0.6;
    height: 100px;
    bottom: -10px;
    animation-duration: 4.5s;
}

.wave-3 {
    animation-delay: -1s;
    opacity: 0.5;
    height: 80px;
    bottom: 0px;
    animation-duration: 5s;
}

.wave-4 {
    animation-delay: -1.5s;
    opacity: 0.4;
    height: 60px;
    bottom: 10px;
    animation-duration: 5.5s;
}

.wave-5 {
    animation-delay: -2s;
    opacity: 0.3;
    height: 40px;
    bottom: 20px;
    animation-duration: 6s;
}

.wave-6 {
    animation-delay: -2.5s;
    opacity: 0.25;
    height: 30px;
    bottom: 30px;
    animation-duration: 6.5s;
}

.wave-7 {
    animation-delay: -3s;
    opacity: 0.2;
    height: 20px;
    bottom: 40px;
    animation-duration: 7s;
}

.wave-8 {
    animation-delay: -3.5s;
    opacity: 0.15;
    height: 15px;
    bottom: 50px;
    animation-duration: 7.5s;
}

/* Vamfyre logo in loader */
.loader-logo {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.7;
    animation: logoFloat 3s ease-in-out infinite;
}

.loader-logo img {
    width: 120px;
    height: auto;
    filter: brightness(0.9);
}

@keyframes oceanFlow {
    0% {
        transform: translateX(-50%) translateY(0px) rotate(-1deg);
    }
    25% {
        transform: translateX(-60%) translateY(-10px) rotate(0deg);
    }
    50% {
        transform: translateX(-50%) translateY(-5px) rotate(1deg);
    }
    75% {
        transform: translateX(-40%) translateY(-15px) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) translateY(0px) rotate(-1deg);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

@keyframes logoFloat {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-8px);
    }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

.pulse-animation {
    animation: pulse 4s ease-in-out infinite;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gradient {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: white;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

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



    .nav-container {
        width: 100%;
        padding: 0;
        justify-content: center;
    }

    /* Override container padding for navbar on mobile */
    nav .container {
        padding: 0 0.5rem;
    }

    nav {
        height: 64px;
        display: flex;
        align-items: center;
        padding: 0 0.5rem;
    }

    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 64px;
        width: 100%;
        position: relative;
        z-index: 1002;
    }

    .logo img {
        max-height: 28px;
        height: 28px;
        display: block;
        margin: 0 auto;
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 1rem;
        z-index: 1003;
    }

    /* Fix excessive padding on content sections */
    [style*="padding: 0 16rem"] {
        padding: 0 1rem !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(42, 42, 42, 0.4) !important;
        backdrop-filter: blur(25px) saturate(180%) brightness(110%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(180%) brightness(110%) !important;
        flex-direction: column;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        z-index: 1001;
        border-left: 1.5px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.2);
    }

    /* Ensure backdrop filter persists in all states - more specific selectors */
    .nav-links.active {
        right: 0;
        background: rgba(42, 42, 42, 0.4) !important;
        backdrop-filter: blur(25px) saturate(180%) brightness(110%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(180%) brightness(110%) !important;
    }
    

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .grid-2,
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
        justify-content: center;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }

    .hero-visual {
        display: none;
    }

    .card {
        margin: 0.5rem 0;
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .hero-text {
        text-align: center;
        max-width: 700px;
    }

    .hero {
        padding: 60px 0 30px;
        min-height: 90vh;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
        line-height: 1;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }

    .lead-text {
        font-size: 1.1rem;
    }

    .hero-image-container {
        height: 400px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        justify-content: center;
        max-width: 220px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-button,
    .secondary-button {
        width: 100%;
        max-width: 220px;
        text-align: center;
    }

    .mission-content .lead-text {
        margin-bottom: 2rem;
    }
}

/* Interactive Product Exploration Styles */
.interactive-card {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.interactive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.interactive-card:active {
    transform: translateY(-4px) scale(0.98);
}

.detailed-specs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    border-radius: inherit;
}

.interactive-card:hover .detailed-specs {
    opacity: 1;
    visibility: visible;
}

.spec-item {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.spec-item strong {
    color: var(--secondary);
    display: inline-block;
    min-width: 120px;
    font-weight: 600;
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
    .interactive-card:active .detailed-specs {
        opacity: 1;
        visibility: visible;
    }
    
    .interactive-card:hover {
        transform: none;
    }
}

/* Mission Scenario Selector Styles */
.mission-selector {
    background: rgba(40, 40, 40, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 80, 80, 0.4);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
}

.mission-selector h3 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.scenario-dropdown {
    appearance: none;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(80, 80, 80, 0.5);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    padding: 1rem 3rem 1rem 1.5rem;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
}

.scenario-dropdown:hover {
    border-color: var(--secondary);
    background-color: rgba(0, 0, 0, 0.8);
}

.scenario-dropdown:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.scenario-content {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(80, 80, 80, 0.3);
    min-height: 200px;
    transition: all 0.4s ease;
}

.scenario-content h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.scenario-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.scenario-capabilities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.capability-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(80, 80, 80, 0.2);
}

.capability-item strong {
    color: var(--secondary);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
}

/* ========================================
   DYNAMIC BACKGROUND EFFECTS
   ======================================== */

/* Animated Gradient Backgrounds */
.section-animated-bg {
    position: relative;
    overflow: hidden;
}

.section-animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-animated-1);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    opacity: 0.1;
    z-index: 0;
}

.section-animated-bg-2::before {
    background: var(--gradient-animated-2);
    animation: gradientShift 20s ease infinite reverse;
}

.section-animated-bg-3::before {
    background: var(--gradient-animated-3);
    animation: gradientShift 25s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Geometric Pattern Overlays */
.section-pattern-hex {
    position: relative;
}

.section-pattern-hex::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(255, 255, 255, var(--pattern-opacity)) 2px, transparent 2px),
        radial-gradient(circle at 75px 75px, rgba(200, 200, 200, var(--pattern-opacity)) 1px, transparent 1px);
    background-size: var(--pattern-size) var(--pattern-size);
    z-index: 1;
    pointer-events: none;
}

.section-pattern-grid {
    position: relative;
}

.section-pattern-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, var(--pattern-opacity)) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, var(--pattern-opacity)) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.section-pattern-circuit {
    position: relative;
}

.section-pattern-circuit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20px 20px, rgba(180, 180, 180, var(--pattern-opacity)) 1px, transparent 1px),
        linear-gradient(45deg, transparent 25px, rgba(255, 255, 255, calc(var(--pattern-opacity) * 0.5)) 25px, rgba(255, 255, 255, calc(var(--pattern-opacity) * 0.5)) 26px, transparent 26px),
        linear-gradient(-45deg, transparent 25px, rgba(160, 160, 160, calc(var(--pattern-opacity) * 0.3)) 25px, rgba(160, 160, 160, calc(var(--pattern-opacity) * 0.3)) 26px, transparent 26px);
    background-size: 60px 60px, 60px 60px, 60px 60px;
    z-index: 1;
    pointer-events: none;
}

/* Floating Particle Effect */
.section-particles {
    position: relative;
    overflow: hidden;
}

.section-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(200, 200, 200, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(160, 160, 160, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 90% 10%, rgba(180, 180, 180, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 20% 90%, rgba(140, 140, 140, 0.05) 1px, transparent 1px);
    background-size: 120px 120px, 180px 180px, 200px 200px, 150px 150px, 160px 160px;
    animation: floatParticles 30s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes floatParticles {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-100px);
    }
}

/* Hover Effects for Interactive Sections */
.interactive-hover {
    transition: all 0.3s ease;
}

.interactive-hover:hover {
    transform: translateY(-2px);
}

.interactive-hover:hover::before {
    opacity: 0.15;
}

/* Network Visualization Effect */
.section-network {
    position: relative;
}

.section-network::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(180, 180, 180, 0.04) 2px, transparent 2px),
        radial-gradient(circle at 85% 25%, rgba(180, 180, 180, 0.04) 2px, transparent 2px),
        radial-gradient(circle at 50% 75%, rgba(180, 180, 180, 0.04) 2px, transparent 2px),
        linear-gradient(45deg, transparent 0%, transparent 48%, rgba(160, 160, 160, 0.02) 49%, rgba(160, 160, 160, 0.02) 51%, transparent 52%, transparent 100%),
        linear-gradient(-45deg, transparent 0%, transparent 48%, rgba(160, 160, 160, 0.02) 49%, rgba(160, 160, 160, 0.02) 51%, transparent 52%, transparent 100%);
    background-size: 300px 200px, 300px 200px, 300px 200px, 200px 200px, 200px 200px;
    z-index: 1;
    pointer-events: none;
    animation: networkPulse 8s ease-in-out infinite;
}

@keyframes networkPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Ensure content stays above patterns */
.section > .container {
    position: relative;
    z-index: 2;
}

/* ========================================
   SWARM OPERATIONS VISUALIZATIONS
   ======================================== */

/* Operation Visualizations */
.harbour-visualization,
.search-visualization,
.protection-visualization,
.mine-visualization,
.intelligence-visualization,
.offshore-visualization {
    width: 300px;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* harbour Security Visualization */
.harbour-layout {
    position: relative;
    width: 100%;
    height: 100%;
}

.port-structure {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 80px;
    height: 60px;
    background: rgba(180, 180, 180, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

.patrol-drones {
    position: absolute;
    width: 100%;
    height: 100%;
}

.patrol-drone {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 102, 255, 0.6);
    animation: harbourPatrol 8s ease-in-out infinite;
}

.drone-1 {
    top: 30%;
    left: 20%;
    animation-delay: 0s;
}

.drone-2 {
    top: 60%;
    left: 70%;
    animation-delay: 2.5s;
}

.drone-3 {
    top: 80%;
    left: 40%;
    animation-delay: 5s;
}

@keyframes harbourPatrol {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -20px); }
    50% { transform: translate(60px, 10px); }
    75% { transform: translate(20px, 40px); }
}

.patrol-paths {
    position: absolute;
    width: 100%;
    height: 100%;
}

.patrol-path {
    position: absolute;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50px;
}

.path-1 {
    top: 25%;
    left: 15%;
    width: 150px;
    height: 100px;
    animation: pathPulse 4s ease-in-out infinite;
}

.path-2 {
    top: 55%;
    left: 35%;
    width: 120px;
    height: 80px;
    animation: pathPulse 4s ease-in-out infinite 2s;
}

@keyframes pathPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Search & Rescue Visualization */
.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.search-area {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    position: relative;
    animation: searchScan 6s ease-in-out infinite;
}

.area-1 { animation-delay: 0s; }
.area-2 { animation-delay: 1.5s; }
.area-3 { animation-delay: 3s; }
.area-4 { animation-delay: 4.5s; }

@keyframes searchScan {
    0%, 80%, 100% { background: rgba(255, 255, 255, 0.05); }
    20% { background: rgba(0, 255, 136, 0.2); }
}

/* Force Protection Visualization */
.protection-perimeter {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.protected-asset {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 136, 0.6);
    border-radius: 50%;
    z-index: 3;
    animation: assetPulse 3s ease-in-out infinite;
}

@keyframes assetPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.perimeter-ring {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: ringExpand 4s ease-in-out infinite;
}

.ring-1 {
    width: 150px;
    height: 150px;
    animation-delay: 0s;
}

.ring-2 {
    width: 220px;
    height: 220px;
    animation-delay: 2s;
}

@keyframes ringExpand {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.05); }
}

/* Mine Detection Visualization */
.survey-pattern {
    position: relative;
    width: 100%;
    height: 100%;
}

.mine-detected {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ff6b35;
    border-radius: 50%;
    animation: mineAlert 2s ease-in-out infinite;
}

.detected-1 {
    top: 30%;
    left: 40%;
    animation-delay: 0s;
}

.detected-2 {
    top: 70%;
    left: 65%;
    animation-delay: 1s;
}

@keyframes mineAlert {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
}

.survey-path {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    animation: surveyProgress 8s linear infinite;
}

@keyframes surveyProgress {
    0% { transform: translateY(0) scaleX(0.3); }
    100% { transform: translateY(200px) scaleX(1); }
}

/* Intelligence Visualization */
.stealth-operation {
    position: relative;
    width: 100%;
    height: 100%;
}

.target-area {
    position: absolute;
    top: 20%;
    right: 20%;
    width: 60px;
    height: 40px;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    border-radius: 8px;
}

.stealth-drone {
    position: absolute;
    bottom: 30%;
    left: 20%;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: stealthMove 10s ease-in-out infinite;
}

@keyframes stealthMove {
    0%, 100% { opacity: 0.3; transform: translate(0, 0); }
    50% { opacity: 0.8; transform: translate(150px, -80px); }
}

.data-stream {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: dataTransfer 3s ease-in-out infinite;
    transform-origin: bottom;
}

@keyframes dataTransfer {
    0%, 100% { opacity: 0; transform: rotate(0deg) scaleY(0.5); }
    50% { opacity: 1; transform: rotate(45deg) scaleY(1); }
}

/* Offshore Security Visualization */
.offshore-platform {
    position: relative;
    width: 100%;
    height: 100%;
}

.platform-structure {
    position: absolute;
    top: 40%;
    left: 40%;
    width: 60px;
    height: 60px;
    background: rgba(180, 180, 180, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 8px;
}

.monitoring-zone {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: monitoringPulse 6s ease-in-out infinite;
}

@keyframes monitoringPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.patrol-coverage {
    position: absolute;
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: coverageRotate 15s linear infinite;
}

@keyframes coverageRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design for Swarm Operations Visualizations */
@media (max-width: 768px) {
    .harbour-visualization,
    .search-visualization,
    .protection-visualization,
    .mine-visualization,
    .intelligence-visualization,
    .offshore-visualization {
        width: 250px;
        height: 250px;
    }
}

/* ========================================
   BENEFITS TABS SYSTEM (BLUEA PAGE)
   ======================================== */

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.benefit-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
}

.benefit-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.benefit-tab.active {
    color: white;
}

.benefit-tab:focus {
    outline: none;
}


.tab-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.benefit-tab span {
    font-size: 0.9rem;
    font-weight: 600;
}

.benefits-content {
    position: relative;
    min-height: auto;
}

.benefit-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    pointer-events: none;
    padding: 0;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.benefit-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
    min-height: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 2rem 2rem;
}


.benefit-text {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: auto;
    justify-content: flex-start;
}

.benefit-text h3 {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0;
}

.benefit-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}

.feature-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
}

.point-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    flex-shrink: 0;
}


/* Base class for all benefit visualizations */
.unified-visualization,
.efficiency-visualization,
.scalability-visualization,
.neural-visualization,
.abstraction-visualization,
.adaptive-visualization,
.safety-visualization {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 350px;
    height: 300px;
    background: rgba(40, 40, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(80, 80, 80, 0.4);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
}

/* Unified Visualization */
.unified-visualization {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.central-hub {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
}

.hub-core {
    width: 60px;
    height: 60px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
    animation: hubPulse 2s ease-in-out infinite;
}

@keyframes hubPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.vehicle-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.vehicle-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.land-node {
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.sea-node {
    bottom: 20px;
    left: 20px;
}

.air-node {
    bottom: 20px;
    right: 20px;
}

.node-icon {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.connection-lines {
    position: absolute;
    width: 100%;
    height: 100%;
}

.connection-line {
    position: absolute;
    background: var(--secondary);
    opacity: 0.6;
    animation: connectionPulse 3s ease-in-out infinite;
}

.line-1 {
    top: 50%;
    left: 50%;
    width: 2px;
    height: 100px;
    transform: translate(-50%, -50%) rotate(-45deg);
    animation-delay: 0s;
}

.line-2 {
    top: 50%;
    left: 50%;
    width: 2px;
    height: 120px;
    transform: translate(-50%, -50%) rotate(225deg);
    animation-delay: 1s;
}

.line-3 {
    top: 50%;
    left: 50%;
    width: 2px;
    height: 120px;
    transform: translate(-50%, -50%) rotate(315deg);
    animation-delay: 2s;
}

@keyframes connectionPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Efficiency Visualization */
.efficiency-visualization {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.efficiency-chart {
    display: flex;
    gap: 2rem;
    align-items: end;
    height: 200px;
}

.chart-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.chart-bar span {
    font-weight: 600;
    color: var(--text-secondary);
}

.bar-fill {
    width: 40px;
    background: var(--accent-blue);
    border-radius: 8px 8px 0 0;
    transition: height 2s ease;
}

.traditional .bar-fill {
    height: 170px;
    background: #ff6b35;
}

.bluea .bar-fill {
    height: 70px;
    background: var(--accent-blue);
}

.efficiency-label {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
}

/* Scalability Visualization */
.scalability-visualization {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.scale-levels {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.scale-level {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.level-nodes {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.scale-node {
    width: 20px;
    height: 20px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: scaleNodePulse 2s ease-in-out infinite;
}

.scale-node:nth-child(2) { animation-delay: 0.2s; }
.scale-node:nth-child(3) { animation-delay: 0.4s; }
.scale-node:nth-child(4) { animation-delay: 0.6s; }
.scale-node:nth-child(5) { animation-delay: 0.8s; }
.scale-node:nth-child(6) { animation-delay: 1s; }

@keyframes scaleNodePulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Neural Network Visualization */
.neural-visualization {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.neural-network {
    display: flex;
    gap: 4rem;
    align-items: center;
    position: relative;
}

.neural-layer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.neural-node {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    position: relative;
}

.neural-node.active {
    background: var(--secondary);
    animation: neuralPulse 1.5s ease-in-out infinite;
}

.neural-node.processing {
    background: var(--accent-blue);
    animation: neuralPulse 1.5s ease-in-out infinite 0.3s;
}

.neural-node.output {
    background: #ff6b35;
    animation: neuralPulse 1.5s ease-in-out infinite 0.6s;
}

@keyframes neuralPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Abstraction Layer Visualization */
.abstraction-visualization {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.abstraction-layer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.layer-box {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    text-align: center;
    min-width: 200px;
}

.software {
    background: var(--accent-blue);
    color: white;
}

.abstraction {
    background: var(--secondary);
    color: white;
}

.hardware-platforms {
    display: flex;
    gap: 1rem;
}

.platform-box {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
}

/* Adaptive Control Visualization */
.adaptive-visualization {
    display: flex;
    align-items: center;
    justify-content: center;
}

.adaptation-cycle {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cycle-step {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.sense { top: 10px; left: 50%; transform: translateX(-50%); }
.analyze { right: 10px; top: 50%; transform: translateY(-50%); }
.adapt { bottom: 10px; left: 50%; transform: translateX(-50%); }
.execute { left: 10px; top: 50%; transform: translateY(-50%); }

.step-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: stepPulse 4s ease-in-out infinite;
}

.sense .step-icon { animation-delay: 0s; }
.analyze .step-icon { animation-delay: 1s; }
.adapt .step-icon { animation-delay: 2s; }
.execute .step-icon { animation-delay: 3s; }

@keyframes stepPulse {
    0%, 75%, 100% { opacity: 0.3; transform: scale(1); }
    25% { opacity: 1; transform: scale(1.2); }
}

.cycle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 50%;
    font-weight: 600;
    color: var(--text-primary);
}

/* Safety Architecture Visualization */
.safety-visualization {
    display: flex;
    align-items: center;
    justify-content: center;
}

.safety-layers {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safety-ring {
    position: absolute;
    border: 3px solid;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.primary {
    width: 100%;
    height: 100%;
    border-color: #ff6b35;
    color: #ff6b35;
}

.secondary {
    width: 75%;
    height: 75%;
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.tertiary {
    width: 50%;
    height: 50%;
    border-color: var(--secondary);
    color: var(--secondary);
}

.safety-core {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

/* Responsive Design for Benefits */
@media (max-width: 768px) {
    .benefits-tabs {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
    }
    
    .benefit-tab {
        padding: 0.75rem 1rem;
        min-width: auto;
    }
    
    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: 180px;
        padding: 0 1rem;
    }
    
    .benefit-text {
        min-height: auto;
        padding-right: 0;
    }
    
    .benefit-visual {
        min-height: 250px;
        padding: 0.5rem 0;
    }
    
    .benefit-panel {
        padding: 1rem 0;
    }
    
    /* Mobile responsive for all visualizations */
    .unified-visualization,
    .efficiency-visualization,
    .scalability-visualization,
    .neural-visualization,
    .abstraction-visualization,
    .adaptive-visualization,
    .safety-visualization {
        max-width: 100%;
        height: 250px;
        padding: 1.5rem;
    }
    
    #neural-mesh-bg {
        opacity: 0.4;
    }
}

*:focus,
*:focus-visible,
*:focus-within {
    outline: none !important;
    box-shadow: none !important;
}

* {
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
}

