/* Custom CSS for E-Commerce Store */

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #10b981;
    --warning-color: #fbbf24; /* Brightened from #f59e0b for better contrast */
    --danger-color: #ef4444;
    --info-color: #3b82f6;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background: #fffff0;
    min-height: 100vh;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #2d3748;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a69bd 100%);
}

/* Navigation */
.navbar {
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(15, 15, 35, 0.9) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 1) !important; /* Made fully opaque for better visibility */
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 50px;
}

.navbar-nav .nav-link:hover {
    background: rgba(102, 126, 234, 0.2);
    color: white !important;
    transform: translateY(-2px);
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

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

/* Space-Themed Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1a1a2e; /* Lightened from #0a0a0a for better contrast */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, #2a2a4e 0%, #26315e 50%, #1f1f33 100%); /* Lightened gradients for better visibility */
    z-index: -3;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: sparkle 25s linear infinite;
    z-index: -2;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: cosmic-drift 30s ease-in-out infinite;
    z-index: -1;
}

@keyframes sparkle {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-200px) rotate(360deg); }
}

@keyframes cosmic-drift {
    0%, 100% { transform: translateX(0px) translateY(0px); }
    25% { transform: translateX(20px) translateY(-10px); }
    50% { transform: translateX(-10px) translateY(20px); }
    75% { transform: translateX(-20px) translateY(-15px); }
}

@keyframes cosmic-glow {
    0% { 
        background-position: 0% 50%;
        filter: brightness(1) saturate(1.2);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(1.3) saturate(1.5);
    }
    100% { 
        background-position: 0% 50%;
        filter: brightness(1) saturate(1.2);
    }
}

@keyframes pulse-glow {
    0% { 
        text-shadow: 0 0 15px rgba(0, 245, 255, 0.8);
        transform: scale(1);
    }
    100% { 
        text-shadow: 0 0 25px rgba(0, 245, 255, 1), 0 0 35px rgba(138, 43, 226, 0.5);
        transform: scale(1.05);
    }
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 40px rgba(102, 126, 234, 0.5),
                 0 4px 60px rgba(118, 75, 162, 0.3);
    letter-spacing: -0.03em;
    animation: title-glow 4s ease-in-out infinite alternate;
}

@keyframes title-glow {
    0% { text-shadow: 0 2px 40px rgba(102, 126, 234, 0.5), 0 4px 60px rgba(118, 75, 162, 0.3); }
    100% { text-shadow: 0 2px 60px rgba(102, 126, 234, 0.8), 0 4px 80px rgba(118, 75, 162, 0.5); }
}

.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #667eea 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 6s ease-in-out infinite;
    background-size: 400% 400%;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-gradient-gold {
    background: linear-gradient(45deg, #ffd700, #ff8c00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #e0e6ff;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(224, 230, 255, 0.5);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: flex-start;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #00f5ff;
    line-height: 1;
    text-shadow: 0 0 15px rgba(0, 245, 255, 0.8);
    animation: pulse-glow 2s ease-in-out infinite alternate;
}

.stat-label {
    color: #c7d2fe;
    opacity: 0.9;
    font-size: 0.9rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    padding: 1rem 2.5rem;
    position: relative;
    overflow: hidden;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4),
                0 8px 30px rgba(102, 126, 234, 0.2);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6),
                0 15px 40px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #764ba2, #667eea);
}

.btn-hero-outline {
    background: rgba(255, 255, 255, 0.25); /* Increased from 0.1 for better visibility */
    border: 2px solid rgba(255, 255, 255, 0.7); /* Increased from 0.4 for better visibility */
    color: white;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 100px;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15); /* Added subtle glow for prominence */
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.35); /* Increased from 0.2 for better hover state */
    border-color: rgba(255, 255, 255, 0.95); /* Increased from 0.8 for better visibility */
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3); /* Enhanced hover shadow */
}

