:root {
    /* Default Dark Mode (Premium UI) */
    --bg: #050507;
    --bg-alt: #0d0d10;
    --fg: #f8f9fa;
    --accent: #007aff;
    --accent-glow: rgba(0, 122, 255, 0.4);
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Outfit', sans-serif;
    --gradient: linear-gradient(135deg, #007aff 0%, #00c6ff 100%);
    --nav-bg: rgba(10, 10, 12, 0.8);
    --card-bg: #0f0f12;
}

[data-theme="light"] {
    --bg: #ffffff;
    --bg-alt: #f1f3f5;
    --fg: #1a1a1c;
    --accent: #0056b3;
    --accent-glow: rgba(0, 86, 179, 0.2);
    --glass: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);
    --nav-bg: rgba(255, 255, 255, 0.85);
    --card-bg: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Glass Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--fg);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    transition: color 0.3s;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--accent);
    opacity: 1;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--fg);
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

.theme-toggle {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--fg);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.theme-toggle:hover {
    background: var(--glass-border);
    transform: scale(1.1);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--accent);
    text-shadow: 0 0 30px var(--accent-glow);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-visual {
    flex: 1;
    position: relative;
}

.hero-img {
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.cta-group {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.btn.primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 30px var(--accent-glow);
}

.btn.secondary {
    border: 1px solid var(--fg);
    color: var(--fg);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Product Grid */
.product-grid {
    padding: 100px 10%;
    background: var(--card-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.fluid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: scale(1.02);
}

.card-img-wrapper {
    height: 300px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover img {
    transform: scale(1.1);
}

.card-content {
    padding: 2rem;
}

/* Services */
.services-section {
    padding: 100px 10%;
    display: flex;
    align-items: center;
    gap: 50px;
}

.interactive-svg-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.services-section .content {
    flex: 1;
}

/* Contact */
.contact-section {
    padding: 100px 10%;
    background: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.loc-card {
    background: var(--glass);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: background 0.3s;
}

.loc-card:hover {
    background: var(--glass-border);
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 10px;
    color: var(--fg);
    font-family: inherit;
}

textarea {
    height: 150px;
}

footer {
    text-align: center;
    padding: 50px;
    opacity: 0.5;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        z-index: 1001;
    }

    .nav-right {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.5s ease-in-out;
        pointer-events: none;
    }

    .nav-right.active {
        clip-path: circle(150% at 100% 0);
        pointer-events: all;
    }

    .nav-links {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        width: 100%;
        font-size: 1.5rem;
    }

    .theme-toggle {
        width: 50px;
        height: 50px;
        margin-top: 2rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-section {
        flex-direction: column;
        padding-top: 150px;
        text-align: center;
        height: auto;
        padding-bottom: 50px;
    }

    .hero-visual {
        display: none;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-section {
        flex-direction: column;
    }
}