:root {
    --whatsapp-green: #25D366;
    --whatsapp-dark: #075E54;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --background-light: #f0f2f5;
    --card-background: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --hover-color: rgba(37, 211, 102, 0.1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

header {
    background-color: var(--whatsapp-dark);
    color: var(--text-light);
    padding: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px var(--shadow-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

.language-selector {
    position: relative;
}

#languageButton {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--whatsapp-green);
    padding: 0.7rem 1.2rem;
    cursor: pointer;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#languageButton::after {
    content: "▼";
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

#languageButton:hover {
    background-color: var(--whatsapp-green);
    transform: translateY(-2px);
}

#languageButton.active::after {
    transform: rotate(180deg);
}

#languageMenu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 0.5rem);
    background-color: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    list-style: none;
    min-width: 220px;
    max-height: 400px;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#languageMenu.show {
    display: block;
}

#languageMenu li a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0.3rem;
}

#languageMenu li a:hover {
    background-color: var(--hover-color);
    color: var(--whatsapp-dark);
    transform: translateX(5px);
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 2rem;
    background-color: var(--card-background);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: transform 0.3s ease;
}

.hero:hover {
    transform: translateY(-5px);
}

h1 {
    color: var(--whatsapp-dark);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.intro {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-dark);
}

.technique-card {
    background-color: var(--card-background);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: transform 0.3s ease;
}

.technique-card:hover {
    transform: translateY(-3px);
}

.technique {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 2px solid var(--background-light);
}

.technique:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

h2 {
    color: var(--whatsapp-dark);
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

h3 {
    color: var(--whatsapp-dark);
    margin-bottom: 1.2rem;
    font-size: 1.7rem;
}

.protection {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: var(--background-light);
    border-radius: 12px;
    border-left: 4px solid var(--whatsapp-green);
}

.warning-signs,
.security-tips {
    background-color: var(--card-background);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: transform 0.3s ease;
}

.warning-signs:hover,
.security-tips:hover {
    transform: translateY(-3px);
}

.warning-signs ul,
.security-tips ul {
    list-style: none;
    padding-left: 1.8rem;
}

.warning-signs li,
.security-tips li {
    margin-bottom: 1.8rem;
    position: relative;
    padding-left: 0.5rem;
}

.warning-signs li::before,
.security-tips li::before {
    content: "✓";
    color: var(--whatsapp-green);
    font-weight: bold;
    position: absolute;
    left: -1.8rem;
    font-size: 1.2rem;
}

.conclusion {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem 2rem;
    background-color: var(--card-background);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow-color);
    transition: transform 0.3s ease;
}

.conclusion:hover {
    transform: translateY(-5px);
}

footer {
    background-color: var(--whatsapp-dark);
    color: var(--text-light);
    text-align: center;
    padding: 1.5rem;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    .technique-card,
    .warning-signs,
    .security-tips,
    .conclusion {
        padding: 2rem;
    }

    nav {
        flex-direction: column;
        gap: 1.5rem;
    }

    .language-selector {
        width: 100%;
    }

    #languageButton {
        width: 100%;
        justify-content: center;
    }

    #languageMenu {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    .intro {
        font-size: 1.1rem;
    }

    .technique-card,
    .warning-signs,
    .security-tips,
    .conclusion {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .protection {
        padding: 1.2rem;
    }
}
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background-color: #FFFFFF;
    border: 1px solid #25D366;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    z-index: 1000;
    padding: 30px;
    text-align: center;
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.popup-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.close-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.close-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.popup-content {
    margin-top: 20px;
    color: #075E54;
    font-size: 18px;
    line-height: 1.6;
}

.affiliate-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 18px 80px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.affiliate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: 0.5s;
}

.affiliate-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.affiliate-btn:hover::before {
    left: 100%;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.additional-text {
    margin-top: 20px;
    font-size: 16px;
    color: #128C7E;
}
