@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Montserrat:wght@900&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&family=Fira+Code:wght@400;500;600;700&display=swap');

:root {
    /* Typography Tokens */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;
    --font-tech: 'Inter', sans-serif;
    --font-serif: 'Bodoni Moda', serif; /* Reserved for Hero */

    /* Light Design System Tokens */
    --color-primary: #1E293B;
    --color-secondary: #F1F5F9;
    --color-cta: #84CC16; /* Lime Green matching the logo */
    --color-background: #FFFFFF;
    --color-text: #0F172A;
    --color-muted: #64748B;
    
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);

    --transition-fast: 150ms ease;
    --transition-standard: 300ms ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Typography Utilities */
.text-cta { color: var(--color-cta); }
.text-muted { color: var(--color-muted); }
.font-mono { font-family: var(--font-tech); font-weight: 600; }

/* Layout Components */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 75px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
}

.nav-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
    list-style: none;
}

.nav-item {
    position: relative;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    opacity: 0.7;
    cursor: pointer;
    display: flex;
    text-decoration: none;
    color: #000000;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--color-cta);
}

.nav-link i {
    font-size: 10px;
    transition: transform var(--transition-fast);
}

/* Dropdown System */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 280px;
    padding: 20px 0;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0,0,0,0.05);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--color-primary);
    border-radius: 8px;
    transition: var(--transition-fast);
    font-weight: 500;
}

.dropdown-link:hover {
    background: var(--color-secondary);
    color: var(--color-cta);
    padding-left: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-standard);
    border: none;
}

.btn-primary {
    background: var(--color-cta);
    color: var(--color-background);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(132, 204, 22, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-cta);
    color: var(--color-cta);
}

.btn-outline:hover {
    background: var(--color-cta);
    color: var(--color-background);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    color: white;
    background: #000;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero h1 {
    font-size: clamp(3.5rem, 12vw, 9rem);
    line-height: 0.85;
    margin-bottom: var(--space-md);
    background: linear-gradient(180deg, var(--color-primary) 30%, rgba(30, 41, 59, 0.2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(132, 204, 22, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(132, 204, 22, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    animation: patternMove 60s linear infinite;
}

@keyframes patternMove {
    from { background-position: 0 0; }
    to { background-position: 500px 500px; }
}

.hero-vector-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(132, 204, 22, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    filter: blur(60px);
}

.shape-1 { top: -10%; left: -10%; animation: float 20s infinite alternate; }
.shape-2 { bottom: -10%; right: -10%; animation: float 25s infinite alternate-reverse; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.02);
    filter: brightness(0.75) contrast(1.1) saturate(0.9); /* Subtly lightened */
}

.hero-slide.active {
    opacity: 1;
    animation: kenBurns 40s linear infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.05) 100%),
                linear-gradient(to bottom, transparent 40%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 2;
}

@keyframes kenBurns {
    0% { transform: scale(1.02) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1%, -1%); }
}

/* Bento Grid */
.bento-section {
    padding: var(--space-3xl) 0;
    background: #f8fafc;
    position: relative;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.section-header, .bento-grid {
    position: relative;
    z-index: 10;
}

.section-header {
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: var(--space-lg);
}

.bento-item {
    background: #ffffff;
    border-radius: 40px;
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    border: 1px solid #ffffff;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.05), 
        0 2px 4px -1px rgba(0, 0, 0, 0.03),
        0 20px 40px -10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-item:hover {
    border-color: var(--color-cta);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.tall {
    grid-row: span 2;
}

.bento-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.8;
    filter: brightness(0.5) contrast(1.2);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.bento-item:hover .bento-img {
    opacity: 1;
    filter: brightness(0.7) contrast(1.1);
    transform: scale(1.05);
}

.bento-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bento-content {
    position: relative;
    z-index: 10;
    color: #ffffff; /* Ensure text is white on dark images */
}

.bento-content h3 {
    color: #ffffff;
}

.bento-content .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

/* Footer */
footer {
    padding: var(--space-3xl) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: var(--space-3xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-2xl);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-lg);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        height: 60px;
    }
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-radius: 0 0 16px 16px;
        gap: 0;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-item {
        height: auto;
        padding: 0;
        width: 100%;
        display: block;
    }
    .nav-link {
        padding: 15px 30px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        box-shadow: none;
        border: none;
        padding: 0 0 10px 0;
        display: none;
        background: transparent;
        width: 100%;
        min-width: 100%;
    }
    .dropdown-link {
        padding: 12px 30px 12px 45px;
        text-align: left;
        font-size: 13px;
        border-radius: 0;
        border-left: 2px solid transparent;
    }
    .dropdown-link:hover {
        background: #f8fafc;
        border-left-color: var(--color-cta);
        padding-left: 45px;
    }
    .nav-item.dropdown-active .dropdown-menu,
    .nav-item:hover .dropdown-menu,
    .nav-item:active .dropdown-menu {
        display: block;
        transform: none !important;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-item.large,
    .bento-item.tall {
        grid-column: span 1;
        grid-row: auto;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-cta);
    border-radius: 12px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--color-cta);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: mouse-scroll 1.5s infinite;
}

@keyframes mouse-scroll {
    0% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}

/* Tour Section Enhancement */
.tour-viewport {
    width: 100%;
    height: 600px;
    background: #000;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.tour-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
}

.tour-scene.active {
    display: block;
}

.tour-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
    z-index: 5;
}

.tour-step-info {
    position: absolute;
    bottom: var(--space-xl);
    left: var(--space-xl);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: var(--space-md) var(--space-lg);
    border-radius: 12px;
    border-left: 4px solid var(--color-cta);
    color: var(--color-text);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateX(-20px);
    max-width: 400px;
}
/* Product Carousel */
.product-carousel-wrapper {
    overflow: hidden;
    padding: 20px 0;
}

.product-carousel-track {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    grid-auto-flow: column;
    grid-auto-columns: calc(33.3333% - 20px);
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card {
    width: 100%;
    background: #f8fafc;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition-standard);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-cta);
}

.product-card-img {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-standard);
}

.product-card:hover .product-card-img img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(132, 204, 22, 0.9);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.product-card-info {
    padding: 30px;
}

.product-card-info h3 {
    font-size: 1.25rem;
    margin: 10px 0 20px;
}

.btn-text {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 10;
    cursor: pointer;
    text-decoration: none;
}

.btn-text i {
    transition: transform 0.3s ease;
}

.btn-text:hover i {
    transform: translateX(5px);
}

.carousel-controls {
    display: flex;
    gap: 15px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--color-cta);
    color: white;
    border-color: var(--color-cta);
}

