/* WEDSNAP INTERACTIVE DEMO UI V1 */

:root {
    --demo-bg: #f4f5f8;
    --demo-card: #ffffff;
    --demo-ink: #171923;
    --demo-muted: #646979;
    --demo-border: #e2e4ea;
    --demo-accent: #6657d9;
    --demo-accent-dark: #5044b9;
    --demo-soft: #f0edff;
    --demo-warning: #fff7df;
    --demo-warning-border: #ebd68a;
    --demo-success: #e9f8ef;
    --demo-success-ink: #24633c;
    --demo-danger: #fff0f0;
    --demo-danger-ink: #842828;
    --demo-radius: 22px;
    --demo-shadow:
        0 18px 45px rgba(23, 25, 35, .08);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--demo-bg);
    color: var(--demo-ink);
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

a {
    color: var(--demo-accent-dark);
}

button,
input,
textarea {
    font: inherit;
}

.ws-demo-public-header,
.ws-demo-app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px clamp(20px, 5vw, 72px);
    background: #fff;
    border-bottom: 1px solid var(--demo-border);
}

.ws-demo-brand {
    color: var(--demo-ink);
    font-size: 1.55rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: -.04em;
}

.ws-demo-header-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--demo-accent);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.ws-demo-entry-shell {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(45px, 7vw, 90px) 0;
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(340px, .72fr);
    gap: clamp(35px, 6vw, 80px);
    align-items: center;
}

.ws-demo-kicker,
.ws-demo-card-kicker {
    color: var(--demo-accent-dark);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.ws-demo-entry-copy h1,
.ws-demo-welcome h1 {
    margin: 12px 0 18px;
    font-size: clamp(2.4rem, 5vw, 4.7rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.ws-demo-entry-copy h1 span {
    color: var(--demo-accent);
}

.ws-demo-lead {
    max-width: 680px;
    color: var(--demo-muted);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.65;
}

.ws-demo-limit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 34px 0 20px;
}

.ws-demo-limit-grid > div {
    min-width: 0;
    padding: 18px 14px;
    background: #fff;
    border: 1px solid var(--demo-border);
    border-radius: 18px;
}

.ws-demo-limit-grid strong {
    display: block;
    font-size: 1.65rem;
}

.ws-demo-limit-grid span {
    display: block;
    margin-top: 4px;
    color: var(--demo-muted);
    font-size: .88rem;
}

.ws-demo-explain {
    padding: 18px 20px;
    border: 1px solid var(--demo-warning-border);
    border-radius: 18px;
    background: var(--demo-warning);
    line-height: 1.55;
}

.ws-demo-explain strong {
    display: block;
    margin-bottom: 3px;
}

.ws-demo-start-card,
.ws-demo-panel,
.ws-demo-quota-card {
    background: var(--demo-card);
    border: 1px solid var(--demo-border);
    border-radius: var(--demo-radius);
    box-shadow: var(--demo-shadow);
}

.ws-demo-start-card {
    padding: clamp(26px, 4vw, 38px);
}

.ws-demo-start-card h2,
.ws-demo-panel h2,
.ws-demo-quota-card h2 {
    margin: 8px 0 10px;
    letter-spacing: -.035em;
}

.ws-demo-start-card > p,
.ws-demo-panel > p {
    color: var(--demo-muted);
    line-height: 1.55;
}

.ws-demo-form {
    display: grid;
    gap: 17px;
    margin-top: 24px;
}

.ws-demo-form label > span {
    display: block;
    margin-bottom: 7px;
    font-size: .9rem;
    font-weight: 750;
}

.ws-demo-form input[type="text"],
.ws-demo-form input[type="email"],
.ws-demo-form textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #cfd2db;
    border-radius: 12px;
    background: #fff;
    color: var(--demo-ink);
    outline: none;
}

.ws-demo-form textarea {
    resize: vertical;
}

.ws-demo-form input:focus,
.ws-demo-form textarea:focus {
    border-color: var(--demo-accent);
    box-shadow: 0 0 0 3px rgba(102, 87, 217, .13);
}

.ws-demo-check {
    display: grid !important;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    color: var(--demo-muted);
    font-size: .88rem;
    line-height: 1.5;
}

.ws-demo-check input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
}

.ws-demo-check span {
    margin: 0 !important;
    font-weight: 500 !important;
}

.ws-demo-check em {
    font-style: normal;
    font-weight: 800;
}

.ws-demo-privacy,
.ws-demo-no-card {
    color: var(--demo-muted);
    font-size: .82rem;
    line-height: 1.5;
}

.ws-demo-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 0;
    border-radius: 13px;
    background: var(--demo-accent);
    color: #fff;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

.ws-demo-primary:hover {
    background: var(--demo-accent-dark);
}

.ws-demo-alert,
.ws-demo-success {
    padding: 14px 16px;
    border-radius: 13px;
    line-height: 1.45;
}

.ws-demo-alert {
    margin-top: 18px;
    background: var(--demo-danger);
    color: var(--demo-danger-ink);
}

.ws-demo-success {
    margin-bottom: 18px;
    background: var(--demo-success);
    color: var(--demo-success-ink);
}

.ws-demo-countdown-bar {
    position: sticky;
    z-index: 50;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 11px clamp(16px, 4vw, 52px);
    background: #171923;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,.14);
}

