/* ================================================================
   ONBOARDING - Modern Light Theme with Glassmorphism
   Brand accent: #0284c7 (WCAG AA compliant)
   ================================================================ */

/* Phosphor icon base styles for onboarding context */
.ob-shell .ph,
.ob-shell .ph-bold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ob-shell .ob-emoji .ph {
    color: #0284c7;
}

.ob-shell .ob-trust-item .ph,
.ob-shell .ob-step.done .ob-step-dot .ph {
    color: #10b981;
}

.ob-shell .btn .ph,
.ob-shell .btn-accent .ph {
    color: #fff;
}

.ob-shell .btn-accent {
    background: #0e172a;
    color: #fff;
    box-shadow: 0 4px 16px rgba(14, 23, 42, 0.32);
}

.ob-shell .btn-accent:hover {
    background: #0c1220
    box-shadow: 0 6px 24px rgba(14, 23, 42, 0.4);
}

.ob-shell {
    position: relative;
    min-height: 100vh;
    display: flex;
    overflow: hidden;
    background: #f0f4f8;
}

.ob-shell::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 15%, rgba(56, 189, 248, .10), transparent 55%),
        radial-gradient(ellipse 60% 50% at 10% 85%, rgba(139, 92, 246, .07), transparent 50%),
        radial-gradient(ellipse 50% 40% at 90% 70%, rgba(16, 185, 129, .06), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Decorative floating blur orbs */
.ob-shell::after {
    content: '';
    position: fixed;
    width: 400px;
    height: 400px;
    background: rgba(56, 189, 248, .08);
    filter: blur(100px);
    border-radius: 50%;
    top: -5%;
    right: -5%;
    pointer-events: none;
    z-index: 0;
    animation: obOrb1 20s ease-in-out infinite;
}

@keyframes obOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 30px) scale(1.05); }
    66% { transform: translate(20px, -20px) scale(.95); }
}

@keyframes obOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -25px) scale(1.08); }
}

.ob-sidebar {
    position: fixed;
    z-index: 2;
    width: 300px;
    min-height: 100vh;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, .85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, .6);
    flex-shrink: 0;
    box-shadow: 1px 0 16px rgba(0, 0, 0, .03);
}

.ob-brand {
    display: inline-flex;
    align-items: center;
    height: 32px;
    text-decoration: none;
    /* Sits below the fixed WP header on desktop. */
    margin-top: 80px;
    transition: opacity .2s;
}

.ob-brand:hover {
    opacity: .75;
}

.ob-brand-img {
    height: 24px;
    width: auto;
}

.ob-stepper {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ob-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    padding-bottom: 36px;
    cursor: default;
}

.ob-step:last-child {
    padding-bottom: 0;
}

.ob-step-line {
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: 0;
    width: 2px;
    background: rgba(0, 0, 0, .08);
    transition: background .4s;
}

.ob-step:last-child .ob-step-line {
    display: none;
}

.ob-step.done .ob-step-line {
    background: rgba(16, 185, 129, .3);
}

.ob-step.active .ob-step-line {
    background: linear-gradient(180deg, rgba(56, 189, 248, .4), rgba(0, 0, 0, .08));
}

.ob-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: .75rem;
    font-weight: 700;
    transition: all .35s;
    position: relative;
    z-index: 1;
}

.ob-step.pending .ob-step-dot {
    background: #fff;
    border: 1.5px solid rgba(0, 0, 0, .08);
    color: rgba(0, 0, 0, .45);
}

.ob-step.active .ob-step-dot {
    background: var(--accent);
    border: 2px solid var(--accent-light);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(56, 189, 248, .15), 0 4px 12px rgba(56, 189, 248, .3);
}

.ob-step.done .ob-step-dot {
    background: rgba(16, 185, 129, .15);
    border: 1.5px solid rgba(16, 185, 129, .3);
    color: var(--green);
}

.ob-step-text {
    padding-top: 5px;
}

.ob-step-label {
    font-size: 1rem;
    font-weight: 700;
    transition: color .3s;
}

.ob-step.pending .ob-step-label {
    color: rgba(0, 0, 0, .5);
}

.ob-step.active .ob-step-label {
    color: var(--text-dark);
}

.ob-step.done .ob-step-label {
    color: rgba(0, 0, 0, .5);
}

.ob-step-hint {
    font-size: .74rem;
    color: rgba(0, 0, 0, .5);
    margin-top: 2px;
}

.ob-step.active .ob-step-hint {
    color: rgba(14, 147, 210, .85);
}

.ob-step.done {
    cursor: pointer;
}

.ob-step.done:hover .ob-step-label {
    color: rgba(0, 0, 0, .7);
}

.ob-step.done:hover .ob-step-dot {
    border-color: rgba(16, 185, 129, .5);
    background: rgba(16, 185, 129, .25);
}

a.ob-step-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
}

.ob-sidebar-footer {
    margin-top: auto;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.ob-help-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    color: rgba(0, 0, 0, .55);
    text-decoration: none;
    transition: color .2s;
}

.ob-help-link:hover {
    color: rgba(0, 0, 0, .6);
}

.ob-help-link svg {
    width: 16px;
    height: 16px;
    opacity: .5;
}

.ob-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 20px 20px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* Second decorative blur orb (bottom-left) */
.ob-main::before {
    content: '';
    position: fixed;
    width: 350px;
    height: 350px;
    background: rgba(139, 92, 246, .06);
    filter: blur(90px);
    border-radius: 50%;
    bottom: -8%;
    left: 15%;
    pointer-events: none;
    z-index: -1;
    animation: obOrb2 18s ease-in-out infinite;
}

.ob-container {
    width: 100%;
    max-width: 560px;
    animation: stepIn .5s cubic-bezier(.16, 1, .3, 1);
}

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

.ob-header {
    text-align: center;
    margin-bottom: 28px;
}

.ob-emoji {
    font-size: 40px;
    margin-bottom: 14px;
    display: block;
}

.ob-title {
    color: var(--text-dark);
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.2;
    margin-bottom: 8px;
}

.ob-title em {
    font-style: normal;
    color: #0284c7;
}

.ob-subtitle {
    font-size: .95rem;
    color: #475569;
    line-height: 1.65;
    max-width: 440px;
    margin: 0 auto;
}

.ob-card {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(226, 232, 240, .5);
    border-radius: var(--r-xl);
    padding: 32px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .07), 0 24px 48px rgba(0, 0, 0, .05);
    transition: box-shadow .3s ease;
}

.f-group {
    margin-bottom: 16px;
}

.f-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.f-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(0, 0, 0, .12);
    border-radius: var(--r-md);
    font-family: inherit;
    font-size: .88rem;
    color: #0f172a;
    background: #fff;
    transition: all .25s;
    outline: none;
    box-sizing: border-box;
}

.f-input::placeholder {
    color: rgba(0, 0, 0, .3);
}

.f-input:focus {
    border-color: var(--accent);
    background: rgba(56, 189, 248, .04);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .1);
}

.f-input.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, .04);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .1);
    animation: shakeInput .4s ease-in-out;
}

@keyframes shakeInput {
    0%, 100% {
        transform: translateX(0)
    }
    20% {
        transform: translateX(-6px)
    }
    40% {
        transform: translateX(6px)
    }
    60% {
        transform: translateX(-4px)
    }
    80% {
        transform: translateX(4px)
    }
}

.f-error-msg {
    font-size: .74rem;
    color: #ef4444;
    margin-top: 6px;
    display: none;
    align-items: center;
    gap: 5px;
}

.f-error-msg.show {
    display: flex;
    animation: stepIn .25s ease-out;
}

.url-hero {
    position: relative;
    margin-bottom: 20px;
    padding: 20px 24px 16px;
    background: rgba(56, 189, 248, .03);
    border: 2px solid rgba(56, 189, 248, .15);
    border-radius: var(--r-lg);
    transition: all .35s;
}

.url-hero.empty {
    animation: urlPulse 5s ease-in-out infinite;
}

@keyframes urlPulse {
    0%, 100% {

        border-color: rgba(56, 189, 248, .35);
        box-shadow: 0 0 24px 0 rgba(56, 189, 248, .2)
    }
    50% {
        border-color: rgba(56, 189, 248, .85);
        box-shadow: 0 0 24px 0 rgba(56, 189, 248, .6)
    }
}

.url-hero.filled {
    margin-bottom: 16px;
    border-color: rgba(16, 185, 129, .2);
    border-width: 1.5px;
    background: linear-gradient(135deg, rgba(16, 185, 129, .04), rgba(16, 185, 129, .02));
    animation: none;
}

.url-hero.has-error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, .03);
    animation: none;
}

.url-hero-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 10px;
}

.url-hero.filled .url-hero-label {
    color: rgba(16, 185, 129, .7);
}

.url-hero.has-error .url-hero-label {
    color: #ef4444;
}

