:root {
    --bg-color: #05050a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b5;
    --accent-1: #00f0ff;
    --accent-2: #7000ff;
    --gradient-primary: linear-gradient(135deg, var(--accent-1) 0%, var(--accent-2) 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-main: 'Outfit', sans-serif;
}

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

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

/* Background Glow Effects */
.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.glow-1 {
    top: -200px;
    left: -200px;
    background: var(--accent-2);
}

.glow-2 {
    bottom: 20%;
    right: -200px;
    background: var(--accent-1);
    width: 500px;
    height: 500px;
}

.glow-3 {
    top: 40%;
    left: 20%;
    background: rgba(0, 240, 255, 0.2);
    width: 300px;
    height: 300px;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

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

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

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Typography */
h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-main);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 10px 20px rgba(112, 0, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 240, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    margin: 0 0.5rem;
}

.btn-block {
    display: block;
    width: 100%;
    margin-top: 1rem;
}

/* Glass Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    transition: background 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(5, 5, 10, 0.8);
    border-bottom: 1px solid var(--glass-border);
}

.brand-logo {
    text-decoration: none !important;
}

.brand-name {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none !important;
    margin-left: 15px;
}

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

.nav-links {
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-1);
}

/* Hero Section */
.hero {
    padding: 12rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.site-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
    opacity: 0.6;
    /* Adjust as needed for legibility */
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, rgba(5, 5, 10, 0.8) 0%, rgba(5, 5, 10, 0.4) 50%, rgba(5, 5, 10, 1) 100%);
    z-index: -1;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
}

.stat-card {
    max-width: 600px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.1) 0%, transparent 70%);
    z-index: -1;
}

.stat-number {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.count-up {
    color: transparent;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Products Section */
.products {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    padding: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: default;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 240, 255, 0.15);
    border-color: rgba(0, 240, 255, 0.3);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Contact Section */
.contact {
    padding: 8rem 0;
}

.contact-info {
    width: 45%;
    padding-right: 2rem;
}

.contact-details p {
    font-size: 1.2rem;
    margin-top: 1rem;
    color: #fff;
}

.contact-form-container {
    width: 50%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    background: rgba(255, 255, 255, 0.08);
}

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.alert.success {
    background: rgba(0, 255, 100, 0.1);
    border: 1px solid #00ff64;
    color: #00ff64;
}

.alert.error {
    background: rgba(255, 50, 50, 0.1);
    border: 1px solid #ff3232;
    color: #ff3232;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
    background-color: var(--bg-color);
    /* Give it a solid background so the video doesn't show through */
    position: relative;
    z-index: 10;
}

/* Animations */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    h1 {
        font-size: 3.5rem;
    }

    .hero {
        padding-top: 10rem;
    }

    .contact .flex {
        flex-direction: column;
    }

    .contact-info,
    .contact-form-container {
        width: 100%;
    }

    .contact-info {
        margin-bottom: 3rem;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        /* simple mobile fallback for space */
    }

    h2 {
        font-size: 2rem;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn-lg {
        margin: 0;
    }

    .stat-number {
        font-size: 4rem;
    }
}