:root {
    --primary-red: #af0f24;
    --dark-bg: #1a1c1c;
    --light-surface: #f9f9f9;
    --card-bg: #ffffff;
    --text-main: #1a1c1c;
    --text-light: #666;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Improved image rendering */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Selection color */
::selection {
    background-color: var(--primary-red);
    color: white;
}

.container {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    padding: 80px 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--primary-red);
}

.nav-container {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand img { height: 40px; }
.nav-menu { display: flex; gap: 2.5rem; }
.nav-link { 
    text-decoration: none; 
    color: #333; 
    font-weight: 600; 
    position: relative;
    font-size: 0.95rem;
}
.nav-link.active { color: var(--primary-red); }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-red);
}

.nav-actions { display: flex; gap: 1.5rem; font-size: 1.2rem; cursor: pointer; }

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
}

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

.mega-title {
    font-size: clamp(3rem, 15vw, 15rem);
    font-weight: 800;
    line-height: 0.8;
    margin-bottom: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    margin-bottom: 3rem;
    max-width: 800px;
}

.btn-red {
    display: inline-block;
    padding: 16px 45px;
    background: var(--primary-red);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 2px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-red:hover {
    background-color: var(--dark-bg);
    transform: translateY(-2px);
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    display: flex;
    gap: 10px;
}

.dot { width: 10px; height: 10px; border: 1px solid white; border-radius: 50%; transition: background 0.3s; }
.dot.active { background: white; }

/* Product Groups */
.product-groups { background: var(--light-surface); }
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -1px;
}

.grid-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--card-bg);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 3px solid transparent;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary-red);
}

.card-img {
    height: 120px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img img { max-height: 100%; max-width: 100%; filter: grayscale(1); transition: 0.3s; }
.product-card:hover img { filter: grayscale(0); }
.card-img span { font-size: 4rem; }

.product-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Experience */
.flex-experience {
    display: flex;
    align-items: center;
    gap: 100px;
    padding-top: 50px;
}

.exp-text { flex: 1; }
.exp-text h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 20px; font-family: 'Space Grotesk', sans-serif; line-height: 1.1; }
.features { list-style: none; margin-top: 30px; }
.features li { margin-bottom: 15px; padding-left: 30px; position: relative; }
.features li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-red); font-weight: bold; }

.exp-badge {
    width: 300px;
    height: 300px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.badge-inner { text-align: center; }
.badge-inner .number { font-size: 6rem; font-weight: 800; display: block; line-height: 1; }
.badge-inner .label { font-size: 1.5rem; letter-spacing: 5px; }

/* Footer */
.main-footer { background: var(--dark-bg); color: #ccc; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 50px; padding-bottom: 50px; }
.footer-col h4 { color: white; margin-bottom: 25px; font-size: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: #888; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid #333; padding: 30px 0; text-align: center; font-size: 0.9rem; }

/* Mobile Filter Button (for product pages) */
.mobile-filter-btn {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .flex-experience { flex-direction: column; text-align: center; gap: 50px; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; }
    
    .exp-badge {
        width: 200px;
        height: 200px;
    }
    .badge-inner .number { font-size: 4rem; }
    .badge-inner .label { font-size: 1rem; }

    /* Product page sidebar hidden on mobile */
    .mobile-filter-btn {
        display: flex;
    }

    /* Search box responsive */
    .search-box {
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 40px 0;
    }
}

/* Print Styles */
@media print {
    header, footer, #backToTop, .mobile-filter-btn {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
}
