/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Mary Kay Colors */
    --pink-primary: #E91E8C;
    --pink-dark: #C41876;
    --pink-light: #FFE5F3;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --gray-light: #F5F5F5;
    --gray-medium: #999999;
    --gray-dark: #333333;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: white;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--pink-light) 0%, var(--white) 100%);
    padding: 100px 20px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gray-dark);
}

.hero-title .highlight {
    color: var(--pink-primary);
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-medium);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--pink-primary);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
}

.cta-button:hover {
    background: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 140, 0.4);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ===== BENEFITS SECTION ===== */
.benefits {
    padding: var(--section-padding);
    background: var(--white);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--gray-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--gray-light);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--pink-primary);
}

.benefit-card p {
    color: var(--gray-medium);
    line-height: 1.8;
}

/* ===== STEPS SECTION ===== */
.steps {
    padding: var(--section-padding);
    background: var(--pink-light);
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.step {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--pink-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--gray-dark);
}

.step p {
    color: var(--gray-medium);
}

.step-arrow {
    font-size: 2rem;
    color: var(--pink-primary);
    font-weight: 700;
}

/* ===== FORM SECTION ===== */
.form-section {
    padding: var(--section-padding);
    background: var(--white);
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--gray-light);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--gray-dark);
    margin-bottom: 10px;
}

.form-header p {
    color: var(--gray-medium);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-dark);
}

.form-group input,
.form-group select {
    padding: 15px;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--pink-primary);
}

.form-group.error input,
.form-group.error select {
    border-color: #E53E3E;
}

.error-message {
    color: #E53E3E;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

.checkbox-group {
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--pink-primary);
    border-color: var(--pink-primary);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 16px;
    font-weight: 700;
}

.checkbox-text {
    color: var(--gray-dark);
    line-height: 1.5;
}

.submit-button {
    background: var(--pink-primary);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    position: relative;
}

.submit-button:hover:not(:disabled) {
    background: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 140, 0.4);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-button.loading .button-text {
    display: none;
}

.submit-button.loading .button-loading {
    display: flex;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

.spinner circle {
    stroke: white;
    stroke-linecap: round;
    stroke-dasharray: 90, 150;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* ===== TESTIMONIAL SECTION ===== */
.testimonial {
    padding: var(--section-padding);
    background: var(--pink-primary);
    color: white;
}

.testimonial-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote p {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-quote footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-quote strong {
    font-size: 1.2rem;
}

.testimonial-quote span {
    opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-dark);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--pink-primary);
}

.footer-section p {
    color: #CCCCCC;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--pink-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #999;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: var(--pink-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 30px;
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--gray-dark);
}

.modal-content p {
    color: var(--gray-medium);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.modal-button {
    background: var(--pink-primary);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-button:hover {
    background: var(--pink-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .step-arrow {
        display: none;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 60px 20px;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-wrapper {
        padding: 30px 20px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}