.url-hero-label svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.url-hero-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    background: rgba(0, 0, 0, .03);
    border: 1.5px solid rgba(0, 0, 0, .08);
    border-radius: var(--r-lg);
    outline: none;
    font-family: inherit;
    transition: all .25s;
    box-sizing: border-box;
}

.url-hero-input::placeholder {
    color: rgba(0, 0, 0, .3);
    font-weight: 400;
}

.url-hero-input:focus {
    border-color: #0e172a;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, .12);
}

.url-hero-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    color: #0e172a;
    background: rgba(0, 102, 255, .06);
    padding: 6px 12px;
    border-radius: 20px;
    margin-top: 10px;
}

.reg-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 700;
    color: rgba(0, 102, 255, .5);
    margin-bottom: 16px;
}

.reg-rest {
    transition: opacity .4s, filter .4s;
}

.reg-rest.locked {
    opacity: .25;
    filter: blur(1px);
    pointer-events: none;
    position: relative;
}

.reg-lock-msg {
    display: none;
    text-align: center;
    padding: 12px 0 6px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--accent-dark);
}

.reg-rest.locked ~ .reg-lock-msg {
    display: block;
}

.pw-input-wrap {
    position: relative;
}

.pw-input-wrap .f-input {
    padding-right: 44px;
}

.pw-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: rgba(0, 0, 0, .3);
    font-size: 1rem;
    line-height: 1;
    transition: color .2s;
}

.pw-toggle:hover {
    color: rgba(0, 0, 0, .55);
}

.gdpr-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 22px 0 8px;
    cursor: pointer;
    user-select: none;
}

.gdpr-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gdpr-box {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 1.5px solid rgba(0, 0, 0, .15);
    background: rgba(0, 0, 0, .03);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all .25s;
}

.gdpr-check input:checked ~ .gdpr-box {
    background: var(--accent);
    border-color: var(--accent);
}

.gdpr-box svg,
.gdpr-box i {
    width: 12px;
    height: 12px;
    font-size: 12px;
    color: #fff;
    opacity: 0;
    transform: scale(0);
    transition: all .2s;
}

.gdpr-check input:checked ~ .gdpr-box svg,
.gdpr-check input:checked ~ .gdpr-box i {
    opacity: 1;
    transform: scale(1);
}

.gdpr-box.error {
    border-color: #ef4444;
    animation: shakeInput .4s ease-in-out;
}

.gdpr-text {
    font-size: .8rem;
    color: #475569;
    line-height: 1.65;
}

.gdpr-text a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px;
    background: rgba(0, 0, 0, .03);
    border: 1.5px solid rgba(0, 0, 0, .1);
    border-radius: var(--r-full);
    color: var(--text-dark);
    font-family: inherit;
    font-size: .86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
}

.btn-google:hover {
    background: rgba(0, 0, 0, .06);
    border-color: rgba(0, 0, 0, .15);
}

.btn-google svg {
    width: 18px;
    height: 18px;
}

.ob-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
    color: #475569;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ob-divider::before, .ob-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, .15);
}

.ob-trust {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.ob-trust-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .76rem;
    color: rgba(0, 0, 0, .55);
    font-weight: 500;
}

.ob-trust-item i {
    color: var(--green);
    font-size: .68rem;
    font-style: normal;
}

.email-verify-wrap {
    text-align: center;
}

.email-verify-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(56, 189, 248, .06);
    border: 2px solid rgba(56, 189, 248, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 36px;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-6px)
    }
}

.email-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(56, 189, 248, .06);
    border: 1px solid rgba(56, 189, 248, .12);
    border-radius: var(--r-full);
    font-size: .88rem;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 24px;
}

.otp-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.otp-input {
    width: 52px;
    height: 60px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    background: #fff;
    border: 2px solid rgba(0, 0, 0, .25);
    border-radius: var(--r-md);
    outline: none;
    font-family: 'JetBrains Mono', monospace;
    transition: all .25s;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .04);
}

.otp-input:focus {
    border-color: #0e172a;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, .15);
}

.otp-input.filled {
    border-color: rgba(0, 102, 255, .4);
    background: rgba(0, 102, 255, .06);
}

.otp-validity-hint {
    font-size: .75rem;
    color: rgba(0, 0, 0, .5);
    text-align: center;
    margin: 10px 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.otp-validity-hint .ph {
    font-size: 14px;
}

.resend-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: .8rem;
    color: rgba(0, 0, 0, .5);
    margin-top: 16px;
}

.resend-link {
    background: none;
    border: none;
    color: var(--accent-dark);
    font-family: inherit;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.resend-link:disabled {
    color: #94a3b8;
    cursor: default;
}

.resend-link:not(:disabled) {
    color: #0e172a;
    text-decoration: underline;
    text-underline-offset: 3px;
    animation: resendPulse .6s ease-in-out;
}

.resend-link:not(:disabled):hover {
    color: #0c1220
}

@keyframes resendPulse {
    0% { opacity: 0.5; transform: scale(0.97); }
    50% { opacity: 1; transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1); }
}

.path-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
}

.path-option {
    position: relative;
    cursor: pointer;
}

.path-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.path-inner {
    background: rgba(255, 255, 255, .6);
    border: 1.5px solid rgba(255, 255, 255, .5);
    border-radius: var(--r-xl);
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all .3s cubic-bezier(.25, .8, .25, 1);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .03);
}

.path-option:hover .path-inner {
    border-color: rgba(0, 0, 0, .1);
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
    transform: translateY(-2px);
}

.path-option input:checked ~ .path-inner {
    border-color: var(--accent);
    background: rgba(56, 189, 248, .05);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .1);
}

.path-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.path-icon.trial {
    background: rgba(16, 185, 129, .1);
}

.path-icon.pay {
    background: rgba(56, 189, 248, .1);
}

.path-text {
    flex: 1;
    min-width: 0;
}

.path-name {
    color: var(--text-dark);
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.path-desc {
    font-size: .8rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.path-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--r-full);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.path-tag.green {
    background: rgba(16, 185, 129, .1);
    color: var(--green);
    border: 1px solid rgba(16, 185, 129, .15);
}

.path-tag.blue {
    background: rgba(56, 189, 248, .1);
    color: var(--accent-dark);
    border: 1px solid rgba(56, 189, 248, .15);
}

/* ── Path Info Box ── */
.path-info-box {
    border-radius: var(--r-lg);
    padding: 16px 20px;
    margin-bottom: 16px;
    animation: pathInfoIn .25s ease;
}

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

.path-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
}

.path-info-header.trial {
    color: #059669;
    border-bottom: 1px solid rgba(5, 150, 105, .12);
}

.path-info-header.pay {
    color: #0284c7;
    border-bottom: 1px solid rgba(2, 132, 199, .12);
}

.path-info-header.trial ~ .path-info-list { }

.path-info-box:has(.path-info-header.trial) {
    background: rgba(5, 150, 105, .04);
    border: 1px solid rgba(5, 150, 105, .10);
}

.path-info-box:has(.path-info-header.pay) {
    background: rgba(2, 132, 199, .04);
    border: 1px solid rgba(2, 132, 199, .10);
}

.path-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.path-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 500;
    color: #334155;
}

.path-info-item.yes i {
    color: #10b981;
    font-size: 16px;
    flex-shrink: 0;
}

.path-info-item.note {
    color: #64748b;
    font-size: .76rem;
    margin-top: 2px;
}

.path-info-item.note i {
    color: #94a3b8;
    font-size: 14px;
    flex-shrink: 0;
}

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.pricing-option {
    position: relative;
    cursor: pointer;
}

.pricing-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.pricing-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, .6);
    border: 1.5px solid rgba(255, 255, 255, .5);
    border-radius: var(--r-lg);
    transition: all .3s cubic-bezier(.25, .8, .25, 1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .02);
}

.pricing-option:hover .pricing-inner {
    border-color: rgba(0, 0, 0, .1);
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
    transform: translateY(-1px);
}

.pricing-option input:checked ~ .pricing-inner {
    border-color: var(--accent);
    background: rgba(56, 189, 248, .05);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .08);
}

.pricing-option input[value="biznis"]:checked ~ .pricing-inner {
    border-color: rgba(139, 92, 246, .4);
    background: rgba(139, 92, 246, .05);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, .08);
}

