/* Free Restaurant Website wizard */
.lbw {
    --lbw-green: #16a34a;
    --lbw-green-dark: #15803d;
    --lbw-ink: #0f172a;
    --lbw-muted: #64748b;
    --lbw-border: #e2e8f0;
    --lbw-bg: #f4f8f5;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--lbw-ink);
    box-sizing: border-box;
    width: 100%;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    padding: 24px 16px 64px;
    background: linear-gradient(165deg, #ecfdf5 0%, #f4f8f3 45%, #f8fafc 100%);
}

.lbw *,
.lbw *::before,
.lbw *::after {
    box-sizing: border-box;
}

.lbw-app {
    width: 100%;
    max-width: 520px;
    background: #fff;
    border: 1px solid var(--lbw-border);
    border-radius: 24px;
    padding: 28px 24px 32px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.lbw-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
    color: var(--lbw-green-dark);
    margin-bottom: 18px;
}

.lbw-brand__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lbw-green);
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.16);
}

/* Mission counter */
.lbw-mission__pill {
    display: flex;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 800;
    color: #fb5f47;
    background: #fdf6ec;
    border: 1px solid #ff6b35;
    border-radius: 999px;
    padding: 8px 14px;
    margin: 0 auto 16px;
}

/* Feature badges */
.lbw-badges {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px;
    margin: 18px 0 4px;
}

.lbw-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    color: var(--lbw-ink);
    background: #fff;
    border: 1px solid var(--lbw-border);
    border-radius: 12px;
    padding: 8px 9px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.lbw-badge__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 4px;
    background: var(--lbw-green);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    flex: 0 0 auto;
}

.lbw-mission__card {
    border: 1px solid var(--lbw-border);
    border-radius: 18px;
    padding: 20px 18px;
    background: linear-gradient(180deg, #f7fdf9 0%, #ffffff 100%);
    text-align: center;
    margin: 40px 0 40px;
}

.lbw-mission__count {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
}

.lbw-mission__num {
    font-size: 48px;
    line-height: 1;
    font-weight: 900;
    color: #26343d;
    letter-spacing: -1px;
}

.lbw-mission__sep,
.lbw-mission__total {
    font-size: 44px;
    line-height: 1;
    font-weight: 900;
    color: #94a3b8;
    letter-spacing: -1px;
}

.lbw-mission__label {
    font-size: 15px;
    font-weight: 700;
    color: #334155;
    margin-top: 6px;
}

.lbw-mission__bar {
    height: 10px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin: 14px 0 8px;
}

.lbw-mission__fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--lbw-green), #34d399);
    border-radius: 999px;
    transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.lbw-mission__goal {
    font-size: 13px;
    font-weight: 600;
    color: var(--lbw-muted);
}

.lbw-h1 {
    font-size: 30px;
    line-height: 1.15;
    font-weight: 900;
    margin: 0 0 10px;
    color: var(--lbw-ink);
    text-align: center;
}

/* Responsive headline break: desktop breaks after "Restaurant", mobile after "Growth". */
.lbw-br-d {
    display: inline;
}

.lbw-br-m {
    display: none;
}

.lbw-h2 {
    font-size: 23px;
    line-height: 1.2;
    font-weight: 900;
    margin: 0 0 8px;
    color: var(--lbw-ink);
}

.lbw-accent {
    color: var(--lbw-green);
}

.lbw-sub {
    font-size: 15px;
    font-weight: 700;
    color: var(--lbw-muted);
    margin: 0 0 22px;
    line-height: 1.5;
    text-align: center;
}

.lbw-lead {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--lbw-muted);
    margin: 0 0 18px;
    line-height: 1.55;
    text-align: center;
    display: none;
}

.lbw-section-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--lbw-ink);
    margin: 6px 0 6px;
    text-align: center;
}

.lbw-field {
    margin-bottom: 16px;
}

.lbw-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin: 0 0 6px;
}

