﻿/* trial.css — Start Free Trial page */
/* Depends on auth.css variables: --text, --muted, --stroke, etc. */

.trial {
    display: grid;
    gap: 14px;
}

/* Top row buttons inside the card */
.trial-toprow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.trial-pillrow {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.trial-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    color: rgba(234,240,255,.82);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
}

.trial-meta {
    font-size: 14px;
    color: rgba(234,240,255,.85);
}

/* Headline + copy */
.trial-title {
    font-size: 40px;
    line-height: 1.08;
    margin: 6px 0 0;
    letter-spacing: -0.4px;
}

@media (max-width: 520px) {
    .trial-title {
        font-size: 32px;
    }
}

.trial-sub {
    margin: 6px 0 10px;
    color: rgba(234,240,255,.78);
    line-height: 1.55;
    font-size: 16px;
}

/* Form */
.trial-form {
    display: grid;
    gap: 14px;
    margin-top: 2px;
}

.field {
    display: grid;
    gap: 8px;
}

.label {
    font-size: 14px;
    color: rgba(234,240,255,.82);
    font-weight: 600;
}

.label-muted {
    color: rgba(234,240,255,.58);
    font-weight: 500;
    margin-left: 6px;
    font-size: 13px;
}

/* Big inputs */
.trial-input,
.trial-select {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: rgba(234,240,255,.92);
    outline: none;
    font-size: 16px;
}

    .trial-input::placeholder {
        color: rgba(234,240,255,.45);
    }

    .trial-input:focus,
    .trial-select:focus {
        border-color: rgba(102,132,255,.55);
        box-shadow: 0 0 0 4px rgba(102,132,255,.16);
    }

/* Make select arrow look better (cross-browser-ish) */
.trial-select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(234,240,255,.75) 50%), linear-gradient(135deg, rgba(234,240,255,.75) 50%, transparent 50%);
    background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 44px;
}

/* Primary CTA matches screenshot style */
.trial-cta {
    width: 100%;
    padding: 16px 18px;
    border: 0;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, #5F6DFF 0%, #7B5CF0 50%, #8A6BEA 100%);
    box-shadow: 0 10px 28px rgba(100,110,255,.35);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

    .trial-cta:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 34px rgba(100,110,255,.45);
    }

    .trial-cta:active {
        transform: translateY(0);
    }

/* Helper note */
.trial-note {
    margin: 6px 0 0;
    color: rgba(234,240,255,.72);
    font-size: 14px;
}

/* Divider */
.trial-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 8px 0 0;
    color: rgba(234,240,255,.68);
    font-size: 13px;
}

    .trial-divider::before,
    .trial-divider::after {
        content: "";
        height: 1px;
        background: rgba(255,255,255,.12);
        flex: 1;
    }

/* Secondary action as a button */
.trial-secondary {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: rgba(234,240,255,.92);
    text-decoration: none;
    font-weight: 700;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

    .trial-secondary:hover {
        background: rgba(255,255,255,.06);
        border-color: rgba(255,255,255,.18);
        transform: translateY(-1px);
    }

    .trial-secondary:active {
        transform: translateY(0);
    }

/* Back link as pill button */
.trial-backbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    color: rgba(234,240,255,.86);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: background .18s ease, border-color .18s ease;
}

    .trial-backbtn:hover {
        background: rgba(255,255,255,.05);
        border-color: rgba(255,255,255,.18);
    }

/* Legal */
.trial-legal {
    margin: 10px 0 0;
    color: rgba(234,240,255,.62);
    font-size: 12.5px;
    line-height: 1.45;
}

    .trial-legal a {
        color: rgba(191,208,255,.92);
        text-decoration: none;
    }

        .trial-legal a:hover {
            text-decoration: underline;
        }
body {
}

.onboarding-shell {
    gap: 18px;
}

.wizard-rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.wizard-step-pill {
    padding: 10px 12px;
    border-radius: 999px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: rgba(234,240,255,.62);
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
}

.wizard-step-pill.is-active {
    color: #eaffff;
    border-color: rgba(163,230,53,.42);
    background: rgba(163,230,53,.12);
}

.wizard-step-pill.is-complete {
    color: rgba(234,240,255,.92);
}

.trial-banner {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: rgba(234,240,255,.86);
}

.trial-banner.is-hidden {
    display: none;
}

.trial-banner.is-error {
    border-color: rgba(248,113,113,.35);
    background: rgba(127,29,29,.25);
}

.trial-banner.is-subtle {
    border-color: rgba(163,230,53,.18);
}

.wizard-panel {
    display: none;
    gap: 14px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.02);
}

.wizard-panel.is-active {
    display: grid;
}

.wizard-copy h2 {
    margin: 0;
    font-size: 26px;
}

.wizard-copy p {
    margin: 8px 0 0;
    color: rgba(234,240,255,.76);
}

.field-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.grid-2col,
.grid-3col,
.plan-grid,
.trial-actions {
    display: grid;
    gap: 14px;
}

.grid-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3col,
.plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    cursor: pointer;
}

.plan-card input {
    display: none;
}

.plan-card.is-selected {
    border-color: rgba(163,230,53,.45);
    background: rgba(163,230,53,.10);
    box-shadow: 0 0 0 1px rgba(163,230,53,.16) inset;
}

.plan-name {
    font-size: 18px;
    font-weight: 800;
}

.plan-price {
    font-size: 28px;
    font-weight: 800;
}

.plan-price span {
    margin-left: 6px;
    font-size: 13px;
    color: rgba(234,240,255,.62);
}

.plan-copy {
    color: rgba(234,240,255,.76);
    line-height: 1.5;
}

.trial-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@@media (max-width: 900px) {
    .wizard-rail,
    .grid-3col,
    .plan-grid,
    .trial-actions {
        grid-template-columns: 1fr;
    }

    .grid-2col {
        grid-template-columns: 1fr;
    }
}
