/* Color Variables & Base Setup */
:root {
    --bg-base: #030305;
    --bg-glass: rgba(15, 15, 20, 0.6);
    --bg-glass-dark: rgba(5, 5, 8, 0.8);
    --neon-cyan: #00e5ff;
    --neon-purple: #b026ff;
    --text-main: #ffffff;
    --text-muted: #b0b8c1;
    --glass-border: rgba(255, 255, 255, 0.12);
}

body {
    background-color: var(--bg-base);
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, .navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

/* Fluid Typography for supreme responsiveness */
.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    max-width: 800px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
}

/* Spacing Engine */
.section-spacing {
    padding: 100px 0;
}
@media (max-width: 768px) {
    .section-spacing {
        padding: 60px 0;
    }
}

/* Background Marketing Shapes */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -2;
    opacity: 0.4;
    animation: float 10s infinite alternate ease-in-out;
}
.shape-cyan {
    width: 400px;
    height: 400px;
    background: var(--neon-cyan);
    top: 10%;
    left: -100px;
}
.shape-purple {
    width: 500px;
    height: 500px;
    background: var(--neon-purple);
    top: 50%;
    right: -150px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

/* Optional Grid Overlay */
.grid-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Typography Enhancements */
.gradient-text {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.bg-glass-dark {
    background-color: var(--bg-glass-dark);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

/* Glassmorphism Components - Improved Contrast */
.glass-nav {
    background: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.glass-nav .nav-link {
    color: var(--text-main);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.glass-nav .nav-link:hover {
    color: var(--neon-cyan);
}

/* Better mobile menu toggle visibility */
.custom-toggler {
    border-color: rgba(255,255,255,0.3);
}
.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(176, 38, 255, 0.15), rgba(0, 229, 255, 0.05));
}

.box-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.4);
}

.border-neon {
    border: 1px solid rgba(176, 38, 255, 0.6);
    box-shadow: 0 0 30px rgba(176, 38, 255, 0.15);
}

.mission-list li {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 15px;
    color: var(--text-main);
}

/* Buttons */
.neon-btn {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--neon-cyan);
    border-radius: 30px;
    padding: 10px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.neon-btn:hover {
    background: var(--neon-cyan);
    color: var(--bg-base);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.neon-btn-lg {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 45px;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.neon-btn-lg:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(176, 38, 255, 0.6);
    color: #fff;
}

/* Form Inputs */
.futuristic-input {
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.futuristic-input::placeholder {
    color: rgba(255,255,255,0.4);
}

.futuristic-input:focus {
    background: rgba(0,0,0,0.9);
    border-color: var(--neon-purple);
    color: #fff;
    box-shadow: 0 0 15px rgba(176, 38, 255, 0.4);
    outline: none;
}

/* Layout Details */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    position: relative;
}

.icon-box {
    font-size: 3.5rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

/* Dynamic Cursor Background */
.cursor-glow {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.08) 0%, rgba(0,0,0,0) 60%);
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
}

/* Scroll Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .glass-nav {
        background: rgba(3, 3, 5, 0.95);
    }
    .navbar-nav {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .cursor-glow {
        display: none; /* Turn off complex cursor fx on touch devices */
    }
}