/* Product Cards */
.product-card {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.product-card-small {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.product-card-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.2rem;
    position: relative;
    z-index: 1;
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    height: 2.6rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-title a {
    color: var(--dark-color);
    text-decoration: none;
}

.product-title a:hover {
    color: var(--primary-color);
}

.rating {
    font-size: 0.8rem;
}

.product-description-snippet {
    font-size: 0.82rem;
    color: #4a5568;
    margin-bottom: 0.75rem;
    min-height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price-section {
    margin-bottom: 0.75rem;
}

.original-price {
    text-decoration: line-through;
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.current-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--danger-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.discount-badge-large {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--danger-color);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 2;
}

/* Feature Cards */
.feature-card {
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

/* Cart Styles */
.cart-item {
    transition: all 0.3s ease;
}

.cart-item:hover {
    background-color: var(--light-color);
}

.quantity-controls {
    width: fit-content;
}

.quantity-input {
    width: 70px;
    text-align: center;
}

/* Product Image Container */
.product-image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Telegram Float Button */
.telegram-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 90px; /* Positioned above WhatsApp button */
    right: 20px;
    background: linear-gradient(135deg, #2481cc 0%, #0088cc 100%);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    line-height: 60px;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.telegram-float:hover {
    background: linear-gradient(135deg, #0088cc 0%, #006ba3 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.6);
}

/* Add subtle animation to both float buttons */
.whatsapp-float,
.telegram-float {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
    100% {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

/* Loading States */
.btn-loading {
    opacity: 0.6;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert Enhancements */
.alert {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Form Enhancements */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Card Enhancements */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.card-header {
    background: var(--light-color);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px 12px 0 0 !important;
    font-weight: 600;
}

/* Button Enhancements */
.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.btn-warning:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

/* Pagination */
.pagination .page-link {
    border-radius: 6px;
    margin: 0 2px;
    border: none;
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Beautiful Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .ai-tools-showcase {
        height: 300px;
        margin-top: 2rem;
    }
    
    .tool-card {
        padding: 1rem;
    }
    
    .tool-card i {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .modern-feature-card {
        padding: 2rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .premium-product-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .premium-product-title {
        font-size: 1.5rem;
    }
    
    .offer-title {
        font-size: 2rem;
    }
    
    .offer-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-whatsapp {
        width: 100%;
        max-width: 300px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        line-height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .telegram-float {
        width: 50px;
        height: 50px;
        font-size: 22px;
        line-height: 50px;
        bottom: 70px;
        right: 15px;
    }
    
    .quantity-controls {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .quantity-input {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .product-info {
        padding: 0.75rem;
    }
    
    .product-title {
        font-size: 0.9rem;
        height: auto;
        -webkit-line-clamp: 1;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
}

/* Print Styles */
@media print {
    .whatsapp-float,
    .telegram-float,
    .btn,
    .navbar,
    footer {
        display: none !important;
    }
}

/* Beautiful Offer Section */
.offer-section {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    position: relative;
    overflow: hidden;
}

.offer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(102, 126, 234, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(245, 87, 108, 0.3) 0%, transparent 50%);
}

.offer-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.offer-badge {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

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

.offer-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.offer-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.offer-features {
    max-width: 600px;
    margin: 0 auto;
}

.feature-check {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #2d3748;
    border: none;
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
    color: #1a202c;
}

.btn-cta-whatsapp {
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.btn-cta-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
    color: white;
}

.trust-indicators {
    opacity: 0.8;
    font-size: 1rem;
}

/* Stock Status Badges */
.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

.stock-badge.out-of-stock {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.premium-out-of-stock {
    top: 15px;
    right: 15px;
    font-size: 0.8rem;
    padding: 6px 14px;
}

/* Progressive Image Loading */
.progressive-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
}

.progressive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.6s ease, opacity 0.6s ease;
}

.progressive-image img.image-loading {
    filter: blur(15px) brightness(1.1);
    opacity: 0.8;
    transform: scale(1.1);
}

.progressive-image img.image-medium {
    filter: blur(3px);
    opacity: 0.9;
    transform: scale(1.02);
}

.progressive-image img.image-loaded {
    filter: blur(0) brightness(1);
    opacity: 1;
    transform: scale(1);
}

/* Loading shimmer effect */
.progressive-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
    z-index: 1;
}

.progressive-image.loaded::before {
    display: none;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Product Description Styling */
.prose {
    color: #000000;
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
}

.prose p {
    color: #000000;
    margin-bottom: 1rem;
}

.prose ul, .prose ol {
    color: #000000;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
    color: #000000;
}

.prose strong, .prose b {
    color: #000000;
    font-weight: 600;
}

.prose em, .prose i {
    color: #000000;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #000000;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

/* Enhanced Features Section */
.features-section {
    background: linear-gradient(180deg, rgb(242 242 242) 0%, rgb(255 255 240) 100%);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    animation: rotate-slow 30s linear infinite;
    z-index: 0;
}

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

@keyframes rotate-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Beautiful Review Cards */
.reviews-section {
    background: white;
    position: relative;
}

.review-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.review-stars {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.reviewer-info strong {
    color: #2d3748;
    font-weight: 600;
}

.reviewer-info small {
    color: #718096;
    font-size: 0.9rem;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .bg-light {
        background-color: #fff !important;
    }
    
    .text-muted {
        color: #888 !important;
    }
}

/* Accessibility improvements */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Beautiful Hero Animations */
@keyframes shine {
    from { filter: brightness(1); }
    to { filter: brightness(1.2); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.animate-slide-in {
    animation: slideInLeft 1s ease-out;
}

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

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

/* AI Tools Showcase */
.ai-tools-showcase {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.tool-card {
    position: absolute;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.45), rgba(118, 75, 162, 0.45)); /* Increased opacity for better contrast */
    backdrop-filter: blur(30px) saturate(200%);
    border-radius: 24px;
    padding: 1.8rem;
    text-align: center;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.5); /* Made border more prominent */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: cardFloat 8s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.5), /* Enhanced shadow for better visibility */
                0 0 40px rgba(255, 255, 255, 0.1), /* Added glow effect */
                inset 0 1px 0 rgba(255, 255, 255, 0.3),
                inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.tool-card i {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: block;
    filter: drop-shadow(0 0 10px currentColor);
    animation: icon-pulse 3s ease-in-out infinite;
}

@keyframes icon-pulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 8px currentColor);
    }
    50% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px currentColor);
    }
}

.tool-card span {
    font-weight: 700; /* Increased font weight for better readability */
    font-size: 1rem; /* Slightly larger text */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5); /* Added text shadow for better contrast */
    letter-spacing: 0.5px;
}

.tool-card-1 {
    top: 20px;
    left: 50px;
    animation-delay: 0s;
}

.tool-card-2 {
    top: 80px;
    right: 40px;
    animation-delay: 1s;
}

.tool-card-3 {
    bottom: 80px;
    left: 30px;
    animation-delay: 2s;
}

.tool-card-4 {
    bottom: 20px;
    right: 60px;
    animation-delay: 3s;
}

@keyframes cardFloat {
    0%, 100% { 
        transform: translateY(0px) scale(1) rotate(0deg); 
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
    }
    33% { 
        transform: translateY(-10px) scale(1.02) rotate(1deg); 
        box-shadow: 0 0 25px rgba(102, 126, 234, 0.3);
    }
    66% { 
        transform: translateY(-20px) scale(1.05) rotate(-1deg); 
        box-shadow: 0 0 30px rgba(102, 126, 234, 0.4);
    }
}

.tool-card:hover {
    transform: scale(1.2) translateY(-15px) translateZ(50px) rotate(3deg);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4), rgba(118, 75, 162, 0.4));
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.6),
                0 0 100px rgba(102, 126, 234, 0.3),
                inset 0 0 30px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Modern Feature Cards */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #091238;
    position: relative;
    text-shadow: 0 0 20px #198754;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 0;
    opacity: 0.9;
}

.modern-feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.modern-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.modern-feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(31, 38, 135, 0.25);
    border: 1px solid rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.95));
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: icon-float 4s ease-in-out infinite;
}

@keyframes icon-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: shine-icon 3s infinite;
}

@keyframes shine-icon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bg-gradient-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); /* Updated to use brighter warning color */
}

/* Enhanced text contrast for warning color on dark backgrounds */
.text-warning {
    color: #fbbf24 !important; /* Brighter yellow for better contrast */
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5); /* Subtle glow for better visibility */
}

