/* =============================================
   HOME.CSS — Premium Interactive Catalog Page
   ============================================= */

/* ── Design Tokens ── */
:root {
    --primary-color: var(--color-primary, #6C63FF);
    --primary-hover: var(--color-primary, #5A52E0);
    --primary-dark: var(--color-primary, #4B43C3);
    --secondary-color: var(--color-secondary, #FF6584);
    --text-main: #0F172A;
    --text-muted: #64748B;
    --bg-surface: #FFFFFF;
    --border-color: #E2E8F0;
    --card-radius: 1.25rem;
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Logo Constraining ── */
.nav-logo {
    height: 36px !important;
    max-height: 36px !important;
    width: auto !important;
    object-fit: contain !important;
}

.footer-logo {
    height: 36px !important;
    max-height: 36px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* ── Glassmorphism Nav ── */
.glass-nav {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6) !important;
    box-shadow: 0 4px 30px -2px rgba(0, 0, 0, 0.04);
}

/* ── Text Gradient ── */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color, #FF6584) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    padding-top: 8rem !important;
    padding-bottom: 3rem !important;
    position: relative;
    overflow: hidden;
}

/* ── Animated Background Orbs ── */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    pointer-events: none;
    will-change: transform;
}

.bg-orb--1 {
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    top: -120px;
    left: -100px;
    animation: orbFloat1 14s ease-in-out infinite;
}

.bg-orb--2 {
    width: 450px;
    height: 450px;
    background: var(--secondary-color);
    top: 30%;
    right: -100px;
    animation: orbFloat2 18s ease-in-out infinite;
}

.bg-orb--3 {
    width: 350px;
    height: 350px;
    background: #38bdf8;
    bottom: -80px;
    left: 30%;
    animation: orbFloat3 16s ease-in-out infinite;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, 30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, -40px) scale(0.95);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-30px, -50px) scale(1.08);
    }

    66% {
        transform: translate(25px, 20px) scale(0.92);
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

/* ── Typing Cursor ── */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary-color);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: cursorBlink 1s step-end infinite;
    border-radius: 2px;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ── Hero Subtitle Fade ── */
.hero-subtitle {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* =============================================
   TRUST BADGES
   ============================================= */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.3s var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.trust-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.12);
    border-color: rgba(108, 99, 255, 0.3);
}

.trust-badge i {
    font-size: 1rem;
    width: 1.2rem;
    text-align: center;
}

.trust-badge--purple i {
    color: var(--primary-color);
}

.trust-badge--emerald i {
    color: #059669;
}

.trust-badge--blue i {
    color: #2563EB;
}

/* =============================================
   FEATURE HIGHLIGHTS SECTION
   ============================================= */
.features-section {
    padding: 3rem 0 4rem;
    position: relative;
}

.feature-card {
    position: relative;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--card-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s var(--transition-smooth);
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--card-radius);
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.15), rgba(255, 101, 132, 0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(108, 99, 255, 0.12);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    transition: transform 0.4s var(--transition-smooth);
}

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

.feature-icon--purple {
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    color: var(--primary-color);
}

.feature-icon--rose {
    background: linear-gradient(135deg, #FFF1F2, #FFE4E6);
    color: var(--secondary-color);
}

.feature-icon--sky {
    background: linear-gradient(135deg, #F0F9FF, #E0F2FE);
    color: #0284C7;
}

/* =============================================
   BUTTONS (Premium)
   ============================================= */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color, #5247E6) 100%) !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    padding: 0.65rem 1.35rem !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 4px 14px rgba(var(--color-primary-rgb, 108, 99, 255), 0.35) !important;
    transition: all 0.3s var(--transition-smooth) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color, #4338CA) 100%) !important;
    box-shadow: 0 8px 25px rgba(var(--color-primary-rgb, 108, 99, 255), 0.5) !important;
    transform: translateY(-2px) !important;
    color: #FFFFFF !important;
}

.btn-primary-custom:hover::after {
    opacity: 1;
}

.btn-primary-custom:active {
    transform: translateY(0) scale(0.98) !important;
}

/* Hero CTA Button */
.btn-hero-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color, #5247E6) 100%);
    color: #FFFFFF;
    font-weight: 700;
    padding: 0.9rem 2.2rem;
    border-radius: 0.85rem;
    box-shadow: 0 6px 20px rgba(var(--color-primary-rgb, 108, 99, 255), 0.4);
    transition: all 0.3s var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-hero-cta::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 ease;
}

