/* ═══════════════════════════════════════════════════════════
   LANDING PAGE
═══════════════════════════════════════════════════════════ */
.landing-bg {
    min-height: 100vh;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(88,101,242,.16) 0%, transparent 68%),
                var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.landing-center {
    text-align: center;
    max-width: 520px;
    width: 100%;
}

.landing-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 2.5rem;
}

.logo-icon {
    color: var(--accent-text);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-icon svg { width: 22px; height: 22px; }
.sidebar-logo .logo-icon svg { width: 18px; height: 18px; }

.logo-img { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; }
.sidebar-logo .logo-img { width: 28px; height: 28px; border-radius: 6px; }

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--text);
}

.landing-title {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-desc {
    color: var(--text-sub);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.btn-twitch {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--twitch);
    color: #fff;
    border: none;
    padding: .9rem 2.2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, transform .1s;
    font-family: inherit;
}
.btn-twitch:hover  { background: var(--twitch-hover); transform: translateY(-1px); }
.btn-twitch:active { transform: translateY(0); }
.btn-twitch-disabled { opacity: .38; cursor: not-allowed; pointer-events: none; }

.landing-hint { color: var(--text-dim); font-size: .8rem; margin-top: 1rem; }

/* ═══════════════════════════════════════════════════════════
   ONBOARDING
═══════════════════════════════════════════════════════════ */
.onboarding-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(88,101,242,.1) 0%, transparent 70%),
                var(--bg);
}

.onboarding-card {
    background: var(--bg-2);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 640px;
}
.onboarding-card.narrow { max-width: 480px; }

.onboarding-logo { display: flex; align-items: center; gap: .4rem; margin-bottom: 2rem; }

.onboarding-card h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: .5rem;
    letter-spacing: -.02em;
}

.onboarding-sub { color: var(--text-sub); margin-bottom: 2rem; font-size: .95rem; }

.step-badge {
    display: inline-block;
    background: var(--accent-dim);
    color: var(--accent-text);
    border: 1px solid rgba(88,101,242,.4);
    border-radius: 20px;
    padding: .25rem .8rem;
    font-size: .72rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* Role cards */
.role-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.role-card {
    background: var(--bg-3);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .1s;
    position: relative;
}
.role-card:hover { border-color: var(--accent); background: var(--bg-4); transform: translateY(-2px); }

.role-icon  { width: 36px; height: 36px; margin-bottom: .8rem; }
.role-name  { font-size: 1.1rem; font-weight: 600; margin-bottom: .4rem; }
.role-desc  { color: var(--text-sub); font-size: .85rem; line-height: 1.5; }
.role-arrow {
    position: absolute; bottom: 1.2rem; right: 1.2rem;
    color: var(--accent-text); font-size: 1.1rem; opacity: 0; transition: opacity .2s;
}
.role-card:hover .role-arrow { opacity: 1; }

.creator-icon-big { width: 64px; height: 64px; margin: 0 auto 1.2rem; color: var(--accent-text); }

.btn-row { display: flex; gap: .8rem; justify-content: flex-end; margin-top: 2rem; }

/* Creator Onboarding Steps */
.onboarding-step {
    background: var(--bg-3);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
}

/* Consent Checkboxes */
.ob-consent-row {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    background: var(--bg-3);
    border: 1px solid var(--border-mid);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-size: .85rem;
    color: var(--text-sub);
    line-height: 1.5;
    transition: border-color .2s;
}
.ob-consent-row:hover {
    border-color: var(--accent);
}
.ob-consent-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}
.ob-check {
    width: 28px; height: 28px; flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg-4); border: 1px solid var(--border-mid);
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700; color: var(--text-sub);
}
.ob-check.done {
    background: var(--green); border-color: var(--green); color: #fff;
}

/* Toggles */
.toggle-options { display: flex; flex-direction: column; gap: .8rem; }
.toggle-row {
    display: flex; align-items: center; justify-content: space-between;
    background: var(--bg-3); border: 1px solid var(--border-mid);
    border-radius: var(--radius); padding: 1rem 1.2rem; gap: 1rem;
}
.toggle-title { font-weight: 500; margin-bottom: .2rem; }
.toggle-sub   { color: var(--text-sub); font-size: .82rem; }
.toggle-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute; inset: 0;
    background: var(--bg-4); border: 1px solid var(--border-mid);
    border-radius: 24px; cursor: pointer; transition: background .2s;
}
.toggle-slider::before {
    content: ''; position: absolute;
    width: 16px; height: 16px; left: 4px; top: 3px;
    background: var(--text-sub); border-radius: 50%;
    transition: transform .2s, background .2s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--accent-dim); border-color: rgba(88,101,242,.5); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); background: var(--accent-text); }

/* Waitlist */
.waitlist-icon {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(34,197,94,.12); border: 2px solid var(--green);
    color: var(--green); font-size: 1.8rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem;
}
.waitlist-info {
    background: var(--bg-3); border: 1px solid var(--border-mid);
    border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.5rem;
}
.waitlist-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: .5rem 0; font-size: .9rem; color: var(--text-sub);
}
.waitlist-row + .waitlist-row { border-top: 1px solid var(--border); }
.badge-pending {
    background: rgba(245,158,11,.12); color: var(--yellow);
    border: 1px solid rgba(245,158,11,.4); border-radius: 20px;
    padding: .15rem .7rem; font-size: .72rem; font-weight: 600;
}

/* Responsive */
@media (max-width: 680px) {
    .role-cards { grid-template-columns: 1fr; }
    .landing-title { font-size: 2rem; }
}
@media (max-width: 420px) {
    .onboarding-card { padding: 1.4rem; }
    .btn-row { flex-direction: column-reverse; }
    .btn-row .btn-primary, .btn-row .btn-secondary { width: 100%; text-align: center; }
    .dev-login-row { flex-direction: column; }
}
