/* Modern clean styling for the steps UI */

body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 0;
    color: var(--color-text-main);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex-grow: 1;
    padding: 0 20px 100px;
}

.main-heading {
    width: 100%;
    text-align: center;
    margin: 30px 0px 70px 0px;
}

.steps-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: repeat(3, 1fr);
}

/* Step headers */
.step-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px;
}

.step-header {
    background: var(--color-surface-1);
    padding: 8px 0;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid var(--color-border-subtle);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1;
    grid-row: 1;
}

.step-header.hover-active {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-blue);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.step-card {
    background: var(--color-surface-1);
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid transparent;
    flex-grow: 1;
    grid-row: 2;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent-blue);
}

.icon {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 16px;
    background-color: var(--color-chip-bg);
    color: var(--color-accent-blue);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.step-card h3 {
    margin: 10px 0 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.step-card p {
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--color-text-soft);
}

/* Responsive behavior */
@media (max-width: 900px) {
    .steps-container {
        grid-template-columns: 1fr;
        grid-template-rows: unset;
        gap: 32px;
    }

    .step-item {
        gap: 5px;
    }

    .step-header,
    .step-card {
        grid-row: unset;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}
