﻿/* 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 {
}
