/* Modern Dark Theme with 4+ Colors */
:root {
    --color-primary: #1a1a2e;
    --color-secondary: #16213e;
    --color-accent: #0f3460;
    --color-highlight: #e94560;
    --color-text: #f5f5f5;
    --color-text-secondary: #b8b8b8;
    --color-border: #2d2d44;
    --color-card: #1e1e3f;
    --gradient-primary: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    --gradient-accent: linear-gradient(135deg, #e94560 0%, #c73650 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--color-primary);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
    min-height: 100vh;
}

/* Header */
header {
    background: var(--color-secondary);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--color-border);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-highlight);
    text-decoration: none;
}

.language-switcher {
    display: flex;
    gap: 1rem;
}

.language-switcher a {
    color: var(--color-text-secondary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
}

.language-switcher a:hover,
.language-switcher a.active {
    color: var(--color-highlight);
    background: var(--color-accent);
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    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(233, 69, 96, 0.1) 0%, transparent 70%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Content Sections */
.content-section {
    margin: 4rem 0;
    padding: 3rem;
    background: var(--color-card);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-highlight);
    border-bottom: 3px solid var(--color-highlight);
    padding-bottom: 0.5rem;
}

.content-section h3 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: var(--color-text);
}

.content-section p {
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

/* Images */
.content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Tables */
.comparison-table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    background: var(--color-secondary);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
    background: var(--color-accent);
    color: var(--color-text);
    font-weight: 600;
}

.comparison-table tr:hover {
    background: var(--color-card);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--color-secondary);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.2);
    border-color: var(--color-highlight);
}

.feature-card h3 {
    color: var(--color-highlight);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-accent);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: 15px;
    margin: 4rem 0;
}

.cta-section h2 {
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--color-primary);
    color: var(--color-text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    margin-top: 1rem;
}

.cta-button:hover {
    background: var(--color-secondary);
    transform: scale(1.05);
}

/* FAQ Section */
.faq-section {
    margin: 4rem 0;
}

.faq-item {
    background: var(--color-card);
    margin-bottom: 1rem;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-secondary);
    transition: background 0.3s;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question:hover {
    background: var(--color-accent);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-highlight);
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-answer.active {
    max-height: 1000px;
    padding: 1.5rem;
}

.faq-answer p {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* Footer */
footer {
    background: var(--color-secondary);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
    border-top: 1px solid var(--color-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-menu h3 {
    color: var(--color-highlight);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-menu ul {
    list-style: none;
}

.footer-menu ul li {
    margin-bottom: 0.5rem;
}

.footer-menu a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--color-highlight);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
}

/* Internal Links */
.internal-link {
    color: var(--color-highlight);
    text-decoration: underline;
    transition: color 0.3s;
}

.internal-link:hover {
    color: #ff6b7d;
}

/* Lists */
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}

li {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .content-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .content-section h2 {
        font-size: 1.75rem;
    }

    .content-section h3 {
        font-size: 1.5rem;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
    }

    .language-switcher {
        flex-wrap: wrap;
        justify-content: center;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .footer-menu {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 1rem;
    }

    .content-section {
        padding: 1rem;
    }

    .hero {
        padding: 2rem 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeIn 0.6s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-highlight);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c73650;
}
