/* === BASE STYLES === */:root {
    --primary: #00D9FF;
    --primary-dark: #00B8D9;
    --secondary: #FF3366;
    --secondary-dark: #E61E52;
    --accent: #FFD700;
    --dark: #0A0E27;
    --dark-blue: #131B3A;
    --dark-purple: #1A1033;
    --light: #FFFFFF;
    --gray: #8B92B0;
    --gray-light: #E8EAEF;
    --success: #00FF9F;
    --gradient-primary: linear-gradient(135deg, #00D9FF 0%, #00FFB9 100%);
    --gradient-secondary: linear-gradient(135deg, #FF3366 0%, #FF6B95 100%);
    --gradient-dark: linear-gradient(180deg, #0A0E27 0%, #1A1033 100%);
    --shadow-sm: 0 2px 8px rgba(0, 217, 255, 0.1);
    --shadow-md: 0 4px 24px rgba(0, 217, 255, 0.2);
    --shadow-lg: 0 8px 48px rgba(0, 217, 255, 0.3);
    --shadow-glow: 0 0 40px rgba(0, 217, 255, 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', sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1320px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 400;
}

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

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--light);
}

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

p {
    margin-bottom: 1rem;
    color: var(--gray-light);
}

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

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

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

li {
    margin-bottom: 0.5rem;
    color: var(--gray-light);
}

strong {
    color: var(--light);
    font-weight: 700;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 44px;
    min-width: 44px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

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

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--light);
}

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

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

.card {
    background: rgba(19, 27, 58, 0.6);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

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

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

.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: 16px;
    box-shadow: var(--shadow-lg);
}

.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: 2rem 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(19, 27, 58, 0.6);
    border-radius: 12px;
    overflow: hidden;
}

.table th {
    background: var(--gradient-primary);
    color: var(--dark);
    padding: 1rem;
    font-weight: 700;
    text-align: left;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
    color: var(--gray-light);
}

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

/* === 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 {
    gap: 0.1rem;
}

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

.logo {
    flex-shrink: 0;
}

.logo-link {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
    transition: all 0.3s ease;
}

.logo-link:hover {
    color: var(--light);
    text-shadow: 0 0 30px rgba(0, 217, 255, 0.8);
}

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

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

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

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

.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(7px, -7px);
}

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

.nav-list li {
    margin: 0;
}

.nav-list a {
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
}

.nav-list a:hover {
    color: var(--primary);
    background: rgba(0, 217, 255, 0.1);
}

.header .cta-button {
    flex-shrink: 0;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header .cta-button.btn-primary {
    background: var(--gradient-secondary) !important;
    color: var(--light) !important;
    box-shadow: var(--shadow-md) !important;
    border: none !important;
}

.header .cta-button.btn-primary:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-lg) !important;
    color: var(--light) !important;
}

.footer {
    background: var(--dark-blue);
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

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

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

.footer-section p {
    font-size: 0.9rem;
}

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

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
    color: var(--gray);
    font-size: 0.875rem;
}

@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: 500px;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
    }

    .nav-list a {
        width: 100%;
        text-align: center;
    }

    .header .cta-button {
        width: auto;
        margin-left: auto;
    }

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

@media (min-width: 768px) and (max-width: 1023px) {
    .nav-list {
        gap: 1rem;
    }

    .nav-list a {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

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

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

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

    .timeline-horizontal {
        flex-direction: column;
    }

    .timeline-horizontal a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .feature-block {
        padding: 1.5rem;
    }

    .highlight-box {
        padding: 1.5rem;
    }

    .numbered-flow li {
        padding-left: 2.5rem;
    }

    .numbered-flow li::before {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 1rem;
    }

    .accordion-header {
        padding: 1.25rem 2.5rem 1.25rem 1.25rem;
        font-size: 1.125rem;
    }

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

    .faq {
        padding-bottom: 4rem;
    }
}