:root {
    /* Color Palette from Logo */
    --primary-red: #EA3323;
    --primary-red-glow: rgba(234, 51, 35, 0.4);
    --bg-dark: #0A0A0A;
    --bg-card: #141414;
    --text-white: #FFFFFF;
    --text-muted: #A0A0A0;
    --accent-glow: rgba(234, 51, 35, 0.15);

    /* Layout Tokens */
    --container-width: 1200px;
    --nav-height: 80px;
    --radius-lg: 16px;
    --radius-md: 8px;

    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-primary {
    color: var(--primary-red);
}

.section-padding {
    padding: 8rem 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--primary-red);
    color: white;
    box-shadow: 0 4px 20px var(--primary-red-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--primary-red-glow);
}

.btn-outline {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.btn-outline:hover {
    background-color: var(--primary-red);
    color: white;
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(40, 40, 40, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeIn 0.8s ease forwards;
}

/* Grid System for CMS-Friendly Layouts */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 992px) {
    :root {
        --nav-height: 70px;
    }

    .hero-container {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 3rem !important;
    }

    .hero-content h1 {
        font-size: 3rem !important;
    }

    .hero-content p {
        margin: 0 auto 2.5rem !important;
    }

    .hero-btns {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
    }

    .about-image-container {
        padding: 2rem !important;
    }

    .about-content {
        padding: 2rem !important;
    }
}

@media (max-width: 600px) {
    .section-padding {
        padding: 4rem 0;
    }

    .hero-section {
        padding-top: 8rem !important;
    }

    .mobile-toggle {
        display: block !important;
        color: white;
    }

    nav ul.nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 2px solid var(--primary-red);
        text-align: center;
    }

    nav ul.nav-links.active {
        display: flex !important;
    }

    .nav-cta {
        display: none !important;
    }

    .hero-content h1 {
        font-size: 2.5rem !important;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Card Hover Effects */
article.glass-panel:hover {
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(234, 51, 35, 0.1);
    transform: translateY(-5px);
    transition: var(--transition-smooth);
}

article.glass-panel .hover-overlay {
    opacity: 0;
}

article.glass-panel:hover .hover-overlay {
    opacity: 1;
}

article.glass-panel img {
    transition: var(--transition-smooth);
}

article.glass-panel:hover img {
    transform: scale(1.05);
}