@media (max-width: 1024px) {
    .product-carousel-track {
        grid-auto-columns: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .product-carousel-track {
        grid-template-rows: 1fr;
        grid-auto-columns: 100%;
    }
}

/* Advanced Technical Filter */
.filter-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.category-filters {
    display: flex;
    gap: 0;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    width: fit-content;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 8px 22px;
    border-radius: 8px;
    border: none;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: normal;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: #64748b;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.filter-btn span.count {
    font-size: 0.6rem;
    background: rgba(0,0,0,0.05);
    padding: 2px 6px;
    border-radius: 4px;
    opacity: 0.5;
}

.filter-btn.active {
    color: #000;
}

.filter-btn.active span.count {
    background: rgba(0,0,0,0.1);
    opacity: 1;
}

/* The Sliding Highlight */
.filter-highlight {
    position: absolute;
    background: var(--color-cta);
    border-radius: 6px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
    box-shadow: 0 4px 12px rgba(132, 204, 22, 0.2);
    pointer-events: none;
}

.filter-btn:hover:not(.active) {
    color: #000;
}

@media (max-width: 1024px) {
    .category-filters {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 10px;
    }
}

/* Cinematic Lightbox */
.pm-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.98);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pm-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    width: 90%;
    max-width: 1200px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 30px 100px rgba(0,0,0,0.8);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pm-lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    pointer-events: none;
    z-index: 10;
}

.lightbox-btn {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 1.2rem;
}

.lightbox-btn:hover {
    background: var(--color-cta);
    color: black;
    border-color: var(--color-cta);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(132, 204, 22, 0.4);
}

.lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
    pointer-events: auto;
}

.lightbox-close:hover { opacity: 1; transform: rotate(90deg); }

.gallery-item {
    cursor: pointer;
    overflow: hidden;
}

.gallery-item img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