.pricing-ico {
    width: 44px;
    height: 44px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.pricing-ico.blue {
    background: rgba(56, 189, 248, .08);
}

.pricing-ico.green {
    background: rgba(16, 185, 129, .08);
}

.pricing-ico.purple {
    background: rgba(139, 92, 246, .08);
}

.pricing-info {
    flex: 1;
    min-width: 0;
}

.pricing-info .pi-name {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.pricing-info .pi-feat {
    font-size: .75rem;
    color: var(--text-muted);
}

.pricing-price {
    text-align: right;
    flex-shrink: 0;
}

.pricing-price .pp-amount {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-dark);
}

.pricing-price .pp-period {
    font-size: .7rem;
    color: var(--text-muted);
}

.pricing-price .pp-custom {
    font-size: .76rem;
    font-weight: 700;
    color: rgba(139, 92, 246, .7);
    line-height: 1.3;
}

.pricing-popular {
    position: absolute;
    top: -1px;
    right: 18px;
    padding: 3px 10px;
    background: #0284c7;
    border-radius: 0 0 6px 6px;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #fff;
}

.biznis-24h {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(139, 92, 246, .04);
    border: 1px solid rgba(139, 92, 246, .1);
    border-radius: var(--r-lg);
    margin-bottom: 20px;
}

.biznis-24h-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.biznis-24h-text {
    font-size: .8rem;
    color: rgba(0, 0, 0, .55);
    line-height: 1.5;
}

.biznis-24h-text strong {
    color: rgba(139, 92, 246, .8);
}

.biznis-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(139, 92, 246, .08);
    border: 1px solid rgba(139, 92, 246, .15);
    border-radius: var(--r-full);
    font-size: .72rem;
    font-weight: 700;
    color: rgba(139, 92, 246, .8);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 20px;
}

.widget-preview {
    background: rgba(0, 0, 0, .04);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 18px;
}

.wp-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, .06);
}

.wp-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.wp-dot:nth-child(1) {
    background: var(--red)
}

.wp-dot:nth-child(2) {
    background: var(--orange)
}

.wp-dot:nth-child(3) {
    background: var(--green)
}

.wp-url {
    margin-left: 8px;
    font-size: .72rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.wp-body {
    height: 140px;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 16px;
}

.wp-lines {
    position: absolute;
    top: 18px;
    left: 18px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.wp-line {
    height: 7px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .06);
}

.wp-bubble {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(2, 132, 199, .35);
    animation: pulse 2.5s ease-in-out infinite;
}

.wp-bubble svg {
    width: 18px;
    height: 18px;
    color: #fff;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(56, 189, 248, .35)
    }
    50% {
        box-shadow: 0 4px 24px rgba(56, 189, 248, .55)
    }
}

.platform-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    background: rgba(0, 0, 0, .04);
    border-radius: var(--r-full);
    padding: 3px;
}

.platform-tab {
    flex: 1;
    padding: 9px 10px;
    border-radius: var(--r-full);
    border: none;
    background: none;
    color: var(--text-muted);
    font-family: inherit;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    text-align: center;
}

.platform-tab:hover {
    color: var(--text-dark);
}

.platform-tab.active {
    background: rgba(56, 189, 248, .1);
    color: var(--accent-dark);
}

.snippet-box {
    background: #1e293b;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: var(--r-md);
    padding: 16px;
    position: relative;
    margin-bottom: 12px;
}

.snippet-box--compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.snippet-box--compact .snippet-code {
    max-height: 140px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .15) transparent;
}

.snippet-box--compact .snippet-code::-webkit-scrollbar {
    width: 5px;
}

.snippet-box--compact .snippet-code::-webkit-scrollbar-track {
    background: transparent;
}

.snippet-box--compact .snippet-code::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .15);
    border-radius: 3px;
}

.snippet-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: .76rem;
    color: #93c5fd;
    line-height: 1.7;
    word-break: break-all;
    white-space: pre-wrap;
}

.snippet-copy {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 5px 14px;
    background: #0284c7;
    border: none;
    border-radius: var(--r-full);
    color: #fff;
    font-family: inherit;
    font-size: .72rem;
    font-weight: 700;
    cursor: pointer;
}

.snippet-copy--big {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    font-size: .85rem;
    border-radius: var(--r-md);
    background: #0284c7;
    color: #fff;
    transition: background .2s, transform .1s;
}

.snippet-copy--big:hover {
    background: #0369a1;
    transform: translateY(-1px);
}

.snippet-copy--big:active {
    transform: translateY(0);
}

.snippet-copy.copied {
    background: var(--green);
}

.verify-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, .02);
    border: 1.5px dashed rgba(0, 0, 0, .1);
    border-radius: var(--r-md);
    color: var(--text-dark-sub);
    font-family: inherit;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s;
}

.verify-btn:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
    border-style: solid;
}

.verify-btn.success {
    border-color: var(--green);
    color: var(--green);
    background: rgba(16, 185, 129, .05);
    border-style: solid;
    pointer-events: none;
}

.verify-result {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: .8rem;
    line-height: 1.5;
}

.verify-result.verify-ok {
    background: rgba(16, 185, 129, .06);
    border: 1px solid rgba(16, 185, 129, .15);
    color: #059669;
}

.verify-result.verify-fail {
    background: rgba(239, 68, 68, .06);
    border: 1px solid rgba(239, 68, 68, .15);
    color: #dc2626;
}

/* ── Widen container for widget step ── */
.ob-container:has(.ob-widget-split) {
    max-width: 920px;
}

/* ── Widget Split Layout (Dashboard-style) ── */
.ob-widget-split {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
    margin-bottom: 24px;
}

.ob-widget-settings {
    min-width: 0;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--r-lg);
    padding: 20px;
}

.ob-widget-preview-wrap {
    min-width: 0;
}

.ob-widget-preview-sticky {
    position: sticky;
    top: 20px;
}

/* ── Code card in preview column ── */
.ob-widget-code-card {
    margin-top: 16px;
    background: rgba(0, 0, 0, .03);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--r-md);
    padding: 16px;
}

.ob-widget-code-header {
    font-size: .8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ob-widget-code-card .platform-tabs {
    background: rgba(0, 0, 0, .04);
}

.ob-widget-code-card .platform-tab.active {
    background: rgba(2, 132, 199, .1);
    color: var(--accent);
}

.ob-widget-code-card .snippet-box {
    background: #1e293b;
    border-color: rgba(0, 0, 0, .1);
}

.ob-widget-code-card .snippet-code {
    color: #93c5fd;
}

.ob-widget-code-card .snippet-copy--big {
    background: var(--accent);
}

.ob-widget-code-card .snippet-copy--big:hover {
    background: #0369a1;
}

/* ── Mini Preview ── */
.wg-mini-preview {
    margin-bottom: 0;
}

.wg-mp-site {
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #1e293b;
}

.wg-mp-bar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, .2);
}

.wg-mp-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
}

.wg-mp-url {
    margin-left: 8px;
    font-size: .68rem;
    color: rgba(255, 255, 255, .4);
    font-family: 'JetBrains Mono', monospace;
}

.wg-mp-body {
    height: 140px;
    position: relative;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    padding: 16px;
}

.wg-mp-lines {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wg-mp-ln {
    height: 6px;
    background: rgba(0, 0, 0, .06);
    border-radius: 3px;
}

.wg-mp-bubble {
    position: absolute;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #1B82F2;
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .15);
    cursor: default;
    transition: background .2s, right .3s, left .3s;
}

.wg-mp-bubble svg {
    flex-shrink: 0;
}

.wg-mp-bubble-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.wg-mp-bubble.is-icon {
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wg-mp-bubble.is-icon .wg-mp-bubble-text {
    display: none;
}

/* ── Sections ── */
.wg-section {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.wg-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.wg-section-title {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-dark);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(2, 132, 199, .2);
}

.wg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.wg-field {
    min-width: 0;
    margin-bottom: 4px;
}

.wg-label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .55);
    margin-bottom: 6px;
}

.wg-input,
.wg-select {
    width: 100%;
    padding: 9px 12px;
    background: rgba(255, 255, 255, .85);
    border: 1.5px solid rgba(0, 0, 0, .10);
    border-radius: 8px;
    color: var(--text-dark);
    font-size: .85rem;
    font-family: inherit;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.wg-input:focus,
.wg-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, .1);
    background: #fff;
}

.wg-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2394a3b8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}

/* ── Color swatches + picker ── */
.wg-color-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wg-swatches {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.wg-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    transition: transform .15s, border-color .15s, box-shadow .15s;
    padding: 0;
    outline: none;
}

.wg-swatch:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

.wg-swatch.active {
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, .5);
}

.wg-swatch--brand::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fbbf24;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}

.wg-color-custom {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.wg-color-picker-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .85);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
    transition: transform .15s, box-shadow .15s;
    overflow: hidden;
}

.wg-color-picker-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
}

.wg-color-picker-btn i {
    font-size: 18px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
    pointer-events: none;
}

.wg-color-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    border: 0;
    padding: 0;
    background: transparent;
    -webkit-appearance: none;
}

.wg-color-input::-webkit-color-swatch-wrapper { padding: 0; }
.wg-color-input::-webkit-color-swatch { border: none; }
.wg-color-input::-moz-color-swatch { border: none; }

.wg-color-hex {
    font-family: 'JetBrains Mono', monospace;
    font-size: .72rem;
    color: rgba(0, 0, 0, .35);
}

