@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #007bff;
    --orange-color: #ff9900;
    --gradient-start: #89f7fe;
    --gradient-end: #66a6ff;
    --dark-color: #1a202c;
    --text-color: #333;
    --white-color: #ffffff;
    --body-bg-color: #f7f9fc;
    --border-color: #e9ecef;
    --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-strong: 0 8px 25px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    background-color: var(--body-bg-color);
    color: var(--text-color);
}
body.nav-open {
    overflow: hidden; 
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}
h1 {
    font-size: 2.8rem;
    background: linear-gradient(90deg, var(--orange-color), var(--primary-color), var(--gradient-start));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
h2 {
    font-size: 2.2rem; margin-top: 2.5rem;
    background: linear-gradient(90deg, var(--gradient-end), var(--primary-color));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
h3 { font-size: 1.5rem; margin-top: 2rem; color: var(--dark-color); }
p { margin-bottom: 1rem; color: #555; }

header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
    padding: 0 2rem;
}
a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    color: var(--orange-color);
}
.logo img { height: 45px; }
.nav-links { display: flex; align-items: center; list-style: none; gap: 1rem; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 600; padding: 8px 15px; border-radius: 8px; transition: all 0.3s ease; }
.nav-links a:hover { color: var(--primary-color); }
.nav-links a.active-nav { background: linear-gradient(90deg, var(--gradient-end), var(--primary-color)); color: var(--white-color); }
.header-right { display: flex; align-items: center; gap: 1.5rem; }
.header-buttons-desktop { display: flex; gap: 0.8rem; }
.header-buttons-mobile { display: none; padding: 0 2rem 1rem; gap: 1rem; justify-content: center; }
.language-switcher a { font-weight: 600; text-decoration: none; color: var(--text-color); padding: 4px 8px; border-radius: 5px; transition: all 0.3s; }
.language-switcher a.active-lang { background-color: var(--primary-color); color: var(--white-color); }
.burger { display: none; cursor: pointer; z-index: 1001; }
.burger div { width: 25px; height: 3px; background-color: var(--text-color); margin: 5px; transition: all 0.3s ease; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.page-content { padding: 3rem 0; }
.card { background: var(--white-color); border: 1px solid var(--border-color); border-radius: 15px; box-shadow: var(--shadow-light); padding: 2.5rem; margin-bottom: 2rem; animation: fadeInUp 0.5s ease-out forwards; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 25px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; transition: all 0.3s ease; }
.btn-primary { background: linear-gradient(90deg, var(--orange-color), var(--primary-color)); color: var(--white-color); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 153, 0, 0.2); }
.btn-secondary { background: var(--white-color); border: 2px solid var(--primary-color); color: var(--primary-color); }
.btn-secondary:hover { background: var(--primary-color); color: var(--white-color); transform: translateY(-3px); }

table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; box-shadow: var(--shadow-light); border-radius: 10px; overflow: hidden; background: var(--white-color); }
table th, table td { padding: 15px; text-align: left; border-bottom: 1px solid var(--border-color); }
table th { background: linear-gradient(90deg, var(--gradient-end), var(--primary-color)); color: var(--white-color); }
table tr:nth-child(even) { background-color: #f8f9fa; }

.main-footer { background-color: var(--dark-color); color: #a0aec0; padding: 4rem 0 0; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; padding-bottom: 3rem; }
.footer-col h4 { font-size: 1.2rem; color: var(--white-color); margin-bottom: 1.5rem; }
.footer-logo { max-width: 120px; margin-bottom: 1rem; }
.footer-col p { color: #ffffff;}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul a { color: #a0aec0; text-decoration: none; transition: all 0.3s ease; }
.footer-col ul a:hover { color: var(--gradient-start); padding-left: 5px; }
.footer-bottom { border-top: 1px solid #333; padding: 1.5rem 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; }
.copyright { margin: 0; color: #718096; font-size: 0.9rem; }
#back-to-top { background-color: var(--primary-color); color: var(--white-color); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; }
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top { position: fixed; bottom: 20px; right: 20px; opacity: 0; visibility: hidden; z-index: 1000; transition: all 0.4s ease; }

@media screen and (max-width: 1024px) {
    .header-buttons-desktop { display: none; }
    .header-buttons-mobile { display: flex; }
    .burger { display: block; }
    .nav-links { position: fixed; right: 0; top: 0; height: 100vh; background-color: var(--white-color); flex-direction: column; align-items: center; justify-content: center; width: 300px; max-width: 80%; box-shadow: -10px 0 30px rgba(0,0,0,0.1); transform: translateX(100%); transition: transform 0.5s ease-in-out; gap: 2rem; }
    .nav-links.nav-active { transform: translateX(0%); }
    .nav-links li { opacity: 0; }
    .nav-links a { font-size: 1.3rem; }
    @keyframes navLinkFade { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0px); } }
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
}

@media screen and (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    h1 { font-size: 2.2rem; }
    .card { padding: 1.5rem; }
    .header-buttons-mobile .btn { padding: 8px 20px; font-size: 0.9rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom .container { flex-direction: column; gap: 1rem; text-align: center; }
    
    table thead { display: none; }
    table, table tbody, table tr, table td { display: block; width: 100%; }
    table tr { margin-bottom: 1.5rem; border-radius: 10px; box-shadow: var(--shadow-strong); border: 1px solid var(--border-color); }
    table td { text-align: right; padding-left: 50%; position: relative; border-bottom: 1px solid #f0f0f0; }
    table td:last-child { border-bottom: 0; }
    table td::before { content: attr(data-label); position: absolute; left: 15px; width: 45%; padding-right: 10px; text-align: left; font-weight: 600; color: var(--primary-color); }
}