/* === BASE STYLES === */:root {
            --primary: #C41E3A;
            --secondary: #0A1128;
            --accent: #FFD700;
            --light: #F8F9FA;
            --dark: #1A1A2E;
            --gradient-primary: linear-gradient(135deg, #C41E3A 0%, #8B0000 100%);
            --gradient-accent: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
            --shadow-sm: 0 2px 8px rgba(196, 30, 58, 0.1);
            --shadow-md: 0 4px 16px rgba(196, 30, 58, 0.15);
            --shadow-lg: 0 8px 32px rgba(196, 30, 58, 0.2);
            --shadow-xl: 0 16px 48px rgba(196, 30, 58, 0.25);
        }

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

        html, body {
            overflow-x: hidden;
            max-width: 100vw;
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', sans-serif;
            color: var(--dark);
            background: var(--light);
            line-height: 1.7;
        }

        h1, h2, h3, h4 {
            font-family: 'Playfair Display', serif;
            font-weight: 900;
            line-height: 1.2;
            color: var(--secondary);
        }

        h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
        h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
        h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1rem; }
        h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

        p {
            font-size: 1.125rem;
            margin-bottom: 1.25rem;
            color: #2C3E50;
        }

        a {
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .container {
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2.5rem;
            font-size: 1.125rem;
            font-weight: 700;
            border-radius: 50px;
            border: none;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-transform: uppercase;
            letter-spacing: 1px;
            min-height: 44px;
            white-space: nowrap;
        }

        .btn-primary {
            background: var(--gradient-primary);
            color: white;
            box-shadow: var(--shadow-lg);
            position: relative;
            overflow: hidden;
        }

        .btn-primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }

        .btn-primary:hover::before {
            left: 100%;
        }

        .btn-primary:hover {
            transform: translateY(-2px) scale(1.05);
            box-shadow: var(--shadow-xl);
            color: white;
        }

        .btn-accent {
            background: var(--gradient-accent);
            color: var(--secondary);
            box-shadow: var(--shadow-md);
        }

        .btn-accent:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        .card {
            background: white;
            border-radius: 24px;
            padding: 2.5rem;
            box-shadow: var(--shadow-md);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
        }

        .card:hover::before {
            transform: scaleX(1);
        }

        .content-image {
            max-width: 100%;
            margin: 2rem auto;
            text-align: center;
        }

        .content-image img {
            width: 100%;
            height: auto;
            border-radius: 16px;
            box-shadow: var(--shadow-md);
        }

        .content-image.portrait img {
            max-height: 350px;
            max-width: 300px;
            width: auto;
        }

        .content-image.lambo-promo img {
            max-height: 400px;
            width: 100%;
            object-fit: cover;
            object-position: center 30%;
        }

        .content-image figcaption {
            margin-top: 1rem;
            font-size: 0.95rem;
            opacity: 0.7;
            font-style: italic;
        }

        .table-responsive {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            margin: 2rem 0;
            border-radius: 16px;
            box-shadow: var(--shadow-md);
        }

        table {
            width: 100%;
            background: var(--dark);
            border-collapse: separate;
            border-spacing: 0;
        }

        th, td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            color: white;
        }

        th {
            background: var(--gradient-primary);
            color: white;
            font-weight: 700;
        }

        tr:last-child td {
            border-bottom: none;
        }

        /* === LAYOUT STYLES === */
        header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            box-shadow: var(--shadow-sm);
            padding: 1rem 0;
        }

        header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 2rem;
        }

        .logo img {
            height: 40px;
            width: auto;
            transition: transform 0.3s ease;
        }

        .logo:hover img {
            transform: scale(1.05);
        }

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 6px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1001;
        }

        .hamburger span {
            width: 28px;
            height: 3px;
            background: var(--primary);
            border-radius: 3px;
            transition: all 0.3s ease;
        }

        .hamburger.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .hamburger.active span:nth-child(2) {
            opacity: 0;
        }

        .hamburger.active span:nth-child(3) {
            transform: rotate(-45deg) translate(8px, -8px);
        }

        nav {
            display: flex;
            align-items: center;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
            margin: 0;
            padding: 0;
        }

        .nav-menu a {
            color: var(--secondary);
            font-weight: 600;
            font-size: 1rem;
            position: relative;
            padding: 0.5rem 0;
        }

        .nav-menu a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary);
            transition: width 0.3s ease;
        }

        .nav-menu a:hover::after {
            width: 100%;
        }

        header .cta-button {
            margin-left: 1rem;
            padding: 0.75rem 1.5rem;
            font-size: 1rem;
            max-width: 200px;
            text-overflow: ellipsis;
            overflow: hidden;
        }

        footer {
            background: var(--secondary);
            color: white;
            padding: 4rem 0 2rem;
            margin-top: 6rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-section h3, .footer-section h4 {
            color: var(--accent);
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }

        .footer-section p {
            color: rgba(255, 255, 255, 0.8);
            font-size: 1rem;
        }

        .footer-section ul {
            list-style: none;
            padding: 0;
        }

        .footer-section ul li {
            margin-bottom: 0.75rem;
        }

        .footer-section ul a {
            color: rgba(255, 255, 255, 0.8);
            transition: color 0.3s ease;
        }

        .footer-section ul a:hover {
            color: var(--accent);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-bottom p {
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.875rem;
        }

        @media (max-width: 767px) {
            header .container {
                flex-wrap: wrap;
            }

            .hamburger {
                display: flex;
                order: 3;
            }

            .logo {
                order: 1;
            }

            .logo img {
                height: 28px;
            }

            header .cta-button {
                order: 2;
                margin-left: auto;
                padding: 0.625rem 1.25rem;
                font-size: 0.875rem;
            }

            nav {
                order: 4;
                width: 100%;
            }

            .nav-menu {
                position: fixed;
                top: 0;
                right: -100%;
                width: 80%;
                max-width: 320px;
                height: 100vh;
                background: white;
                flex-direction: column;
                padding: 6rem 2rem 2rem;
                box-shadow: -4px 0 16px rgba(0,0,0,0.1);
                transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                gap: 0;
                z-index: 1002;
            }

            .nav-menu.active {
                right: 0;
            }

            .nav-menu li {
                width: 100%;
                border-bottom: 1px solid #E9ECEF;
            }

            .nav-menu a {
                display: block;
                padding: 1rem 0;
                font-size: 1.125rem;
            }
        }

@media (max-width: 767px) {
            header .container {
                flex-wrap: wrap;
            }

            .hamburger {
                display: flex;
                order: 2;
            }

            .logo {
                order: 1;
            }

            .logo img {
                height: 28px;
            }

            header .cta-button {
                order: 3;
                margin-left: auto;
                padding: 0.625rem 1.25rem;
                font-size: 0.875rem;
            }

            nav {
                order: 4;
                width: 100%;
                margin-top: 1rem;
            }

            .nav-menu {
                position: fixed;
                top: 0;
                right: -100%;
                width: 80%;
                max-width: 320px;
                height: 100vh;
                background: white;
                flex-direction: column;
                padding: 6rem 2rem 2rem;
                box-shadow: -4px 0 16px rgba(0,0,0,0.1);
                transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                gap: 0;
                z-index: 1002;
            }

            .nav-menu.active {
                right: 0;
            }

            .nav-menu li {
                width: 100%;
                border-bottom: 1px solid #E9ECEF;
            }

            .nav-menu a {
                display: block;
                padding: 1rem 0;
                font-size: 1.125rem;
            }
        }

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

            .hero-section::before,
            .hero-section::after {
                width: 300px;
                height: 300px;
            }

            section {
                padding: 3rem 0;
            }

            .card, .timeline-item, .feature-item, .highlight-box, .text-block article, .tab-content {
                padding: 1.5rem;
            }

            .toc-list {
                grid-template-columns: 1fr;
            }

            .btn {
                padding: 0.875rem 1.75rem;
                font-size: 1rem;
            }

            h1 { font-size: 2rem; }
            h2 { font-size: 1.75rem; }
            h3 { font-size: 1.375rem; }

            p {
                font-size: 1rem;
            }

            .hero-section p {
                font-size: 1.125rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }