/* =============================================
   NEEBIFY WALKTHROUGH — CLEAN RESPONSIVE CSS
   ============================================= */

:root {
    --sky: #0ea5e9;
    --sky-light: rgba(14,165,233,0.12);
    --slate-950: #020617;
    --transition-panel: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}

.animated-cursor {
    position: absolute;
    z-index: 999;
    left: 78.5447%;
    top: 24.8083%;
    animation: cursorMove 10s infinite ease-in-out;
}

.cursor-svg {
    filter: drop-shadow(0 8px 10px rgba(15, 23, 42, 0.24));
    animation: cursorPulse 0.1s infinite ease-in-out;
}

/* Cursor Pulse */
@keyframes cursorPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes cursorMove {

    0% {
        left: 78.5447%;
        top: 24.8083%;
    }

    20% {
        left: 23.5447%;
        top: 47.8083%;
    }

    40% {
        left: 60.5447%;
        top: 47.8083%;
    }

    60% {
        left: 78.5447%;
        top: 68.8083%;
    }

    100% {
        left: 78.5447%;
        top: 24.8083%;
    }
}

/* ── Section ────────────────────────────────── */


/* ── Mobile panel overrides ──────────────────── */
@media (max-width: 767px) {
    .mobile-hero-title {
        font-size: 35px !important;
    }

}



/* Custom styles for smooth walkthrough */
#features {
    position: relative;
}

/* Desktop: 400vh for scroll trigger */
@media (min-width: 1024px) {
    #features {
        height: 400vh;
    }
}

/* Sticky container styles */
.sticky-container {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: visible;
}

/* Mobile adjustments */
@media (max-width: 1023px) {
    .sticky-container {
        position: sticky !important;
        top: 0 !important;
        height: 100svh !important;
        min-height: 100svh !important;
        display: flex !important;
        align-items: center !important;
        overflow: hidden !important;
    }

    #features {
        height: 420vh !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .walkthrough-indicator {
        display: none !important;
    }
}

/* Transition styles for steps and panels */
.walkthrough-step,
.walkthrough-panel {
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

/* Dot indicator styles */
.walkthrough-dot {
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    z-index: 20;
}

    .walkthrough-dot:hover {
        transform: translate(-50%, -50%) scale(1.3);
        background-color: #0ea5e9 !important;
    }

    .walkthrough-dot.active {
        background-color: #0ea5e9 !important;
        box-shadow: 0 0 0 8px rgba(14, 165, 233, 0.15);
        transform: translate(-50%, -50%) scale(1.3);
    }

.indicator-ring {
    left: 50%;
    transform: translate(-50%, -50%);
    transition: top 0.18s linear;
    z-index: 15;
    will-change: top;
}

.indicator-progress {
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 0.18s linear;
    will-change: transform;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Desktop positioning */
@media (min-width: 1024px) {
    .walkthrough-step {
        position: absolute;
        inset: 0;
    }

    .walkthrough-panel {
        position: absolute;
        inset: 0;
    }

    .panel-stage {
        display: flex;
        align-items: flex-start;
        padding-top: 3rem;
        overflow: visible !important;
    }

    .walkthrough-panel {
        display: flex;
        align-items: flex-start;
        overflow: visible !important;
    }

    .walkthrough-grid {
        margin-top: 3.75rem !important;
    }

    .panel-stage {
        min-height: min(560px, calc(100svh - 230px)) !important;
        overflow: visible;
    }

    .walkthrough-panel > div {
        /* max-height: min(560px, calc(100svh - 230px)); */
        overflow: visible !important;
        transform: scale(1);
        transform-origin: top center;
        width: 150%;
    }

        .walkthrough-panel > div > div {
            overflow: visible !important;
        }

    .walkthrough-panel[data-panel="3"] > div {
        transform: scale(0.78);
        width: 158.3%;
    }
}

@media (min-width: 1024px) and (max-height: 760px) {
    .sticky-container {
        align-items: center;
        min-height: 100svh;
        padding-top: 0;
    }

    .mx-auto.max-w-3xl.text-center {
        margin-bottom: 0 !important;
    }

    .walkthrough-heading {
        font-size: clamp(2rem, 5.2vh, 2.35rem) !important;
        line-height: 1.14 !important;
    }

    .walkthrough-grid {
        margin-top: 3.25rem !important;
        gap: 1.5rem !important;
    }

    .walkthrough-indicator {
        height: 470px !important;
        transform: scaleY(0.88);
        transform-origin: top center;
    }

    .text-stage {
        min-height: 390px !important;
    }

    .panel-stage {
        min-height: 430px !important;
        padding-top: 2rem;
    }

    .walkthrough-panel > div {
        transform: scale(0.68);
        transform-origin: top center;
        width: 147.1%;
    }

    .walkthrough-panel[data-panel="3"] > div {
        transform: scale(0.64);
        width: 156.3%;
    }
}

/* Mobile positioning */
@media (max-width: 1023px) {
    .text-stage {
        min-height: 270px !important;
    }

    .panel-stage {
        min-height: 434px !important;
    }

    .walkthrough-grid {
        margin-top: 1rem !important;
    }

    .walkthrough-step,
    .walkthrough-panel {
        position: absolute !important;
        inset: 0 !important;
        margin-bottom: 0;
    }

    .lg\:grid-cols-\[104px_0\.56fr_1\.36fr\] {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .premium-action {
        width: 100%;
        justify-content: center;
    }

    .walkthrough-heading {
        font-size: clamp(1.65rem, 8vw, 2.1rem) !important;
    }

    .walkthrough-step {
        padding-right: 0;
    }

    .walkthrough-panel {
        padding-right: 0;
    }

    .walkthrough-step h3 {
        margin-top: 1rem !important;
        font-size: clamp(1.65rem, 8vw, 2.05rem) !important;
        line-height: 1.08 !important;
    }

    .walkthrough-step p {
        margin-top: 0.65rem !important;
        line-height: 1.55 !important;
    }

    .walkthrough-step .premium-action {
        margin-top: 1rem !important;
    }

    .walkthrough-panel > div {
        border-radius: 24px !important;
        padding: 0.65rem !important;
    }

        .walkthrough-panel > div > div {
            border-radius: 18px !important;
            padding: 0.8rem !important;
        }

    .walkthrough-panel .grid {
        gap: 0.5rem !important;
    }

    .walkthrough-panel .text-xl {
        font-size: 1rem !important;
        line-height: 1.25rem !important;
    }

    .walkthrough-panel .text-2xl {
        font-size: 1.25rem !important;
        line-height: 1.6rem !important;
    }

    .walkthrough-panel button {
        white-space: nowrap;
    }
}
