/* Welcome Guide & Visitor Pitch Modals */

/* ---- Shared overlay ---- */
.wg-overlay,
.vp-overlay {
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 41%);
    backdrop-filter: blur(4px);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.wg-overlay.active,
.vp-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ---- Shared modal container ---- */
.wg-modal,
.vp-modal {
    background: var(--bg-panel, linear-gradient(180deg, #16181f 0%, #0f1115 100%));
    border: 1px solid rgba(197, 164, 78, 0.30);
    border-radius: 3px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    color: var(--text-primary, #f5f5f5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

ul.welcome-list {
    font-family: Crimson;
    color: #9299a9;
}

.wg-overlay.active .wg-modal,
.vp-overlay.active .vp-modal {
    transform: translateY(0);
}

img.welcome-ecosystem {
    width: 100%;
}

/* ---- Close button ---- */
.wg-close,
.vp-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary, #a0a8b8);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}

img.welcome-logo {
    width: 100%;
}

.wg-close:hover,
.vp-close:hover {
    color: var(--text-primary, #f5f5f5);
}

/* ======================================================
   WELCOME GUIDE (Carousel)
   ====================================================== */

.wg-step {
    display: none;
    text-align: center;
    animation: wgFadeIn 0.3s ease;
}

.wg-step.active {
    display: block;
}

@keyframes wgFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wg-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    display: block;
}

.wg-step h2 {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: 1.4rem;
    color: #dfc06a;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.wg-step p {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 1.1rem;
    color: var(--text-secondary, #a0a8b8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Progress dots */
.wg-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.5rem;
}

.wg-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #444;
    transition: background 0.25s;
    cursor: pointer;
}

.wg-dot.active {
    background: #dfc06a;
}

/* Navigation buttons */
.wg-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.wg-btn {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border: 1px solid rgba(197, 164, 78, 0.30);
}

.wg-btn-prev {
    background: transparent;
    color: var(--text-secondary, #a0a8b8);
}

.wg-btn-prev:hover {
    color: var(--text-primary, #f5f5f5);
    border-color: rgba(197, 164, 78, 0.6);
}

.wg-btn-next,
.wg-btn-finish {
    background: #dfc06a;
    color: #0f1115;
    border-color: #dfc06a;
    font-weight: 600;
}

.wg-btn-next:hover,
.wg-btn-finish:hover {
    background: #f0d875;
    border-color: #f0d875;
}

/* ======================================================
   VISITOR PITCH (Single-page)
   ====================================================== */

.vp-modal h2 {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: 1.4rem;
    color: #dfc06a;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    text-align: center;
}

.vp-modal p {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 1.05rem;
    color: var(--text-secondary, #a0a8b8);
    line-height: 1.7;
    margin-bottom: 0.9rem;
}

.vp-cta {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.vp-btn-primary {
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    background: #dfc06a;
    color: #0f1115;
    border: 1px solid #dfc06a;
    font-weight: 600;
    width: 100%;
    transition: background 0.2s;
}

.vp-btn-primary:hover {
    background: #f0d875;
}

.vp-btn-secondary {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    padding: 0.65rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    background: transparent;
    color: var(--text-secondary, #a0a8b8);
    border: 1px solid rgba(197, 164, 78, 0.30);
    width: 100%;
    transition: color 0.2s, border-color 0.2s;
}

.vp-btn-secondary:hover {
    color: var(--text-primary, #f5f5f5);
    border-color: rgba(197, 164, 78, 0.6);
}

/* ======================================================
   Responsive
   ====================================================== */
@media screen and (max-width: 560px) {
    .wg-modal,
    .vp-modal {
        padding: 1.5rem 1rem;
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
    }

    .wg-step h2,
    .vp-modal h2 {
        font-size: 1.15rem;
    }
}

p.welcome-eyebrow {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    text-align: center;
    letter-spacing: 0.4em;
    font-weight: 500;
    text-transform: uppercase;
    color: #d5b433;
    margin-bottom: 1rem;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

p.centered {
    text-align: center;
    color: #d7d4cf;
    letter-spacing: 0.6px;
}

strong.welcome-strong {
    color: #dbb832;
    font-family: Cinzel;
    font-size: 0.8rem;
}

p.centered-2 {
    text-align: center;
    line-height: 22px;
}

li.welcome-li {
    margin: 20px 0;
    margin-top: 0px;
    line-height: 25px;
    list-style-type: none;
}
