/* === BASE STYLES === */:root {
    --primary: #0a1628;
    --secondary: #1a2942;
    --accent: #00d9ff;
    --accent-warm: #ff6b35;
    --gradient-start: #0a1628;
    --gradient-end: #1a3a5c;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --surface: #172033;
    --border: rgba(0, 217, 255, 0.2);
}

* {
    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(--primary);
    color: var(--text-primary);
    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(2.5rem, 5vw, 4.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

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

p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

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

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

ul, ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

li {
    margin-bottom: 0.75rem;
}

.btn {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
}

.cta-button {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-warm) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
    color: white;
}

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

.card {
    background: var(--surface);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border);
    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: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-warm));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
    border-color: var(--accent);
}

.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: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.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: 0.875rem;
    color: var(--text-secondary);
}

.table-responsive {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
}

thead {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent);
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

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

/* === LAYOUT STYLES === */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

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

.logo img {
    height: auto;
    max-height: 70px;
}

header nav[aria-label="Main navigation"] {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-left: 0;
    margin-bottom: 0;
    flex: none;
}

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

.nav-menu a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

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

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

header .cta-button {
    padding: 12px 32px;
    font-size: 1rem;
    white-space: nowrap;
}

footer {
    background: var(--secondary);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    border-top: 1px solid var(--border);
}

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

.footer-section h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

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

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

    .logo {
    }

    .hamburger {
        display: flex;
    }

    header nav[aria-label="Main navigation"] {
        width: 100%;
        display: none;
    }

    header nav[aria-label="Main navigation"].active {
        display: block;
    }

    header nav[aria-label="Main navigation"] .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    header nav[aria-label="Main navigation"] .nav-menu li {
        border-bottom: 1px solid var(--border);
    }

    header nav[aria-label="Main navigation"] .nav-menu a {
        display: block;
        padding: 1rem 0;
    }

    header .cta-button {
        width: 100%;
        margin-top: 1rem;
        max-width: 100%;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}

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

    section {
        padding: 3rem 0;
    }

    .content-nav ul {
        grid-template-columns: 1fr;
    }

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

    .accordion-header h3 {
        font-size: 1.125rem;
    }

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