/**
 * Index Page Specific CSS - The Silicon Tree
 * Styles specific to index.html
 * Updated: December 2024
 */

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    text-align: center;
}

.hero .container, .cta .container {
    background: hsl(var(--card));
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-sm);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 48rem;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features {
    padding: 1rem 0;
    text-align: center;
}

.features .container {
    background: hsl(var(--card));
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 0.25rem;
    border-radius: 0.125rem;
}

.section-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

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

.feature-card {
    text-align: center;
    padding: 1.5rem;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.gradient-primary {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--secondary)));
}

.gradient-secondary {
    background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--accent)));
}

.gradient-accent {
    background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--tech-blue)));
}

.gradient-tech {
    background: linear-gradient(135deg, hsl(var(--tech-blue)), hsl(var(--tech-purple)));
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: hsl(var(--muted-foreground));
}

/*--------------------------------------------------------------
# CTA Section
--------------------------------------------------------------*/
.cta {
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    max-width: 54rem;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/*--------------------------------------------------------------
# Mobile Responsive Styles
--------------------------------------------------------------*/
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    /* Ultra-aggressive mobile spacing for index page */
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin: 1rem 0;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        gap: 0.5rem;
    }
    
    .features {
        padding: 0.25rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .features-grid {
        gap: 0.5rem;
    }
    
    .feature-card {
        padding: 0.5rem 0.25rem;
    }
    
    .feature-icon {
        margin-bottom: 0.25rem;
    }
    
    .feature-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .feature-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .cta {
        padding: 0.25rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .cta-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }
    
    .hero .container {
        padding: 0.5rem;
    }
    
    .features .container {
        padding: 0.5rem;
    }
    
    .cta .container {
        padding: 0.5rem;
    }
    
    /* Reduce gaps between sections on mobile */
    .hero {
        margin-bottom: 0.25rem;
    }
    
    .features {
        margin-bottom: 0.25rem;
    }
    
    .cta {
        margin-bottom: 0.25rem;
    }
    
    /* Reduce section container padding */
    .hero .container,
    .features .container,
    .cta .container {
        margin-bottom: 0.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
