@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

:root {
    --bg-color: #f8faf9;
    --text-main: #334155;
    --text-muted: #64748b;
    --accent: #22c55e;
    --surface: #ffffff;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

header {
    text-align: center;
    margin: 80px 0 40px;
    animation: fadeDown 0.6s ease-out;
}

#logo {
    width: 100%;
    max-width: 280px;
    transition: transform 0.3s ease;
}

#logo:hover {
    transform: scale(1.02);
}

main {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Language Switcher */
#tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease-out;
}

.tabs-container {
    background-color: #e2e8f0;
    padding: 6px;
    border-radius: 99px;
    display: inline-flex;
    gap: 4px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.04);
}

.tablink {
    background-color: transparent;
    color: var(--text-muted);
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    border-radius: 99px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tablink:hover:not(.active) {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.5);
}

.tablink.active {
    background-color: var(--surface);
    color: var(--text-main);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Content */
.tabcontent {
    display: none;
    background: var(--surface);
    padding: 40px 50px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-main);
    animation: slideUpFade 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tabcontent p {
    margin-top: 0;
    margin-bottom: 1.5em;
}

.tabcontent p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: auto;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.footer a:hover {
    color: var(--accent);
}

/* Animations */
@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 600px) {
    .tabcontent {
        padding: 30px 24px;
        font-size: 1.05rem;
    }
    .tablink {
        padding: 8px 16px;
    }
    #logo {
        max-width: 220px;
    }
}