/* 🔒 FULLY ISOLATED SECTION */
.astro-how-section {
    padding: 80px 20px;
    background: linear-gradient(135deg,#f6f3ff,#f3e9dc);
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 1;
}

/* CONTAINER */
.astro-how-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
    align-items: stretch;
}

/* ================= */
/* 🔵 LEFT */
/* ================= */

.astro-how-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* GRID */
.astro-steps-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
}

/* CONNECTION LINE */
.astro-steps-grid::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 50%;
    width: 2px;
    background: linear-gradient(#ff8c00,#ffd700);
    transform: translateX(-50%);
    opacity: 0.2;
}

/* STEP CARD */
.astro-step-card {
    background: #1e1e2f;
    color: #fff;
    padding: 22px;
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

/* ENTRY ANIMATION */
.astro-step-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease forwards;
}

.astro-step-card:nth-child(1){animation-delay:0.1s;}
.astro-step-card:nth-child(2){animation-delay:0.2s;}
.astro-step-card:nth-child(3){animation-delay:0.3s;}
.astro-step-card:nth-child(4){animation-delay:0.4s;}

/* HOVER */
.astro-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* NUMBER */
.astro-step-number {
    font-size: 46px;
    font-weight: 800;
    background: linear-gradient(45deg,#ff8c00,#ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* TEXT */
.astro-step-card p {
    color: #ccc;
    font-size: 14px;
}

/* ================= */
/* 🟣 RIGHT FORM (FIXED PROPERLY) */
/* ================= */

.astro-how-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;

    background: linear-gradient(135deg,#fff,#fff8f0);
    padding: 28px;
    border-radius: 20px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.08);

    position: relative; /* 🔥 FIX */
}

/* REMOVE HEIGHT RESTRICTION ❌ */
.astro-how-right {
    max-height: none;
}

/* FORM */
.astro-how-right form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* GLOW BORDER FIX */
.astro-how-right::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    background: linear-gradient(45deg,#ff8c00,#ffd700);
    z-index: -1;
    opacity: 0.08;
}

/* TITLE */
.astro-form-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
}

/* TRUST */
.astro-form-trust {
    text-align: center;
    font-size: 13px;
    margin-bottom: 10px;
}

/* URGENCY */
.astro-form-urgency {
    font-size: 13px;
    text-align: center;
    margin-top: 10px;
    color: #d35400;
}

/* ================= */
/* 🔥 ANIMATION */
/* ================= */

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= */
/* 📱 RESPONSIVE */
/* ================= */

@media (max-width: 900px) {

    .astro-how-container {
        flex-direction: column;
    }

    .astro-steps-grid {
        grid-template-columns: 1fr;
    }

    .astro-steps-grid::before {
        display: none;
    }

}