* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(153deg, #fff4f4 0%, #13990e 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    width: 80px;
    height: 80px;
    margin-right: 1rem;
    border-radius: 10px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3045ae;
    transition: width 0.4s ease, box-shadow 0.4s ease;
}

.nav a:hover::after {
    width: 100%;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.5);
}

.nav a:hover {
    color: #3045ae;
    text-shadow: 0 0 15px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1000;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.mobile-nav.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    display: block;
    padding: 15px 25px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50px;
    width: 50px;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(48, 69, 174, 0.3),
        transparent
    );
    transform: skewX(-45deg);
    transition: left 0.5s ease-in-out;
}

.mobile-nav a:hover::before {
    left: calc(100% + 50px);
}

.mobile-nav a::after {
    content: '';
    position: absolute;
    bottom: 1px;
    left: 0;
    width: 0;
    height: 3px;
    background: #3045ae;
    transition: width 0.4s ease 0.1s;
}

.mobile-nav a:hover::after {
    width: 100%;
}

.mobile-nav a:last-child {
    border-bottom: none;
    border-radius: 0 0 15px 15px;
}

.mobile-nav a:first-child {
    border-radius: 15px 15px 0 0;
}

.mobile-nav a:hover {
    background-color: rgba(48, 69, 174, 0.1);
    color: #3045ae;
    text-shadow: 0 0 10px rgba(48, 69, 174, 0.3);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.popup-header {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 2rem;
    border-radius: 25px 25px 0 0;
    text-align: center;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 25px;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
    transition: transform 0.3s;
}

.popup-close:hover {
    transform: rotate(90deg);
}

.popup-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.popup-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.popup-body {
    padding: 2rem;
    text-align: center;
}

.popup-body h3 {
    color: #25D366;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.popup-highlight {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 1rem;
    border-radius: 15px;
    margin: 1rem 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.popup-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.popup-feature {
    display: flex;
    align-items: center;
    color: #25D366;
    font-weight: 500;
}

.popup-feature::before {
    content: "✓";
    font-size: 1.2rem;
    margin-right: 0.5rem;
    color: #32a852;
}

.popup-cta {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
    display: inline-block;
    text-decoration: none;
}

.popup-cta:hover {
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(37, 211, 102, 0.1), rgba(20, 156, 55, 0.1));
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.hero h1 {
    font-size: 3rem;
    color: #25D366;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    margin: 2rem auto;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

/* Simulator Section */
.simulator {
    padding: 5rem 0;
    background: white;
}

.simulator h2 {
    text-align: center;
    color: #25D366;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.simulator-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #e9ecef;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #25D366;
    font-weight: 600;
    font-size: 1.1rem;
}

.slider-container {
    position: relative;
}

.slider-value {
    display: block;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #25D366;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: white;
    border-radius: 10px;
    border: 2px solid #25D366;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.1);
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e9ecef;
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
    cursor: pointer;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.3);
}

.slider::-webkit-slider-track {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.3) 0%, rgba(18, 140, 126, 0.3) 100%);
}

select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 16px 16px;
    padding-right: 3rem;
}

select:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

select:hover {
    border-color: #25D366;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.1);
}

.calculate-btn {
    width: 100%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    position: relative;
}

.calculate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.calculate-btn:active {
    transform: translateY(-1px);
}

/* Loading State for Calculate Button */
.calculate-btn.loading {
    color: transparent;
}

.calculate-btn.loading::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.result-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid #25D366;
    animation: slideInUp 0.6s ease forwards;
}

.result-card h3 {
    color: #25D366;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.result-item:hover {
    background: rgba(37, 211, 102, 0.05);
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: 10px;
}

.result-item:last-child {
    border-bottom: none;
}

.result-item span:first-child {
    color: #666;
    font-weight: 500;
}

.result-item span:last-child {
    color: #25D366;
    font-weight: bold;
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(37, 211, 102, 0.1), rgba(20, 156, 55, 0.1));
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.benefits h2 {
    text-align: center;
    color: #25D366;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #25D366;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(37, 211, 102, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.benefit-item:hover::before {
    left: 100%;
}

.benefit-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.benefit-item:hover img {
    transform: scale(1.1);
}

.benefit-item h3 {
    color: #25D366;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.benefit-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #2cd53d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #25D366;
    transition: color 0.3s ease;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 1rem;
    color: #999;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
}

.benefit-item {
    animation: slideInUp 0.6s ease forwards;
}

.result-card {
    animation: slideInUp 0.6s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero::before {
        width: 200px;
        height: 200px;
    }

    .benefits::before {
        width: 200px;
        height: 200px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefits h2,
    .simulator h2 {
        font-size: 2rem;
    }

    .simulator-container {
        padding: 1.5rem;
    }

    .result-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .trust-indicators {
        gap: 1.5rem;
    }

    .trust-number {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .popup-features {
        grid-template-columns: repeat(2, 1fr);
    }
}