.lbw-input {
    width: 100%;
    border: 1.5px solid var(--lbw-border);
    border-radius: 14px;
    padding: 13px 14px;
    font-size: 15px;
    font-family: inherit;
    color: var(--lbw-ink);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.lbw-input:focus {
    outline: none;
    border-color: var(--lbw-green);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.lbw-textarea {
    resize: vertical;
    min-height: 96px;
}

.lbw-place-hint {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 13px;
    line-height: 1.4;
}

.lbw-place-hint.is-hidden {
    display: none;
}

.lbw-confirm {
    margin-bottom: 8px;
}

.lbw-confirm--linked {
    padding: 16px;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    background: #f7fdf9;
}

.lbw-btn {
    width: 100%;
    border: none;
    border-radius: 14px;
    background: var(--lbw-green);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    font-family: inherit;
    padding: 15px 18px;
    margin-top: 8px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
    text-align: center;
    text-decoration: none;
    display: block;
}

.lbw-btn:hover {
    background: var(--lbw-green-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.25);
}

.lbw-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.lbw-btn--link {
    line-height: 1.2;
}

.lbw-link {
    display: block;
    width: 100%;
    background: none;
    border: none;
    box-shadow: none;
    color: var(--lbw-muted);
    font-size: 14px;
    font-family: inherit;
    font-weight: 600;
    padding: 14px 0 0;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.lbw-link:hover,
.lbw-link:focus,
.lbw-link:active,
.lbw-link:focus-visible {
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none;
    text-decoration: none;
    color: var(--lbw-ink);
}

.lbw-sub {
    -webkit-tap-highlight-color: transparent;
}

.lbw-sub:hover,
.lbw-sub a:hover {
    background: none !important;
    background-color: transparent !important;
}

/* Cuisine options */
.lbw-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 8px;
}

.lbw-option {
    border: 1.5px solid var(--lbw-border);
    border-radius: 14px;
    background: #fff;
    color: var(--lbw-ink);
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    padding: 16px 12px;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.lbw-option:hover {
    border-color: var(--lbw-green);
    transform: translateY(-1px);
}

.lbw-option.is-selected {
    border-color: var(--lbw-green);
    background: #ecfdf5;
    color: var(--lbw-green-dark);
}

.lbw-other {
    margin: 14px 0 4px;
    padding: 16px;
    border: 1px solid #bbf7d0;
    border-radius: 16px;
    background: #f7fdf9;
}

.lbw-other.is-hidden {
    display: none;
}

.lbw-other .lbw-btn {
    margin-top: 12px;
}

/* Qualification questions */
.lbw-kicker {
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lbw-green-dark);
    margin-bottom: 8px;
}

.lbw-choices {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 18px 0 8px;
}

.lbw-choice {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    border: 1.5px solid var(--lbw-border);
    border-radius: 14px;
    background: #fff;
    padding: 15px 16px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--lbw-ink);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.lbw-choice:hover {
    border-color: var(--lbw-green);
    transform: translateY(-1px);
}

.lbw-choice__radio {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    position: relative;
    transition: border-color 0.15s ease;
}

.lbw-choice.is-selected {
    border-color: var(--lbw-green);
    background: #ecfdf5;
}

.lbw-choice.is-selected .lbw-choice__radio {
    border-color: var(--lbw-green);
}

.lbw-choice.is-selected .lbw-choice__radio::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--lbw-green);
}

/* Celebrate emoji */
.lbw-celebrate {
    font-size: 52px;
    line-height: 1;
    text-align: center;
    margin: 4px 0 10px;
}

.lbw-celebrate--spin {
    animation: lbwPulse 1.1s ease-in-out infinite;
}

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

/* Checklists */
.lbw-checklist {
    list-style: none;
    margin: 12px 0 18px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
}

.lbw-check {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 700;
    color: var(--lbw-ink);
}

.lbw-check__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: var(--lbw-green);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    flex: 0 0 auto;
}

/* Website preview — inline phone mock */
.lbw-pv {
    margin: 10px 0 18px;
    text-align: center;
}

.lbw-pv__phone {
    position: relative;
    width: 260px;
    margin: 0 auto 12px;
    padding: 10px;
    background: #0f172a;
    border-radius: 34px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.lbw-pv__phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.34);
}

.lbw-pv__notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 16px;
    background: #0f172a;
    border-radius: 0 0 12px 12px;
    z-index: 3;
}

.lbw-pv__screen {
    position: relative;
    width: 240px;
    height: 460px;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

.lbw-pv__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    transform: none;
    pointer-events: none;
}

.lbw-pv__tap {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    z-index: 3;
    pointer-events: none;
    white-space: nowrap;
}

.lbw-pv__link {
    display: block;
    margin: 0 auto;
}

