/* === SANITIZED FIXES === */
html, body { overflow-x: hidden; max-width: 100vw; }

/* === BASE STYLES === */:root {
            --primary: #FF2D55;
            --secondary: #00D4FF;
            --accent: #FFD60A;
            --dark: #0A0E27;
            --dark-blue: #1A1F3A;
            --purple: #8B5CF6;
            --text-light: #E5E7EB;
            --text-gray: #9CA3AF;
            --gradient-1: linear-gradient(135deg, #FF2D55 0%, #8B5CF6 100%);
            --gradient-2: linear-gradient(135deg, #00D4FF 0%, #0066FF 100%);
            --gradient-accent: linear-gradient(135deg, #FFD60A 0%, #FF2D55 100%);
            --shadow-sm: 0 2px 8px rgba(255, 45, 85, 0.15);
            --shadow-md: 0 8px 24px rgba(255, 45, 85, 0.25);
            --shadow-lg: 0 16px 48px rgba(255, 45, 85, 0.35);
            --shadow-glow: 0 0 40px rgba(255, 45, 85, 0.4);
        }

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

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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: var(--dark);
            color: var(--text-light);
            line-height: 1.7;
            overflow-x: hidden;
            max-width: 100vw;
        }

        .btn {
            padding: 14px 32px;
            font-weight: 600;
            font-size: 16px;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            display: inline-block;
            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.2);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

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

        .btn-primary {
            background: var(--gradient-1);
            color: white;
            box-shadow: var(--shadow-md);
        }

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

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

        .btn-secondary:hover {
            transform: translateY(-3px);
            box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
        }

        .card {
            background: var(--dark-blue);
            border-radius: 20px;
            padding: 32px;
            box-shadow: var(--shadow-md);
            border: 1px solid rgba(139, 92, 246, 0.2);
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255, 45, 85, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
            opacity: 0;
            transition: opacity 0.5s;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: rgba(255, 45, 85, 0.4);
        }

        .card:hover::before {
            opacity: 1;
        }

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

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

        .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.5rem;
            font-size: 0.875rem;
            opacity: 0.8;
        }

        .table-responsive {
            overflow-x: auto;
            margin: 1.5rem 0;
            border-radius: 12px;
            box-shadow: var(--shadow-sm);
        }

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

        th, td {
            padding: 16px;
            text-align: left;
            border-bottom: 1px solid rgba(139, 92, 246, 0.2);
        }

        th {
            background: rgba(255, 45, 85, 0.1);
            font-weight: 600;
            color: var(--accent);
        }

        /* === LAYOUT STYLES === */
        header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(10, 14, 39, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(139, 92, 246, 0.2);
            padding: 16px 0;
            transition: all 0.3s;
        }

        header.scrolled {
            box-shadow: var(--shadow-md);
        }

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

        .logo-text {
            font-size: 24px;
            font-weight: 800;
            background: var(--gradient-1);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-decoration: none;
            white-space: nowrap;
        }

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

        .accordion-body {
            padding: 0 1.5rem 0.3rem 1.5rem !important;
        }

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

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

        .main-nav {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .main-nav ul {
            display: flex;
            list-style: none;
            gap: 32px;
            margin: 0;
        }

        .main-nav a {
            color: var(--text-light);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
        }

        .main-nav a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-1);
            transition: width 0.3s;
        }

        .main-nav a:hover {
            color: var(--primary);
        }

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

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 6px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }

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

        .hamburger[aria-expanded="true"] span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .hamburger[aria-expanded="true"] span:nth-child(2) {
            opacity: 0;
        }

        .hamburger[aria-expanded="true"] span:nth-child(3) {
            transform: rotate(-45deg) translate(8px, -8px);
        }

        footer {
            background: var(--dark-blue);
            border-top: 1px solid rgba(139, 92, 246, 0.2);
            padding: 64px 0 32px;
            margin-top: 120px;
        }

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

        .footer-section h3 {
            color: var(--primary);
            font-size: 20px;
            margin-bottom: 16px;
            font-weight: 700;
        }

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

        .footer-section a {
            color: var(--text-gray);
            text-decoration: none;
            transition: color 0.3s;
            display: block;
            padding: 8px 0;
        }

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

        .footer-bottom {
            text-align: center;
            padding-top: 32px;
            border-top: 1px solid rgba(139, 92, 246, 0.2);
            color: var(--text-gray);
        }

        @media (max-width: 991px) {
            .main-nav ul {
                gap: 20px;
            }
        }

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

            header .hamburger {
                display: flex;
            }

            header .main-nav {
                width: 100%;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.4s ease-out;
            }

            header .main-nav.active {
                max-height: 400px;
            }

            header .main-nav ul {
                flex-direction: column;
                width: 100%;
                gap: 16px;
                padding: 16px 0;
            }

            header .main-nav a {
                display: block;
                padding: 12px 16px;
                background: rgba(139, 92, 246, 0.1);
                border-radius: 8px;
            }

            header .cta-button {
                width: 100%;
                max-width: 100%;
                margin-top: 16px;
                text-align: center;
            }
        }

@media (max-width: 767px) {
            section {
                padding: 60px 0;
            }

            .hero-section {
                padding: 80px 0 60px;
            }

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

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

            .cards-grid-3 .container > article {
                margin-bottom: 60px;
            }

            .highlight-box {
                padding: 20px;
            }

            .feature-blocks .feature-block {
                padding: 24px;
            }

            .cta-section {
                padding: 60px 0;
            }

            .footer-content {
                gap: 32px;
            }
        }