/* ============================================================
   GloType™ Assessment — Life Legally Single
   Brand: Black #000 · Purple #6B4FBB · White #FFF
   v1.5.0: Added Unlock Moment styles (gt-content-locked,
           gt-content-unlocked, gt-unlock-section)
   ============================================================ */

/* ── Wrap ──────────────────────────────────────────────────── */
.lls-glotype-wrap {
    background: #000;
    color: #fff;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 480px;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.gt-screen {
    max-width: 720px;
    margin: 0 auto;
    padding: 64px 24px 80px;
}

/* ── Eyebrow ────────────────────────────────────────────────── */
.gt-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: #9B7FEC;
    margin: 0 0 20px;
}

/* ── INTRO ──────────────────────────────────────────────────── */
#gt-intro {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.gt-hero-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.025em;
    margin: 0 0 20px;
    color: #fff;
}

.gt-purple { color: #9B7FEC; }

.gt-hero-sub {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    max-width: 480px;
    margin: 0 auto 32px;
}

.gt-pill-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.gt-pill {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #9B7FEC;
    border: 1px solid rgba(107,79,187,0.35);
    background: rgba(107,79,187,0.1);
    padding: 6px 16px;
    border-radius: 40px;
}

.gt-meta {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.2);
    margin-top: 16px;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.gt-btn-primary {
    display: inline-block;
    background: #6B4FBB;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 18px 52px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    line-height: 1;
}
.gt-btn-primary:hover {
    background: #7B5FCC;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(107,79,187,0.4);
    color: #fff;
    text-decoration: none;
}
.gt-btn-primary:disabled {
    background: rgba(107,79,187,0.4);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.gt-btn-secondary {
    display: inline-block;
    background: transparent;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.2);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.gt-btn-secondary:hover {
    border-color: #6B4FBB;
    background: rgba(107,79,187,0.1);
}

.gt-btn-ghost {
    display: inline-block;
    background: transparent;
    color: rgba(255,255,255,0.3);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 14px 20px;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}
.gt-btn-ghost:hover { color: rgba(255,255,255,0.7); }

/* ── PROGRESS ────────────────────────────────────────────────── */
.gt-progress-wrap { margin-bottom: 48px; }

.gt-progress-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.3);
    display: block;
    margin-bottom: 10px;
}

.gt-progress-bar {
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}

.gt-progress-fill {
    height: 100%;
    background: #6B4FBB;
    border-radius: 2px;
    transition: width 0.4s ease;
    width: 0%;
}

/* ── QUESTION ────────────────────────────────────────────────── */
.gt-q-dim {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(107,79,187,0.6);
    margin-bottom: 16px;
}

.gt-q-text {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0 0 36px;
}

/* ── CHOICES ─────────────────────────────────────────────────── */
.gt-choices {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gt-choice {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 4px;
    padding: 20px 24px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}
.gt-choice:hover {
    border-color: #6B4FBB;
    background: rgba(107,79,187,0.08);
    transform: translateX(4px);
}
.gt-choice:active {
    background: rgba(107,79,187,0.15);
    transform: translateX(2px);
}

.gt-choice-letter {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: rgba(107,79,187,0.15);
    border: 1px solid rgba(107,79,187,0.35);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #9B7FEC;
    margin-top: 1px;
}

.gt-choice-text {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

/* ── TIEBREAKER ──────────────────────────────────────────────── */
#gt-tiebreaker { text-align: left; }

.gt-tb-intro {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    margin: 0 0 36px;
    line-height: 1.6;
}
.gt-tb-intro strong { color: #9B7FEC; font-weight: 700; }

/* ── INVITE GATE ─────────────────────────────────────────────── */
#gt-invite { text-align: center; }

.gt-gate-title {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: #fff;
}

.gt-gate-sub {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    max-width: 480px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

/* ── EMAIL / UNLOCK INPUTS ───────────────────────────────────── */
.gt-email-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 440px;
    margin: 0 auto;
}

.gt-email-input {
    width: 100%;
    background: #111;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 400;
    padding: 16px 20px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
.gt-email-input::placeholder { color: rgba(255,255,255,0.25); }
.gt-email-input:focus { border-color: #6B4FBB; }

.gt-email-wrap .gt-btn-primary { width: 100%; }

.gt-privacy {
    font-size: 12px;
    color: rgba(255,255,255,0.2);
    margin-top: 12px;
    letter-spacing: 0.04em;
    text-align: center;
}

.gt-error {
    background: rgba(231,76,60,0.12);
    border: 1px solid rgba(231,76,60,0.3);
    border-radius: 4px;
    color: #e74c3c;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 16px;
    margin-top: 12px;
    text-align: center;
}

/* ── LOADING ─────────────────────────────────────────────────── */
#gt-loading {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.gt-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(107,79,187,0.2);
    border-top-color: #6B4FBB;
    border-radius: 50%;
    animation: gt-spin 0.8s linear infinite;
    margin-bottom: 24px;
}
@keyframes gt-spin { to { transform: rotate(360deg); } }

.gt-loading-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
}

/* ── RESULT screen — base ────────────────────────────────────── */
#gt-result { text-align: center; }

/* ── v1.5.1: UNLOCK CARD — email-card aesthetic ──────────────── */
/* Outer section wrapper */
#gt-unlock-section {
    animation: gt-reveal 0.5s 0.1s ease both;
    opacity: 0;
    margin-bottom: 32px;
}

/* The card itself — mirrors the welcome email card design */
.gt-unlock-card {
    background: #111;
    border: 1px solid rgba(107,79,187,0.2);
    border-radius: 12px;
    padding: 48px 40px 36px;
    margin-bottom: 0;
    text-align: center;
}

/* "LIFE LEGALLY SINGLE · GLOTYPE™" */
.gt-unlock-card-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin: 0 0 24px;
}

/* "You are" */
.gt-unlock-you-are {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    margin: 0 0 10px;
    letter-spacing: 0.02em;
}

/* Element name — large, purple */
#gt-result-element {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #9B7FEC;
    line-height: 1.05;
    margin-bottom: 20px;
    animation: gt-reveal 0.6s 0.15s ease both;
    opacity: 0;
}

