:root {
    --bg-dark: #050505;
    --bg-card: rgba(15, 15, 20, 0.7);
    --blue-primary: #00E5FF;
    --blue-dark: #0056b3;
    --blue-glow: rgba(0, 229, 255, 0.3);
    --text-main: #e0e0e0;
    --text-muted: #888899;
    --white: #ffffff;
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(10, 10, 15, 0.85);
    
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-blue {
    color: var(--blue-primary);
    text-shadow: 0 0 15px var(--blue-glow);
}

.section-padding {
    padding: 100px 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

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

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 12px 32px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background: transparent;
    color: var(--blue-primary);
    border: 1px solid var(--blue-primary);
    box-shadow: 0 0 10px var(--blue-glow), inset 0 0 10px var(--blue-glow);
}

.btn-primary:hover {
    background: var(--blue-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 25px var(--blue-primary), inset 0 0 10px rgba(0,0,0,0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--glass-border);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline:hover {
    border-color: var(--blue-primary);
    color: var(--blue-primary);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: transparent;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

.blue-dot {
    color: var(--blue-primary);
    text-shadow: 0 0 10px var(--blue-primary);
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

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

.nav-links a.btn-primary {
    margin-left: 40px;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05); /* Pre-scale for animation */
    animation: slowZoom 20s infinite alternate linear;
}

@keyframes slowZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(5,5,5,0.9) 0%, rgba(5,5,5,0.5) 50%, rgba(5,5,5,0.3) 100%);
}

.hero-content {
    max-width: 800px;
    padding-top: 100px; /* Offset for navbar */
    position: relative;
    z-index: 1;
}

.glitch-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 300;
}

/* Vision & Mission */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: -60px; /* Overlap hero slightly */
    position: relative;
    z-index: 10;
}

.vm-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    border-radius: 8px;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border-top: 3px solid transparent;
}

.vm-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 229, 255, 0.3);
    border-top: 3px solid var(--blue-primary);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 30px rgba(0, 229, 255, 0.05);
}

.vm-icon {
    font-size: 3rem;
    color: var(--blue-primary);
    margin-bottom: 25px;
    text-shadow: 0 0 15px var(--blue-glow);
}

.vm-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.vm-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* About Section */
.about {
    background: linear-gradient(to bottom, var(--bg-dark) 0%, #08080c 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background glow */
.about::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20%;
    width: 50%;
    height: 70%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    /* Fancy border effect */
    padding: 2px;
    background: linear-gradient(135deg, rgba(0,229,255,0.5), transparent 50%, rgba(255,255,255,0.1));
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.5s ease;
}

.about-image:hover img {
    filter: brightness(1.1) contrast(1.2);
}

.glow-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-20deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Products Section */
.products {
    background: var(--bg-dark);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 40px;
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.scanner-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--blue-primary);
    box-shadow: 0 0 15px 5px var(--blue-glow);
    animation: scanLine 4s infinite linear;
    z-index: 2;
}

@keyframes scanLine {
    0% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.product-info {
    padding: 60px 50px 60px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h3 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--white);
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-main);
}

.feature-list li i {
    color: var(--blue-primary);
    font-size: 1.2rem;
    text-shadow: 0 0 10px var(--blue-glow);
}

/* References */
.references {
    background: linear-gradient(to top, var(--bg-dark) 0%, #06080e 100%);
    border-top: 1px solid rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.ref-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.ref-item {
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid var(--glass-border);
    padding: 25px 40px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    cursor: default;
    flex: 1 1 calc(33.333% - 40px);
    min-width: 250px;
    text-align: center;
}

.ref-item:hover {
    background: rgba(0, 229, 255, 0.05);
    border-color: var(--blue-primary);
    color: var(--blue-primary);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background: #030303;
    padding-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-primary), transparent);
    opacity: 0.3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 20px;
    max-width: 300px;
}

.footer h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: var(--font-heading);
}

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

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

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

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

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-icons a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.social-icons a i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.social-icons a:hover {
    color: var(--blue-primary);
}

.footer-bottom {
    background: #000;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.active.fade-up, .active.reveal-left, .active.reveal-right {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Live Chat Widget */
.live-chat-widget {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 350px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.live-chat-widget.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.chat-header {
    background: rgba(0, 229, 255, 0.1);
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.chat-header i {
    cursor: pointer;
    color: var(--text-muted);
}

.chat-header i:hover {
    color: var(--white);
}

.chat-body {
    padding: 20px;
    height: 250px;
    overflow-y: auto;
}

.chat-msg {
    margin-bottom: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    max-width: 85%;
}

.chat-msg.bot {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-left: 3px solid var(--blue-primary);
}

.chat-input {
    padding: 15px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 10px;
}

.chat-input input {
    flex: 1;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 20px;
    outline: none;
}

.chat-input input:focus {
    border-color: rgba(0, 229, 255, 0.5);
}

.chat-input button {
    background: var(--blue-primary);
    color: var(--bg-dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.chat-input button:hover {
    transform: scale(1.1);
}

.chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--blue-primary);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 0 20px var(--blue-glow);
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--blue-primary);
}

/* Responsive */
@media (max-width: 992px) {
    .vm-grid, .about-grid, .product-showcase {
        grid-template-columns: 1fr;
    }
    
    .glitch-title {
        font-size: 4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-info {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile hide for now */
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .glitch-title {
        font-size: 3rem;
    }
    
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
