/* === BASE STYLES === */:root {
    --primary: #FF1744;
    --primary-dark: #D50000;
    --secondary: #00E5FF;
    --secondary-dark: #00B8D4;
    --accent: #FFD600;
    --dark: #0A0E27;
    --dark-soft: #1A1F3A;
    --light: #FFFFFF;
    --text-primary: #FFFFFF;
    --text-secondary: #B0BEC5;
    --gradient-primary: linear-gradient(135deg, #FF1744 0%, #D50000 100%);
    --gradient-secondary: linear-gradient(135deg, #00E5FF 0%, #00B8D4 100%);
    --gradient-dark: linear-gradient(180deg, #0A0E27 0%, #1A1F3A 100%);
    --shadow-sm: 0 2px 8px rgba(255, 23, 68, 0.15);
    --shadow-md: 0 8px 24px rgba(255, 23, 68, 0.25);
    --shadow-lg: 0 16px 48px rgba(255, 23, 68, 0.35);
    --shadow-glow: 0 0 40px rgba(0, 229, 255, 0.4);
}

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

html {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    height: auto !important;
    min-height: auto !important;
    margin: 0;
    padding: 0;
    position: relative;
}

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

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

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

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--light);
    position: relative;
    padding-bottom: 1rem;
}

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

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

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

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

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

.btn-primary {
    display: inline-block;
    padding: 18px 48px;
    background: var(--gradient-primary);
    color: var(--light);
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.btn-primary::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.5s;
}

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

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

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

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

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

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

.card img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

table {
    width: 100%;
    background: var(--dark-soft);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

table th {
    padding: 1.5rem;
    font-weight: 700;
    text-align: left;
    color: var(--light);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

table td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

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

table tbody tr {
    transition: background 0.3s ease;
}

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

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

@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }
}

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

.logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.logo-link:hover {
    text-decoration: none;
    opacity: 0.9;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 900;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-cta-mobile {
    display: none;
}

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

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

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

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

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

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

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

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

footer {
    background: var(--dark-soft);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(0, 229, 255, 0.1);
}

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

.footer-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    flex-wrap: wrap;
}

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

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}
@media (max-width: 768px) {
    header .container {
        flex-wrap: nowrap;
        gap: 1rem;
    }

    .logo {
        flex: 1;
        min-width: 0;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
    }

    .cta-button {
        display: none;
    }

    .main-nav {
        position: relative;
        flex-shrink: 0;
    }

    .nav-list {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(0, 229, 255, 0.1);
        margin: 0;
        padding: 0;
        z-index: 999;
    }

    .nav-list.active {
        max-height: 500px;
    }

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

    .nav-list a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-cta-mobile {
        display: block;
        padding: 1rem 1.5rem;
        margin-top: 0.5rem;
    }

    .nav-cta-mobile a {
        border: none;
        text-align: center;
        padding: 1rem 2rem;
        margin: 0;
        width: 100%;
    }

    .nav-cta-mobile a:hover {
        text-decoration: none;
    }

    section {
        padding: 4rem 0;
    }

    .tabs-nav {
        flex-direction: column;
    }

    .tab-button {
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

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

    table {
        font-size: 0.875rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    table thead,
    table tbody {
        display: table;
        width: 100%;
    }

    table th,
    table td {
        padding: 1rem 0.75rem;
    }
}
