/* Homepage specific styles */

/* General Section Styling */
.content-section {
    padding: 6rem 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.content-section:last-of-type {
    border-bottom: none;
}

/* Section Heading */
.section-heading {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
    font-weight: 600;
    color: #FFC371;
    position: relative;
    padding-bottom: 1rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #FFC371, #FF5F6D);
    border-radius: 2px;
}

/* Feature Card Styling */
.feature-card-minimal {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.feature-card-minimal .feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #6184F0;
    transition: all 0.3s ease;
}

.feature-card-minimal h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
}

.feature-card-minimal p {
    color: #a0a0a0;
}

.feature-card-minimal:hover {
    background: rgba(255, 255, 255, 0.03);
}

.feature-card-minimal:hover .feature-icon {
    transform: scale(1.1) translateY(-5px);
    text-shadow: 0 0 15px #6184F0;
}

/* Algorithm List */
.algorithm-list-minimal {
    list-style-type: none;
    padding-left: 0;
    text-align: left;
}

.algorithm-list-minimal li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: #a0a0a0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.algorithm-list-minimal li i {
    margin-right: 1rem;
    color: #6184F0;
}

.algorithm-list-minimal li:hover {
    color: #f0f0f0;
    padding-left: 1rem;
}

/* "Learn by Doing" Section */
.learn-by-doing {
    padding: 2rem;
    text-align: left;
}

.learn-by-doing h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #f0f0f0;
}

.learn-by-doing p {
    color: #a0a0a0;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(97, 132, 240, 0.05), rgba(255, 195, 113, 0.05));
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    /* Add extra spacing after the hero section with graph on mobile */
    .fullscreen-section {
        margin-bottom: 4rem;
        padding-bottom: 3rem;
    }
    
    /* Ensure graph container doesn't overflow */
    #graph-visualizer {
        margin-bottom: 2rem;
    }
    
    /* Add top padding to the next section to prevent overlap */
    .content-section:first-of-type {
        padding-top: 8rem;
    }
}

@media (max-width: 576px) {
    /* Extra spacing for very small screens */
    .fullscreen-section {
        margin-bottom: 5rem;
        padding-bottom: 4rem;
    }
    
    .content-section:first-of-type {
        padding-top: 10rem;
    }
}
