/* Home Page Styles - Optimized for Performance */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 0 0 50px 50px;
}

.hover-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    will-change: transform;
}

.hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

.feature-icon {
    transition: transform 0.3s ease;
    will-change: transform;
}

.feature-icon:hover {
    transform: scale(1.1);
}

.pricing {
    border-top: 2px solid #f0f0f0;
    padding-top: 1rem;
}

.card-img-top-wrapper {
    position: relative;
    overflow: hidden;
}

.card-img-top-wrapper img {
    transition: transform 0.3s ease;
    will-change: transform;
}

.hover-card:hover .card-img-top-wrapper img {
    transform: scale(1.05);
}

.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Dark Mode Overrides for Home Page */
.dark-mode .hero-section {
    background: linear-gradient(135deg, #4a5fc1 0%, #5a3a7a 100%);
}

.dark-mode .hover-card {
    background-color: #2b2b2b;
    border-color: #444;
}

.dark-mode .hover-card:hover {
    box-shadow: 0 1rem 3rem rgba(255,255,255,.1) !important;
}

.dark-mode .card-title,
.dark-mode .card-text {
    color: #e0e0e0;
}

.dark-mode .text-muted {
    color: #a0a0a0 !important;
}

.dark-mode .pricing {
    border-top-color: #444;
}

.dark-mode .bg-light {
    background-color: #1e1e1e !important;
}

.dark-mode .cta-box {
    background: linear-gradient(135deg, #4a5fc1 0%, #5a3a7a 100%) !important;
}

.dark-mode h2,
.dark-mode h3,
.dark-mode h5 {
    color: #e0e0e0;
}

.dark-mode .lead {
    color: #b0b0b0;
}

.dark-mode .badge {
    filter: brightness(0.9);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        border-radius: 0 0 30px 30px;
    }
}

/* Performance: Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
    .hover-card,
    .feature-icon,
    .card-img-top-wrapper img {
        transition: none;
    }
}
