/* =========================================================================
   Formasync — User Guide pages
   ========================================================================= */

.guide-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3rem, 8vw, 5rem);
    border-bottom: 1px solid var(--border-subtle);
    isolation: isolate;
}

.guide-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%,
            var(--brand-purple-glow) 0%,
            transparent 60%);
    z-index: -1;
}

.guide-hero__inner {
    text-align: center;
}

.guide-hero__eyebrow {
    display: inline-block;
    color: var(--brand-purple-light);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.guide-hero__title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.guide-hero__lede {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    max-width: 60ch;
    margin-inline: auto;
}

/* Steps */

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-7);
}

.guide-step {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-7);
    align-items: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    padding: var(--space-7);
    transition: border-color var(--transition-base),
                transform var(--transition-base);
}

.guide-step:hover {
    border-color: var(--brand-purple-light);
}

.guide-step:nth-child(even) {
    grid-template-columns: 1fr 1.5fr;
}

.guide-step:nth-child(even) .guide-step__content {
    order: 2;
}

.guide-step:nth-child(even) .guide-step__visual {
    order: 1;
}

@media (max-width: 800px) {
    .guide-step,
    .guide-step:nth-child(even) {
        grid-template-columns: 1fr;
        padding: var(--space-5);
        gap: var(--space-5);
    }

    .guide-step:nth-child(even) .guide-step__content {
        order: unset;
    }

    .guide-step:nth-child(even) .guide-step__visual {
        order: unset;
    }
}

.guide-step__number {
    display: inline-block;
    color: var(--brand-purple-light);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.guide-step__title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
}

.guide-step__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.guide-step__list li {
    position: relative;
    padding-left: var(--space-6);
    color: var(--text-secondary);
    line-height: 1.6;
}

.guide-step__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-purple-light);
}

.guide-step__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.guide-step__visual::before {
    content: '';
    position: absolute;
    inset: 15%;
    background: radial-gradient(circle,
        var(--brand-purple-glow) 0%,
        transparent 70%);
    filter: blur(30px);
    z-index: 0;
}

.guide-step__visual img {
    position: relative;
    z-index: 1;
    max-height: 280px;
    width: auto;
    border-radius: var(--radius-md);
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.5));
}

/* Coming soon variant */

.coming-soon {
    text-align: center;
    padding-block: var(--space-9);
}

.coming-soon__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--brand-purple-light);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-glow);
    font-size: 2.5rem;
}

.coming-soon__title {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-4);
}

.coming-soon__text {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    max-width: 50ch;
    margin-inline: auto;
    margin-bottom: var(--space-7);
}
