/* static/css/components/hero.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600&display=swap');

/* ========================
   Hero Section
======================== */
.hero {
    position: relative;
    width: 100%;
}

/* Header inside hero */
.hero .header-v1 {
    position: relative !important;
    z-index: 100;
    background: #fff;
}

/* ========================
   Layout: panel + image (mobile-first: stacked)
======================== */
.hero__layout {
    display: flex;
    flex-direction: column;
}

/* ========================
   Left Black Panel
======================== */
.hero__panel {
    background: #000;
    border-radius: 0 0 40px 0;
    padding: 40px 24px 48px 24px;
    display: flex;
    align-items: center;
}

/* Content inside panel */
.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    flex-shrink: 0;
}

/* Section: title + desc + CTAs */
.hero__text-and-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
    align-self: stretch;
}

/* Title + description */
.hero__title-desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
}

/* Title */
.hero__title {
    color: #FFF;
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    margin: 0;
}

.hero__title--accent {
    color: #E91E8C;
}

/* Description */
.hero__description {
    color: rgba(255, 255, 255, 0.60);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

/* ========================
   Buttons
======================== */
.hero__buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero__btn-primary {
    display: inline-flex;
    height: 48px;
    padding: 7.801px 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 35px;
    border: none;
    background: radial-gradient(97.54% 50.91% at 50% 2.46%, #7B1B3D 0%, #EB1260 100%);
    color: #FFF;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero__btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(235, 18, 96, 0.35);
    color: #FFF;
}

.hero__btn-secondary {
    display: flex;
    width: 162px;
    height: 48px;
    padding: 7.872px 15.744px;
    justify-content: center;
    align-items: center;
    gap: 9.84px;
    border-radius: 35px;
    border: 0.984px solid rgba(226, 232, 240, 0.98);
    background: transparent;
    color: #FFF;
    font-family: 'Poppins', sans-serif;
    font-size: 15.744px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
}

.hero__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ========================
   Stats
======================== */
.hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.hero__stat {
    display: flex;
    flex: 1;
    min-width: 120px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.hero__stat-value {
    color: var(--White, #FFF);
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.hero__stat-label {
    color: rgba(255, 255, 255, 0.60);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* ========================
   Right Image
======================== */
.hero__image-side {
    flex: 1;
    overflow: hidden;
}

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    aspect-ratio: 109 / 63;
}

/* ========================
   Scroll Indicator
======================== */
.hero__scroll-indicator {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 10;
}

.hero__scroll-gif {
    width: 54px;
    height: auto;
}

/* ========================
   Tablet (640px+)
======================== */
@media (min-width: 640px) {
    .hero__panel {
        padding: 48px 40px 64px 60px;
        border-radius: 0 0 60px 0;
    }

    .hero__title {
        font-size: 38px;
    }

    .hero__image-side {
        min-height: 360px;
    }

    .hero__stats {
        flex-wrap: nowrap;
    }
}

/* ========================
   Desktop (1024px+)
======================== */
@media (min-width: 1024px) {
    .hero__layout {
        flex-direction: row;
        align-items: stretch;
    }

    .hero__panel {
        width: 50%;
        min-height: 705px;
        flex-shrink: 0;
        padding: 30px 30px 30px 121px;
        border-radius: 0 0 100px 0;
        align-items: center;
        position: relative;
        z-index: 2;
    }

    .hero__content {
        width: 100%;
        max-width: 599px;
        height: 495px;
    }

    .hero__text-and-cta {
        height: 356px;
        flex-shrink: 0;
    }

    .hero__title {
        font-size: 44px;
    }

    .hero__image-side {
        flex: 1;
        min-height: 705px;
        margin-left: -100px;
        position: relative;
        z-index: 1;
    }

    .hero__image {
        aspect-ratio: 109 / 63;
    }
}

/* ========================
   Messages (shared)
======================== */
.messages-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.alert {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    color: white;
    z-index: 10000000 !important;
    animation: fadeOut 5s ease-in-out forwards;
}

.alert--success { background: var(--accent-secondary); }
.alert--error { background: var(--accent-danger); }
.alert--warning { background: var(--accent-warning); }
.alert--info { background: var(--accent-primary); }

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}