.btn-hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.5);
}

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

.btn-hero-cta:active {
    transform: translateY(0) scale(0.97);
}

/* Card Order Button */
.btn-card-order {
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    padding: 0.65rem 1.25rem !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb, 108, 99, 255), 0.25) !important;
    transition: all 0.3s var(--transition-smooth) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    border: none !important;
}

.btn-card-order:hover {
    background: var(--primary-color) !important;
    filter: brightness(0.92) !important;
    box-shadow: 0 8px 22px rgba(var(--color-primary-rgb, 108, 99, 255), 0.4) !important;
    transform: translateY(-2px) !important;
    color: #FFFFFF !important;
}

.btn-card-order:active {
    transform: translateY(0) scale(0.97) !important;
}

/* Keep backward compatibility */
.btn-card-order-emerald {
    background: var(--primary-color) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    padding: 0.65rem 1.25rem !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 4px 12px rgba(var(--color-primary-rgb, 108, 99, 255), 0.25) !important;
    transition: all 0.3s var(--transition-smooth) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    border: none !important;
}

.btn-card-order-emerald:hover {
    background: var(--primary-color) !important;
    filter: brightness(0.92) !important;
    box-shadow: 0 8px 22px rgba(var(--color-primary-rgb, 108, 99, 255), 0.4) !important;
    transform: translateY(-2px) !important;
    color: #FFFFFF !important;
}

/* =============================================
   SEARCH INPUT
   ============================================= */
.search-container {
    position: relative;
    max-width: 28rem;
    margin: 0 auto;
}

.search-icon-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    padding-left: 1.25rem;
    display: flex;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}

.search-icon-wrapper i {
    color: #94A3B8;
    font-size: 1rem;
    transition: color 0.25s ease;
}

.search-input-custom {
    width: 100%;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    padding-left: 3.25rem !important;
    padding-right: 1.25rem;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid #CBD5E1;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    font-size: 0.95rem;
    color: #0F172A;
    outline: none;
    transition: all 0.3s var(--transition-smooth);
}

.search-input-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb, 108, 99, 255), 0.12), 0 8px 25px rgba(0, 0, 0, 0.06);
    background-color: #FFFFFF;
}

.search-container:focus-within .search-icon-wrapper i {
    color: var(--primary-color);
}

/* =============================================
   CATEGORY FILTER PILLS
   ============================================= */
.category-filter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748B;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid #CBD5E1;
    cursor: pointer;
    transition: all 0.25s var(--transition-smooth);
    user-select: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.category-pill:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--color-primary-rgb, 108, 99, 255), 0.12);
}

.category-pill.active {
    color: #FFFFFF;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color, #5247E6) 100%);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(var(--color-primary-rgb, 108, 99, 255), 0.35);
}

.category-pill.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--color-primary-rgb, 108, 99, 255), 0.45);
}

/* =============================================
   PRODUCT CARDS — 3D Interactive
   ============================================= */
.catalog-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: var(--card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}



.catalog-card:hover {
    border-color: rgba(108, 99, 255, 0.25);
    box-shadow: 0 25px 50px -12px rgba(108, 99, 255, 0.15), 0 12px 20px -6px rgba(0, 0, 0, 0.04);
}

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

/* Card Image */
.catalog-card-image-wrapper {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #F1F5F9;
}

.catalog-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-smooth);
}

.catalog-card:hover .catalog-card-image-wrapper img {
    transform: scale(1.08);
}

/* Shimmer Skeleton on Image Load */
.catalog-card-image-wrapper .shimmer-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            #F1F5F9 0%,
            #E8ECF1 25%,
            #F1F5F9 50%,
            #E8ECF1 75%,
            #F1F5F9 100%);
    background-size: 200% 100%;
    animation: shimmer 1.8s linear infinite;
    z-index: 5;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Card Body */
.catalog-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ── Discount Badge Pulse ── */
.discount-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    letter-spacing: 0.02em;
    animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
    }

    50% {
        box-shadow: 0 4px 20px rgba(239, 68, 68, 0.55);
    }
}

