.products-page-wrapper {
    background: linear-gradient(135deg, #f8f7ff 0%, #fff5f7 50%, #f0f9ff 100%);
    min-height: 100vh;
    margin: -1.5rem -1.5rem 0;
    padding: 1rem;
}

/* Compact Page Header */
.page-header-compact {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.98) 100%);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.page-header-compact h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.btn-add-product {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8125rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.btn-add-product:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    color: white;
}

/* Compact Stats Grid */
.stats-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.stat-card-compact {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.98) 100%);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 0.875rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6 0%, #ec4899 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.stat-card-compact:hover::before {
    transform: scaleX(1);
}

.stat-value-compact {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.125rem;
}

.stat-label-compact {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Premium Table Card */
.table-card-premium {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.98) 100%);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.6);
    overflow: hidden;
}

.table-header-premium {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.table-header-premium h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

.search-box-compact {
    position: relative;
    width: 240px;
}

.search-box-compact input {
    padding: 0.5rem 0.875rem 0.5rem 2.25rem;
    border-radius: 50px;
    border: 1.5px solid #e5e7eb;
    font-size: 0.8125rem;
    transition: all 0.3s ease;
    width: 100%;
}

.search-box-compact input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    outline: none;
}

.search-box-compact i {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Compact Premium Table */
.table-premium {
    margin: 0;
    font-size: 0.8125rem;
}

.table-premium thead {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-bottom: 2px solid #e5e7eb;
}

.table-premium thead th {
    padding: 0.75rem 0.875rem;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #4b5563;
    border: none;
}

.table-premium tbody td {
    padding: 0.75rem 0.875rem;
    vertical-align: middle;
    border-bottom: 1px solid #f3f4f6;
}

.table-premium tbody tr {
    transition: all 0.2s ease;
}

.table-premium tbody tr:hover {
    background: linear-gradient(135deg, #faf5ff 0%, #fdf4ff 50%, #f0f9ff 100%);
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Compact Badges */
.badge-compact {
    padding: 0.25rem 0.625rem;
    border-radius: 50px;
    font-size: 0.6875rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.badge-compact i {
    font-size: 0.625rem;
}

/* Premium Gradient Badges */
.badge-gradient-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.3);
}

.badge-gradient-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.badge-gradient-yellow {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

.badge-gradient-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.badge-gradient-gray {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(156, 163, 175, 0.3);
}

/* Compact Action Buttons */
.btn-action-compact {
    padding: 0.375rem 0.625rem;
    border-radius: 8px;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    border: 1.5px solid;
}

.btn-action-compact:hover {
    transform: translateY(-2px);
}

.btn-action-compact i {
    font-size: 0.875rem;
}

.btn-outline-info {
    border-color: #06b6d4;
    color: #06b6d4;
}

.btn-outline-info:hover {
    background: #06b6d4;
    color: white;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

.btn-outline-primary {
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.btn-outline-primary:hover {
    background: #8b5cf6;
    color: white;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.btn-outline-secondary {
    border-color: #6b7280;
    color: #6b7280;
}

.btn-outline-secondary:hover {
    background: #6b7280;
    color: white;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3);
}

/* Product Name Styling */
.product-name-cell {
    min-width: 180px;
}

.product-name-primary {
    font-weight: 700;
    color: #1f2937;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.125rem;
}

.product-name-secondary {
    font-size: 0.6875rem;
    color: #9ca3af;
    font-style: italic;
}

/* Price Styling */
.price-original {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 0.75rem;
    display: block;
}

.price-final {
    font-weight: 700;
    color: #059669;
    font-size: 0.875rem;
}

/* ID Badge */
.id-badge {
    font-weight: 700;
    color: #6b7280;
    font-size: 0.75rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 1rem;
    display: block;
}

.empty-state p {
    color: #9ca3af;
    font-size: 0.9375rem;
}

/* Alert Compact */
.alert-compact {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.8125rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.alert-success i {
    color: #059669;
}



/* Luxury Perfume Card V2 - Magnificent Edition */

/* Section */
.prod-section-v2 {
    padding: 100px 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(218, 165, 32, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.prod-section-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(212, 175, 55, 0.03) 2px, rgba(212, 175, 55, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(212, 175, 55, 0.03) 2px, rgba(212, 175, 55, 0.03) 4px);
    pointer-events: none;
}

.prod-container-v2 {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.prod-header-v2 {
    text-align: center;
    margin-bottom: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.prod-ornament-v2 {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #d4af37 50%, transparent 100%);
    position: relative;
}

.prod-ornament-v2::before,
.prod-ornament-v2::after {
    content: '◆';
    position: absolute;
    color: #d4af37;
    font-size: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.prod-ornament-v2::before {
    left: -15px;
}

.prod-ornament-v2::after {
    right: -15px;
}

.prod-title-v2 {
    font-size: 3.5rem;
    font-weight: 300;
    color: #ffffff;
    margin: 0;
    letter-spacing: 8px;
    font-family: 'Georgia', serif;
    text-transform: uppercase;
    text-shadow: 0 2px 20px rgba(212, 175, 55, 0.3);
}

.prod-subtitle-v2 {
    font-size: 1.1rem;
    color: #c9a961;
    margin: 0;
    letter-spacing: 3px;
    font-weight: 300;
    font-style: italic;
}

/* Grid */
.prod-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Container */
.prod-card-v2 {
    background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
    border-radius: 0;
    overflow: hidden;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.15),
        inset 0 0 0 1px rgba(212, 175, 55, 0.2);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.prod-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(212, 175, 55, 0.015) 20px,
            rgba(212, 175, 55, 0.015) 40px
        );
    pointer-events: none;
    z-index: 1;
}

.prod-card-v2:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25),
        inset 0 0 0 1px rgba(212, 175, 55, 0.4),
        0 0 40px rgba(212, 175, 55, 0.15);
}

/* Corner Accents */
.prod-corner-accent-v2 {
    position: absolute;
    width: 30px;
    height: 30px;
    z-index: 2;
    pointer-events: none;
}

.prod-corner-accent-v2::before,
.prod-corner-accent-v2::after {
    content: '';
    position: absolute;
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
}

.prod-corner-tl-v2 {
    top: 0;
    left: 0;
}

.prod-corner-tl-v2::before {
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
}

.prod-corner-tl-v2::after {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
}

.prod-corner-tr-v2 {
    top: 0;
    right: 0;
}

.prod-corner-tr-v2::before {
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
}

.prod-corner-tr-v2::after {
    top: 0;
    right: 0;
    width: 100%;
    height: 2px;
}

.prod-corner-bl-v2 {
    bottom: 0;
    left: 0;
}

.prod-corner-bl-v2::before {
    bottom: 0;
    left: 0;
    width: 2px;
    height: 100%;
}

.prod-corner-bl-v2::after {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
}

.prod-corner-br-v2 {
    bottom: 0;
    right: 0;
}

.prod-corner-br-v2::before {
    bottom: 0;
    right: 0;
    width: 2px;
    height: 100%;
}

.prod-corner-br-v2::after {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
}

/* Image Wrapper */
.prod-image-wrapper-v2 {
    position: relative;
    z-index: 2;
}

.prod-image-container-v2 {
    position: relative;
    width: 100%;
    padding-bottom: 115%;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.prod-image-link-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.prod-image-v2 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    filter: contrast(1.05) brightness(1.02);
}

.prod-card-v2:hover .prod-image-v2 {
    transform: scale(1.12);
}

/* Glass Shine Effect */
.prod-shine-overlay-v2 {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    transform: rotate(45deg);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

.prod-card-v2:hover .prod-shine-overlay-v2 {
    top: 100%;
    left: 100%;
}

/* Spray Animation */
.prod-spray-container-v2 {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 150px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.prod-card-v2:hover .prod-spray-container-v2 {
    opacity: 1;
}

.prod-spray-mist-v2 {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.3) 0%,
        rgba(255, 255, 255, 0.4) 30%,
        transparent 70%
    );
    border-radius: 50%;
    animation: sprayMist 2s ease-out infinite;
    filter: blur(8px);
}

.prod-spray-mist-v2:nth-child(1) {
    animation-delay: 0s;
}

.prod-spray-mist-v2:nth-child(2) {
    animation-delay: 0.5s;
}

.prod-spray-mist-v2:nth-child(3) {
    animation-delay: 1s;
}

@keyframes sprayMist {
    0% {
        transform: translateX(-50%) translateY(0) scale(0.3);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-120px) scale(1.5);
        opacity: 0;
    }
}

/* Badges */
.prod-discount-badge-v2 {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #c9302c 0%, #ac2925 100%);
    color: #ffffff;
    padding: 12px 16px;
    clip-path: polygon(0 0, 100% 0, 100% 75%, 50% 100%, 0 75%);
    z-index: 3;
    box-shadow: 0 4px 15px rgba(201, 48, 44, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.prod-discount-percent-v2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    font-family: 'Georgia', serif;
}

.prod-discount-label-v2 {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.prod-limited-badge-v2 {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    color: #d4af37;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 3;
    border: 1px solid rgba(212, 175, 55, 0.3);
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% {
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    }
}

/* Content Section */
.prod-content-v2 {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, transparent 0%, rgba(250, 248, 245, 0.5) 100%);
}

/* Category Badge */
.prod-category-badge-v2 {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    color: #6b5d4f;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(201, 162, 39, 0.1) 100%);
    border-left: 3px solid #d4af37;
    width: fit-content;
}

/* Product Name */
.prod-name-v2 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.3;
    min-height: 3em;
    font-family: 'Georgia', serif;
    color: #1a1a1a;
}

.prod-name-link-v2 {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prod-name-link-v2:hover {
    color: #d4af37;
}

/* Divider */
.prod-divider-v2 {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.3) 50%, transparent 100%);
    margin: 2px 0;
    position: relative;
}

.prod-divider-v2::before {
    content: '◆';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #d4af37;
    font-size: 8px;
    background: linear-gradient(135deg, #ffffff 0%, #faf8f5 100%);
    padding: 0 8px;
}

/* Price Display */
.prod-price-display-v2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    margin: 4px 0;
}

.prod-price-stack-v2 {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prod-price-label-v2 {
    font-size: 0.7rem;
    color: #8a8a8a;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.prod-price-current-v2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a1a1a;
    font-family: 'Georgia', serif;
    line-height: 1;
}

.prod-price-original-v2 {
    font-size: 1rem;
    color: #b8b8b8;
    text-decoration: line-through;
    line-height: 1;
}

/* Stock Indicator */
.prod-stock-indicator-v2 {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.prod-stock-dot-v2 {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.prod-stock-text-v2 {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.prod-stock-available-v2 {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.prod-stock-available-v2 .prod-stock-dot-v2 {
    background: #2e7d32;
}

.prod-stock-available-v2 .prod-stock-text-v2 {
    color: #2e7d32;
}

.prod-stock-limited-v2 {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.prod-stock-limited-v2 .prod-stock-dot-v2 {
    background: #ef6c00;
}

.prod-stock-limited-v2 .prod-stock-text-v2 {
    color: #ef6c00;
}

.prod-stock-unavailable-v2 {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

.prod-stock-unavailable-v2 .prod-stock-dot-v2 {
    background: #c62828;
}

.prod-stock-unavailable-v2 .prod-stock-text-v2 {
    color: #c62828;
}

/* Action Buttons */
.prod-actions-v2 {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 2px;
}

.prod-btn-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border: none;
    border-radius: 0;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.prod-btn-v2::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.prod-btn-v2:hover::before {
    width: 300px;
    height: 300px;
}

.prod-btn-icon-v2 {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.prod-btn-v2 span {
    position: relative;
    z-index: 1;
}

/* Cart Button */
.prod-btn-cart-v2 {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #d4af37;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.prod-btn-cart-v2:hover {
    background: linear-gradient(135deg, #d4af37 0%, #c9a227 100%);
    color: #ffffff;
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
    transform: translateY(-3px);
}

/* WhatsApp Button */
.prod-btn-whatsapp-v2 {
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    color: #ffffff;
    padding: 12px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.prod-btn-whatsapp-v2:hover {
    background: linear-gradient(135deg, #20ba5a 0%, #1ea952 100%);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    transform: translateY(-3px);
}

.prod-btn-whatsapp-v2 span {
    display: none;
}

/* Empty State */
.prod-empty-v2 {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 20px;
}

.prod-empty-icon-v2 {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.prod-empty-text-v2 {
    font-size: 1.1rem;
    color: #c9a961;
    font-weight: 300;
    letter-spacing: 2px;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .prod-grid-v2 {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 35px;
    }
}

@media (max-width: 992px) {
    .prod-title-v2 {
        font-size: 2.8rem;
        letter-spacing: 6px;
    }

    .prod-grid-v2 {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .prod-section-v2 {
        padding: 60px 0;
    }

    .prod-header-v2 {
        margin-bottom: 50px;
    }

    .prod-title-v2 {
        font-size: 2.2rem;
        letter-spacing: 4px;
    }

    .prod-subtitle-v2 {
        font-size: 0.95rem;
        letter-spacing: 2px;
    }

    .prod-grid-v2 {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 25px;
    }

    .prod-content-v2 {
        padding: 16px 16px 18px;
        gap: 8px;
    }

    .prod-name-v2 {
        font-size: 1.05rem;
    }

    .prod-price-current-v2 {
        font-size: 1.45rem;
    }
}

@media (max-width: 576px) {
    .prod-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .prod-title-v2 {
        font-size: 1.8rem;
        letter-spacing: 3px;
    }

    .prod-subtitle-v2 {
        font-size: 0.85rem;
    }

    .prod-content-v2 {
        padding: 14px 14px 16px;
        gap: 8px;
    }

    .prod-category-badge-v2 {
        font-size: 0.6rem;
        padding: 5px 10px;
    }

    .prod-name-v2 {
        font-size: 0.95rem;
        min-height: 2.8em;
    }

    .prod-price-current-v2 {
        font-size: 1.3rem;
    }

    .prod-price-original-v2 {
        font-size: 0.85rem;
    }

    .prod-btn-v2 {
        font-size: 0.68rem;
        padding: 11px 14px;
    }

    .prod-btn-icon-v2 {
        width: 15px;
        height: 15px;
    }

    .prod-discount-badge-v2 {
        padding: 10px 12px;
        top: 15px;
        right: 15px;
    }

    .prod-discount-percent-v2 {
        font-size: 1.3rem;
    }

    .prod-limited-badge-v2 {
        font-size: 0.65rem;
        padding: 6px 14px;
    }

    .prod-stock-text-v2 {
        font-size: 0.65rem;
    }
}

@media (max-width: 400px) {
    .prod-grid-v2 {
        grid-template-columns: 1fr;
    }

    .prod-card-v2 {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* ============================================
   SaaS Collection Section - Modern Design
   ============================================ */

.saas-collection {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
}

/* Animated Background */
.saas-collection-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.saas-bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
}

.saas-bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: orbFloat 20s ease-in-out infinite;
}

.saas-bg-orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(124, 58, 237, 0.1) 100%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.saas-bg-orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25) 0%, rgba(219, 39, 119, 0.1) 100%);
    bottom: -50px;
    right: -50px;
    animation-delay: -7s;
}

.saas-bg-orb-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.05); }
}

.saas-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* Container */
.saas-collection-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Section Header */
.saas-collection-header {
    text-align: center;
    margin-bottom: 60px;
}

.saas-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #a78bfa;
    letter-spacing: 0.5px;
}

.saas-badge-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.saas-collection-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.saas-title-gradient {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.saas-collection-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Product Grid */
.saas-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Product Card */
.saas-product-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.saas-product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(139, 92, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Card Glow Effect */
.saas-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 180deg at 50% 50%,
        transparent 0deg,
        rgba(139, 92, 246, 0.1) 60deg,
        transparent 120deg,
        rgba(236, 72, 153, 0.1) 180deg,
        transparent 240deg,
        rgba(59, 130, 246, 0.1) 300deg,
        transparent 360deg
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotateGlow 8s linear infinite;
    pointer-events: none;
}

.saas-product-card:hover .saas-card-glow {
    opacity: 1;
}

@keyframes rotateGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Image Container */
.saas-product-image-wrap {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
}

.saas-product-image-link {
    display: block;
    position: relative;
    padding-bottom: 120%;
}

.saas-product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.saas-product-card:hover .saas-product-image {
    transform: scale(1.08);
}

/* Image Overlay */
.saas-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 15, 26, 0.9) 0%,
        rgba(15, 15, 26, 0.4) 50%,
        transparent 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.saas-quick-view {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.saas-product-card:hover .saas-quick-view {
    transform: translateY(0);
}

.saas-quick-view:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.5);
}

/* Badges */
.saas-badge {
    position: absolute;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

.saas-badge-sale {
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.saas-badge-limited {
    bottom: 16px;
    left: 16px;
    background: rgba(245, 158, 11, 0.9);
    backdrop-filter: blur(10px);
    color: #ffffff;
    animation: pulseBadge 2s ease-in-out infinite;
}

/* Wishlist Button */
.saas-wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.saas-product-card:hover .saas-wishlist-btn {
    opacity: 1;
    transform: scale(1);
}

.saas-wishlist-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
}

.saas-wishlist-btn:hover svg {
    fill: #ef4444;
}

/* Product Content */
.saas-product-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Category */
.saas-product-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: #8b5cf6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Product Name */
.saas-product-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    min-height: 3.1em;
}

.saas-product-name a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.saas-product-name a:hover {
    color: #a78bfa;
}

/* Rating */
.saas-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.saas-stars {
    display: flex;
    gap: 2px;
}

.saas-stars svg {
    width: 14px;
    height: 14px;
    color: #f59e0b;
}

.saas-star-half {
    opacity: 0.4;
}

.saas-rating-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Price */
.saas-product-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 4px;
}

.saas-price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.saas-price-original {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
}

/* Stock Bar */
.saas-stock-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 4px;
}

.saas-stock-progress {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    border-radius: 2px;
    transition: width 0.6s ease;
}

.saas-stock-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Add to Cart Button */
.saas-add-to-cart {
    position: relative;
    width: 100%;
    padding: 14px 20px;
    margin-top: 8px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.saas-add-to-cart:hover:not(:disabled) {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.saas-add-to-cart:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
}

.saas-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.saas-btn-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.saas-btn-loader::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.saas-add-to-cart.loading .saas-btn-content {
    opacity: 0;
}

.saas-add-to-cart.loading .saas-btn-loader {
    opacity: 1;
}

/* Empty State */
.saas-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.saas-empty-icon {
    margin-bottom: 24px;
    color: rgba(139, 92, 246, 0.5);
}

.saas-empty-state h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px;
}

.saas-empty-state p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* View All Button */
.saas-view-all-wrap {
    text-align: center;
    margin-top: 50px;
}

.saas-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid rgba(139, 92, 246, 0.5);
    border-radius: 50px;
    color: #a78bfa;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.saas-view-all-btn:hover {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.saas-view-all-btn svg {
    transition: transform 0.3s ease;
}

.saas-view-all-btn:hover svg {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .saas-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .saas-collection {
        padding: 80px 0;
    }

    .saas-collection-header {
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .saas-collection {
        padding: 60px 0;
    }

    .saas-collection-container {
        padding: 0 16px;
    }

    .saas-collection-header {
        margin-bottom: 40px;
    }

    .saas-collection-subtitle {
        font-size: 1rem;
    }

    .saas-product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }

    .saas-product-card {
        border-radius: 16px;
    }

    .saas-product-content {
        padding: 16px;
    }

    .saas-product-name {
        font-size: 1rem;
    }

    .saas-price-current {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .saas-collection {
        padding: 50px 0;
    }

    .saas-header-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .saas-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .saas-product-card {
        border-radius: 12px;
    }

    .saas-product-content {
        padding: 12px;
        gap: 6px;
    }

    .saas-product-category {
        font-size: 0.65rem;
    }

    .saas-product-name {
        font-size: 0.9rem;
        min-height: 2.8em;
    }

    .saas-product-rating {
        display: none;
    }

    .saas-price-current {
        font-size: 1.1rem;
    }

    .saas-price-original {
        font-size: 0.85rem;
    }

    .saas-add-to-cart {
        padding: 12px 16px;
        font-size: 0.8rem;
        border-radius: 10px;
    }

    .saas-add-to-cart span:last-child {
        display: none;
    }

    .saas-badge {
        padding: 4px 8px;
        font-size: 0.65rem;
    }

    .saas-wishlist-btn {
        width: 32px;
        height: 32px;
        opacity: 1;
        transform: scale(1);
    }

    .saas-view-all-btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .saas-product-grid {
        grid-template-columns: 1fr;
    }

    .saas-product-card {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* Best Sellers Gold Theme */
.saas-collection-alt {
    background: linear-gradient(135deg, #1a1612 0%, #2d2418 50%, #1a1a1a 100%);
}

.saas-collection-alt .saas-bg-orb-1 {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(184, 134, 11, 0.1) 100%);
}

.saas-collection-alt .saas-bg-orb-3 {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(217, 119, 6, 0.1) 100%);
}

.saas-header-badge-gold {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.2);
    color: #d4af37;
}

.saas-header-badge-gold .saas-badge-dot {
    background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
}

.saas-title-gradient-gold {
    background: linear-gradient(135deg, #d4af37 0%, #f59e0b 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.saas-collection-alt .saas-product-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(212, 175, 55, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.saas-collection-alt .saas-card-glow {
    background: conic-gradient(
        from 180deg at 50% 50%,
        transparent 0deg,
        rgba(212, 175, 55, 0.1) 60deg,
        transparent 120deg,
        rgba(245, 158, 11, 0.1) 180deg,
        transparent 240deg,
        rgba(251, 191, 36, 0.1) 300deg,
        transparent 360deg
    );
}

.saas-collection-alt .saas-product-category {
    color: #d4af37;
}

.saas-collection-alt .saas-product-name a:hover {
    color: #d4af37;
}

.saas-collection-alt .saas-add-to-cart {
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
}

.saas-collection-alt .saas-add-to-cart:hover:not(:disabled) {
    background: linear-gradient(135deg, #b8860b 0%, #996515 100%);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

/* New Release Badge */
.saas-badge-new {
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* Best Seller Badge */
.saas-badge-bestseller {
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* ============================================
   SaaS Categories Section
   ============================================ */

.saas-categories-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.saas-categories-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(236, 72, 153, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.saas-categories-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.saas-categories-header {
    text-align: center;
    margin-bottom: 50px;
}

.saas-categories-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #a78bfa;
    letter-spacing: 0.5px;
}

.saas-categories-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.saas-categories-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.saas-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.saas-category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    flex-direction: column;
}

.saas-category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(139, 92, 246, 0.1);
}

.saas-category-image-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 130%;
    overflow: hidden;
}

.saas-category-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.saas-category-card:hover .saas-category-image {
    transform: scale(1.1);
}

.saas-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 15, 26, 0.95) 0%,
        rgba(15, 15, 26, 0.5) 50%,
        rgba(15, 15, 26, 0.2) 100%
    );
    transition: background 0.3s ease;
}

.saas-category-card:hover .saas-category-overlay {
    background: linear-gradient(
        to top,
        rgba(139, 92, 246, 0.9) 0%,
        rgba(139, 92, 246, 0.4) 50%,
        rgba(139, 92, 246, 0.1) 100%
    );
}

.saas-category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 2;
}

.saas-category-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px;
    line-height: 1.3;
}

.saas-category-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 12px;
    line-height: 1.4;
}

.saas-category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a78bfa;
    transition: all 0.3s ease;
}

.saas-category-card:hover .saas-category-link {
    color: #ffffff;
}

.saas-category-link svg {
    transition: transform 0.3s ease;
}

.saas-category-card:hover .saas-category-link svg {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .saas-categories-section {
        padding: 60px 0;
    }

    .saas-categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .saas-categories-section {
        padding: 50px 0;
    }

    .saas-categories-container {
        padding: 0 16px;
    }

    .saas-categories-header {
        margin-bottom: 40px;
    }

    .saas-categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }

    .saas-category-name {
        font-size: 1.1rem;
    }

    .saas-category-content {
        padding: 16px;
    }
}

@media (max-width: 576px) {
    .saas-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .saas-category-card {
        border-radius: 12px;
    }

    .saas-category-name {
        font-size: 1rem;
    }

    .saas-category-desc {
        display: none;
    }

    .saas-category-content {
        padding: 12px;
    }
}
