/**
 * Page Section Styles
 * Contains stories section, how-it-works, CTA, testimonials, and value props
 */

/* Stories Section */
.stories {
    padding: 80px 0;
    position: relative;
}

@media (max-width: 768px) {
    .stories {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .stories {
        padding: 40px 0;
    }
}

.stories::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.08), transparent 70%);
    top: 50px;
    left: 5%;
    border-radius: 50%;
    z-index: -1;
}

.stories::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 230, 109, 0.08), transparent 70%);
    bottom: 100px;
    right: 5%;
    border-radius: 50%;
    z-index: -1;
}

.stories h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.8rem;
    color: var(--dark-color);
    font-weight: 800;
    font-family: var(--heading-font);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.stories h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--burgundy);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background-color: var(--burgundy-soft);
    position: relative;
}

@media (max-width: 768px) {
    .how-it-works {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .how-it-works {
        padding: 40px 0;
    }
}

.how-it-works::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.03), rgba(255, 230, 109, 0.03));
    top: 0;
    left: 0;
    z-index: 0;
}

.how-it-works .container {
    position: relative;
    z-index: 1;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.8rem;
    color: var(--dark-color);
    font-weight: 800;
    font-family: var(--heading-font);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.how-it-works h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--burgundy);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(78, 205, 196, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    position: relative;
}

.step-icon::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border: 2px dashed var(--primary-color);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

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

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

.step p {
    margin: 0;
    color: var(--gray-color);
    font-size: 1.05rem;
    line-height: 1.6;
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--heading-font);
    color: var(--dark-color);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-hover));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .cta {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .cta {
        padding: 40px 0;
    }
}

.cta::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 188, 4, 0.2), transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-family: var(--heading-font);
}

.cta p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 35px;
    opacity: 0.9;
}

.cta .btn {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
    align-items: center;
}

/* Sticker Dream CTA */
.sticker-dream-cta {
    background: linear-gradient(135deg, var(--sticker-pastel-yellow), var(--sticker-pastel-orange));
    padding: 80px 20px;
    text-align: center;
}

.sticker-dream-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--heading-font);
    color: var(--dark-color);
    margin-bottom: 20px;
}

.sticker-dream-cta p {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.sticker-dream-cta .btn-primary {
    color: white;
    border: var(--sticker-border-width) solid transparent;
}

/* Sticker Dream Section */
.sticker-dream-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.sticker-dream-section:nth-child(even) {
    background: linear-gradient(135deg, rgba(184, 230, 255, 0.1), rgba(232, 212, 255, 0.1));
}

.section-heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--heading-font);
    color: var(--dark-color);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-heading::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--sticker-border-color);
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Value Props Grid */
.value-props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-prop-card {
    text-align: center;
}

.value-prop-icon {
    font-size: 3rem;
    color: var(--burgundy);
    margin-bottom: 20px;
}

.value-prop-card h3 {
    font-size: 1.8rem;
    font-family: var(--subheading-font);
    color: var(--dark-color);
    margin-bottom: 15px;
}

.value-prop-card p {
    color: var(--gray-color);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    text-align: center;
}

.testimonial-stars {
    font-size: 1.5rem;
    color: var(--primary-yellow);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--dark-color);
    line-height: 1.7;
    margin-bottom: 20px;
    font-family: var(--subheading-font);
}

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

.testimonial-initials {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1rem;
}

.testimonial-age {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Responsive Sections */
@media (max-width: 768px) {
    .section-heading {
        font-size: 2rem;
    }
    
    .value-props-grid,
    .testimonials-grid,
    .sticker-dream-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sticker-dream-cta h2 {
        font-size: 2rem;
    }
    
    .sticker-dream-cta p {
        font-size: 1rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .steps {
        gap: 15px;
    }
}
