/* ================================================
   STEPS SECTION — Glassmorphic + Scroll-Driven
   ================================================ */

.steps-section {
    padding: 6rem 0;
    position: relative;
}

/* ── Two-column layout ── */
.steps-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* ================================================
   GLASSMORPHISM BASE — Shared by both panels
   ================================================ */
.steps-info-card,
.steps-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Glass shine effect — diagonal gradient reflection */
.card-glass-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.06) 0%,
            transparent 40%,
            transparent 60%,
            rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
    z-index: 0;
}

/* ================================================
   LEFT PANEL — Info Card
   ================================================ */
.steps-info-card {
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
}

.steps-eyebrow {
    position: relative;
    z-index: 1;
    color: var(--accent-purple);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.steps-heading {
    position: relative;
    z-index: 1;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
}

.steps-heading-accent {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.steps-description {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 2rem;
}

.steps-cta-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.steps-cta-btn:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
}

/* ── Globe Visual ── */
.steps-visual {
    position: absolute;
    bottom: -40px;
    right: -20px;
    width: 280px;
    height: 280px;
    pointer-events: none;
    z-index: 0;
}

.globe-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle,
            rgba(139, 92, 246, 0.15) 0%,
            rgba(236, 72, 153, 0.08) 40%,
            transparent 70%);
    filter: blur(30px);
    animation: globePulse 4s ease-in-out infinite;
}

/* Trust Badge Style */
.steps-trust-badge {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.steps-trust-star {
    color: #eab308;
    font-size: 1rem;
    filter: drop-shadow(0 0 5px rgba(234, 179, 8, 0.5));
}

.globe-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
            rgba(139, 92, 246, 0.3) 0%,
            rgba(15, 15, 25, 0.8) 70%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
}

.globe-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.12);
    transform: translate(-50%, -50%);
    animation: ringExpand 6s ease-in-out infinite;
}

.ring-1 {
    width: 140px;
    height: 140px;
    animation-delay: 0s;
}

.ring-2 {
    width: 190px;
    height: 190px;
    animation-delay: 1s;
    border-color: rgba(236, 72, 153, 0.1);
}

.ring-3 {
    width: 240px;
    height: 240px;
    animation-delay: 2s;
    border-color: rgba(139, 92, 246, 0.06);
}

@keyframes globePulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes ringExpand {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

/* ================================================
   RIGHT PANEL — Steps Card
   ================================================ */
.steps-card {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Vertical Progress Track ── */
.progress-track {
    position: absolute;
    left: 54px;
    top: 60px;
    bottom: 60px;
    width: 3px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    overflow: hidden;
    z-index: 0;
}

.progress-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom,
            var(--accent-purple) 0%,
            var(--accent-pink) 50%,
            #ff6b35 100%);
    border-radius: 4px;
    box-shadow: 0 0 14px rgba(139, 92, 246, 0.6);
    will-change: height;
    transition: height 0.15s ease-out;
}

/* ── Individual Step ── */
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.8rem 0;
    position: relative;
    z-index: 1;
    /* Start hidden — reveal on scroll */
    opacity: 0;
    transform: translateX(25px) translateY(8px);
    filter: blur(3px);
    transition:
        opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.5s ease-out;
}

/* Staggered delays for each step */
.step-item:nth-child(1) {
    transition-delay: 0s;
}

.step-item:nth-child(2) {
    transition-delay: 0.1s;
}

.step-item:nth-child(3) {
    transition-delay: 0.2s;
}

.step-item:nth-child(4) {
    transition-delay: 0.3s;
}

.step-item.step-visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
    filter: blur(0);
}

.step-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ── Step Number Circle ── */
.step-number-wrapper {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    transition:
        background 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        color 0.4s ease,
        box-shadow 0.6s ease,
        transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-item.step-visible .step-number {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    transform: scale(1.12);
}

/* ── Step Content ── */
.step-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.step-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-pink);
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 6px 0;
}

.step-desc {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    margin: 0;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 968px) {
    .steps-layout {
        grid-template-columns: 1fr;
    }

    .steps-info-card {
        padding: 2.5rem 2rem;
    }

    .steps-heading {
        font-size: 2.2rem;
    }

    .steps-visual {
        width: 200px;
        height: 200px;
        bottom: -20px;
        right: -10px;
    }

    .globe-core {
        width: 70px;
        height: 70px;
    }

    .ring-1 {
        width: 100px;
        height: 100px;
    }

    .ring-2 {
        width: 140px;
        height: 140px;
    }

    .ring-3 {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 576px) {
    .steps-section {
        padding: 3rem 0;
    }

    .steps-info-card {
        padding: 2rem 1.5rem;
    }

    .steps-heading {
        font-size: 1.8rem;
    }

    .steps-description {
        font-size: 0.85rem;
    }

    .steps-card {
        padding: 2rem 1.5rem;
    }

    .step-item {
        gap: 1rem;
        padding: 1.4rem 0;
    }

    .step-title {
        font-size: 1.05rem;
    }

    .step-desc {
        font-size: 0.82rem;
    }

    .progress-track {
        left: 38px;
    }

    .step-number-wrapper,
    .step-number {
        width: 36px;
        height: 36px;
    }

    .step-number {
        font-size: 0.75rem;
    }

    .steps-visual {
        display: none;
    }
}