/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--secondary-500) 100%);
    padding: var(--sticky-navbar-height) 0 5px;
    color: var(--white);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section .d-flex {
    justify-content: center;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-section h1,
.hero-section .lead {
    text-align: center;
}

/* Improved Color Scheme */
.hero-section h1 {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-section h1 .text-primary {
    color: #ffd700 !important;
    /* Golden yellow for highlights */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-section .display-4 {
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-section .text-warning {
    color: var(--warning-400) !important;
}

.hero-section .lead {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-img {
    transition: transform 0.3s ease;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero-img:hover {
    transform: scale(1.02);
}

.hero-image img {
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Suggestion Items */
.suggestion-item {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.suggestion-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

/* Analysis Form */
.analysis-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    text-align: left;
}

.analysis-form .input-group input {
    border-color: #e2e8f0;
    border-right: none;
    border-radius: 12px 0 0 12px;
}

.analysis-form .input-group .btn {
    border-radius: 0 12px 12px 0 !important;
}

/* Pricing Section */

.pricing-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.15);
}

.pricing-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card-featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, #f8f9ff, #ffffff);
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.2);
    position: relative;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.pricing-card,
.feature-card,
.pricing-card-featured {
    animation: fadeInUp 0.6s ease-out;
}

/* Feature Cards */
.feature-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-300);
}

.feature {
    padding: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature .feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
}

.feature-icon::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.feature-card:hover .feature-icon::after,
.features .feature:hover .feature-icon::after {
    transform: rotate(45deg) translate(50%, 50%);
}

.feature-icon.bg-primary {
    background: linear-gradient(135deg, #667eea, #764ba2) !important;
}

.feature-icon.bg-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
}

.feature-icon.bg-info {
    background: linear-gradient(135deg, #17a2b8, #6f42c1) !important;
}

.feature-icon.bg-warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14) !important;
}

.feature-icon.bg-danger {
    background: linear-gradient(135deg, #dc3545, #e83e8c) !important;
}

.feature-icon.bg-secondary {
    background: linear-gradient(135deg, #6c757d, #495057) !important;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card h5 {
    color: var(--gray-900);
    font-weight: 700;
    margin: 20px 0 12px;
}

.feature-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.features-section {
    background-color: var(--gray-50);
    padding: 80px 0;
}


/* Animation for testimonials */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home Page Responsive */
@media (max-width: 991px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-section .display-4 {
        font-size: 2.5rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .categories-section,
    .featured-products,
    .popular-products,
    .features-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 4rem 0;
    }

    .hero-section::before {
        animation: none;
    }

    .hero-section h1 {
        font-size: 1.75rem;
        text-align: center;
    }

    .hero-section .lead {
        font-size: 1rem;
        text-align: center;
    }

    .hero-section .d-flex {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-section .display-4 {
        font-size: 2rem;
    }

    .feature-badge {
        margin-bottom: 0.5rem;
    }

    .score-circle {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }

    .pricing-card-featured {
        transform: none;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-section .display-4 {
        font-size: 1.75rem;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-section .lead {
        font-size: 0.9rem;
    }
}
