/* Landing Page Styles */
/* Nota: Las variables CSS están definidas en styles.css */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 40%, rgba(248, 187, 208, 0.5) 70%, rgba(255, 224, 130, 0.4) 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.hero-logo {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    margin: 0 auto 1.5rem;
    display: block;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.15));
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 500;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-cta);
    color: var(--text-on-primary);
    padding: 1.5rem 4rem;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-cta);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--cta-primary);
}

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

.hero-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(255, 250, 205, 0.4);
    background: var(--cta-primary-hover);
    color: var(--text-on-primary);
    border-color: var(--cta-primary-hover);
}

.hero-button:hover::before {
    left: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* How It Works Section */
.how-it-works {
    background: var(--background-section);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(128, 222, 234, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid var(--primary-border);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    background: var(--white);
    border-color: var(--primary-dark);
    background-color: var(--background-hover);
}

.step-card:hover::before {
    transform: scaleX(1);
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(77, 208, 225, 0.4);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Popular Flavors Section */
.popular-flavors {
    background: var(--white);
    padding: 5rem 0;
    position: relative;
}

.flavors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.flavor-card {
    background: var(--white);
    border-radius: 22px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 2px solid var(--primary-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.flavor-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--pastel-celeste);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.flavor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
    border-color: var(--primary-dark);
    background-color: var(--background-hover);
}

.flavor-card:hover::after {
    opacity: 0.05;
}

.flavor-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.flavor-card:hover .flavor-name {
    color: var(--primary-dark);
}

/* Delivery Zone Section */
.delivery-zone {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 40%, rgba(248, 187, 208, 0.5) 70%, rgba(255, 224, 130, 0.4) 100%);
    padding: 5rem 0;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.delivery-zone::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.delivery-zone::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.zone-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3.5rem 3rem;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    border: 2px solid var(--primary-border);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.zone-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.zone-text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.zone-time {
    background: var(--price-bg);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--price-color);
    border: 1px solid var(--cta-primary);
}

.zone-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-cta);
    color: var(--text-on-primary);
    padding: 1.2rem 3rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-cta);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--cta-primary);
}

.zone-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(128, 222, 234, 0.2), transparent);
    transition: left 0.5s;
}

.zone-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(255, 250, 205, 0.4);
    background: var(--cta-primary-hover);
    color: var(--text-on-primary);
    border-color: var(--cta-primary-hover);
}

.zone-button:hover::before {
    left: 100%;
}

/* Contact Section */
.contact-section {
    background: var(--background-section);
    padding: 5rem 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid var(--primary-border);
    position: relative;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-dark);
    background-color: var(--background-hover);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* CTA Buttons */
.cta-center {
    text-align: center;
    margin-top: 2rem;
}

.cta-button-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-cta);
    color: var(--text-on-primary);
    padding: 1.4rem 3.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-cta);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--cta-primary);
}

.cta-button-large::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: left 0.5s;
}

.cta-button-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(255, 250, 205, 0.4);
    background: var(--cta-primary-hover);
    border-color: var(--cta-primary-hover);
}

.cta-button-large:hover::before {
    left: 100%;
}

.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-secondary);
    color: var(--text-on-primary);
    padding: 1.1rem 2.8rem;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(255, 209, 220, 0.25);
    position: relative;
    overflow: hidden;
    border: 2px solid var(--accent-secondary);
}

.cta-button-secondary::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: left 0.5s;
}

.cta-button-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 209, 220, 0.35);
    background: var(--accent-secondary-hover);
    border-color: var(--accent-secondary-hover);
}

.cta-button-secondary:hover::before {
    left: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

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

    .flavors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

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

    .zone-card {
        padding: 2rem 1.5rem;
    }

    .zone-title {
        font-size: 1.5rem;
    }

    .how-it-works,
    .popular-flavors,
    .contact-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-logo {
        max-height: 120px;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }

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

    .flavors-grid {
        grid-template-columns: 1fr;
    }
}
