/* === BASE STYLES === */:root {
    --primary: #00D9FF;
    --primary-dark: #00B8DB;
    --secondary: #FF3D71;
    --accent: #FFB800;
    --dark: #0A0E27;
    --dark-card: #12172E;
    --dark-lighter: #1A1F3A;
    --text: #E8ECFB;
    --text-muted: #A0A8C5;
    --success: #00E096;
    --gradient-1: linear-gradient(135deg, var(--primary) 0%, #6B5FFF 100%);
    --gradient-2: linear-gradient(135deg, var(--secondary) 0%, #FF6B9D 100%);
    --gradient-3: linear-gradient(135deg, var(--accent) 0%, #FF8A00 100%);
    --shadow-sm: 0 2px 8px rgba(0, 217, 255, 0.1);
    --shadow-md: 0 8px 24px rgba(0, 217, 255, 0.15);
    --shadow-lg: 0 16px 48px rgba(0, 217, 255, 0.2);
    --shadow-glow: 0 0 40px 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: 'Inter', sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text);
}

h1 {
    font-size: clamp(32px, 5vw, 64px);
    background: linear-gradient(135deg, var(--primary) 0%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: clamp(28px, 4vw, 48px);
}

h3 {
    font-size: clamp(22px, 3vw, 32px);
    margin-top: 2rem;
}

p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-dark);
}

.btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.3px;
}

.btn-primary, .cta-button {
    background: var(--gradient-1);
    color: #ffffff !important;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

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

.btn-primary:hover, .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.card {
    background: var(--dark-card);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 217, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
}

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

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
}

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

thead {
    background: var(--dark-lighter);
}

th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
}

tbody tr {
    transition: background 0.3s ease;
}

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

.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);
    border: 1px 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: 1rem;
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

/* === LAYOUT STYLES === */
header {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 217, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

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

.logo a {
    display: inline-block;
    transition: all 0.3s ease;
}

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

header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    margin-bottom: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding-left: 0;
    margin-bottom: 0;
}

.nav-menu a {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

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

.nav-menu a:hover {
    color: var(--primary);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

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

header .cta-button {
    white-space: nowrap;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 12px 24px;
    font-size: 15px;
}

footer {
    background: var(--dark-lighter);
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 1px solid rgba(0, 217, 255, 0.1);
}

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

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

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

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 14px;
}

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

@media (max-width: 767px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .hamburger {
        display: flex;
    }
    
    header nav {
        width: 100%;
        justify-content: flex-start;
    }
    
    header .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background: var(--dark-card);
        border-radius: 12px;
        padding: 20px;
        margin-top: 20px;
    }
    
    header .nav-menu.active {
        display: flex;
    }
    
    header .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    header .nav-menu li:last-child {
        border-bottom: none;
    }
    
    header .nav-menu a {
        display: block;
        padding: 12px 0;
    }
    
    header .cta-button {
        width: 100%;
        max-width: 100%;
        margin-top: 20px;
    }
}