/**
 * DownAcademia - Home Page Styles
 * External stylesheet for homepage components
 */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.trust-badge:hover {
    color: #495057;
    transform: translateX(3px);
}

.trust-badge i {
    color: #28a745;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Feature Cards */
.feature-card {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

/* Step Cards */
.step-card {
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #212529;
}

.step-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.step-card:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.testimonial-card .text-warning {
    font-size: 0.9rem;
}

.testimonial-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-card strong {
    color: #212529;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.testimonial-card .text-muted.small {
    font-size: 0.85rem;
    color: #868e96;
}

/* Benefits Section */
.benefits-section {
    background: #f8f9fa;
    padding: 5rem 0;
}

.benefit-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.benefit-item h6 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #212529;
}

.benefit-item p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: rotate(5deg) scale(1.05);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #212529;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* How It Works Section */
.bg-light {
    background-color: #f8f9fa !important;
}

/* Perfect For Card */
.card.border-0.shadow-lg {
    border-radius: 16px;
}

.card.border-0.shadow-lg h3 {
    color: #212529;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.card.border-0.shadow-lg ul {
    list-style: none;
    padding: 0;
}

.card.border-0.shadow-lg li {
    margin-bottom: 1.5rem;
}

.card.border-0.shadow-lg li:last-child {
    margin-bottom: 0;
}

.card.border-0.shadow-lg strong {
    color: #212529;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.card.border-0.shadow-lg .text-muted.small {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
}

.card.border-0.shadow-lg .bi-check-circle-fill {
    color: #28a745;
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cta-section .btn-light {
    background: white;
    color: #667eea;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.cta-section .btn-outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn-outline-light:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Additional Enhancements */
.hero-image {
    position: relative;
}

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

/* Badge Enhancements */
.badge {
    border-radius: 6px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.badge.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none;
}

.badge.bg-success {
    background-color: #28a745 !important;
}

/* Form Input Enhancements */
.input-group-lg .form-control {
    font-size: 1rem;
    border-radius: 8px 0 0 8px;
}

.input-group-lg .btn {
    border-radius: 0 8px 8px 0;
}

.input-group.shadow-sm {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.25rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .benefit-item {
        padding: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .trust-badges {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .trust-badge {
        font-size: 0.85rem;
    }
    
    .step-card {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .step-card p {
        font-size: 0.9rem;
    }
    
    .benefit-item {
        padding: 1.25rem;
    }
    
    .benefit-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .stats-section {
        padding: 3rem 0;
    }
    
    .stat-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .benefits-section {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .step-card {
        padding: 1.25rem 0.5rem;
    }
}

