/* === BASE STYLES === */:root {
    --primary: #00D9FF;
    --secondary: #FF006B;
    --accent: #FFD700;
    --dark: #0A0E27;
    --darker: #050714;
    --light: #FFFFFF;
    --gray: #8B92B0;
    --gradient-primary: linear-gradient(135deg, #00D9FF 0%, #0084FF 100%);
    --gradient-secondary: linear-gradient(135deg, #FF006B 0%, #C70052 100%);
    --gradient-accent: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    --gradient-dark: linear-gradient(180deg, #0A0E27 0%, #050714 100%);
    --shadow-sm: 0 2px 8px rgba(0, 217, 255, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 217, 255, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 217, 255, 0.2);
    --shadow-glow: 0 0 30px rgba(0, 217, 255, 0.3);
}

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

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--light);
    background: var(--darker);
    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: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--light);
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--primary);
}

p {
    margin-bottom: 1.25rem;
    color: var(--gray);
    font-size: 1.05rem;
}

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

a:hover {
    color: var(--secondary);
    text-decoration: none;
}

.btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.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;
    display: inline-block;
    position: relative;
    overflow: hidden;
    min-width: 44px;
    min-height: 44px;
}

.btn::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.6s ease;
}

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

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--light);
    box-shadow: 0 4px 20px rgba(255, 0, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 0, 107, 0.6);
}

.cta-button {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--gradient-secondary);
    color: var(--light);
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(255, 0, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    min-width: 44px;
    min-height: 44px;
}

.cta-button::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.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 0, 107, 0.6);
    color: var(--light);
}

.card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 24px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

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

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary);
}

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

li {
    margin-bottom: 0.75rem;
    color: var(--gray);
    font-size: 1.05rem;
}

.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-lg);
    border: 2px solid rgba(0, 217, 255, 0.2);
}

.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.75rem;
    font-size: 0.9rem;
    opacity: 0.7;
    color: var(--gray);
}

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

table {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    overflow: hidden;
}

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

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

td {
    padding: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--light);
    font-size: 1rem;
}

tbody tr {
    transition: all 0.3s ease;
}

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

/* === 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(0, 217, 255, 0.1);
    padding: 1rem 0;
}

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

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

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

header > .container > nav {
    padding-left: 0;
    margin-bottom: 0;
    flex: none;
}

header > .container > nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

header > .container > nav a {
    color: var(--light);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

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

header > .container > nav a:hover::after {
    width: 100%;
}

header > .container > nav a:hover {
    color: var(--primary);
}

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

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

.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);
    padding: 4rem 0 2rem;
    border-top: 2px solid rgba(0, 217, 255, 0.1);
    margin-top: 5rem;
}

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

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

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

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

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

.footer-section a:hover {
    color: var(--primary);
    padding-left: 5px;
}

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

    .footer-bottom p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

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

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

    .hamburger {
        display: flex;
    }

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

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

    header > .container > nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    header > .container > nav li {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

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

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

    .hero-section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 15px;
    }

    .table-of-contents ul {
        grid-template-columns: 1fr;
    }

    .btn, .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

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

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