.wg-color-hex-input {
    font-family: 'JetBrains Mono', 'Menlo', monospace;
    font-size: .78rem;
    width: 88px;
    padding: 8px 10px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: .5px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

.wg-color-hex-input:focus {
    border-color: #1B82F2;
    box-shadow: 0 0 0 3px rgba(27, 130, 242, .15);
}

.wg-color-hint {
    margin: 8px 0 0;
    font-size: .74rem;
    color: rgba(15, 23, 42, .55);
}

.wg-color-hint code {
    font-family: 'JetBrains Mono', monospace;
    font-size: .72rem;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(15, 23, 42, .06);
}

/* ── Range slider ── */
.wg-range-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wg-range {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(0, 0, 0, .1);
    border-radius: 2px;
    outline: none;
}

.wg-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 2px solid rgba(0, 0, 0, .3);
}

.wg-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    cursor: pointer;
    border: 2px solid rgba(0, 0, 0, .3);
}

.wg-range-val {
    font-family: 'JetBrains Mono', monospace;
    font-size: .72rem;
    color: rgba(0, 0, 0, .4);
    min-width: 32px;
    text-align: right;
}

/* ── Button group ── */
.wg-btn-group {
    display: flex;
    gap: 4px;
}

.wg-btn-opt {
    flex: 1;
    padding: 8px 12px;
    border: 1.5px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    background: rgba(255, 255, 255, .6);
    color: rgba(0, 0, 0, .5);
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s ease;
}

.wg-btn-opt:hover {
    color: var(--text-dark);
    border-color: rgba(0, 0, 0, .15);
}

.wg-btn-opt.active {
    background: rgba(2, 132, 199, .1);
    border-color: rgba(2, 132, 199, .3);
    color: #0369a1;
}

/* ── Checkboxes ── */
.wg-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wg-check-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .5);
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 10px;
    cursor: pointer;
    transition: all .15s ease;
}

.wg-check-label:hover {
    background: rgba(255, 255, 255, .8);
    border-color: rgba(0, 0, 0, .08);
}

.wg-check {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.wg-check-content {
    flex: 1;
    min-width: 0;
}

.wg-check-name {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.wg-check-desc {
    display: block;
    font-size: .76rem;
    color: rgba(0, 0, 0, .4);
    line-height: 1.45;
    margin-top: 2px;
    white-space: break-spaces;
}

/* ── Platform guide text ── */
.platform-guide {
    padding: 10px 14px;
    background: rgba(56, 189, 248, .04);
    border: 1px solid rgba(56, 189, 248, .08);
    border-radius: var(--r-sm);
    margin-bottom: 12px;
    font-size: .76rem;
    line-height: 1.5;
    color: rgba(0, 0, 0, .5);
    display: none;
}

.platform-guide.visible {
    display: block;
}

.platform-guide strong {
    color: var(--accent-dark);
}

/* ── Live preview ── */
.wg-live-preview {
    margin-bottom: 20px;
}

.wg-live-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 10px;
}

.wg-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: livePulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, .4);
    }
    50% {
        opacity: .7;
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
}

.wg-live-frame-wrap {
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .08);
    background: #f1f5f9;
}

.wg-live-frame {
    width: 100%;
    height: 320px;
    border: none;
    display: block;
}

/* ── Guides text link at bottom ── */
.wg-guides-link-wrap {
    margin-top: 16px;
    text-align: center;
}

.wg-guides-text-link {
    font-size: .78rem;
    color: rgba(0, 0, 0, .35);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color .2s;
}

.wg-guides-text-link:hover {
    color: rgba(0, 0, 0, .6);
}

.wg-guides-inline {
    margin-top: 14px;
    text-align: left;
}

.wg-guides-inline .wg-guide-item {
    padding: 8px 0;
    font-size: .76rem;
    line-height: 1.55;
    color: rgba(0, 0, 0, .4);
    border-bottom: 1px solid rgba(0, 0, 0, .04);
}

.wg-guides-inline .wg-guide-item:last-child {
    border-bottom: none;
}

.wg-guides-inline .wg-guide-item strong {
    color: rgba(0, 0, 0, .65);
}

/* ── Quick platform guides (prominent cards) ── */
.wg-quick-guides {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}

.wg-quick-guide {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(0, 102, 255, .04);
    border: 1px solid rgba(0, 102, 255, .12);
    border-radius: 10px;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
}

.wg-quick-guide:hover {
    background: rgba(0, 102, 255, .08);
    border-color: rgba(0, 102, 255, .25);
}

.wg-quick-guide-icon {
    font-size: 18px;
    color: #0e172a;
    flex-shrink: 0;
}

.wg-quick-guide strong {
    display: block;
    font-size: .8rem;
    color: var(--text-dark);
}

.wg-quick-guide span {
    font-size: .72rem;
    color: rgba(0, 0, 0, .4);
    line-height: 1.4;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .ob-widget-split {
        grid-template-columns: 1fr;
    }

    .ob-widget-preview-sticky {
        position: static;
    }
}

@media (max-width: 520px) {
    .wg-quick-guides {
        grid-template-columns: 1fr;
    }

    .wg-grid {
        grid-template-columns: 1fr;
    }

    .wg-color-custom {
        margin-left: 0;
    }

    .wg-live-frame {
        height: 240px;
    }

    .ob-widget-settings {
        padding: 14px;
    }
}

.ai-explainer {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.ai-explainer-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 16px;
    background: rgba(0, 0, 0, .02);
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: var(--r-lg);
}

.ai-explainer-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
    position: relative;
}

.ai-explainer-icon.s1 {
    background: linear-gradient(135deg, rgba(56, 189, 248, .12), rgba(56, 189, 248, .04));
    border: 1px solid rgba(56, 189, 248, .15);
}

.ai-explainer-icon.s2 {
    background: linear-gradient(135deg, rgba(139, 92, 246, .12), rgba(139, 92, 246, .04));
    border: 1px solid rgba(139, 92, 246, .15);
}

.ai-explainer-icon.s3 {
    background: linear-gradient(135deg, rgba(16, 185, 129, .12), rgba(16, 185, 129, .04));
    border: 1px solid rgba(16, 185, 129, .15);
}

.ai-explainer-icon .n {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .06);
    border: 1px solid rgba(0, 0, 0, .1);
    font-size: .55rem;
    font-weight: 800;
    color: rgba(0, 0, 0, .5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-explainer-text {
    flex: 1;
}

.ai-explainer-text .t {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.ai-explainer-text .d {
    font-size: .76rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.ai-connector {
    display: flex;
    justify-content: center;
    padding: 6px 0;
}

.ai-connector svg {
    width: 16px;
    height: 16px;
    color: rgba(0, 0, 0, .12);
}

.ai-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ai-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: rgba(0, 0, 0, .02);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--r-lg);
    transition: all .25s;
}

.ai-card:hover {
    background: rgba(0, 0, 0, .04);
    border-color: rgba(0, 0, 0, .1);
}

.ai-card-ico {
    width: 42px;
    height: 42px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.ai-card-ico.blue {
    background: rgba(56, 189, 248, .08);
}

.ai-card-ico.orange {
    background: rgba(245, 158, 11, .08);
}

.ai-card-info {
    flex: 1;
    min-width: 0;
}

.ai-card-info .aci-t {
    font-size: .88rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-dark);
}

.ai-card-info .aci-d {
    font-size: .74rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-card-action {
    padding: 7px 16px;
    background: var(--accent);
    border: none;
    border-radius: var(--r-full);
    color: #0c2d48;
    font-family: inherit;
    font-size: .76rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
}

.ai-card-action:hover {
    background: #7DD3FC;
}

.ai-card-action.running {
    background: rgba(56, 189, 248, .1);
    color: #0284C7;
    pointer-events: none;
}

.ai-card-action.done {
    background: rgba(16, 185, 129, .1);
    color: #059669;
    pointer-events: none;
}

.ai-skip-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(245, 158, 11, .04);
    border: 1px solid rgba(245, 158, 11, .1);
    border-radius: var(--r-lg);
    margin-top: 18px;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
}

.ai-skip-banner:hover {
    background: rgba(245, 158, 11, .08);
    border-color: rgba(245, 158, 11, .2);
}

.ai-skip-banner .asb-t {
    font-size: .82rem;
    font-weight: 700;
    color: rgba(245, 158, 11, .85);
    margin-bottom: 2px;
}

.ai-skip-banner .asb-d {
    font-size: .72rem;
    color: rgba(0, 0, 0, .3);
    line-height: 1.4;
}

/* ================================================================
   SUCCESS SCREEN
   ================================================================ */

.success-screen {
    text-align: center;
    position: relative;
    padding: 20px 0 40px;
}

/* Radial gradient background */
.success-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 500px;
    height: 500px;
    background:
        radial-gradient(circle at 50% 40%, rgba(16, 185, 129, .18) 0%, transparent 50%),
        radial-gradient(circle at 30% 60%, rgba(59, 130, 246, .1) 0%, transparent 45%),
        radial-gradient(circle at 70% 55%, rgba(139, 92, 246, .08) 0%, transparent 45%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
    animation: bgPulse 4s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: .7; transform: translate(-50%, -55%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -55%) scale(1.08); }
}

/* Confetti dots */
.success-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.confetti-dot {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c);
    opacity: 0;
    animation: confettiFade 2.5s ease-in-out var(--d) infinite;
}

