/* =========================================================
   HOME PAGE — SPECIFIC STYLES
   ========================================================= */

/* ---- HERO ---- */
.hero-section {
    position: relative;
    min-height: 560px;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    min-height: 560px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    padding: 60px;
    max-width: 1280px;
    margin: 0 auto;
    min-height: 560px;
}

.hero-slide.active {
    opacity: 1;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
}

/* Override for dark slides—inject BG on parent */
.hero-carousel {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 184, 0, 0.15);
    color: var(--gold);
    border: 1px solid rgba(245, 184, 0, 0.4);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-sub {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-num {
    font-size: 24px;
    font-weight: 900;
    color: var(--gold);
}

.stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

/* Hero Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 440px;
}

.hero-phone-mockup {
    width: 200px;
    background: #1a1a2e;
    border-radius: 28px;
    padding: 16px 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

.phone-screen {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    padding: 10px 8px;
}

.phone-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
    margin-bottom: 8px;
    font-size: 11px;
}

.phone-app-banner {
    background: linear-gradient(135deg, var(--red), #ff4444);
    color: white;
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    padding: 5px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.phone-products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 10px;
}

.phone-product {
    border-radius: 8px;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
}

.phone-cart-btn {
    background: linear-gradient(135deg, var(--red), #ff4444);
    color: white;
    text-align: center;
    padding: 7px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
}

/* Floating labels */
.hero-floating {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    animation: float-label 4s ease-in-out infinite;
    z-index: 3;
}

.floating-1 {
    top: 40px;
    right: -20px;
    animation-delay: 0s;
    color: var(--red);
    border-left: 3px solid var(--red);
}

.floating-2 {
    bottom: 120px;
    left: -30px;
    animation-delay: 1.2s;
    color: #2ecc71;
    border-left: 3px solid #2ecc71;
}

.floating-3 {
    bottom: 60px;
    right: -20px;
    animation-delay: 0.6s;
    border-left: 3px solid var(--red);
}

@keyframes float-label {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--gold);
}

/* Flash Section */
.flash-section {
    position: relative;
    overflow: hidden;
}

.flash-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.15), transparent 70%);
    pointer-events: none;
}

/* Recommendation Tabs */
.recommendation-tabs {
    display: flex;
    gap: 4px;
    background: var(--gray-2);
    padding: 4px;
    border-radius: var(--radius-md);
}

.rec-tab {
    background: transparent;
    border: none;
    padding: 7px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-6);
    transition: var(--transition);
    cursor: pointer;
}

.rec-tab.active {
    background: white;
    color: var(--red);
    box-shadow: var(--shadow-sm);
}

.rec-tab:hover:not(.active) {
    color: var(--text);
}

/* ---- RESPONSIVE (Home specific) ---- */
@media (max-width: 1024px) {
    .hero-slide {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-num {
        font-size: 20px;
    }
}