/* ========================================================================= */
/* Index Hero Section with Integrated Progress Bar - Orbital Rings */
/* ========================================================================= */
.indexhero {
    background: linear-gradient(to bottom, #000000 0%, #0a0a1e 30%, #1e1e3a 60%, #000000 100%);
    padding: 60px 0 40px 0;
    text-align: center;
    margin-bottom: 0px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.indexhero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(107, 72, 255, 0.2) 10%, transparent 60%);
    border: 1px solid rgba(107, 72, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: orbitSpin 12s linear infinite;
}

.indexhero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(107, 72, 255, 0.15) 10%, transparent 60%);
    border: 1px solid rgba(107, 72, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    animation: orbitSpin 16s linear infinite reverse;
}

.indexhero .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.indexhero h1 {
    font-size: calc(3.3rem * 1.4);
    font-weight: 600;
    margin-top: 200px;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #ffffff, #ffffff);
    -webkit-background-clip: text;
    color: transparent;
}

.indexhero p {
    font-size: calc(1rem * 1.2);
    margin-bottom: 20px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 0 10px rgba(107, 72, 255, 0.6);
}

.indexhero .progress-bar-tracker {
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-top: 50px;
    margin-bottom: 150px;
    width: 100%;
}

.indexhero .progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    position: relative;
    --progress-width: 25%;
    max-width: 1200px;
    margin: 0 auto;
}

.indexhero .progress-bar a {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.indexhero .step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    cursor: pointer;
    width: 100%;
}

.indexhero .step-item i {
    font-size: 28px;
    color: #5a35fc;
    background-color: rgba(42, 42, 62, 0.8);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(107, 72, 255, 0.3);
}

.indexhero .step-item span {
    font-size: calc(1.2rem * 1.2);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    margin-top: 14px;
    white-space: nowrap;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(107, 72, 255, 0.4);
}

.indexhero .step-item:hover i {
    transform: scale(1.15);
    color: #5a35fc;
    box-shadow: 0 0 15px rgba(107, 72, 255, 0.5);
}

.indexhero .step-item:hover span {
    text-shadow: 0 0 6px rgba(107, 72, 255, 0.5);
}

.indexhero .step-item.active i {
    color: #5a35fc;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(107, 72, 255, 0.5);
}

.indexhero .step-item.active span {
    color: #ffffff;
    font-weight: 500;
    margin-top: 12px;
    text-shadow: 0 0 5px rgba(107, 72, 255, 0.4);
}

.indexhero .progress-bar::before {
    content: '';
    position: absolute;
    top: 33px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(51, 51, 68, 0.8);
    z-index: 0;
}

.indexhero .progress-bar::after {
    content: '';
    position: absolute;
    top: 33px;
    left: 0;
    height: 6px;
    background: linear-gradient(to right, #5a35fc, #6b48ff);
    width: var(--progress-width);
    transition: width 0.5s ease;
    box-shadow: 0 0 12px rgba(107, 72, 255, 0.7);
    z-index: 0;
}

@keyframes orbitSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ========================================================================= */
/* Buttons */
/* ========================================================================= */
.indexcta-buttons {
    display: flex;
    flex-direction: row;
    margin-top: 25px;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.indexcta-buttons a {
    padding: 12px 25px;
    font-size: calc(1rem * 1);
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.indexbtn-primary {
    background-color: #6b48ff;
    color: #fff;
}

.indexbtn-primary:hover {
    background-color: #7c5aff;
}

.indexbtn-secondary {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}

.indexbtn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ========================================================================= */
/* Section Separator */
/* ========================================================================= */
.section-separator {
    width: 90%;
    max-width: 1200px;
    height: 3px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 60px auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: none;
    position: relative;
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* ========================================================================= */
/* Media Queries for Index Hero and Progress Bar */
/* ========================================================================= */
@media (max-width: 768px) {
    .indexhero {
        padding-top: 100px;
        padding: 20px 15px 30px 15px;
        min-height: 450px;
    }

    .indexhero::before {
        top: 45%;
        left: 50%;
        width: 140%;
        height: 50%;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(107, 72, 255, 0.3) 10%, transparent 70%);
        animation: orbitSpin 18s linear infinite;
    }

    .indexhero::after {
        top: 45%;
        left: 50%;
        width: 110%;
        height: 45%;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(107, 72, 255, 0.25) 10%, transparent 70%);
        animation: orbitSpin 24s linear infinite reverse;
    }

    .indexhero h1 {
        font-size: 3rem;
        margin-top: 80px;
    }

    .indexhero p {
        font-size: 1.1rem;
    }

    .indexhero .progress-bar {
        height: 110px;
        min-width: 600px;
        margin-top: 10px;
        max-width: none;
        margin: 0;
        padding: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .indexhero .step-item {
        flex: 0 0 auto;
        width: 120px;
    }

    .indexhero .step-item i {
        font-size: 24px;
        width: 40px;
        height: 40px;
        color: #5a35fc;
    }

    .indexhero .step-item span {
        font-size: calc(1rem * 1.2);
    }

    .indexhero .progress-bar::before {
        top: 40px;
        height: 4px;
    }

    .indexhero .progress-bar::after {
        top: 40px;
        height: 4px;
    }
}

@media (max-width: 625px) {
    .indexhero .progress-bar-tracker {
        display: none;
    }

    .indexhero {
        padding: 20px 15px;
        min-height: 350px;
    }

    .indexhero h1 {
        font-size: 2.5rem;
    }

    .indexhero p {
        font-size: 1rem;
    }
}