@keyframes confettiFade {
    0%, 100% { opacity: 0; transform: scale(.5) translateY(0); }
    30% { opacity: .6; transform: scale(1) translateY(-12px); }
    70% { opacity: .4; transform: scale(.8) translateY(-6px); }
}

/* Icon */
.success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(145deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 42px;
    color: #fff;
    position: relative;
    z-index: 1;
    box-shadow:
        0 12px 40px rgba(16, 185, 129, .3),
        0 0 0 12px rgba(16, 185, 129, .08),
        0 0 0 24px rgba(16, 185, 129, .04);
    animation: iconPop .7s cubic-bezier(.34, 1.56, .64, 1);
}

.success-icon--biznis {
    background: linear-gradient(145deg, #8b5cf6, #6d28d9);
    box-shadow:
        0 12px 40px rgba(139, 92, 246, .3),
        0 0 0 12px rgba(139, 92, 246, .08),
        0 0 0 24px rgba(139, 92, 246, .04);
}

@keyframes iconPop {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

/* Title & subtitle override for success */
.success-screen .ob-title {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}

.success-screen .ob-subtitle {
    position: relative;
    z-index: 1;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* AI hint */
.done-ai-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .82rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* Primary CTA */
.done-cta {
    position: relative;
    z-index: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 16px 28px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    box-shadow: 0 6px 24px rgba(0, 102, 255, .25);
    transition: all .25s;
}

.done-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 102, 255, .35);
}

/* Secondary link */
.done-cta-link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: .82rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color .2s;
}

.done-cta-link:hover {
    color: var(--text-dark, #0e172a);
}

.ob-shell .btn-white {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: rgba(0, 102, 255, .04);
    border: 1.5px solid rgba(0, 102, 255, .2);
    border-radius: var(--r-full);
    color: #0e172a;
    font-family: inherit;
    font-size: .92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    margin-top: 10px;
    text-decoration: none;
}

.ob-shell .btn-white:hover {
    background: rgba(0, 102, 255, .08);
    border-color: rgba(0, 102, 255, .35);
    color: #0c1220
}

.ob-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: none;
    border: 1.5px solid rgba(0, 0, 0, .08);
    border-radius: var(--r-full);
    color: var(--text-muted);
    font-family: inherit;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
}

.btn-back:hover {
    border-color: rgba(0, 0, 0, .18);
    color: var(--text-dark);
}

.btn-skip {
    background: none;
    border: 1px solid rgba(0, 0, 0, .15);
    color: #475569;
    font-family: inherit;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: var(--r-full);
    text-decoration: none;
    transition: all .2s;
}

.btn-skip:hover {
    color: var(--text-dark);
    border-color: rgba(0, 0, 0, .25);
    background: rgba(0, 0, 0, .04);
}

.btn-change-email {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .45);
    text-decoration: none;
    transition: color .2s;
}

.btn-change-email:hover {
    color: #0e172a;
}

.btn-change-email i {
    font-size: .7rem;
}

.btn-next {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 24px;
    background: #0e172a;
    border: none;
    border-radius: var(--r-full);
    color: #fff;
    font-family: inherit;
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(14, 23, 42, 0.3);
    text-decoration: none;
    transition: all .3s cubic-bezier(.25, .8, .25, 1);
}

.btn-next:hover {
    background: #0c1220
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(14, 23, 42, 0.4);
}

.btn-next:active {
    transform: translateY(0) scale(.98);
}

.confetti-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 200;
}

.confetti {
    position: absolute;
    border-radius: 2px;
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0
    }
}

.ob-mobile-stepper {
    display: none;
}

@media (max-width: 900px) {
    /* Hide the marketing site header on onboarding — the mobile stepper
       serves as the top navigation and must not be overlapped by the header. */
    .header,
    .mobile-nav {
        display: none !important;
    }

    .ob-sidebar {
        display: none;
    }

    /* Hide decorative blur orbs on mobile for performance */
    .ob-shell::after,
    .ob-main::before {
        display: none;
    }

    /* Reduce backdrop-filter values on mobile */
    .ob-card {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .ob-mobile-stepper {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        background: rgba(255, 255, 255, .95);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        border-bottom: 1px solid rgba(0, 0, 0, .06);
        box-shadow: 0 1px 8px rgba(0, 0, 0, .04);
        padding: 16px 20px 24px;
        gap: 14px;
        align-items: stretch;
    }

    .ob-mobile-brand {
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
    }

    .ob-mobile-brand img {
        height: 22px;
        width: auto;
    }

    .ob-mobile-steps {
        display: flex;
        align-items: center;
        gap: 6px;
        width: 100%;
    }

    .mob-step {
        flex: 1;
        height: 3px;
        border-radius: 2px;
        background: rgba(0, 0, 0, .08);
        transition: all .4s;
        position: relative;
    }

    .mob-step.done {
        background: var(--green);
    }

    .mob-step.active {
        background: var(--accent);
        box-shadow: 0 0 8px rgba(56, 189, 248, .3);
    }

    .mob-step-label {
        position: absolute;
        top: 10px;
        left: 50%;
        transform: translateX(-50%);
        font-size: .6rem;
        font-weight: 700;
        white-space: nowrap;
        color: rgba(0, 0, 0, .2);
    }

    .mob-step.active .mob-step-label {
        color: var(--accent-light);
    }

    .mob-step.done .mob-step-label {
        color: rgba(16, 185, 129, .5);
    }

    .ob-main {
        padding: 124px 16px 120px;
    }

    .success-bg {
        width: 320px;
        height: 320px;
    }

    .success-icon {
        width: 80px;
        height: 80px;
        font-size: 34px;
    }

    .ob-card {
        padding: 24px 18px;
    }

    .ob-title {
        font-size: 1.4rem;
    }

    /* Keep primary navigation buttons fixed at the bottom on every step. */
    .ob-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        margin: 0;
        padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, .95);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-top: 1px solid rgba(0, 0, 0, .06);
        box-shadow: 0 -2px 12px rgba(0, 0, 0, .05);
    }

    .ob-nav .btn-next,
    .ob-nav .btn-back,
    .ob-nav .btn-skip {
        font-size: .9rem;
    }
}

@media (max-width: 400px) {
    .mob-step-label {
        display: none;
    }

    .ob-main {
        padding: 108px 14px 112px;
    }

    .ob-card {
        padding: 20px 16px;
    }

    .otp-input {
        width: 44px;
        height: 52px;
        font-size: 1.2rem;
    }
}

/* ═══════════════════════════════════════
   Onboarding - Extra Components
   ═══════════════════════════════════════ */

