/* --- 9TECH Enterprise Design System --- */
:root {
    --bg-deep: #05070a;
    /* Deep space navy/black */
    --accent-cyan: #00f3ff;
    --accent-blue: #0066ff;
    --accent-purple: #7000ff;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(10, 15, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(0, 243, 255, 0.03);
    --transition-slow: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
    /* Standard cursor for enterprise feel */
}

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Elements */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -2;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

#bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
    opacity: 0.4;
    /* Subtle background presence */
    filter: saturate(0.8) contrast(1.1);
}

/* --- Layout & Typography --- */
.app-container {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

h1,
h2,
h3,
h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.page-header {
    font-size: 2.5rem;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    z-index: 100;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 40px;
    background: var(--glass-bg);
    padding: 15px 30px;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition-slow);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: var(--accent-cyan);
    transition: var(--transition-slow);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-cyan);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero-section {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Left align for enterprise feel */
    text-align: left;
    position: relative;
}

.hero-brand {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.brand-highlight {
    color: var(--accent-cyan);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.hero-taglines {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.tagline {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 16px;
    border-left: 2px solid var(--accent-cyan);
    background: rgba(0, 243, 255, 0.05);
}

/* --- Components --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 2px;
    transition: var(--transition-slow);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.glass-panel:hover {
    border-color: rgba(0, 243, 255, 0.3);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Glowing corner accents */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: var(--transition-slow);
}

.glass-panel:hover::before {
    width: 100%;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Product/Feature Cards */
.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    background: var(--card-hover);
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 15px;
    font-weight: 600;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Airspace Buttons (System Types) */
.airspace-btn {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Sidebar Dots */
.sidebar-right {
    position: fixed;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 100;
}

.social-dot {
    width: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-slow);
}

.social-dot:hover {
    height: 40px;
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* --- Footer --- */
footer {
    padding: 80px 0 40px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 80px;
    text-align: center;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.active-aos {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* --- Mobile / Utility --- */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    z-index: 101;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .app-container {
        padding: 0 20px;
    }

    .hero-brand {
        font-size: 3rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-section {
        align-items: center;
        text-align: center;
    }

    .hero-taglines {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Mobile Nav */
    nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(5, 7, 10, 0.98);
        /* deeply opaque for readability */
        flex-direction: column;
        align-items: center;
        padding: 40px;
        gap: 30px;
        backdrop-filter: blur(20px);
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        z-index: 99;
        border: none;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .sidebar-right {
        display: none;
    }
}

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 20px;
    cursor: pointer;
}

.lang-opt {
    color: var(--text-muted);
    transition: 0.3s;
}

.lang-opt.active {
    color: var(--accent-cyan);
}

.lang-divider {
    color: var(--glass-border);
}

/* Form Styles for Contact */
.form-group {
    margin-bottom: 25px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 15px;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    border-radius: 2px;
    transition: 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(0, 243, 255, 0.05);
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 15px 30px;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 2px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: var(--accent-cyan);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

option {
    color: black;
}