.hero-section .text-warning,
.hero-subtitle .text-warning {
    color: #fcd34d !important; /* Even brighter for hero section */
    font-weight: 700;
    text-shadow: 0 0 15px rgba(252, 211, 77, 0.6);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

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

/* Premium Product Cards */
.premium-product-card {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3), inset 0 0 30px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #e0e6ff;
}

.premium-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #00f5ff, #667eea, #8a2be2, #ff1493);
    animation: cosmic-glow 4s ease-in-out infinite alternate;
}

.premium-product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.4), 0 0 50px rgba(0, 245, 255, 0.2);
    border-color: rgba(0, 245, 255, 0.5);
}

.mega-discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 0.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.discount-text {
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
}

.discount-percent {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;
}

.premium-product-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-badge {
    display: inline-block;
    background: linear-gradient(45deg, #00f5ff, #0080ff);
    color: #0f0f23;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.4);
    animation: pulse-glow 3s ease-in-out infinite alternate;
}

.premium-product-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e0e6ff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(224, 230, 255, 0.3);
}

.premium-product-desc {
    color: #c7d2fe;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.premium-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-text {
    color: #718096;
    font-weight: 600;
}

.price-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.was-price {
    color: #a0aec0;
    text-decoration: line-through;
    font-size: 1rem;
}

.now-price {
    color: #e53e3e;
    font-size: 1.8rem;
    font-weight: 700;
}

.single-price {
    font-size: 1.8rem;
    color: #667eea;
    font-weight: 700;
}

.premium-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-premium-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.btn-premium-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-premium-outline {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

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

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Category Cards */
.category-card {
    display: block;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.2);
    border-color: var(--primary-color);
}

.category-card .category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-card .category-icon i {
    font-size: 2rem;
    color: white;
}

.category-card h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.category-card p {
    color: #6b7280;
    margin: 0;
    font-size: 0.9rem;
}