.ob-error-banner {
    background: rgba(239, 68, 68, .06);
    border: 1px solid rgba(239, 68, 68, .15);
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: .85rem;
    margin-bottom: 16px;
    text-align: center;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.ob-success-banner {
    background: rgba(16, 185, 129, .06);
    border: 1px solid rgba(16, 185, 129, .15);
    color: #059669;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: .85rem;
    margin-bottom: 16px;
    text-align: center;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.btn-accent[disabled] {
    opacity: .5;
    cursor: not-allowed;
}

.ob-card .btn,
.ob-card .btn-accent,
.ob-card .btn-next,
.ob-container > .btn,
.ob-container > .btn-accent,
.ob-container > .btn-next {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.email-verify-wrap {
    text-align: center;
}

.resend-row {
    text-align: center;
}

/* Password strength meter */
.pw-meter {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.pw-meter.visible {
    display: flex;
}

.pw-meter-bar {
    flex: 1;
    height: 4px;
    background: rgba(0, 0, 0, .1);
    border-radius: 2px;
    overflow: hidden;
}

.pw-meter-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width .3s, background .3s;
}

.pw-meter-label {
    font-size: .7rem;
    font-weight: 600;
    white-space: nowrap;
    min-width: 60px;
    text-align: right;
}

.pw-meter.str-1 .pw-meter-fill {
    width: 20%;
    background: #ef4444;
}

.pw-meter.str-1 .pw-meter-label {
    color: #dc2626;
}

.pw-meter.str-2 .pw-meter-fill {
    width: 40%;
    background: #f97316;
}

.pw-meter.str-2 .pw-meter-label {
    color: #c2410c;
}

.pw-meter.str-3 .pw-meter-fill {
    width: 60%;
    background: #eab308;
}

.pw-meter.str-3 .pw-meter-label {
    color: #a16207;
}

.pw-meter.str-4 .pw-meter-fill {
    width: 80%;
    background: #22c55e;
}

.pw-meter.str-4 .pw-meter-label {
    color: #16a34a;
}

.pw-meter.str-5 .pw-meter-fill {
    width: 100%;
    background: #10b981;
}

.pw-meter.str-5 .pw-meter-label {
    color: #059669;
}

.pw-reqs {
    display: none;
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    font-size: .75rem;
    color: rgba(0, 0, 0, .45);
    columns: 2;
    column-gap: 12px;
}

.pw-reqs.visible {
    display: block;
}

.pw-reqs li {
    padding: 2px 0;
    break-inside: avoid;
    transition: color .2s;
}

.pw-reqs li.pass {
    color: #059669;
}

.pw-reqs li.pass .pw-req-icon {
    color: #10b981;
}

.pw-req-icon {
    display: inline-block;
    width: 14px;
    font-size: .65rem;
}

/* Detailed feature checkboxes - overrides handled in base .wg-check-label */

/* ── AI Mode Selector ── */
.ai-mode-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.ai-mode-option {
    position: relative;
    cursor: pointer;
}

.ai-mode-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ai-mode-inner {
    position: relative;
    background: rgba(255, 255, 255, .6);
    border: 1.5px solid rgba(255, 255, 255, .5);
    border-radius: 16px;
    padding: 20px 22px;
    transition: all .3s cubic-bezier(.16, 1, .3, 1);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .02);
}

.ai-mode-option:hover .ai-mode-inner {
    border-color: rgba(0, 0, 0, .1);
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
    transform: translateY(-1px);
}

.ai-mode-option:first-child input:checked ~ .ai-mode-inner {
    border-color: rgba(56, 189, 248, .5);
    background: rgba(56, 189, 248, .06);
    box-shadow: 0 0 20px rgba(56, 189, 248, .08), 0 0 60px rgba(56, 189, 248, .04), inset 0 1px 0 rgba(56, 189, 248, .1);
}

.ai-mode-option:nth-child(2) input:checked ~ .ai-mode-inner {
    border-color: rgba(139, 92, 246, .5);
    background: rgba(139, 92, 246, .06);
    box-shadow: 0 0 20px rgba(139, 92, 246, .08), 0 0 60px rgba(139, 92, 246, .04), inset 0 1px 0 rgba(139, 92, 246, .1);
}

.ai-mode-option:nth-child(3) input:checked ~ .ai-mode-inner {
    border-color: rgba(148, 163, 184, .4);
    background: rgba(148, 163, 184, .06);
    box-shadow: 0 0 20px rgba(148, 163, 184, .06), inset 0 1px 0 rgba(148, 163, 184, .08);
}

.ai-mode-badge {
    position: absolute;
    top: -9px;
    right: 18px;
    padding: 2px 12px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #0369a1;
    background: linear-gradient(135deg, rgba(2, 132, 199, .12), rgba(3, 105, 161, .08));
    border: 1px solid rgba(2, 132, 199, .3);
    border-radius: 20px;
    animation: ai-badge-pulse 3s ease-in-out infinite;
}

@keyframes ai-badge-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, .3);
    }
    50% {
        box-shadow: 0 0 12px 3px rgba(56, 189, 248, .15);
    }
}

.ai-mode-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ai-mode-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}

.ai-mode-option:hover .ai-mode-icon {
    transform: scale(1.08);
}

.ai-mode-icon.blue {
    background: linear-gradient(135deg, rgba(2, 132, 199, .15), rgba(3, 105, 161, .06));
    color: #0284c7;
    box-shadow: 0 0 16px rgba(2, 132, 199, .1);
}

.ai-mode-icon.purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, .2), rgba(109, 40, 217, .08));
    color: #a78bfa;
    box-shadow: 0 0 16px rgba(139, 92, 246, .1);
}

.ai-mode-icon.gray {
    background: linear-gradient(135deg, rgba(148, 163, 184, .15), rgba(100, 116, 139, .08));
    color: #94a3b8;
    box-shadow: 0 0 16px rgba(148, 163, 184, .06);
}

.ai-mode-text {
    flex: 1;
    min-width: 0;
}

.ai-mode-name {
    color: var(--text-dark);
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.ai-mode-desc {
    font-size: .78rem;
    color: rgba(0, 0, 0, .4);
    line-height: 1.4;
}

.ai-mode-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all .3s cubic-bezier(.16, 1, .3, 1);
}

.ai-mode-radio-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: scale(0);
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.ai-mode-option:first-child input:checked ~ .ai-mode-inner .ai-mode-radio {
    border-color: #0284c7;
    box-shadow: 0 0 8px rgba(2, 132, 199, .3);
}

.ai-mode-option:first-child input:checked ~ .ai-mode-inner .ai-mode-radio-dot {
    background: #0284c7;
    transform: scale(1);
    box-shadow: 0 0 6px rgba(2, 132, 199, .5);
}

.ai-mode-option:nth-child(2) input:checked ~ .ai-mode-inner .ai-mode-radio {
    border-color: #8b5cf6;
    box-shadow: 0 0 8px rgba(139, 92, 246, .3);
}

.ai-mode-option:nth-child(2) input:checked ~ .ai-mode-inner .ai-mode-radio-dot {
    background: #8b5cf6;
    transform: scale(1);
    box-shadow: 0 0 6px rgba(139, 92, 246, .5);
}

.ai-mode-option:nth-child(3) input:checked ~ .ai-mode-inner .ai-mode-radio {
    border-color: #94a3b8;
    box-shadow: 0 0 8px rgba(148, 163, 184, .2);
}

.ai-mode-option:nth-child(3) input:checked ~ .ai-mode-inner .ai-mode-radio-dot {
    background: #94a3b8;
    transform: scale(1);
    box-shadow: 0 0 6px rgba(148, 163, 184, .3);
}

.ai-train-hint {
    font-size: .73rem;
    color: rgba(0, 0, 0, .45);
    margin: 8px 0 2px;
    line-height: 1.5;
}

.ai-section-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    font-weight: 700;
    color: #334155;
    margin: 8px 0 14px;
}

.ai-section-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0, 102, 255, .08);
    color: #0e172a;
    font-size: .75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── AI Training Section ── */
.ai-training-section {
    transition: opacity .3s, max-height .4s ease;
}

.ai-training-section.hidden {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: none;
}

.ai-train-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.ai-train-header-icon {
    font-size: 1.1rem;
}

.ai-train-header-text {
    font-size: .88rem;
    font-weight: 700;
    color: rgba(0, 0, 0, .85);
}

.ai-train-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(0, 0, 0, .02);
    border: 1px solid rgba(0, 0, 0, .06);
    transition: all .2s;
    margin-bottom: 8px;
}

.ai-train-card:hover {
    background: rgba(0, 0, 0, .04);
    border-color: rgba(0, 0, 0, .1);
}

.ai-train-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-train-card-icon.blue {
    background: linear-gradient(135deg, rgba(2, 132, 199, .15), rgba(3, 105, 161, .06));
    color: #0284c7;
    box-shadow: 0 0 12px rgba(2, 132, 199, .08);
}

.ai-train-card-body {
    flex: 1;
    min-width: 0;
}

.ai-train-card-title {
    font-size: .85rem;
    font-weight: 700;
    color: rgba(0, 0, 0, .85);
    margin-bottom: 6px;
}

.ai-train-url-input {
    width: 100%;
    background: rgba(0, 0, 0, .03);
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: .8rem;
    color: rgba(0, 0, 0, .8);
    outline: none;
    transition: all .2s;
    box-sizing: border-box;
}

.ai-train-url-input:focus {
    border-color: rgba(56, 189, 248, .4);
    background: rgba(0, 0, 0, .04);
    box-shadow: 0 0 12px rgba(56, 189, 248, .06);
}

.ai-train-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border: none;
    background: #0284c7;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(2, 132, 199, .25);
}

.ai-train-action-btn:hover {
    background: #0369a1;
    box-shadow: 0 4px 20px rgba(2, 132, 199, .35);
    transform: translateY(-1px);
}

.ai-train-action-btn.running {
    background: rgba(56, 189, 248, .1);
    color: #0284C7;
    box-shadow: none;
    pointer-events: none;
}

.ai-train-action-btn.done {
    background: rgba(16, 185, 129, .1);
    color: #059669;
    box-shadow: none;
}

/* Status */
.ai-train-status {
    padding: 0;
    overflow: hidden;
    max-height: 0;
    transition: all .3s;
}

.ai-train-status.visible {
    padding: 10px 14px;
    max-height: 80px;
    margin-bottom: 8px;
}

.ai-train-status.success {
    background: rgba(16, 185, 129, .06);
    border-radius: 10px;
    color: #059669;
    font-size: .78rem;
}

.ai-train-status.error {
    background: rgba(239, 68, 68, .06);
    border-radius: 10px;
    color: #dc2626;
    font-size: .78rem;
}

.ai-train-status.loading {
    background: rgba(56, 189, 248, .06);
    border-radius: 10px;
    color: #0284C7;
    font-size: .78rem;
}

/* Dropzone */
.ai-train-dropzone {
    border: 2px dashed rgba(0, 0, 0, .1);
    border-radius: 16px;
    cursor: pointer;
    transition: all .3s;
    margin-bottom: 8px;
}

.ai-train-dropzone:hover,
.ai-train-dropzone.dragover {
    border-color: rgba(56, 189, 248, .4);
    background: rgba(56, 189, 248, .03);
    box-shadow: 0 0 24px rgba(56, 189, 248, .06);
}

