* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    background: #f8f9fa;
    line-height: 1.8;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: black;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: #e63848;
    transition: width 0.3s;
    border-radius: 10px;
}

nav a:hover::after {
    width: 100%;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.2);
    color: black;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

#lang-buttons {
    display: flex;
    gap: 0.5rem;
    border-left: 2px solid rgba(0, 0, 0, 0.3);
    padding-left: 1.5rem;
    margin-left: 1rem;
}

.lang-btn:hover,
.lang-btn.active {
    background: #e63848;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

#imgLogo {
    height: 40px;
    vertical-align: middle;
    margin-left: 10px;
}

.lang-section {
    display: none;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.lang-section.active {
    display: block;
}

.back-link {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white;
    border-radius: 25px;
    font-weight: 700;
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    margin-top: 2rem;
    transition: background 0.3s, transform 0.2s;
}

.back-link:hover {
    background: linear-gradient(135deg, #e63848 0%, #764ba2 100%);
    transform: translateY(-2px) scale(1.03);
}

#imgLogo {
    height: 40px;
    vertical-align: middle;
    margin-left: 10px;
}

.features {
    padding: 5rem 2rem;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-family: 'Bangers', cursive;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #764ba2;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(102, 126, 234, 0.08);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.3rem;
    font-weight: 500;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.feature-card {
    background: linear-gradient(135deg, #fff 80%, #f8f9fa 100%);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.08);
    border: 2px solid #764ba2;
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s;
}

.feature-card:hover {
    transform: translateY(-15px) rotate(2deg);
    box-shadow: 0 20px 50px rgba(230, 56, 72, 0.2);
    border-color: #e63848;
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: wiggle 3s ease-in-out infinite;
}

.feature-card:hover .feature-icon {
    animation: spin 0.6s ease-in-out;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #0063a3;
    font-weight: 800;
}

.feature-desc {
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}


.feature-card:hover .feature-icon {
    animation: spin 0.6s ease-in-out;
}

wiggle animation {
    transform: rotate(-8.56215deg);
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-section {
    padding: 5rem 2rem;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-title {
    text-align: center;
    font-size: clamp(2.5rem, 8vw, 7rem);
}

.faq-container {
    width: 100%;
    max-width: 860px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 2px solid #764ba2;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item:hover {
    border-color: #e63848;
    box-shadow: 0 6px 24px rgba(230, 56, 72, 0.12);
}

.faq-item.open {
    border-color: #e63848;
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.15);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    text-align: left;
    gap: 1rem;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #faf5ff;
}

.faq-item.open .faq-question {
    background: linear-gradient(135deg, #faf5ff 0%, #fff0f1 100%);
    color: #764ba2;
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 800;
    color: #764ba2;
    flex-shrink: 0;
    transition: transform 0.3s, color 0.3s;
    line-height: 1;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: #e63848;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-answer.open {
    max-height: 500px;
    padding: 0 1.5rem 1.4rem;
}

.faq-answer p {
    color: #555;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.faq-answer ul li {
    color: #555;
    font-size: 1rem;
    padding-left: 1.2rem;
    position: relative;
}

.faq-answer ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #764ba2;
    font-weight: 700;
}

/* ── FIN FAQ ──────────────────────────────────────────────────── */

.footer {
    /* background: linear-gradient(135deg, #764ba2 0%, #667eea 100%); */
    background: linear-gradient(135deg, #4a7fd6 0%, #5e8eea 100%);
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(180deg) scale(1.2);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* ── Hamburger button ─────────────────────────────────────────── */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #764ba2;
    padding: 0.3rem 0.5rem;
    line-height: 1;
    border-radius: 8px;
    transition: background 0.2s;
}

.hamburger-btn:hover {
    background: rgba(118, 75, 162, 0.1);
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .header {
        padding: 1rem 1.2rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .hamburger-btn {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 1rem 0;
        border-top: 1px solid #eee;
        margin-top: 0.3rem;
    }

    nav.nav-open {
        display: flex;
    }

    nav a {
        width: 100%;
        padding: 0.3rem 0;
    }

    #lang-buttons {
        border-left: none;
        border-right: none;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        flex-wrap: wrap;
    }

    .features {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .faq-section {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .feature-icon {
        font-size: 3rem;
    }

    .feature-title {
        font-size: 1.2rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    #imgLogo {
        height: 30px;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.08);
        filter: brightness(1.2);
    }

    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}