.landing-guide-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(11, 25, 44, 0.56);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.landing-guide-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.landing-guide-spotlight {
    position: fixed;
    z-index: 2001;
    border: 2px solid var(--primary);
    border-radius: var(--radius-md,12px);
    box-shadow: 0 0 0 9999px rgba(11, 25, 44, 0.56), 0 0 0 6px var(--scc-primary-20,rgba(26,115,232,.2)), var(--shadow-xl,0 25px 50px -12px rgba(0,0,0,.15));
    opacity: 0;
    pointer-events: none;
    transition: top 0.48s cubic-bezier(0.25, 1, 0.5, 1), left 0.48s cubic-bezier(0.25, 1, 0.5, 1), width 0.48s cubic-bezier(0.25, 1, 0.5, 1), height 0.48s cubic-bezier(0.25, 1, 0.5, 1), border-radius 0.48s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.24s ease;
}

.landing-guide-spotlight.active {
    opacity: 1;
}

.landing-guide-card {
    position: fixed;
    z-index: 2002;
    width: min(360px, calc(100vw - 32px));
    padding: 1rem;
    border: 1px solid var(--scc-primary-20,rgba(26,115,232,.2));
    border-radius: var(--radius-lg,16px);
    background-color: var(--bg-main,#fff);
    color: var(--text-main,#1d2128);
    box-shadow: var(--shadow-xl,0 25px 50px -12px rgba(0,0,0,.15));
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.24s ease, transform 0.24s ease, top 0.48s cubic-bezier(0.25, 1, 0.5, 1), left 0.48s cubic-bezier(0.25, 1, 0.5, 1);
}

.landing-guide-card.active {
    opacity: 1;
    transform: translateY(0);
}

.landing-guide-card.is-moving {
    opacity: 0;
    transform: translateY(6px);
}

.landing-guide-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.landing-guide-title {
    margin: 0;
    color: var(--text-main,#1d2128);
    font-size: 1.05rem;
}

.landing-guide-description {
    margin: 0.45rem 0 0;
    color: var(--text-muted,#5f6368);
    font-size: 0.92rem;
    line-height: 1.5;
}

.landing-guide-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
}

.landing-guide-progress {
    color: var(--text-muted,#5f6368);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.landing-guide-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.landing-guide-button {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.55rem 0.75rem;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.landing-guide-button:hover,
.landing-guide-button:focus-visible {
    outline: 2px solid var(--scc-primary-20,rgba(26,115,232,.2));
    outline-offset: 2px;
    transform: translateY(-1px);
}

.landing-guide-button.primary {
    background-color: var(--primary);
    color: var(--text-white,#fff);
}

.landing-guide-button.secondary {
    background-color: var(--scc-primary-10,rgba(26,115,232,.1));
    color: var(--primary);
}

.landing-guide-button.ghost {
    background-color: transparent;
    color: var(--text-muted,#5f6368);
}

.landing-guide-close {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background-color: transparent;
    color: var(--text-muted,#5f6368);
    cursor: pointer;
}

.landing-guide-close:hover,
.landing-guide-close:focus-visible {
    background-color: var(--scc-primary-10,rgba(26,115,232,.1));
    color: var(--primary);
    outline: none;
}

html[data-theme="dark"] .landing-guide-card,
body.dark-mode .landing-guide-card {
    background-color: var(--dark-surface,#1b2b42);
    color: var(--text-white,#fff);
    border-color: var(--white-20,rgba(255,255,255,.2));
}

html[data-theme="dark"] .landing-guide-title,
body.dark-mode .landing-guide-title {
    color: var(--text-white,#fff);
}

html[data-theme="dark"] .landing-guide-description,
html[data-theme="dark"] .landing-guide-progress,
body.dark-mode .landing-guide-description,
body.dark-mode .landing-guide-progress {
    color: var(--text-white-80,rgba(255,255,255,.8));
}

@media(max-width: 767px) {
    .landing-guide-card {
        width: calc(100vw - 24px);
        padding: 0.9rem;
    }

    .landing-guide-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .landing-guide-actions {
        justify-content: stretch;
    }

    .landing-guide-button {
        flex: 1 1 auto;
    }
}

@media(prefers-reduced-motion: reduce) {
    .landing-guide-overlay,
    .landing-guide-spotlight,
    .landing-guide-card,
    .guide-inline-button,
    .landing-guide-button {
        transition: none;
    }
}
.landing-guide-overlay.scc-guide-interactive.active { background:transparent; pointer-events:none; }
.landing-guide-card { max-height:calc(100dvh - 24px); overflow-y:auto; }
.landing-guide-card [hidden] { display:none!important; }
.landing-guide-button:disabled { opacity:.5; cursor:not-allowed; }
.scc-guide-module { --primary:#1a73e8; }
html.dark-mode .landing-guide-card { background:#1b2b42; color:#fff; }
html.dark-mode .landing-guide-title,html.dark-mode .landing-guide-description,html.dark-mode .landing-guide-progress { color:#fff; }

.landing-guide-card[hidden] { display:none!important; }
.landing-guide-close:focus-visible { outline:2px solid var(--primary); outline-offset:2px; }