/* =============================================
   SCROLL REVEAL SYSTEM
   ============================================= */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--transition-smooth), transform 0.7s var(--transition-smooth);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="scale"] {
    opacity: 0;
    transform: scale(0.92);
}

[data-reveal="scale"].is-visible {
    opacity: 1;
    transform: scale(1);
}

[data-reveal="left"] {
    opacity: 0;
    transform: translateX(-30px);
}

[data-reveal="left"].is-visible {
    opacity: 1;
    transform: translateX(0);
}

[data-reveal="right"] {
    opacity: 0;
    transform: translateX(30px);
}

[data-reveal="right"].is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger children */
[data-reveal-stagger] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}

[data-reveal-stagger].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   CTA BANNER SECTION
   ============================================= */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color, #5247E6) 40%, var(--primary-color) 100%);
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    overflow: hidden;
    text-align: center;
    color: #FFFFFF;
}

.cta-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    top: -80px;
    right: -60px;
    animation: ctaFloat 10s ease-in-out infinite;
}

.cta-banner::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    bottom: -50px;
    left: -40px;
    animation: ctaFloat 12s ease-in-out infinite reverse;
}

@keyframes ctaFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(20px, -20px) scale(1.05);
    }
}

.cta-banner h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    color: var(--primary-color);
    font-weight: 700;
    padding: 0.85rem 2rem;
    border-radius: 0.85rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s var(--transition-smooth);
    position: relative;
    z-index: 1;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-white:active {
    transform: translateY(0) scale(0.97);
}

/* =============================================
   FOOTER — Premium Refresh
   ============================================= */
.footer-custom {
    background-color: #FFFFFF !important;
    border-top: none !important;
    position: relative;
}

.footer-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5%;
    right: 5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.2), rgba(255, 101, 132, 0.2), transparent);
}

/* =============================================
   HERO FEATURED CARDS (2 Cards Sejajar)
   ============================================= */
.hero-cards-wrapper {
    position: relative;
    z-index: 10;
}

