/* css/hero.css */
.hero-container {
    width: 100%;
    min-height: 50rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    z-index: 2;
    gap: 2rem;
}

.hero-title {
    margin-top: 10rem;
    margin-bottom: 0;
    max-width: 36rem;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--text-color);
}

@media (min-width: 1024px) {
    .hero-title {
        max-width: 50rem;
        font-size: 5rem;
        letter-spacing: -0.05em;
    }
}

.hero-description {
    max-width: 50rem;
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.5;
    margin: 0;
}

.hero-marquee-wrapper {
    margin-top: 2rem;
    width: 100%;
    max-width: 1100px; /* fits nicely inside the 1200px container */
    height: 20rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1200px;
    border-radius: 24px;
    /* Updated mask for faded bottom edge only */
    mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 95%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 95%);
}

.hero-marquee-container {
    display: flex;
    gap: 1.5rem;
    /* 3D Isometric-like Rotation to match mock-up */
    transform: translateX(-5%) rotateX(45deg) rotateZ(-35deg) scale(1.1);
    transform-style: preserve-3d;
    height: 250%;
    width: 250%;
    justify-content: center;
    align-items: center;
}

.marquee-column {
    display: flex;
    flex-direction: column;
    width: 280px;
    gap: 1.5rem;
    flex-shrink: 0;
    height: 100%; /* forces it to take wrapper height so its origin Y=0 remains at the top */
    min-height: 100%;
}

.marquee-track-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    will-change: transform;
}

/* Animations only start once images are loaded (JS adds .loaded) */
.column-up.loaded .marquee-track-vertical {
    animation: scroll-up 45s linear infinite;
}

.column-down.loaded .marquee-track-vertical {
    animation: scroll-down 45s linear infinite;
}

.column-down.fast.loaded .marquee-track-vertical {
    animation-duration: 35s;
}

.column-up.slow.loaded .marquee-track-vertical {
    animation-duration: 55s;
}

.marquee-track-vertical img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

@keyframes scroll-up {
    0% { transform: translateY(calc(-25% - 0.375rem)); }
    100% { transform: translateY(calc(-50% - 0.75rem)); }
}

@keyframes scroll-down {
    0% { transform: translateY(calc(-50% - 0.75rem)); }
    100% { transform: translateY(calc(-25% - 0.375rem)); }
}

.marquee-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--bg-color), transparent);
    pointer-events: none;
    z-index: 10;
}

.marquee-gradient-overlay-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15%;
    background: linear-gradient(to bottom, var(--bg-color), transparent);
    pointer-events: none;
    z-index: 10;
}

/* ── Hero CTA Buttons ── */
.hero-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
}

/* "For Brands" — dark teal pill */
.hero-cta-brands {
    background-color: #436363;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(67, 99, 99, 0.2);
}

.hero-cta-brands:hover {
    background-color: #385353;
    box-shadow: 0 6px 20px rgba(67, 99, 99, 0.3);
}

/* "For Creators" — sage green pill */
.hero-cta-creators {
    background-color: #A6D099;
    color: #405D5E;
    box-shadow: 0 4px 14px rgba(166, 208, 153, 0.25);
}

.hero-cta-creators:hover {
    background-color: #94bc88;
    box-shadow: 0 6px 20px rgba(166, 208, 153, 0.35);
}
