/* === BASE STYLES === */:root {
            --primary-electric: #00E5FF;
            --primary-cyan: #00BCD4;
            --accent-magenta: #E91E63;
            --accent-orange: #FF6D00;
            --dark-bg: #0A0E27;
            --dark-card: #151B3D;
            --dark-surface: #1A2145;
            --text-primary: #FFFFFF;
            --text-secondary: #B0BEC5;
            --gradient-primary: linear-gradient(135deg, #00E5FF 0%, #00BCD4 100%);
            --gradient-accent: linear-gradient(135deg, #E91E63 0%, #FF6D00 100%);
            --gradient-dark: linear-gradient(180deg, #0A0E27 0%, #151B3D 100%);
            --shadow-sm: 0 2px 8px rgba(0, 229, 255, 0.1);
            --shadow-md: 0 4px 20px rgba(0, 229, 255, 0.2);
            --shadow-lg: 0 8px 40px rgba(0, 229, 255, 0.3);
            --shadow-glow: 0 0 30px rgba(0, 229, 255, 0.5);
        }

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

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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: var(--dark-bg);
            color: var(--text-primary);
            line-height: 1.7;
            font-size: 16px;
        }

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

        h1, h2, h3, h4 {
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 1.5rem;
        }

        h1 {
            font-size: 3.5rem;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        h2 {
            font-size: 2.75rem;
            color: var(--text-primary);
            position: relative;
            display: inline-block;
        }

        h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 60px;
            height: 4px;
            background: var(--gradient-accent);
            border-radius: 2px;
        }

        h3 {
            font-size: 1.75rem;
            color: var(--primary-electric);
        }

        h4 {
            font-size: 1.25rem;
            color: var(--text-primary);
        }

        p {
            margin-bottom: 1rem;
            color: var(--text-secondary);
        }

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

        a:hover {
            color: var(--accent-magenta);
            text-shadow: 0 0 10px rgba(233, 30, 99, 0.5);
        }

        .btn {
            padding: 14px 32px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            border: none;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
            min-height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .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: var(--gradient-accent);
            color: var(--text-primary);
            box-shadow: var(--shadow-md);
        }

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

        .btn-secondary {
            background: transparent;
            border: 2px solid var(--primary-electric);
            color: var(--primary-electric);
        }

        .btn-secondary:hover {
            background: var(--primary-electric);
            color: var(--dark-bg);
            transform: translateY(-3px);
        }

        .card {
            background: var(--dark-card);
            border-radius: 20px;
            padding: 2rem;
            box-shadow: var(--shadow-sm);
            transition: all 0.4s ease;
            border: 1px solid rgba(0, 229, 255, 0.1);
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.1), transparent);
            transition: left 0.6s;
        }

        .card:hover::before {
            left: 100%;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: var(--primary-electric);
        }

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

        .content-image img {
            max-width: 100%;
            height: auto;
            max-height: 500px;
            object-fit: contain;
            border-radius: 16px;
            box-shadow: var(--shadow-md);
            border: 2px solid rgba(0, 229, 255, 0.2);
        }

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

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

        .content-image figcaption {
            margin-top: 1rem;
            font-size: 0.875rem;
            color: var(--text-secondary);
            font-style: italic;
        }

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

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

        thead {
            background: var(--gradient-primary);
        }

        th {
            padding: 1.25rem 1rem;
            text-align: left;
            font-weight: 600;
            color: var(--dark-bg);
            text-transform: uppercase;
            font-size: 0.875rem;
            letter-spacing: 1px;
        }

        td {
            padding: 1.25rem 1rem;
            border-bottom: 1px solid rgba(0, 229, 255, 0.1);
            color: var(--text-secondary);
        }

        tbody tr {
            transition: all 0.3s ease;
        }

        tbody tr:hover {
            background: rgba(0, 229, 255, 0.05);
        }

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

        /* === LAYOUT STYLES === */
        header.main-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(10, 14, 39, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(0, 229, 255, 0.1);
            padding: 1rem 0;
            box-shadow: var(--shadow-sm);
        }

        header.main-header .container {
            gap: 0.1rem;
        }

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

        .logo a {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--text-primary);
            text-decoration: none;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .logo a:hover {
            -webkit-text-fill-color: var(--primary-electric);
            text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
        }

        .main-nav {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .main-nav .nav-list {
            display: flex;
            list-style: none;
            gap: 2.5rem;
            margin: 0;
            padding-left: 0;
            margin-bottom: 0;
        }

        .main-nav .nav-list a {
            color: var(--text-primary);
            font-weight: 500;
            font-size: 1rem;
            position: relative;
            padding: 0.5rem 0;
        }

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

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

        .hamburger {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 10px;
            min-width: 44px;
            min-height: 44px;
            justify-content: center;
            align-items: center;
        }

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

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

        .main-footer {
            background: var(--dark-surface);
            padding: 3rem 0 1.5rem;
            margin-top: 5rem;
            border-top: 1px solid rgba(0, 229, 255, 0.1);
        }

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

        .footer-brand img {
            height: 42px;
            margin-bottom: 1rem;
            filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.2));
        }

        .footer-brand p {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .footer-nav h3 {
            font-size: 1.1rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

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

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

        .footer-nav ul a {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .footer-nav ul a:hover {
            color: var(--primary-electric);
        }

        .footer-info {
            grid-column: 1 / -1;
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(0, 229, 255, 0.1);
        }

        .footer-info p {
            color: var(--text-secondary);
            font-size: 0.85rem;
            margin-bottom: 0.5rem;
        }

        @media (max-width: 991px) {
            .footer-content {
                grid-template-columns: 1fr 1fr;
            }

            .footer-brand {
                grid-column: 1 / -1;
            }
        }

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

            .hamburger {
                display: flex;
            }

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

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

            .header-content > .cta-button {
                width: 100%;
                margin-top: 1rem;
                max-width: 100%;
            }

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


@media (max-width: 767px) {
            h1 {
                font-size: 2rem;
            }

            h2 {
                font-size: 1.75rem;
            }

            h3 {
                font-size: 1.5rem;
            }

            .hero-section {
                padding: 3rem 0 2rem;
            }

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

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

            .timeline-item {
                padding-left: 1.5rem;
            }

            .card {
                padding: 1.5rem;
            }

            .feature-block {
                padding: 1.5rem;
            }

            th, td {
                padding: 0.875rem 0.5rem;
                font-size: 0.875rem;
            }

            .accordion-header {
                padding: 1.25rem 1.5rem;
                font-size: 1.1rem;
            }

            .accordion-header::after {
                right: 1.5rem;
                font-size: 1.75rem;
            }

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

            .accordion-item.active .accordion-body {
                padding: 0 1.5rem 1.5rem;
            }

            .text-block {
                padding: 1.5rem;
            }
        }