/* Additional Custom Styles for Learn AI App Landing Page */

/* CSS Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Custom Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes slideInLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Enhanced Hero Section */
.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

/* Removed problematic background pattern */

.hero-robot {
    animation: float 6s ease-in-out infinite;
}

.hero-brain {
    animation: pulse 4s ease-in-out infinite;
}

.hero-chart {
    animation: float 5s ease-in-out infinite reverse;
}

/* Enhanced Cards */
.stats-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stats-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
}

.topic-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    transition: all 0.3s ease;
}

/* Simplified topic card styling */

.topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

/* Enhanced Buttons */
.cta-button {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    padding: 18px 45px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

/* Simplified button styling */

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
    color: white;
}

/* Enhanced Feature Icons */
.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Simplified feature icon styling */

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.3);
}

/* Enhanced Navigation */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.9rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.nav-link {
    position: relative;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Enhanced Sections */
.section-padding {
    padding: 100px 0;
}

.section-title {
    position: relative;
    margin-bottom: 60px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 2px;
}

/* Enhanced Progress Indicators */
.progress-step {
    position: relative;
    transition: all 0.3s ease;
}

.progress-step:hover {
    transform: scale(1.1);
}

.progress-step.active {
    animation: pulse 2s infinite;
}

/* Enhanced Contact Section */
.contact-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

/* Enhanced Footer */
.footer-gradient {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.footer-link {
    transition: all 0.3s ease;
    position: relative;
    color: rgba(255, 255, 255, 0.75) !important;
}

.footer-link:hover {
    color: #6366f1 !important;
    transform: translateX(5px);
    text-decoration: none;
}

.social-link {
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 1.2rem;
}

.social-link:hover {
    color: #6366f1 !important;
    transform: translateY(-3px);
}

/* Footer specific styles */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
}

footer h6 {
    color: #ffffff !important;
}

footer .text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

footer hr.border-secondary {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Ensure footer text is readable */
footer p, footer li, footer small {
    color: rgba(255, 255, 255, 0.75) !important;
}

footer strong {
    color: #ffffff !important;
}

/* Footer link spacing */
footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Footer social icons */
footer .social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

footer .social-link:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: translateY(-3px);
}

/* Social Media Icons */
.social-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    color: white;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-gradient {
        text-align: center;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .cta-button {
        padding: 15px 35px;
        font-size: 1rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
}

/* Loading Animation */
.loading-animation {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5b21b6, #7c3aed);
}

/* Print Styles */
@media print {
    .navbar,
    .cta-button,
    .social-icon {
        display: none !important;
    }
    
    .section-padding {
        padding: 20px 0;
    }
}