.ws-demo-countdown-bar > div {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ws-demo-countdown-bar strong {
    font-size: .78rem;
    letter-spacing: .08em;
}

.ws-demo-countdown-bar span {
    color: #d9d9e3;
}

.ws-demo-countdown-bar b {
    margin-left: 5px;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.ws-demo-countdown-bar a {
    min-height: 38px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #fff;
    color: #171923;
    font-size: .86rem;
    font-weight: 850;
    text-decoration: none;
}

.ws-demo-header-copy {
    color: var(--demo-muted);
    font-weight: 700;
}

.ws-demo-dashboard {
    width: min(1180px, calc(100% - 34px));
    margin: 0 auto;
    padding: 42px 0 80px;
}

.ws-demo-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 28px;
}

.ws-demo-welcome h1 {
    font-size: clamp(2.1rem, 4vw, 3.7rem);
    margin-bottom: 10px;
}

.ws-demo-welcome p {
    max-width: 760px;
    margin: 0;
    color: var(--demo-muted);
    line-height: 1.6;
}

.ws-demo-badge {
    min-width: 92px;
    min-height: 92px;
    display: grid;
    place-items: center;
    border: 2px solid var(--demo-accent);
    border-radius: 50%;
    color: var(--demo-accent);
    font-weight: 950;
    transform: rotate(-7deg);
}

.ws-demo-quota-card {
    padding: 26px;
    margin-bottom: 24px;
}

.ws-demo-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ws-demo-live-pill,
.ws-demo-next {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--demo-soft);
    color: var(--demo-accent-dark);
    font-size: .75rem;
    font-weight: 850;
}

.ws-demo-quota-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.ws-demo-quota-grid > div {
    padding: 20px;
    border: 1px solid var(--demo-border);
    border-radius: 16px;
    background: #fafafe;
}

.ws-demo-quota-grid strong {
    display: block;
    font-size: 1.3rem;
}

.ws-demo-quota-grid span {
    display: block;
    margin-top: 3px;
    color: var(--demo-muted);
    font-size: .86rem;
}

.ws-demo-limit-note {
    margin: 18px 0 0;
    color: var(--demo-muted);
    line-height: 1.55;
}

.ws-demo-dashboard-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(320px, .85fr);
    gap: 24px;
}

.ws-demo-panel {
    padding: clamp(24px, 4vw, 34px);
}

.ws-demo-two-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ws-demo-feature-stack {
    display: grid;
    gap: 10px;
    margin-top: 22px;
}

.ws-demo-feature-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--demo-border);
    border-radius: 15px;
}

.ws-demo-feature-row strong,
.ws-demo-feature-row span {
    display: block;
}

.ws-demo-feature-row span {
    margin-top: 3px;
    color: var(--demo-muted);
    font-size: .86rem;
    line-height: 1.4;
}

.ws-demo-fresh-start {
    margin-top: 20px;
    padding: 17px;
    border-radius: 15px;
    background: var(--demo-warning);
    border: 1px solid var(--demo-warning-border);
    font-size: .9rem;
    line-height: 1.55;
}

.ws-demo-fresh-start strong {
    display: block;
}

.ws-demo-buy-block {
    width: 100%;
    margin-top: 18px;
}

@media (max-width: 840px) {
    .ws-demo-entry-shell,
    .ws-demo-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .ws-demo-limit-grid,
    .ws-demo-quota-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ws-demo-entry-shell {
        align-items: stretch;
    }
}

@media (max-width: 600px) {
    .ws-demo-public-header {
        align-items: flex-start;
    }

    .ws-demo-header-buy {
        display: none;
    }

    .ws-demo-countdown-bar {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .ws-demo-countdown-bar > div {
        justify-content: space-between;
    }

    .ws-demo-countdown-bar a {
        justify-content: center;
    }

    .ws-demo-app-header {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .ws-demo-header-copy {
        font-size: .78rem;
        text-align: right;
    }

    .ws-demo-welcome {
        align-items: flex-start;
    }

    .ws-demo-badge {
        min-width: 64px;
        min-height: 64px;
        font-size: .72rem;
    }

    .ws-demo-two-fields {
        grid-template-columns: 1fr;
    }

    .ws-demo-limit-grid,
    .ws-demo-quota-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ws-demo-feature-row {
        align-items: flex-start;
    }
}

@media (max-width: 390px) {
    .ws-demo-limit-grid,
    .ws-demo-quota-grid {
        grid-template-columns: 1fr;
    }
}

/* WEDSNAP DEMO RECOVERY UI V1 */
.ws-demo-resume {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--demo-border);
}

.ws-demo-resume h3 {
    margin: 0 0 8px;
}

.ws-demo-resume > p {
    margin: 0;
    color: var(--demo-muted);
    line-height: 1.55;
}

.ws-demo-secondary {
    background: #171923;
}

.ws-demo-secondary:hover {
    background: #2b2f3c;
}

.ws-demo-recovery-code {
    align-items: flex-start;
    gap: 12px;
}

.ws-demo-recovery-code code {
    display: inline-block;
    margin: 0 8px;
    padding: 3px 7px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .7);
    color: inherit;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.ws-demo-recovery-code span {
    display: block;
    margin-top: 5px;
}
