/* === BASE STYLES === */:root {
    --primary: #FF2E63;
    --secondary: #08D9D6;
    --accent: #FFC700;
    --dark: #0A0E27;
    --dark-alt: #1A1E3D;
    --light: #EAEAEA;
    --gradient-primary: linear-gradient(135deg, #FF2E63 0%, #FE5F75 100%);
    --gradient-secondary: linear-gradient(135deg, #08D9D6 0%, #00B4B8 100%);
    --gradient-dark: linear-gradient(180deg, #0A0E27 0%, #1A1E3D 100%);
    --shadow-sm: 0 2px 8px rgba(255, 46, 99, 0.15);
    --shadow-md: 0 4px 20px rgba(255, 46, 99, 0.25);
    --shadow-lg: 0 10px 40px rgba(255, 46, 99, 0.35);
    --shadow-glow: 0 0 30px rgba(8, 217, 214, 0.4);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--light);
    background: var(--dark);
    line-height: 1.7;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--light);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

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

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

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

p {
    margin-bottom: 1.5rem;
    color: rgba(234, 234, 234, 0.85);
}

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

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

.btn {
    padding: 16px 36px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    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;
    min-width: 44px;
    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-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

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

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

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

.cta-button {
    padding: 16px 36px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
    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;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

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

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
    color: white;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.card {
    background: var(--dark-alt);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid rgba(8, 217, 214, 0.2);
    overflow: hidden;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 46, 99, 0.1) 0%, rgba(8, 217, 214, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

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

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

.card .content-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    max-height: 180px;
}

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

.content-image.wide {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.content-image.wide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: cover;
}

.content-image figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

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

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

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

th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

td {
    padding: 1rem;
    border-bottom: 1px solid rgba(8, 217, 214, 0.1);
}

tbody tr {
    transition: background 0.3s ease;
}

tbody tr:hover {
    background: rgba(8, 217, 214, 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(8, 217, 214, 0.2);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

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

.logo-link {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #08D9D6 0%, #FF2E63 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
    display: inline-block;
}

.logo-link:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

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(--light);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

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

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

footer {
    background: var(--gradient-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(8, 217, 214, 0.2);
    margin-top: 6rem;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(8, 217, 214, 0.1);
    color: rgba(234, 234, 234, 0.6);
}

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

    .logo {
        order: 1;
    }

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

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

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background: var(--dark-alt);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

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

    header .cta-button {
        order: 4;
        width: 100%;
        margin-top: 1rem;
        max-width: 100%;
        text-align: center;
    }

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

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

    .logo {
        order: 1;
    }

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

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

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background: var(--dark-alt);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

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

    header .cta-button {
        order: 4;
        width: 100%;
        margin-top: 1rem;
        max-width: 100%;
        text-align: center;
    }

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

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

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

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

    .table-of-contents {
        padding: 2rem 1.5rem;
    }

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

    .cards-grid-3 .container {
        grid-template-columns: 1fr;
    }

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

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

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

    .cta-section p {
        font-size: 1.1rem;
    }

    .logo-link {
        font-size: 1.5rem;
    }
}