/* Scroll Experience Section (Wiser-style) */
.scroll-experience {
    position: relative;
    background-color: var(--bg-primary);
    /* Make it tall enough to scroll through */
    height: 400vh;
    z-index: 10;
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Text */
.bg-text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.bg-text {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(100px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 40px;
}

.bg-text.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.bg-text h2 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    opacity: 0.1;
    /* Very subtle background text */
    margin: 0;
    /* Optional: Stroke effect like Wiser */
    /* -webkit-text-stroke: 1px var(--text-primary); */
    /* color: transparent; */
}

/* Phone Mockup */
.phone-mockup-wrapper {
    position: relative;
    z-index: 5;
    width: 300px;
    height: 600px;
    /* transition: transform 0.5s ease; */
}

.phone-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 40px;
    border: 8px solid #333;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: #333;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10;
}

.phone-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.phone-screen.active {
    opacity: 1;
}

/* Scroll Steps (Triggers) */
.scroll-steps {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.step {
    height: 100vh;
    /* border: 1px solid red;  Debug: visualize steps */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .phone-mockup-wrapper {
        width: 260px;
        height: 520px;
    }

    .bg-text h2 {
        font-size: 3rem;
    }
}