/* Enhanced Products Page Styles with Modern Design */

:root {
    --primary-gradient: linear-gradient(135deg, #28a745, #20c997);
    --secondary-gradient: linear-gradient(135deg, #6f42c1, #e83e8c);
    --surface-gradient: linear-gradient(145deg, #ffffff, #f8f9fa);
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 15px 35px rgba(0, 0, 0, 0.15);
    --glow-primary: 0 0 20px rgba(40, 167, 69, 0.3);
    --glow-secondary: 0 0 20px rgba(111, 66, 193, 0.3);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Enhanced Hero Section with Animated Background */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    color: white;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(40, 167, 69, 0.9) 0%, 
        rgba(32, 201, 151, 0.8) 50%, 
        rgba(111, 66, 193, 0.9) 100%);
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: float 20s infinite linear;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: -5s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 70%;
    animation-delay: -15s;
}

.shape-5 {
    width: 40px;
    height: 40px;
    top: 10%;
    left: 60%;
    animation-delay: -8s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: translateY(0) rotate(360deg);
        opacity: 0.7;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-badge i {
    color: #4ade80;
    font-size: 1.1rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.gradient-text {
    background: linear-gradient(135deg, #4ade80, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.highlight-text {
    position: relative;
    display: block;
    margin-top: 0.5rem;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 6px;
    background: linear-gradient(90deg, #4ade80, #22d3ee);
    border-radius: 3px;
    animation: expandWidth 1s ease-out 1.2s both;
}

.hero-description {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    animation: slideInUp 0.8s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #4ade80;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.stat-divider {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

/* Enhanced Cart Section */
.cart-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-wrapper {
    display: flex;
    justify-content: flex-end;
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-light);
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    transition: var(--transition-medium);
    border: 2px solid transparent;
}

.cart-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    color: white;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    transform: scale(0);
    transition: var(--transition-medium);
}

.cart-count.has-items {
    transform: scale(1);
    animation: pulse 0.5s ease-out;
}

.cart-arrow {
    transition: var(--transition-medium);
}

.cart-link:hover .cart-arrow {
    transform: translateX(5px);
}

/* Enhanced Products Section */
.products-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(40, 167, 69, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.section-title-product {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    position: relative;
}

.section-description {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.section-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.decoration-line {
    width: 60px;
    height: 2px;
    background: var(--primary-gradient);
    border-radius: 1px;
}

.decoration-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-gradient);
    border-radius: 50%;
    position: relative;
}

.decoration-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 2px solid rgba(40, 167, 69, 0.3);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

/* Enhanced Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-medium);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(20px);
    opacity: 0;
}

.product-card.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-heavy);
}


.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-gradient);
    border-radius: var(--border-radius-xl);
    z-index: -1;
    opacity: 0;
    transition: var(--transition-medium);
    filter: blur(8px);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
    opacity: 0;
    transition: var(--transition-medium);
}

.product-card:hover .image-overlay {
    opacity: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

/* Enhanced Placeholder Image */
.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f3f4, #e8eaed);
    color: #9aa0a6;
    position: relative;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: shimmer 2s infinite;
}

.placeholder-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.placeholder-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.placeholder-text {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Favorite Button */
.favorite-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-medium);
    z-index: 10;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.favorite-btn:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.favorite-btn.favorited {
    background: #ff6b6b;
    color: white;
}

.favorite-btn.favorited:hover {
    background: #ff5252;
}

.favorite-btn i {
    font-size: 1.2rem;
    color: #ff6b6b;
    transition: var(--transition-medium);
    z-index: 2;
}

.favorite-btn.favorited i {
    color: white;
}

.favorite-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 107, 107, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-gradient);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.product-badge i {
    font-size: 0.7rem;
}

/* Enhanced Product Info */
.product-info {
    padding: 32px 28px;
    position: relative;
}

.product-header {
    margin-bottom: 20px;
}

.product-title {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
    transition: var(--transition-medium);
}

.product-card:hover .product-title {
    color: var(--primary-color);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-text {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* Enhanced Product Price */
.product-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 20px;
    position: relative;
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-left: 4px;
}

/* Product Features */
.product-features {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(40, 167, 69, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.feature-tag i {
    font-size: 0.75rem;
}

/* Enhanced Product Actions */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-md);
    transition: var(--transition-medium);
    text-decoration: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
    text-align: center;
}

.btn-icon {
    transition: var(--transition-medium);
}

.btn-text {
    transition: var(--transition-medium);
}

.btn-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition-medium);
}

.btn:active .btn-ripple {
    width: 300px;
    height: 300px;
}

/* Button Variants */
.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.btn-primary.loading {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.btn-primary.success {
    background: #28a745;
    animation: success-pulse 0.5s ease-out;
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.secondary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.secondary-actions .btn {
    padding: 12px 16px;
    font-size: 0.9rem;
}

/* Enhanced Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="2"/></g></svg>');
    opacity: 0.5;
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.features-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.features-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
}

.feature-item.animate-in {
    transform: translateY(0);
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: var(--transition-slow);
}

.feature-item:hover .feature-hover-effect {
    left: 100%;
}

.feature-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.feature-icon {
    font-size: 4rem;
    display: block;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.2));
    transition: var(--transition-medium);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: var(--transition-medium);
}

.feature-item:hover .icon-glow {
    opacity: 1;
    animation: pulse-glow 2s infinite;
}

.feature-item h3 {
    color: white;
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: 600;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

/* Enhanced No Products Message */
.no-products {
    text-align: center;
    padding: 80px 20px;
    color: #6c757d;
}

.no-products-illustration {
    margin-bottom: 40px;
}

.empty-box {
    position: relative;
    display: inline-block;
    font-size: 5rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.box-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: float-particle 3s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 40%;
    right: 25%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 50%;
    animation-delay: 2s;
}

.no-products h3 {
    color: var(--secondary-color);
    margin-bottom: 16px;
    font-size: 1.8rem;
    font-weight: 600;
}

.no-products p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--border-radius-lg);
}

/* Enhanced Notification System */
.notification {
    position: fixed;
    top: 24px;
    right: 24px;
    max-width: 400px;
    padding: 20px;
    border-radius: var(--border-radius-lg);
    color: white;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transform: translateX(120%);
    transition: var(--transition-medium);
    box-shadow: var(--shadow-heavy);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.hide {
    opacity: 0;
    transform: translateX(120%);
}

.notification-success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.notification-error {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.notification-info {
    background: linear-gradient(135deg, #17a2b8, #3498db);
}

.notification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon i {
    font-size: 1.1rem;
}

.notification-content {
    flex: 1;
}

.notification-message {
    font-size: 0.95rem;
    line-height: 1.4;
}

.notification-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80%;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40%, 43% {
        transform: translateX(-50%) translateY(-15px);
    }
    70% {
        transform: translateX(-50%) translateY(-8px);
    }
    90% {
        transform: translateX(-50%) translateY(-4px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes ripple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 60px;
        height: 60px;
        opacity: 0;
    }
}

@keyframes success-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 35px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: clamp(2.5rem, 7vw, 4rem);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-divider {
        width: 40px;
        height: 2px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 60px 0;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-badge {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .products-section,
    .features-section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .product-card {
        margin: 0 auto;
    }
    
    .product-image {
        height: 240px;
    }
    
    .product-info {
        padding: 24px;
    }
    
    .secondary-actions {
        grid-template-columns: 1fr;
    }
    
    .cart-link {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .notification {
        top: 16px;
        right: 16px;
        left: 16px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 0.5rem;
    }
    
    .hero-badge {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .product-title {
        font-size: 1.2rem;
    }
    
    .price-amount {
        font-size: 1.6rem;
    }
    
    .feature-item {
        padding: 30px 20px;
    }
    
    .feature-icon {
        font-size: 3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .notification {
        top: 12px;
        right: 12px;
        left: 12px;
        padding: 16px;
    }
}

.product-name {
    margin-bottom: 12px;
}

.product-name h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}