/* Code pill badge */
#gt-result-code {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #9B7FEC;
    border: 1px solid rgba(107,79,187,0.5);
    border-radius: 40px;
    padding: 6px 22px;
    margin-bottom: 28px;
    animation: gt-reveal 0.6s 0.2s ease both;
    opacity: 0;
}

/* Element description line — tagline between code pill and teaser */
.gt-unlock-element-description {
    font-size: 17px;
    font-weight: 400;
    font-style: italic;
    color: rgba(255,255,255,0.75);
    margin: 0 0 20px;
    line-height: 1.65;
    animation: gt-reveal 0.6s 0.25s ease both;
    opacity: 0;
}

/* Teaser line */
.gt-unlock-teaser {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    margin: 0;
    line-height: 1.65;
    padding-bottom: 0;
}
.gt-unlock-teaser strong {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

/* Divider between card and form */
.gt-unlock-card {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: none;
}

/* Form area sits flush below the card */
#gt-unlock-known,
#gt-unlock-form {
    background: #0D0D0D;
    border: 1px solid rgba(107,79,187,0.2);
    border-top: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 28px 40px 24px;
}

/* Known-email button full width */
.gt-unlock-known-btn {
    width: 100%;
    max-width: 100%;
    font-size: 12px;
    padding: 16px 24px;
    letter-spacing: 0.06em;
    text-transform: none;
    line-height: 1.4;
    white-space: normal;
    word-break: break-word;
}

/* Known email sub-hint */
.gt-unlock-known-btn::after {
    content: attr(data-email);
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    letter-spacing: 0.02em;
    text-transform: none;
}

@keyframes gt-reveal {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* "Use a different email" inline link */
.gt-switch-email-link {
    background: none;
    border: none;
    color: rgba(155,127,236,0.5);
    font-size: 12px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
    transition: color 0.2s;
}
.gt-switch-email-link:hover { color: #9B7FEC; }



/* Blurred state — shown before email capture */
.gt-content-locked {
    filter: blur(10px);
    opacity: 0.35;
    user-select: none;
    pointer-events: none;
    transition: filter 0.7s ease, opacity 0.7s ease;
}

/* Revealed state — after email captured */
.gt-content-unlocked {
    filter: none;
    opacity: 1;
    user-select: auto;
    pointer-events: auto;
    animation: gt-unlock-reveal 0.7s ease both;
}

@keyframes gt-unlock-reveal {
    from { opacity: 0; filter: blur(6px); transform: translateY(10px); }
    to   { opacity: 1; filter: none;      transform: translateY(0); }
}

/* ── Dimension breakdown ─────────────────────────────────────── */
.gt-result-element-description {
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    color: rgba(255,255,255,0.55);
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.65;
}

.gt-dim-breakdown {
    display: flex;
    justify-content: center;
    gap: 3px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.gt-dim-item {
    background: #111;
    border: 1px solid rgba(255,255,255,0.07);
    border-top: 2px solid #6B4FBB;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 100px;
}

.gt-dim-name {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.gt-dim-pole-letter {
    font-size: 28px;
    font-weight: 900;
    color: #9B7FEC;
    line-height: 1;
}

.gt-dim-pole-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

/* ── Share row ───────────────────────────────────────────────── */
.gt-share-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

/* ── Footer brand ────────────────────────────────────────────── */
.gt-footer-brand {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.15);
    text-align: center;
    line-height: 1.8;
}
.gt-footer-brand em {
    font-style: italic;
    color: rgba(155,127,236,0.3);
}

/* ── Hub Routing CTA ─────────────────────────────────────────── */
.gt-hub-route { margin-bottom: 32px; }

.gt-hub-primary {
    background: #111;
    border: 1px solid rgba(107,79,187,0.3);
    border-top: 3px solid #6B4FBB;
    border-radius: 4px;
    padding: 36px 32px;
    margin-bottom: 3px;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.gt-hub-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(107,79,187,0.07), transparent);
    pointer-events: none;
}

.gt-hub-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #9B7FEC;
    border: 1px solid rgba(107,79,187,0.35);
    background: rgba(107,79,187,0.1);
    padding: 5px 14px;
    border-radius: 40px;
    margin-bottom: 16px;
}

.gt-hub-product {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(107,79,187,0.6);
    margin-bottom: 10px;
}

.gt-hub-headline {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: #fff;
    margin: 0 0 12px;
}

.gt-hub-sub {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    color: rgba(255,255,255,0.5);
    margin-bottom: 28px;
    max-width: 520px;
}

.gt-hub-cta-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
    .gt-screen              { padding: 48px 20px 64px; }
    .gt-unlock-card         { padding: 36px 20px 28px; }
    #gt-unlock-known,
    #gt-unlock-form         { padding: 22px 20px 20px; }
    .gt-hub-primary         { padding: 24px 20px; }
    .gt-dim-breakdown       { gap: 2px; }
    .gt-dim-item            { min-width: 72px; padding: 12px 12px; }
    .gt-share-row           { flex-direction: column; align-items: center; }
    .gt-choice              { padding: 16px 18px; }
}
