/* === BASE STYLES === */:root {
            --primary: #E63946;
            --secondary: #1D3557;
            --accent: #F1FA8C;
            --dark: #0A0E27;
            --light: #F8F9FA;
            --gradient-start: #E63946;
            --gradient-end: #A8DADC;
            --text-primary: #FFFFFF;
            --text-secondary: #E0E0E0;
            --card-bg: rgba(29, 53, 87, 0.8);
            --shadow-color: rgba(230, 57, 70, 0.3);
        }

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

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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, var(--dark) 0%, #1a1f3a 50%, var(--dark) 100%);
            color: var(--text-primary);
            line-height: 1.7;
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 50%, rgba(230, 57, 70, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 80%, rgba(168, 218, 220, 0.1) 0%, transparent 50%);
            pointer-events: none;
            z-index: 0;
        }

        .container {
            position: relative;
            z-index: 1;
        }

        h1, h2, h3, h4, h5, h6 {
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
        }

        h1 {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            line-height: 1.1;
            letter-spacing: -0.02em;
        }

        h2 {
            font-size: clamp(2rem, 4vw, 3.5rem);
            line-height: 1.2;
        }

        h3 {
            font-size: clamp(1.5rem, 3vw, 2.2rem);
            color: var(--accent);
        }

        p {
            margin-bottom: 1.2rem;
            font-size: 1.1rem;
            color: var(--text-secondary);
        }

        a {
            color: var(--accent);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        a:hover {
            color: var(--primary);
            text-decoration: underline;
        }

        .btn {
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            font-weight: 600;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            position: relative;
            overflow: hidden;
        }

        .btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .btn:hover::before {
            width: 300px;
            height: 300px;
        }

        .btn-primary {
            background: linear-gradient(135deg, var(--primary) 0%, #c62f3a 100%);
            color: white;
            box-shadow: 0 8px 25px var(--shadow-color);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 12px 35px var(--shadow-color);
        }

        .card {
            background: var(--card-bg);
            border: 1px solid rgba(230, 57, 70, 0.2);
            border-radius: 20px;
            padding: 2rem;
            transition: all 0.4s ease;
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 45px rgba(230, 57, 70, 0.4);
            border-color: var(--primary);
        }

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

        .content-image img {
            max-width: 100%;
            height: auto;
            max-height: 400px;
            object-fit: contain;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

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

        .content-image.wide img {
            max-height: 300px;
            max-width: 100%;
        }

        .content-image figcaption {
            margin-top: 0.8rem;
            font-size: 0.9rem;
            opacity: 0.7;
            color: var(--text-secondary);
        }

        ul, ol {
            margin: 1.5rem 0;
            padding-left: 1.5rem;
        }

        li {
            margin-bottom: 0.8rem;
            color: var(--text-secondary);
            font-size: 1.05rem;
        }

        .checklist li::marker {
            color: var(--accent);
        }

        .feature-list li::marker {
            color: var(--primary);
        }

        .highlight-list li::marker {
            color: var(--accent);
        }

        .table-responsive {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            margin: 2rem 0;
        }

        table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
            background: var(--card-bg);
            border-radius: 15px;
            overflow: hidden;
        }

        th, td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid rgba(230, 57, 70, 0.2);
        }

        th {
            background: rgba(230, 57, 70, 0.2);
            color: var(--accent);
            font-weight: 600;
        }

        section {
            padding: 5rem 0;
            position: relative;
        }

        /* === LAYOUT STYLES === */
        header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(10, 14, 39, 0.95);
            backdrop-filter: blur(15px);
            border-bottom: 2px solid rgba(230, 57, 70, 0.3);
            padding: 1rem 0;
            transition: all 0.3s ease;
        }

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

        .logo {
            flex-shrink: 0;
        }

        .logo-text {
            font-size: 1.6rem;
            font-weight: 800;
            letter-spacing: 0.5px;
            color: #fff;
            text-decoration: none;
            text-transform: uppercase;
            transition: opacity 0.3s ease;
        }

        .logo-text span {
            color: var(--accent-red, #e63946);
        }

        .logo-text:hover {
            opacity: 0.85;
        }

        nav {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

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

        .nav-menu a {
            color: var(--text-primary);
            font-weight: 500;
            font-size: 1.05rem;
            transition: color 0.3s ease;
            position: relative;
        }

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

        .nav-menu a:hover {
            color: var(--accent);
            text-decoration: none;
        }

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

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
        }

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

        .hamburger:hover span {
            background: var(--accent);
        }

        header .cta-button {
            white-space: nowrap;
            padding: 0.8rem 2rem;
            font-size: 1rem;
            border-radius: 50px;
            box-shadow: 0 4px 20px rgba(230, 57, 70, 0.45);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        header .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 28px rgba(230, 57, 70, 0.6);
        }

        footer {
            background: rgba(10, 14, 39, 0.98);
            border-top: 2px solid rgba(230, 57, 70, 0.3);
            padding: 3rem 0 1rem;
            margin-top: 5rem;
        }

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

        .footer-section h3 {
            color: var(--primary);
            margin-bottom: 1rem;
            font-size: 1.3rem;
        }

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

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

        .footer-section a {
            color: var(--text-secondary);
            transition: color 0.3s ease;
        }

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

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(230, 57, 70, 0.2);
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        @media (max-width: 767px) {
            header .container {
                flex-wrap: wrap;
                align-items: center;
                gap: 0;
            }

            .logo {
                order: 1;
                flex: 1;
            }

            nav {
                order: 2;
                flex: 0 0 auto;
                flex-wrap: wrap;
                justify-content: flex-end;
                align-items: center;
                gap: 0;
                width: auto;
            }

            .hamburger {
                display: flex;
            }

            .nav-menu {
                flex-direction: column;
                width: 100vw;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
                gap: 0;
                margin-left: calc(-1 * var(--container-padding, 1rem));
            }

            nav.active .nav-menu {
                max-height: 500px;
            }

            .nav-menu li {
                width: 100%;
                text-align: center;
                border-top: 1px solid rgba(230, 57, 70, 0.2);
            }

            .nav-menu a {
                display: block;
                padding: 1rem;
            }

            header .cta-button {
                order: 3;
                width: 100%;
                text-align: center;
                margin-top: 0.75rem;
                white-space: normal;
            }
        }

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

            .nav-links-grid {
                grid-template-columns: 1fr;
            }

            .cards-grid-2 .container > ul {
                grid-template-columns: 1fr;
            }

            .cta-section {
                padding: 3rem 0;
            }

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