.ai-train-dropzone.dragover {
    border-style: solid;
    background: rgba(56, 189, 248, .06);
}

.ai-train-dropzone-inner {
    padding: 28px 20px;
    text-align: center;
}

.ai-train-dropzone-icon {
    color: rgba(0, 0, 0, .25);
    margin-bottom: 10px;
    transition: color .2s;
}

.ai-train-dropzone:hover .ai-train-dropzone-icon {
    color: rgba(56, 189, 248, .5);
}

.ai-train-dropzone-title {
    font-size: .88rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .6);
    margin-bottom: 4px;
}

.ai-train-dropzone-sub {
    font-size: .76rem;
    color: rgba(0, 0, 0, .3);
    margin-bottom: 14px;
}

.ai-train-dropzone-formats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px;
}

.ai-train-format-pill {
    padding: 3px 10px;
    font-size: .65rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .4);
    background: rgba(0, 0, 0, .04);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 20px;
    letter-spacing: .03em;
}

.ai-train-dropzone-limit {
    font-size: .68rem;
    color: rgba(0, 0, 0, .2);
}

/* Files */
.ai-train-files {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-train-file {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, .02);
    border-radius: 10px;
    font-size: .78rem;
    animation: ai-file-in .3s ease;
}

@keyframes ai-file-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ai-train-file-icon {
    flex-shrink: 0;
    color: rgba(56, 189, 248, .5);
}

.ai-train-file-name {
    flex: 1;
    color: rgba(0, 0, 0, .7);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ai-train-file-size {
    color: rgba(0, 0, 0, .3);
    flex-shrink: 0;
    font-size: .72rem;
}

.ai-train-file-del {
    background: none;
    border: none;
    color: rgba(0, 0, 0, .2);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    flex-shrink: 0;
    transition: all .2s;
    display: flex;
}

.ai-train-file-del:hover {
    background: rgba(239, 68, 68, .1);
    color: #fca5a5;
}

.ai-train-file-badge {
    font-size: 11px;
    font-weight: 600;
    color: #22c55e;
    background: rgba(34, 197, 94, .1);
    padding: 2px 8px;
    border-radius: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* ── Warning Banner ── */
.ai-warn-banner {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, .06), rgba(251, 191, 36, .03));
    border: 1px solid rgba(245, 158, 11, .12);
    border-radius: 14px;
    margin-top: 18px;
    overflow: hidden;
    transition: border-color .3s;
}

.ai-warn-banner:hover {
    border-color: rgba(245, 158, 11, .22);
}

.ai-warn-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #f59e0b, #d97706, #b45309);
    border-radius: 3px 0 0 3px;
}

.ai-warn-icon {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-left: 4px;
}

.ai-warn-icon-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, .18), transparent 70%);
    animation: ai-warn-pulse 3s ease-in-out infinite;
}

@keyframes ai-warn-pulse {
    0%, 100% {
        opacity: .6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.ai-warn-icon-emoji {
    position: relative;
    font-size: 1.25rem;
    z-index: 1;
    filter: drop-shadow(0 0 6px rgba(245, 158, 11, .4));
}

.ai-warn-body {
    flex: 1;
    min-width: 0;
}

.ai-warn-title {
    font-size: .85rem;
    font-weight: 700;
    color: #b45309;
    margin-bottom: 5px;
    line-height: 1.35;
}

.ai-warn-desc {
    font-size: .76rem;
    color: rgba(0, 0, 0, .45);
    line-height: 1.55;
    margin-bottom: 8px;
}

.ai-warn-cta {
    display: inline-block;
    font-size: .76rem;
    font-weight: 600;
    color: #f59e0b;
    text-decoration: none;
    transition: color .2s;
}

.ai-warn-cta:hover {
    color: #fbbf24;
}

/* ── Skip Button ── */
.ai-skip-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px 20px;
    margin-top: 14px;
    background: rgba(0, 0, 0, .01);
    border: 1px dashed rgba(0, 0, 0, .1);
    border-radius: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s;
    box-sizing: border-box;
}

.ai-skip-btn:hover {
    background: rgba(0, 0, 0, .04);
    border-color: rgba(0, 0, 0, .15);
}

.ai-skip-btn:hover .ai-skip-btn-arrow {
    color: rgba(0, 0, 0, .5);
    transform: translateX(3px);
}

.ai-skip-btn-content {
    flex: 1;
    min-width: 0;
}

.ai-skip-btn-title {
    font-size: .82rem;
    font-weight: 600;
    color: rgba(0, 0, 0, .55);
    margin-bottom: 3px;
}

.ai-skip-btn-sub {
    font-size: .72rem;
    color: rgba(0, 0, 0, .4);
    line-height: 1.45;
}

.ai-skip-btn-arrow {
    flex-shrink: 0;
    font-size: .9rem;
    color: rgba(0, 0, 0, .3);
    transition: color .3s, transform .3s;
}

@media (max-width: 480px) {
    .ai-mode-inner {
        padding: 16px;
    }

    .ai-mode-icon {
        width: 42px;
        height: 42px;
    }

    .ai-mode-icon svg {
        width: 18px;
        height: 18px;
    }

    .ai-mode-name {
        font-size: .88rem;
    }

    .ai-train-dropzone-inner {
        padding: 20px 14px;
    }

    .ai-train-card {
        padding: 14px;
    }
}

@keyframes ai-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.ai-spin {
    animation: ai-spin .8s linear infinite;
}


/* ================================================================
   REDESIGN ENHANCEMENTS - Align with new design system
   ================================================================ */

/* Enhanced focus-visible states */
.f-input:focus-visible,
.otp-input:focus-visible,
.url-hero-input:focus-visible,
.wg-input:focus-visible,
.wg-select:focus-visible,
.ai-train-url-input:focus-visible {
    outline: none;
}

.btn-next:focus-visible,
.btn-back:focus-visible,
.btn-google:focus-visible,
.btn-skip:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, .25), 0 0 0 1px #0066FF;
}

/* Stronger glass on ob-card */
.ob-card {
    -webkit-backdrop-filter: blur(40px) saturate(1.5);
    backdrop-filter: blur(40px) saturate(1.5);
    -webkit-backdrop-filter: blur(40px) saturate(1.5);
}

/* Enhanced sidebar glass */
.ob-sidebar {
    -webkit-backdrop-filter: blur(50px) saturate(1.7);
    backdrop-filter: blur(50px) saturate(1.7);
    -webkit-backdrop-filter: blur(50px) saturate(1.7);
}

/* Micro-interaction on step dots */
.ob-step.active .ob-step-dot {
    transition: all 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ob-step.done:hover .ob-step-dot {
    transform: scale(1.08);
}

/* ================================================================
   GDPR CONSENT MODAL (Google registration)
   ================================================================ */
.gdpr-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, .45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.gdpr-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gdpr-modal {
    background: #fff;
    border-radius: 20px;
    padding: 36px 32px 28px;
    max-width: 420px;
    width: calc(100% - 32px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, .15), 0 0 0 1px rgba(0, 0, 0, .04);
    text-align: center;
    transform: scale(.92) translateY(16px);
    transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}

.gdpr-modal-overlay.active .gdpr-modal {
    transform: scale(1) translateY(0);
}

.gdpr-modal-icon {
    font-size: 42px;
    color: var(--accent);
    margin-bottom: 14px;
}

.gdpr-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
}

.gdpr-modal-text {
    font-size: .84rem;
    color: #475569;
    line-height: 1.65;
    margin: 0 0 24px;
}

.gdpr-modal-text a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.gdpr-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gdpr-modal-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: 12px;
    transition: all .2s ease;
}

.gdpr-modal-confirm {
    background: #0284c7;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gdpr-modal-confirm:hover {
    background: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(2, 132, 199, .3);
}

.gdpr-modal-cancel {
    background: transparent;
    color: #64748b;
}

.gdpr-modal-cancel:hover {
    background: #f1f5f9;
    color: #334155;
}

/* ================================================================
   Mobile performance — reduce blur and disable infinite/decorative
   animations on phones.  backdrop-filter and large blurred orbs are
   the biggest frame-rate killers on low/mid tier mobile GPUs.
   ================================================================ */
