/* ============================================
   HERO SECTION - E-Commerce Design
   ============================================ */

.hero-section {
    position: relative;
    background: linear-gradient(135deg, #FFF9F5 0%, #FFFFFF 40%, #FFF5F2 100%);
    padding: 60px 0 70px;
    overflow: hidden;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-left {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: linear-gradient(120deg, rgba(220, 38, 38, 0.1), rgba(249, 115, 22, 0.08));
    border: 1.5px solid rgba(220, 38, 38, 0.2);
    border-radius: 50px;
    color: #DC2626;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 22px;
}

.hero-badge i {
    font-size: 12px;
    animation: firePulse 1.5s ease-in-out infinite;
}

@keyframes firePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.15); }
}

.hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.gradient-text {
    background: linear-gradient(120deg, #DC2626 0%, #F97316 50%, #FBBF24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.hero-description {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 28px;
    max-width: 520px;
}

/* ============================================
   RIGHT SIDE - PRODUCT IMAGE
   ============================================ */

.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-product-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.hero-inline-product {
    width: 100%;
    max-width: 420px;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(220, 38, 38, 0.18));
    transition: transform 0.5s ease;
    animation: productFloat 4s ease-in-out infinite;
}

@keyframes productFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-product-visual:hover .hero-inline-product {
    transform: scale(1.04);
    animation-play-state: paused;
}

/* ============================================
   RATING & SOCIAL PROOF
   ============================================ */

.hero-social-proof {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.hero-rating .stars i {
    color: #FBBF24;
    font-size: 15px;
}

.rating-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.review-count {
    font-weight: 400;
    color: var(--text-gray);
    font-size: 13px;
}

.hero-viewers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-gray);
    background: rgba(34, 197, 94, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
}

.hero-viewers strong {
    color: #16A34A;
    font-weight: 700;
}

.viewer-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    display: inline-block;
    animation: dotBlink 1.5s ease-in-out infinite;
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ============================================
   PRICE AREA
   ============================================ */

.hero-price-area {
    margin-bottom: 24px;
}

.hero-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.price-old {
    font-size: 18px;
    color: #9CA3AF;
    text-decoration: line-through;
    font-weight: 500;
}

.price-value {
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(120deg, #DC2626, #F97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-value small {
    font-size: 20px;
    font-weight: 700;
}

.price-discount {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: #DC2626;
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.hero-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    font-size: 13px;
    color: #16A34A;
}

.hero-stock i {
    font-size: 14px;
}

.hero-stock strong {
    font-weight: 700;
}

@keyframes stockPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ============================================
   HERO BUTTONS
   ============================================ */

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: linear-gradient(120deg, #DC2626 0%, #F97316 50%, #FB923C 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
    color: white;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: white;
    color: #DC2626;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(220, 38, 38, 0.15);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(220, 38, 38, 0.04);
    border-color: #DC2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    color: #DC2626;
}

.btn-hero-secondary i {
    transition: transform 0.3s ease;
}

.btn-hero-secondary:hover i {
    transform: translateX(3px);
}

/* ============================================
   TRUST BADGES
   ============================================ */

.hero-trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-gray);
    font-weight: 500;
}

.trust-item i {
    font-size: 14px;
    color: #16A34A;
}

/* ============================================
   BACKGROUND DECORATIONS
   ============================================ */

.hero-bg-decoration {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.decoration-circle-1 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.06), transparent);
    top: -5%;
    left: -8%;
    animation: bgFloat 15s ease-in-out infinite;
}

.decoration-circle-2 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.06), transparent);
    bottom: 5%;
    right: -5%;
    animation: bgFloat 18s ease-in-out infinite reverse;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1199px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-wrapper {
        gap: 40px;
    }

    .hero-inline-product {
        max-width: 380px;
    }
}

@media (max-width: 991px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-left {
        order: 2;
        text-align: center;
    }

    .hero-right {
        order: 1;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-inline-product {
        max-width: 340px;
    }

    .hero-social-proof {
        align-items: center;
    }

    .hero-rating {
        justify-content: center;
    }

    .hero-price {
        justify-content: center;
    }

    .hero-stock {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust-badges {
        justify-content: center;
    }
}

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

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-inline-product {
        max-width: 300px;
    }

    .price-value {
        font-size: 30px;
    }

    .price-old {
        font-size: 16px;
    }

    .hero-trust-badges {
        gap: 14px;
        flex-wrap: wrap;
    }

    .trust-item {
        font-size: 11px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 30px 0 40px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 14px;
        margin-bottom: 22px;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .hero-inline-product {
        max-width: 260px;
    }

    .hero-rating .stars i {
        font-size: 13px;
    }

    .rating-text {
        font-size: 12px;
    }

    .review-count {
        font-size: 11px;
    }

    .hero-viewers {
        font-size: 12px;
        padding: 5px 12px;
    }

    .price-old {
        font-size: 14px;
    }

    .price-value {
        font-size: 26px;
    }

    .price-value small {
        font-size: 16px;
    }

    .price-discount {
        font-size: 10px;
        padding: 3px 8px;
    }

    .hero-stock {
        font-size: 12px;
    }

    .hero-trust-badges {
        gap: 10px;
    }

    .trust-item {
        font-size: 10px;
        gap: 4px;
    }

    .trust-item i {
        font-size: 12px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 13px 24px;
        font-size: 14px;
    }
}