.hero-feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 1.25rem;
    padding: 1.25rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.02);
}

    .hero-card-latest {
        border: 1.5px solid rgba(var(--color-primary-rgb, 108, 99, 255), 0.25);
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 243, 255, 0.7) 100%);
    }

    .hero-card-latest:hover {
        border-color: rgba(var(--color-primary-rgb, 108, 99, 255), 0.6);
        transform: translateY(-5px);
        box-shadow: 0 20px 40px -10px rgba(var(--color-primary-rgb, 108, 99, 255), 0.22), 0 8px 16px rgba(0, 0, 0, 0.04);
    }

    .hero-card-bestseller {
        border: 1.5px solid rgba(245, 158, 11, 0.3);
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 251, 235, 0.7) 100%);
    }

    .hero-card-bestseller:hover {
        border-color: rgba(245, 158, 11, 0.7);
        transform: translateY(-5px);
        box-shadow: 0 20px 40px -10px rgba(245, 158, 11, 0.25), 0 8px 16px rgba(0, 0, 0, 0.04);
    }

    .hero-card-badge-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.85rem;
        gap: 0.5rem;
    }

    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.725rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        padding: 0.35rem 0.8rem;
        border-radius: 100px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .hero-badge-latest {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color, #4F46E5) 100%);
        color: #FFFFFF;
    }

    .hero-badge-bestseller {
        background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
        color: #FFFFFF;
    }

    .hero-badge-discount {
        background: linear-gradient(135deg, #EF4444, #DC2626);
        color: #FFFFFF;
        font-size: 0.7rem;
        font-weight: 800;
        padding: 0.25rem 0.6rem;
        border-radius: 100px;
        box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
    }

    .hero-badge-sales {
        background: #FFFBEB;
        border: 1px solid #FDE68A;
        color: #D97706;
        font-size: 0.7rem;
        font-weight: 700;
        padding: 0.25rem 0.65rem;
        border-radius: 100px;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
    }

    .hero-card-img-box {
        width: 180px;
        aspect-ratio: 16 / 10;
        height: auto;
        border-radius: 0.85rem;
        overflow: hidden;
        background: #F1F5F9;
        position: relative;
        border: 1px solid #E2E8F0;
        flex-shrink: 0;
    }

    @media (max-width: 639px) {
        .hero-card-img-box {
            width: 100%;
            aspect-ratio: 16 / 10;
            height: auto;
        }
    }

    .hero-card-img {
        width: 100%;
        height: 100%;
    }

    .hero-card-img-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #F8FAFC, #EEF2FF);
    }

    .hero-card-category {
        font-size: 0.6875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--primary-color);
        display: block;
        margin-bottom: 0.15rem;
    }

    .hero-card-title {
        font-size: 0.975rem;
        font-weight: 700;
        color: #0F172A;
        line-height: 1.3;
    }

    .hero-card-desc {
        font-size: 0.8125rem;
        color: #64748B;
        margin-top: 0.25rem;
        line-height: 1.4;
    }

    .btn-hero-card {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        font-size: 0.8125rem;
        font-weight: 700;
        padding: 0.45rem 0.9rem;
        border-radius: 0.6rem;
        transition: all 0.25s ease;
        text-decoration: none;
    }

    .btn-hero-card-indigo {
        background: rgba(var(--color-primary-rgb, 108, 99, 255), 0.12);
        color: var(--primary-color);
    }

    .btn-hero-card-indigo:hover {
        background: var(--primary-color);
        color: #FFFFFF;
        box-shadow: 0 4px 12px rgba(var(--color-primary-rgb, 108, 99, 255), 0.35);
    }

    .btn-hero-card-amber {
        background: #f8efcb;
        color: #D97706;
    }

    .btn-hero-card-amber:hover {
        background: #D97706;
        color: #FFFFFF;
        box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
    }

    /* =============================================
   UTILITY CLASSES
   ============================================= */
    .line-clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Badge Backward Compat */
    .badge-custom {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.3rem 0.85rem;
        border-radius: 9999px;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        width: fit-content;
    }

    .badge-purple {
        background-color: #EEF2FF;
        color: #4F46E5;
        border: 1px solid #C7D2FE;
    }

    .badge-blue {
        background-color: #EFF6FF;
        color: #2563EB;
        border: 1px solid #BFDBFE;
    }

    .badge-emerald {
        background-color: #ECFDF5;
        color: #059669;
        border: 1px solid #A7F3D0;
    }

    .badge-amber {
        background-color: #FEF3C7;
        color: #D97706;
        border: 1px solid #FDE68A;
    }

    /* =============================================
   ANIMATIONS
   ============================================= */
    @keyframes fadeInUp {
        0% {
            opacity: 0;
            transform: translateY(16px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInDown {
        0% {
            opacity: 0;
            transform: translateY(-16px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Product card filter transition */
    .catalog-card.is-hiding {
        opacity: 0;
        transform: scale(0.92);
        pointer-events: none;
    }

    .catalog-card.is-showing {
        animation: cardShow 0.35s var(--transition-smooth) both;
    }

    @keyframes cardShow {
        0% {
            opacity: 0;
            transform: translateY(12px) scale(0.95);
        }

        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    /* Section heading animation */
    .section-heading {
        animation: fadeInDown 0.5s ease-out both;
    }

    /* =============================================
   RESPONSIVE
   ============================================= */
    @media (max-width: 768px) {
        .hero-section {
            padding-top: 6.5rem !important;
            padding-bottom: 2rem !important;
        }

        .trust-badges {
            gap: 0.75rem;
        }

        .trust-badge {
            padding: 0.5rem 0.9rem;
            font-size: 0.75rem;
        }

        .cta-banner {
            padding: 3rem 1.5rem;
            border-radius: 1rem;
        }

        .cta-banner h2 {
            font-size: 1.35rem;
        }

        .feature-card {
            padding: 1.5rem 1.25rem;
        }
    }

    @media (max-width: 480px) {
        .trust-badges {
            flex-direction: column;
            align-items: center;
            gap: 0.6rem;
        }

        .hero-section h1 {
            font-size: 1.75rem !important;
        }
    }

    /* =============================================
   REDUCED MOTION
   ============================================= */
    @media (prefers-reduced-motion: reduce) {

        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }

        [data-reveal],
        [data-reveal-stagger] {
            opacity: 1 !important;
            transform: none !important;
        }

        .catalog-card {
            transform: none !important;
        }

        .typing-cursor {
            display: none;
        }
    }