.lbw-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 10px auto 0;
    padding: 11px 18px;
    border: 1.5px solid var(--lbw-green);
    background: #fff;
    color: var(--lbw-green-dark);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.lbw-share:hover {
    background: #ecfdf5;
}

.lbw-share.is-copied {
    background: var(--lbw-green);
    border-color: var(--lbw-green);
    color: #fff;
}

/* Spinners */
.lbw-pv__spinner,
.lbw-modal__spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 3px solid #e2e8f0;
    border-top-color: var(--lbw-green);
    border-radius: 50%;
    animation: lbwSpin 0.8s linear infinite;
    z-index: 2;
}

.lbw-pv__spinner.is-hidden,
.lbw-modal__spinner.is-hidden {
    display: none;
}

@keyframes lbwSpin {
    to { transform: rotate(360deg); }
}

/* Website preview — full in-page modal */
body.lbw-modal-open {
    overflow: hidden;
}

.lbw-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.lbw-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.62);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.lbw-modal__panel {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    animation: lbwModalIn 0.2s ease;
}

@keyframes lbwModalIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lbw-modal__head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 12px;
    border-bottom: 1px solid var(--lbw-border);
    background: #fff;
}

.lbw-modal__title {
    flex: 1;
    font-size: 15px;
    font-weight: 800;
    color: var(--lbw-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lbw-modal__open,
.lbw-modal__close {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 0;
    background: #f1f5f9;
    color: var(--lbw-ink);
    cursor: pointer;
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
}

.lbw-modal__open:hover,
.lbw-modal__close:hover {
    background: #e2e8f0;
}

.lbw-modal__close {
    font-size: 24px;
}

.lbw-modal__body {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    background: #fff;
}

.lbw-modal__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Testimonials */
.lbw-quotes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 8px;
}

.lbw-quote {
    border: 1px solid var(--lbw-border);
    border-radius: 16px;
    padding: 16px;
    background: #fbfdfc;
}

.lbw-quote p {
    margin: 6px 0 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
}

.lbw-quote span {
    font-size: 12px;
    font-weight: 700;
    color: var(--lbw-muted);
}

.lbw-stars {
    color: #f59e0b;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Messages */
.lbw-msg {
    margin: 4px 0 8px;
    padding: 11px 13px;
    border-radius: 12px;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 13px;
    font-weight: 600;
}

.lbw-msg--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

/* Building progress */
.lbw-progress {
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
    margin: 6px 0 18px;
}

.lbw-progress__bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--lbw-green), #34d399);
    border-radius: 999px;
    transition: width 0.4s ease;
}

.lbw-tasks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lbw-task {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--lbw-muted);
    transition: color 0.2s ease;
}

.lbw-task__dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    flex: 0 0 auto;
    position: relative;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.lbw-task.is-active {
    color: var(--lbw-ink);
    font-weight: 700;
}

.lbw-task.is-active .lbw-task__dot {
    border-color: var(--lbw-green);
    border-right-color: transparent;
    animation: lbwSpin 0.8s linear infinite;
}

.lbw-task.is-done {
    color: #166534;
}

.lbw-task.is-done .lbw-task__dot {
    border-color: var(--lbw-green);
    background: var(--lbw-green);
}

.lbw-task.is-done .lbw-task__dot::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

@keyframes lbwSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Done */
.lbw-done {
    text-align: center;
}

.lbw-done__check {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ecfdf5;
    color: var(--lbw-green);
    font-size: 34px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    border: 2px solid #bbf7d0;
}

@media (max-width: 480px) {
    .lbw-app {
        padding: 22px 16px 26px;
        border-radius: 20px;
    }
    .lbw-h1 {
        font-size: 26px;
        font-weight: 800;
    }
    .lbw-br-d {
        display: none;
    }
    .lbw-br-m {
        display: inline;
    }
    .lbw-mission__pill {
        font-size: 9px;
    }
    .lbw-badges {
        display: grid;
        justify-content: center;
        gap: 6px;
    }
    .lbw-mission__num,
    .lbw-mission__sep,
    .lbw-mission__total {
        font-size: 35px;
        font-weight: 700;
    }
    .lbw-mission__label {
        font-size: 13px;
        font-weight: 400;
    }
    .lbw-checklist {
        grid-template-columns: 1fr;
    }
    .lbw-celebrate {
        font-size: 46px;
    }
}
