/* ========================================
   HOME PAGE STYLES
   ======================================== */

/* Hero Section */
.hero {
    position: relative;
    background: var(--gradient-vibrant);
    color: white;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: rgba(255,255,255,0.95);
    margin-bottom: var(--space-xl);
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    min-width: 200px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: block;
}

.feature-title {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.feature-description {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-overlay);
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.stat-item {
    padding: var(--space-lg);
}

.stat-number {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--space-sm);
    line-height: 1;
}

.stat-label {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
}

/* Why Choose Us */
.why-choose {
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.why-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.why-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.why-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
}

.why-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.why-content p {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    border-radius: var(--radius-xl);
    padding: var(--space-3xl) var(--space-lg);
    margin: var(--space-3xl) 0;
}

.cta-section h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

.cta-section p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .why-item {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
    }
}
