:root {
    --primary: #050520;
    --accent: #00d2ff;
    --accent-glow: rgba(0, 210, 255, 0.5);
    --darker: #02020f;
    --text-main: #ffffff;
    --text-muted: #a0a0c0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Unbounded', sans-serif;
    --font-body: 'Space Mono', monospace;
}

body {
    background-color: var(--primary);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

.accent { color: var(--accent); }
.bg-darker { background-color: var(--darker); }
.section-padding { padding: 100px 0; }
.ls-2 { letter-spacing: 2px; }

/* Navbar */
.glass-nav {
    background: rgba(2, 2, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 8px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


.brand-logo-horizontal {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 12px var(--accent-glow));
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}




.brand-logo-horizontal:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .brand-logo-horizontal { height: 40px; }
}


.hero-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 20px var(--accent-glow));
}

@media (max-width: 768px) {
    .hero-logo { height: 80px; }
}





.nav-link {
    color: var(--text-main) !important;
    font-weight: 400;
    margin: 0 15px;
    position: relative;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-holographic {
    min-height: 100vh;
    padding-top: 140px; /* Increased offset for fixed navbar */
    padding-bottom: 100px; /* New bottom padding */
    background: linear-gradient(rgba(5, 5, 32, 0.7), rgba(5, 5, 32, 0.7)), url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}



.door-panels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    z-index: 5;
    pointer-events: none;
}

.panel-top, .panel-bottom {
    background: #1a1a1b;
    width: 100%;
    height: 50%;
    position: relative;
    border: 2px solid #333;
    transition: transform 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.panel-top {
    background-image: repeating-linear-gradient(0deg, #1a1a1b, #1a1a1b 40px, #222 40px, #222 42px);
    transform: translateY(0);
}

.panel-bottom {
    background-image: repeating-linear-gradient(0deg, #1a1a1b, #1a1a1b 40px, #222 40px, #222 42px);
    transform: translateY(0);
}

body.loaded .panel-top {
    transform: translateY(-100%);
}

body.loaded .panel-bottom {
    transform: translateY(100%);
}

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.05), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.05));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 1;
}

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


/* Buttons */
.btn-accent {
    background-color: var(--accent);
    color: var(--primary);
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.btn-accent-glow {
    background-color: var(--accent);
    color: var(--primary);
    font-weight: 700;
    border: none;
    box-shadow: 0 0 20px var(--accent-glow);
    transition: all 0.3s ease;
}

.btn-accent-glow:hover {
    box-shadow: 0 0 40px var(--accent);
    transform: scale(1.05);
}

.btn-outline-accent {
    border: 2px solid var(--accent);
    color: var(--accent);
    transition: all 0.3s ease;
}

.btn-outline-accent:hover {
    background-color: var(--accent);
    color: var(--primary);
}

/* Cards */
.glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.service-card {
    background: var(--darker);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0, 210, 255, 0.1);
}

/* Ticker Strip */
.ticker-strip {
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    animation: ticker 30s linear infinite;
}

.ticker-content span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-right: 50px;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Process Ribbon */
.process-ribbon {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.ribbon-item {
    background: var(--accent);
    color: var(--primary);
    padding: 5px 15px;
    font-weight: 700;
    font-size: 0.8rem;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
}

/* Hologram Frame */
.hologram-frame {
    position: relative;
    border: 1px solid var(--accent);
    padding: 10px;
    background: linear-gradient(45deg, rgba(0, 210, 255, 0.1), transparent);
}

.hologram-frame::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
}

.hologram-frame::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--accent);
    border-right: 2px solid var(--accent);
}

/* Magazine Layout */
.dropcap {
    float: left;
    font-size: 5rem;
    line-height: 1;
    font-weight: 700;
    color: var(--accent);
    margin-right: 15px;
    font-family: var(--font-heading);
}

/* Area Chips */
.marquee-wrapper {
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.marquee-left { animation: scroll-left 40s linear infinite; }
.marquee-right { animation: scroll-right 40s linear infinite; }

.area-chip {
    padding: 10px 25px;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: default;
}

.area-chip:hover {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    transform: scale(1.1);
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Chat FAQ */
.chat-faq-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--darker);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 30px;
}

.chat-message {
    display: flex;
    margin-bottom: 20px;
}

.message-bubble {
    padding: 15px 20px;
    border-radius: 20px;
    max-width: 80%;
}

.bot-msg .message-bubble {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-bottom-left-radius: 5px;
}

.user-msg {
    justify-content: flex-end;
}

.user-msg .message-bubble {
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    border-bottom-right-radius: 5px;
}

/* Diagnostic Hub */
.diagnostic-hub {
    background: var(--darker);
    border: 1px solid var(--accent);
    position: relative;
}

.status-indicator {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--accent);
}

.dot {
    height: 10px;
    width: 10px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0px rgba(0, 210, 255, 0.7); }
    100% { box-shadow: 0 0 0 15px rgba(0, 210, 255, 0); }
}

/* Footer */
.footer-logo {
    height: 110px;
    width: auto;
    filter: drop-shadow(0 0 15px var(--accent-glow));
    display: block;
    margin: 0 auto;
}

.huge-brand {

    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.8;
    letter-spacing: -5px;
}

.footer-links li {
    margin-bottom: 10px;
}

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

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

/* Mobile Adjustments */
@media (max-width: 991px) {
    .section-padding { padding: 60px 0; }
    .hero-holographic { 
        min-height: 80vh; 
        padding-top: 120px; 
        padding-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .display-1 { font-size: 2.5rem; }
    .huge-brand { font-size: 4rem; letter-spacing: -2px; }
    .brand-logo-horizontal { height: 40px; }
    .hero-logo { height: 60px; }
    .lead { font-size: 1.1rem !important; }
}

@media (max-width: 480px) {
    .display-1 { font-size: 2rem; }
    .hero-holographic { padding-top: 140px; }
    .btn-lg { width: 100%; padding: 12px; font-size: 1rem; }
}
