/* ==========================================================================
   Frontend Pages Styles
   ========================================================================== */

/* Hero Section */
.aigf-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 12px;
}

.aigf-hero-content h1 {
    font-size: 2.5rem;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.aigf-hero-subtitle {
    font-size: 1.2rem;
    margin: 0 0 40px 0;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.aigf-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.aigf-stat {
    text-align: center;
}

.aigf-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.aigf-stat span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.aigf-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* Page Introduction */
.aigf-page-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.aigf-page-intro h2 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 2rem;
}

.aigf-page-intro p {
    margin: 0;
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.aigf-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.aigf-feature {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.aigf-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.15);
}

.aigf-feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.aigf-feature h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.3rem;
}

.aigf-feature p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Feature Cards (for landing page) */
.aigf-features-section {
    text-align: center;
    margin: 60px 0;
}

.aigf-features-section h2 {
    margin: 0 0 40px 0;
    color: #333;
    font-size: 2.2rem;
}

.aigf-feature-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.aigf-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
    border-color: #e91e63;
}

.aigf-feature-card .aigf-feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aigf-feature-card h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.4rem;
    font-weight: 600;
}

.aigf-feature-card p {
    margin: 0;
    color: #666;
    line-height: 1.7;
}

/* CTA Section */
.aigf-cta-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px;
    margin: 60px 0;
}

.aigf-cta-section h2 {
    margin: 0 0 15px 0;
    font-size: 2.2rem;
    font-weight: 700;
}

.aigf-cta-section p {
    margin: 0 0 30px 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Navigation Enhancement */
.aigf-nav-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.aigf-nav-link {
    padding: 12px 24px;
    background: white;
    color: #e91e63;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.aigf-nav-link:hover {
    background: #e91e63;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(233, 30, 99, 0.3);
}

.aigf-nav-link.active {
    background: #e91e63;
    color: white;
}

/* Quick Stats */
.aigf-quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.aigf-quick-stat {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.aigf-quick-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #e91e63;
    margin-bottom: 5px;
}

.aigf-quick-stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Process Steps */
.aigf-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.aigf-process-step {
    position: relative;
    text-align: center;
    padding: 30px 20px;
}

.aigf-process-step::before {
    content: attr(data-step);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #e91e63;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.aigf-process-step h3 {
    margin: 20px 0 10px 0;
    color: #333;
}

.aigf-process-step p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .aigf-hero-content h1 {
        font-size: 2rem;
    }
    
    .aigf-hero-subtitle {
        font-size: 1rem;
    }
    
    .aigf-hero-stats {
        gap: 20px;
    }
    
    .aigf-hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .aigf-hero-actions .aigf-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .aigf-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .aigf-nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .aigf-nav-link {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .aigf-quick-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .aigf-process-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .aigf-hero-section {
        padding: 40px 15px;
    }
    
    .aigf-page-intro {
        padding: 20px 15px;
    }
    
    .aigf-feature,
    .aigf-feature-card {
        padding: 20px 15px;
    }
    
    .aigf-cta-section {
        padding: 40px 15px;
    }
}
