/* Modern Neon Purple/Blue Design */
:root {
    --neon-purple: #a855f7;
    --neon-blue: #3b82f6;
    --light-purple: #c084fc;
    --light-blue: #60a5fa;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --card-bg: rgba(168, 85, 247, 0.15);
    --text-light: #f0f4ff;
    --text-gray: #c5d1ff;
    --gradient-1: linear-gradient(135deg, #a855f7 0%, #3b82f6 100%);
    --gradient-2: linear-gradient(135deg, #c084fc 0%, #60a5fa 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Header & Navigation */
header {
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(5px);
    border-bottom: 2px solid var(--neon-purple);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.lang-switcher {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.lang-switcher a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid var(--neon-purple);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.lang-switcher a:hover,
.lang-switcher a.active {
    background: var(--gradient-1);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: var(--gradient-1);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.4), transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
    line-height: 1.2;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Content Sections */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(168, 85, 247, 0.1);
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-1);
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;

    background-clip: text;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin: 2.5rem 0 1.5rem;
    color: var(--light-purple);
    position: relative;
    padding-left: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 80%;
    background: var(--gradient-1);
    border-radius: 2px;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    margin: 2rem 0 1rem;
    color: var(--light-blue);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 8px 24px rgba(168, 85, 247, 0.3);
    border: 2px solid rgba(168, 85, 247, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(168, 85, 247, 0.5);
}

.content-image {
    max-width: 600px;
    margin: 2rem auto;
    display: block;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(10, 10, 15, 0.5);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--text-light);
}

th {
    background: var(--gradient-1);
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

tr:hover {
    background: rgba(168, 85, 247, 0.1);
}

/* FAQ Section */
.faq-container {
    margin: 3rem 0;
}

.faq-item {
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--neon-purple);
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.3);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--light-purple);
    user-select: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--neon-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Internal Links */
a {
    color: var(--light-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--neon-blue);
    border-bottom-color: var(--neon-blue);
}

/* Footer */
footer {
    background: var(--darker-bg);
    border-top: 2px solid var(--neon-purple);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.footer-section h4 {
    color: var(--light-purple);
    margin-bottom: 1rem;
    font-size: 1.25rem;
    text-align: center;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section .lang-switcher {
    justify-content: center;
}

.footer-section a {
    color: var(--text-light);
    transition: color 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-section a:hover {
    color: var(--neon-blue);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(168, 85, 247, 0.3);
    color: var(--text-light);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .lang-switcher {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 0.75rem 0.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    section {
        padding: 1.5rem 1rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 0.6s ease-out;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-2);
}
