:root {
    --primary-color: #A63126;
    --primary-hover: #8a261d;
    --secondary-color: #D08F8D;
    --bg-dark: #0a0a0a;
    --bg-card: #141414;
    --text-light: #f5f5f5;
    --text-gray: #a0a0a0;
    --glass-bg: rgba(30, 30, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gradient-main: linear-gradient(135deg, #A63126 0%, #5e1b15 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 0;
    background: radial-gradient(circle at 15% 50%, rgba(166, 49, 38, 0.1) 0%, rgba(10, 10, 10, 0) 50%),
        radial-gradient(circle at 85% 30%, rgba(208, 143, 141, 0.05) 0%, rgba(10, 10, 10, 0) 50%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(166, 49, 38, 0.15);
    border: 1px solid rgba(166, 49, 38, 0.3);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-color);
    background: -webkit-linear-gradient(45deg, #A63126, #D08F8D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 500px;
}

.benefits-grid {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.benefit-item:nth-child(1) {
    animation-delay: 0.4s;
}

.benefit-item:nth-child(2) {
    animation-delay: 0.6s;
}

.benefit-item:nth-child(3) {
    animation-delay: 0.8s;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(166, 49, 38, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 1px solid rgba(166, 49, 38, 0.2);
    transition: all 0.3s ease;
}

.benefit-item:hover .icon-box {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(166, 49, 38, 0.3);
}

.benefit-item span {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* Glass Card Form */
.hero-form-wrapper {
    perspective: 1000px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(166, 49, 38, 0.3);
}

.glass-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.5);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .currency {
    position: absolute;
    left: 16px;
    color: var(--text-gray);
}

.input-wrapper input {
    padding-left: 45px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.75rem;
    color: var(--text-gray);
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(166, 49, 38, 0.4);
}

/* Simulation Results Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: var(--bg-card);
    width: 90%;
    max-width: 800px;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    position: relative;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-content h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.result-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent);
    pointer-events: none;
}

.result-card:hover {
    transform: translateY(-10px);
    border-color: rgba(166, 49, 38, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.result-card h4 {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.big-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.big-number.highlight {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
}

.cta-container {
    text-align: center;
}

.btn-whatsapp {
    display: inline-block;
    padding: 16px 32px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: scale(1.05);
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-text h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text h2 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-text p {
        margin: 0 auto 2rem;
        font-size: 1rem;
    }

    .benefits-grid {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        margin-top: 2rem;
    }

    .benefit-item {
        flex-direction: row;
        text-align: left;
        gap: 15px;
        width: 100%;
        justify-content: center;
        background: rgba(255, 255, 255, 0.03);
        padding: 10px 20px;
        border-radius: 12px;
    }

    .benefit-item:hover .icon-box {
        transform: none;
    }

    .icon-box {
        width: 40px;
        height: 40px;
    }

    .glass-card {
        padding: 1.5rem;
        margin: 0 10px;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .modal-content {
        padding: 1.5rem 1rem;
        width: 95%;
        max-height: 95vh;
        overflow-y: auto;
    }

    .modal-content h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        margin-top: 0.5rem;
    }

    .result-card {
        padding: 1rem;
    }

    .result-card h4 {
        margin-bottom: 0.2rem;
        font-size: 0.9rem;
    }

    .close-modal {
        top: 10px;
        right: 15px;
        font-size: 1.5rem;
        z-index: 10;
    }
}

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 1.8rem;
    }

    .benefit-item {
        justify-content: flex-start;
    }

    .big-number {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .big-number.highlight {
        font-size: 2rem;
    }

    .btn-whatsapp {
        padding: 12px 24px;
        font-size: 1rem;
    }
}