/* =====================================================
   UI/UX PRO MAX - PREMIUM SERVICE LAYOUT
   ===================================================== */

:root {
    --stack-top-offset: 120px;
    --stack-card-gap: 30px;
}

/* --- PREMIUM HERO --- */
.hero-premium {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    padding: 0 4vw 10vh 4vw;
}

.hero-premium__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(212, 167, 72, 0.08), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(59, 155, 217, 0.08), transparent 50%);
    z-index: 0;
}

.hero-premium__tag {
    font-family: 'Acumin Pro', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 2;
}

.hero-premium__tag::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--color-primary);
}

.hero-premium__title {
    font-family: 'Acumin Pro', sans-serif;
    font-size: clamp(4rem, 12vw, 14rem);
    line-height: 0.8;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    letter-spacing: -0.03em;
    margin-bottom: 4rem;
    z-index: 2;
    position: relative;
    mix-blend-mode: screen;
    /* Interactions with 3D Assets */
}

.hero-premium__asset-container {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 30vw;
    height: 30vw;
    z-index: 1;
    pointer-events: auto;
    opacity: 0.8;
}

.hero-premium__scroll {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- STICKY STACK SECTION --- */
.stack-section {
    padding: 10vh 0 20vh 0;
    background: #050505;
}

.stack-header {
    text-align: center;
    margin-bottom: 15vh;
    padding: 0 2rem;
}

.stack-header h2 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    margin-bottom: 1rem;
}

.stack-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4vw;
    position: relative;
}

.stack-card {
    position: sticky;
    top: var(--stack-top-offset);
    height: 60vh;
    min-height: 500px;
    background: rgba(15, 15, 15, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    margin-bottom: var(--stack-card-gap);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.5);
    transform-origin: center top;
    overflow: hidden;
}

/* Differentiate cards for visual depth */
.stack-card:nth-child(1) {
    top: calc(var(--stack-top-offset) + 0px);
    z-index: 1;
}

.stack-card:nth-child(2) {
    top: calc(var(--stack-top-offset) + 30px);
    z-index: 2;
}

.stack-card:nth-child(3) {
    top: calc(var(--stack-top-offset) + 60px);
    z-index: 3;
}

.stack-card:nth-child(4) {
    top: calc(var(--stack-top-offset) + 90px);
    z-index: 4;
}

.stack-card__number {
    font-family: 'Acumin Pro', sans-serif;
    font-size: 10rem;
    line-height: 1;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 0;
}

.stack-card__content {
    position: relative;
    z-index: 1;
}

.stack-card__title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stack-card__desc {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    /* Match global premium p style */
    line-height: 1.6;
    font-weight: 300;
}

.stack-card__visual {
    position: relative;
    height: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .stack-card {
        grid-template-columns: 1fr;
        height: auto;
        padding: 3rem;
        gap: 2rem;
    }

    .stack-card__visual {
        min-height: 250px;
    }

    .hero-premium__title {
        font-size: 15vw;
    }
}