/* Features Page Styles */
/* Warm, loving design for mothers */

/* Hero Section */
.features-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, #FFF5F5 0%, #fff 100%);
    text-align: center;
}

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

.hero-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
    animation: gentle-pulse 3s ease-in-out infinite;
}

@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.features-hero h1 {
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    color: #2D3748;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FF7F7F 0%, #E55A5A 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4A5568;
    font-style: italic;
    line-height: 1.6;
}

/* Intro Section */
.features-intro {
    padding: 3rem 0;
    background: #fff;
}

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

.intro-content {
    text-align: center;
    font-size: 1.2rem;
    color: #4A5568;
    line-height: 1.8;
}

/* Feature Sections */
.feature-section {
    padding: 5rem 0;
    background: #fff;
    overflow: hidden;
}

.feature-section--alt {
    background: linear-gradient(180deg, #fffaf8 0%, #fff 100%);
}

.feature-section--highlight {
    background: linear-gradient(180deg, #FFF5F5 0%, #F0FFF9 100%);
}

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

/* Feature Grid */
.feature-grid {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.feature-grid--reversed {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1.2;
}

.feature-image {
    flex: 1;
    position: sticky;
    top: 100px;
}

/* Feature Icons */
.feature-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

/* Feature Typography */
.feature-section h2 {
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.feature-section h2::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 50px;
    height: 4px;
    background: #FF7F7F;
    border-radius: 2px;
}

.feature-grid--reversed h2::after {
    background: #7FFFD4;
}

.feature-tagline {
    font-size: 1.1rem;
    color: #718096;
    font-style: italic;
    margin-bottom: 2rem;
}

.feature-section h3 {
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2D3748;
    margin: 2rem 0 0.75rem;
}

.feature-section h3:first-of-type {
    margin-top: 0;
}

.feature-section p {
    font-size: 1.05rem;
    color: #4A5568;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: #4A5568;
    line-height: 1.6;
}

.feature-list li::before {
    content: '🌸';
    position: absolute;
    left: 0;
    top: 0.1rem;
}

.privacy-list li::before {
    content: '✓';
    color: #7FFFD4;
    font-weight: bold;
}

.feature-steps {
    padding-left: 1.5rem;
    margin: 0 0 1.5rem;
}

.feature-steps li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
    color: #4A5568;
    line-height: 1.6;
}

.slider-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.slider-list li {
    padding: 0.75rem 1rem;
    background: #FFF5F5;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #4A5568;
}

/* Greeting Examples */
.greeting-examples {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem;
}

.greeting {
    background: linear-gradient(135deg, #FFF5F5 0%, #F0FFF9 100%);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-style: italic;
    color: #4A5568;
    font-size: 1rem;
}

/* Emoji Showcase */
.emoji-showcase {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0.5rem 0 1.5rem;
    font-size: 1.75rem;
}

/* Feature Highlight Box */
.feature-highlight {
    background: #FFF5F5;
    border-left: 4px solid #FF7F7F;
    border-radius: 0 16px 16px 0;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.feature-highlight h4 {
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2D3748;
    margin: 0 0 1rem;
}

.memory-example {
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.memory-example p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    color: #718096;
}

/* Goal Example */
.goal-example {
    background: #F0FFF9;
    border-left: 4px solid #7FFFD4;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    font-style: italic;
    color: #4A5568;
    border-radius: 0 12px 12px 0;
}

/* Insight Cards Preview */
.insight-cards-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.insight-card-mini {
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.insight-card-mini span {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.insight-card-mini strong {
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 0.95rem;
    color: #2D3748;
    display: block;
    margin-bottom: 0.5rem;
}

.insight-card-mini p {
    font-size: 0.9rem;
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

.affirmation-example,
.reframe-example {
    font-style: italic;
    color: #4A5568 !important;
}

/* Exercise Cards */
.exercise-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.exercise-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.exercise-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.exercise-card h4 {
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2D3748;
    margin: 0 0 0.5rem;
}

.exercise-perfect {
    font-size: 0.85rem;
    color: #FF7F7F;
    font-weight: 600;
    margin-bottom: 0.75rem !important;
}

.exercise-card p:last-child {
    font-size: 0.95rem;
    color: #4A5568;
    margin: 0;
    line-height: 1.6;
}

/* Image Slideshow */
.image-slideshow {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #f8f8f8;
}

.slideshow-container {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    max-height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e8e8 0%, #f5f5f5 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.image-placeholder.single-image {
    border-radius: 24px;
    aspect-ratio: 9/16;
    max-height: 400px;
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.image-placeholder p {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin: 0;
    line-height: 1.5;
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #FF7F7F;
    transform: scale(1.2);
}

.dot:hover {
    background: #FF7F7F;
}

/* Daily Flow Section */
.daily-flow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.flow-section {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.flow-section h3 {
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2D3748;
    margin: 0 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #FFF5F5;
}

.flow-section ol {
    padding-left: 1.25rem;
    margin: 0;
}

.flow-section li {
    font-size: 0.95rem;
    color: #4A5568;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* Closing Section */
.features-closing {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fff 0%, #FFF5F5 100%);
    text-align: center;
}

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

.closing-content {
    text-align: center;
}

.closing-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
}

.features-closing h2 {
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 1.5rem;
}

.closing-text {
    font-size: 1.15rem;
    color: #4A5568;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.closing-affirmations {
    background: linear-gradient(135deg, #FFF5F5 0%, #F0FFF9 100%);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
}

.closing-affirmations p {
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2D3748;
    margin: 0.75rem 0;
}

.closing-welcome {
    font-size: 1.1rem;
    color: #718096;
    font-style: italic;
    margin-top: 2rem;
}

/* Section Headers (for centered sections) */
.feature-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.feature-section .section-header h2 {
    display: block;
}

.feature-section .section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.feature-section .section-header p {
    max-width: 600px;
    margin: 1rem auto 0;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .insight-cards-preview,
    .exercise-cards {
        grid-template-columns: 1fr;
    }
    
    .daily-flow-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .feature-grid,
    .feature-grid--reversed {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .feature-image {
        position: static;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .feature-content {
        text-align: center;
    }
    
    .feature-section h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .feature-list li,
    .slider-list li {
        text-align: left;
    }
    
    .feature-highlight {
        border-left: none;
        border-top: 4px solid #FF7F7F;
        border-radius: 0 0 16px 16px;
    }
    
    .goal-example {
        border-left: none;
        border-top: 4px solid #7FFFD4;
        border-radius: 0 0 12px 12px;
    }
    
    .features-hero {
        padding: 6rem 0 3rem;
    }
    
    .features-hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-section {
        padding: 3.5rem 0;
    }
    
    .feature-section h2 {
        font-size: 1.75rem;
    }
    
    .greeting-examples {
        align-items: center;
    }
    
    .greeting {
        display: inline-block;
    }
    
    .emoji-showcase {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-emoji,
    .closing-emoji {
        font-size: 3rem;
    }
    
    .features-hero h1 {
        font-size: 1.75rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-section h2 {
        font-size: 1.5rem;
    }
    
    .feature-section h3 {
        font-size: 1.1rem;
    }
    
    .slideshow-container {
        max-height: 400px;
    }
    
    .image-placeholder.single-image {
        max-height: 300px;
    }
    
    .flow-section {
        padding: 1.5rem;
    }
    
    .features-closing {
        padding: 4rem 0;
    }
    
    .closing-affirmations {
        padding: 1.5rem;
    }
    
    .closing-affirmations p {
        font-size: 1.1rem;
    }
}