@media (max-width: 768px) {
    /* Remove decorative background orbs and gradients entirely. */
    .ob-shell::before,
    .ob-shell::after,
    .ob-main::before,
    .ob-main::after {
        display: none !important;
        animation: none !important;
    }

    /* Kill all infinite / decorative animations (orbs, pulses,
       floats, shimmers, spinners left running in the background). */
    .ob-container,
    .ob-emoji,
    .url-hero,
    .ai-badge,
    .ai-warning,
    .success-bg,
    .success-icon,
    .success-confetti,
    .confetti-dot,
    .confetti,
    .live-indicator-dot,
    .resend-pulse,
    .path-info,
    .step-ai-tip {
        animation: none !important;
    }

    /* Lower backdrop-filter to a minimum.  Large blur radii force
       the browser to repaint huge areas every scroll frame. */
    .ob-card,
    .ob-mobile-stepper,
    .ob-nav,
    .ob-error-banner,
    .ob-success-banner,
    .path-info,
    .gdpr-modal,
    .gdpr-modal-overlay,
    .ai-modal,
    .ai-modal-overlay {
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
    }

    /* Disable the one-time stepIn animation on the container so the
       first paint is immediate on mobile (visual jank on slow CPUs). */
    .ob-container {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .ob-step-dot,
    .email-verify-icon,
    .wp-bubble,
    .wg-live-dot,
    .confetti {
        animation: none;
    }
}

/* ============================================================
   AI training overlay — same component used in dashboard. Shown
   while crawl / interview / file upload is in progress to keep
   the user on the page and explain why the wait is worth it.
   ============================================================ */
body.wc-training-active > *:not(.wc-training-overlay) {
    filter: blur(6px) saturate(.7) brightness(.9);
    transition: filter .25s ease;
    pointer-events: none;
    user-select: none;
}
body.wc-training-active { overflow: hidden !important; }

.wc-training-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 99999;
    align-items: center; justify-content: center;
    padding: 24px;
    background: radial-gradient(circle at 30% 20%, rgba(139,92,246,.18), transparent 55%),
                radial-gradient(circle at 70% 80%, rgba(56,189,248,.18), transparent 55%),
                rgba(15, 23, 42, .55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation: wcTrainingFadeIn .3s ease;
}
body.wc-training-active .wc-training-overlay { display: flex; }
@keyframes wcTrainingFadeIn { from { opacity: 0; } to { opacity: 1; } }
.wc-training-card {
    width: 100%; max-width: 560px; background: #fff; border-radius: 20px;
    padding: 28px 28px 24px;
    box-shadow: 0 25px 60px -10px rgba(15,23,42,.45), 0 8px 24px -8px rgba(15,23,42,.25);
    display: flex; flex-direction: column; gap: 18px;
    max-height: calc(100vh - 48px);
}
.wc-training-head { display: flex; align-items: center; gap: 14px; }
.wc-training-orb {
    width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #38bdf8);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 26px; box-shadow: 0 10px 24px -8px rgba(99,102,241,.55);
    position: relative; overflow: hidden; flex-shrink: 0;
}
.wc-training-orb::after {
    content: ''; position: absolute; inset: -25%;
    background: radial-gradient(circle at center, rgba(255,255,255,.45), transparent 60%);
    animation: wcOrbPulse 2.4s ease-in-out infinite;
}
@keyframes wcOrbPulse {
    0%, 100% { transform: scale(.8); opacity: .55; }
    50%      { transform: scale(1.05); opacity: .9; }
}
.wc-training-title { margin: 0 0 4px; font-size: 18px; font-weight: 700; color: #0f172a; line-height: 1.25; }
.wc-training-sub { margin: 0; font-size: 13px; color: #64748b; line-height: 1.45; }

/* Stepped progress block */
.wc-training-progress {
    display: flex; flex-direction: column; gap: 10px;
}
.wc-training-progress-meta {
    display: flex; align-items: center; justify-content: space-between;
    font-size: 12.5px; color: #475569; font-weight: 600;
}
.wc-training-progress-label { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.wc-training-progress-label i { color: #6366f1; font-size: 14px; }
.wc-training-progress-pct { color: #6366f1; font-variant-numeric: tabular-nums; }
.wc-training-bar {
    position: relative; height: 8px; border-radius: 8px;
    background: rgba(99,102,241,.1); overflow: hidden;
}
.wc-training-bar-fill {
    position: relative; height: 100%; width: 0%;
    border-radius: 8px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #38bdf8);
    transition: width .6s cubic-bezier(.4,.2,.2,1);
    overflow: hidden;
}
.wc-training-bar-fill::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    transform: translateX(-100%);
    animation: wcBarShimmer 1.6s linear infinite;
}
.wc-training-card.is-complete .wc-training-bar-fill::after { display: none; }
@keyframes wcBarShimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
.wc-training-steps {
    display: flex; gap: 6px; justify-content: space-between;
    list-style: none; margin: 0; padding: 0;
}
.wc-training-step {
    flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-size: 11px; color: #94a3b8; text-align: center; line-height: 1.2;
    transition: color .25s ease;
}
.wc-training-step-dot {
    width: 22px; height: 22px; border-radius: 50%;
    background: #f1f5f9; border: 2px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    color: #94a3b8; font-size: 11px; font-weight: 700;
    transition: all .25s ease;
    flex-shrink: 0;
}
.wc-training-step-dot i { font-size: 12px; }
.wc-training-step.is-active { color: #4f46e5; font-weight: 600; }
.wc-training-step.is-active .wc-training-step-dot {
    background: #fff; border-color: #6366f1; color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99,102,241,.15);
}
.wc-training-step.is-done { color: #10b981; }
.wc-training-step.is-done .wc-training-step-dot {
    background: #10b981; border-color: #10b981; color: #fff;
}

/* Tip slider */
.wc-training-slider {
    position: relative;
    background: linear-gradient(135deg, rgba(99,102,241,.06), rgba(56,189,248,.04));
    border: 1px solid rgba(99,102,241,.12);
    border-radius: 14px;
    padding: 14px 44px;
    min-height: 88px;
}
.wc-training-tip {
    display: flex; gap: 12px; align-items: flex-start;
    min-height: 60px;
}
.wc-training-tip.is-fade { animation: wcTipFade .45s ease; }
@keyframes wcTipFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.wc-training-tip-icon {
    width: 32px; height: 32px; border-radius: 10px;
    background: rgba(99,102,241,.12); color: #6366f1;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
}
.wc-training-tip-body { min-width: 0; }
.wc-training-tip-title { font-size: 13px; font-weight: 600; color: #1e293b; margin-bottom: 2px; }
.wc-training-tip-text { font-size: 12.5px; color: #475569; line-height: 1.5; }
.wc-training-slider-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 50%;
    background: #fff; border: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    color: #475569; cursor: pointer; padding: 0;
    box-shadow: 0 2px 6px rgba(15,23,42,.06);
    transition: all .15s ease;
}
.wc-training-slider-nav:hover {
    border-color: #6366f1; color: #6366f1;
    box-shadow: 0 4px 10px rgba(99,102,241,.18);
}
.wc-training-slider-nav.is-prev { left: 8px; }
.wc-training-slider-nav.is-next { right: 8px; }
.wc-training-slider-nav i { font-size: 14px; }
.wc-training-dots {
    display: flex; justify-content: center; gap: 6px;
    margin-top: -6px;
}
.wc-training-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #e2e8f0; border: 0; padding: 0; cursor: pointer;
    transition: all .2s ease;
}
.wc-training-dot:hover { background: #cbd5e1; }
.wc-training-dot.is-active {
    background: #6366f1;
    width: 18px; border-radius: 4px;
}

/* Questions mode (rendered inside the modal) */
.wc-training-stage { display: flex; flex-direction: column; gap: 16px; }
.wc-training-card[data-mode="questions"] .wc-training-stage[data-stage="training"] { display: none; }
.wc-training-card[data-mode="training"] .wc-training-stage[data-stage="questions"] { display: none; }
.wc-training-questions {
    overflow-y: auto;
    max-height: 42vh;
    padding-right: 4px;
    margin-right: -4px;
}
.wc-training-questions::-webkit-scrollbar { width: 6px; }
.wc-training-questions::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.wc-training-actions {
    display: flex; gap: 10px; justify-content: flex-end; align-items: center;
    flex-wrap: wrap;
}
.wc-training-actions .wc-training-skip,
.wc-training-actions .wc-training-submit {
    border: 0; cursor: pointer; padding: 10px 18px; border-radius: 10px;
    font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px;
    transition: all .15s ease;
}
.wc-training-actions .wc-training-skip {
    background: transparent; color: #64748b;
}
.wc-training-actions .wc-training-skip:hover { color: #1e293b; }
.wc-training-actions .wc-training-submit {
    background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff;
    box-shadow: 0 6px 14px -4px rgba(99,102,241,.5);
}
.wc-training-actions .wc-training-submit:hover { transform: translateY(-1px); }
.wc-training-actions button[disabled] { opacity: .6; pointer-events: none; }

.wc-training-warn {
    display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #92400e;
    background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.2);
    border-radius: 10px; padding: 10px 12px; line-height: 1.45;
}
.wc-training-warn i { margin-top: 1px; flex-shrink: 0; }
@media (max-width: 540px) {
    .wc-training-card { padding: 22px 20px 18px; gap: 14px; }
    .wc-training-orb  { width: 48px; height: 48px; font-size: 22px; }
    .wc-training-title { font-size: 16px; }
    .wc-training-step { font-size: 0; gap: 0; }
    .wc-training-step.is-active { font-size: 11px; gap: 6px; }
    .wc-training-slider { padding: 12px 38px; }
}
