/* Tutorial Page — 5-Step Full-Bleed Visual Walkthrough */

.tutorial-anchor-bar {
    position: sticky;
    top: 74px;
    z-index: 90;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.tutorial-anchor-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px 30px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0;
}

.tutorial-anchor-list::-webkit-scrollbar {
    display: none;
}

.tutorial-anchor-list a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--muted);
    font-size: var(--text-sm);
    font-weight: 600;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 180ms cubic-bezier(0.22, 1, 0.36, 1),
                border-color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.tutorial-anchor-list a:hover,
.tutorial-anchor-list a:focus-visible {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

/* Full-Bleed Alternating Step Bands */
.tut-band {
    padding: 92px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 124px;
}

.tut-band.is-tinted {
    background: var(--bg);
}

.tut-band.is-dark {
    background: var(--navy);
    color: #ffffff;
    border-bottom: 0;
}

.tut-head {
    max-width: 920px;
    margin: 0 auto 52px;
    text-align: center;
}

.tut-head::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin: 20px auto 0;
    border-radius: 999px;
    background: var(--orange);
}

.tut-head h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3.1vw, 40px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--text);
}

.tut-head p {
    margin: 0 auto;
    color: var(--muted);
    font-size: var(--text-body);
    line-height: 1.75;
}

.tut-band.is-dark .tut-head h2 {
    color: #ffffff;
}

.tut-band.is-dark .tut-head p {
    color: #a9bad0;
}

.tut-band.is-dark .tut-head::after {
    background: #ff9f54;
}

/* Split Visual + Steps Grid */
.tut-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.tut-split.is-reverse .tut-visual {
    order: 2;
}

.tut-bullet-list {
    list-style: none;
    display: grid;
    gap: 18px;
}

.tut-bullet-list li {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    align-items: start;
    font-size: var(--text-body);
    color: var(--ink-soft);
    line-height: 1.75;
}

.tut-bullet-list li i {
    margin-top: 5px;
    color: var(--orange);
    font-size: 16px;
}

.tut-band.is-dark .tut-bullet-list li {
    color: #d8e4f2;
}

.tut-band.is-dark .tut-bullet-list li i {
    color: #ff9f54;
}

.tut-note-box {
    margin-top: 24px;
    padding: 16px 20px;
    border-left: 3px solid var(--orange);
    border-radius: 0 8px 8px 0;
    background: var(--orange-soft);
    color: var(--orange-dark);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.7;
}

/* Visual 1: Onboarding Checklist */
.tut-setup-board {
    padding: 28px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: var(--bg);
    display: grid;
    gap: 12px;
}

.tut-setup-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.tut-setup-row strong {
    display: block;
    font-size: var(--text-body);
    color: var(--text);
}

.tut-setup-row span {
    display: block;
    font-size: var(--text-sm);
    color: var(--muted);
}

.tut-setup-row em {
    font-style: normal;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
}

/* Visual 2: 4-Step Intake Flow */
.tut-flow-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tut-flow-card {
    padding: 24px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(11, 25, 44, 0.04);
}

.tut-flow-num {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--orange);
    font-size: var(--text-sm);
    font-weight: 800;
}

.tut-flow-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: var(--text-body);
    color: var(--text);
}

.tut-flow-card p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--muted);
    line-height: 1.7;
}

/* Visual 3: Dark Fulfillment Track */
.tut-dark-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 36px;
}

.tut-dark-card {
    padding: 26px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
}

.tut-dark-card i {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 20px;
    color: #ff9f54;
}

.tut-dark-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: var(--text-body);
    color: #ffffff;
}

.tut-dark-card p {
    margin: 0;
    font-size: var(--text-sm);
    color: #b4c3d6;
    line-height: 1.7;
}

/* Visual 4: Member Balance + SMS Preview */
.tut-member-visual {
    display: grid;
    gap: 16px;
}

.tut-balance-card {
    padding: 26px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #102542 0%, #1d3c66 100%);
    color: #ffffff;
}

.tut-balance-card span {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.8);
}

.tut-balance-card strong {
    display: block;
    margin: 8px 0 14px;
    font-size: 30px;
    font-weight: 800;
}

.tut-balance-parts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.86);
}

.tut-sms-mini {
    padding: 18px 20px;
    border-radius: 12px;
    background: var(--bg);
    border: 1px solid var(--line);
    font-size: var(--text-sm);
    color: var(--ink-soft);
    line-height: 1.7;
}

.tut-sms-mini strong {
    display: block;
    margin-bottom: 6px;
    color: var(--text);
}

/* Visual 5: Stats Mini Panel */
.tut-stats-panel {
    padding: 28px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    display: grid;
    gap: 18px;
}

.tut-stats-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.tut-stat-box {
    padding: 18px;
    border-radius: 10px;
    background: var(--bg);
    border: 1px solid var(--line);
}

.tut-stat-box span {
    display: block;
    font-size: var(--text-sm);
    color: var(--muted);
    margin-bottom: 6px;
}

.tut-stat-box strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--text);
}

.tut-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 92px;
    padding: 14px 16px 8px;
    border-radius: 10px;
    background: var(--bg);
    border: 1px solid var(--line);
}

.tut-bars i {
    flex: 1;
    display: block;
    border-radius: 4px 4px 0 0;
    background: #d2dfef;
}

.tut-bars i.is-active {
    background: var(--orange);
}

@media (max-width: 960px) {
    .tutorial-anchor-bar {
        top: 68px;
    }

    .tutorial-anchor-list {
        justify-content: flex-start;
    }

    .tut-band {
        padding: 72px 0;
    }

    .tut-split,
    .tut-dark-track {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tut-split.is-reverse .tut-visual {
        order: 0;
    }
}

@media (max-width: 680px) {
    .tut-band {
        padding: 56px 0;
    }

    .tut-flow-steps,
    .tut-stats-row {
        grid-template-columns: 1fr;
    }

    .tut-setup-board,
    .tut-stats-panel {
        padding: 20px 16px;
    }
}
