/* ============================================
   FUTURE SELF PATHWAY — standalone funnel page
   Linked directly by future-self.html (not part of dashboard.css).
   Namespaced with .fs- to avoid collisions.
   ============================================ */

.fsf-body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #18224c;
    background: radial-gradient(1200px 600px at 50% -10%, #eaf2ff 0%, #f6f8fc 45%, #f6f8fc 100%);
    min-height: 100vh;
}

.fsf-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 980px;
    margin: 0 auto;
}

.fsf-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #18224c;
}

.fsf-brand span {
    font-family: 'League Spartan', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.fsf-brand img { height: 32px; width: 32px; }

.fsf-nav-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
}

.fsf-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 5rem;
}

/* Progress */
.fsf-progress {
    display: flex;
    gap: 0.4rem;
    margin: 0.5rem 0 2rem;
}
.fsf-progress span {
    flex: 1;
    height: 4px;
    border-radius: 999px;
    background: #dbe3f0;
    transition: background 0.3s ease;
}
.fsf-progress span.done { background: #027ffe; }

/* Steps */
.fsf-step { display: none; }
.fsf-step.active { display: block; animation: fsfFade 0.4s ease; }
@keyframes fsfFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.fsf-eyebrow {
    display: block;
    font-family: 'League Spartan', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    font-weight: 700;
    color: #027ffe;
}
.fsf-h1 {
    font-family: 'League Spartan', sans-serif;
    font-size: 2.1rem;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0.6rem 0 0.8rem;
}
.fsf-lead { font-size: 1.1rem; color: #4a5575; line-height: 1.6; }

.fsf-card {
    background: #fff;
    border: 1px solid #e6e8f0;
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 12px 40px rgba(13, 81, 167, 0.08);
    margin: 1.5rem 0;
}

.fsf-list { padding-left: 1.1rem; color: #36405c; line-height: 1.7; }
.fsf-list li { margin: 0.35rem 0; }

/* Prompt box */
.fsf-prompt {
    position: relative;
    background: #0f1730;
    color: #d7e2ff;
    border-radius: 14px;
    padding: 1.1rem 1.1rem 1.1rem;
    font-family: 'SFMono-Regular', ui-monospace, Menlo, monospace;
    font-size: 0.82rem;
    line-height: 1.55;
    white-space: pre-wrap;
    max-height: 280px;
    overflow: auto;
}

.fsf-copy-btn {
    position: sticky;
    top: 0;
    float: right;
    background: #027ffe;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

textarea.fsf-textarea {
    width: 100%;
    min-height: 200px;
    border: 1px solid #d5dced;
    border-radius: 12px;
    padding: 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.6;
    resize: vertical;
    box-sizing: border-box;
}

/* Buttons */
.fsf-btn {
    appearance: none;
    border: none;
    border-radius: 999px;
    padding: 0.95rem 1.6rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(45deg, #027ffe, #18224c);
    color: #fff;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(2, 127, 254, 0.25);
}
.fsf-btn:hover { transform: translateY(-1px); }
.fsf-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.fsf-btn--ghost {
    background: transparent;
    color: #0d51a7;
    border: 2px solid #0d51a7;
    box-shadow: none;
}

.fsf-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin-top: 1.25rem; }

.fsf-back { background: none; border: none; color: #64748b; font-weight: 600; cursor: pointer; font-size: 0.9rem; }

.fsf-error { color: #dc2626; font-size: 0.9rem; margin-top: 0.75rem; min-height: 1.2em; }
.fsf-msg-success { color: #0d51a7 !important; }
.fsf-note { color: #64748b; font-size: 0.85rem; margin-top: 0.75rem; }

/* Auth mini-form */
.fsf-field { margin-bottom: 1rem; }
.fsf-field label { display: block; font-size: 0.85rem; font-weight: 600; color: #36405c; margin-bottom: 0.35rem; }
.fsf-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.8rem 0.9rem;
    border: 1px solid #d5dced;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
}
.fsf-auth-toggle { display: flex; gap: 0.5rem; background: #eef2f9; border-radius: 999px; padding: 0.3rem; margin-bottom: 1.25rem; }
.fsf-auth-toggle button { flex: 1; border: none; background: transparent; padding: 0.6rem; border-radius: 999px; font-weight: 700; color: #64748b; cursor: pointer; }
.fsf-auth-toggle button.active { background: #fff; color: #18224c; box-shadow: 0 2px 6px rgba(0,0,0,0.08); }
.fsf-google {
    width: 100%;
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
    padding: 0.8rem; border: 2px solid #e2e8f0; background: #fff; border-radius: 10px; font-weight: 600; cursor: pointer;
}
.fsf-divider { display: flex; align-items: center; color: #94a3b8; font-size: 0.85rem; margin: 1.1rem 0; }
.fsf-divider::before, .fsf-divider::after { content: ''; flex: 1; border-bottom: 1px solid #e2e8f0; }
.fsf-divider span { padding: 0 0.8rem; }

.fsf-oauth-note {
    font-size: 0.78rem;
    color: #64748b;
    text-align: center;
    margin: 0.65rem 0 0;
    line-height: 1.45;
}
.fsf-oauth-note a { color: #027ffe; }

.fsf-forgot {
    display: block;
    margin-top: 0.45rem;
    color: #027ffe;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: right;
}
.fsf-forgot:hover { text-decoration: underline; }

.fsf-consent { margin: 0.25rem 0 1rem; }
.fsf-consent-row {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    cursor: pointer;
}
.fsf-consent-row input[type="checkbox"] {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #027ffe;
    cursor: pointer;
}
.fsf-consent-text {
    font-size: 0.875rem;
    color: #4a5575;
    line-height: 1.45;
}
.fsf-consent-text a { color: #027ffe; }

.fsf-check-email { text-align: center; padding: 0.5rem 0 0.25rem; }
.fsf-check-email-title {
    font-family: 'League Spartan', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    color: #18224c;
}
.fsf-check-email-lead {
    color: #4a5575;
    line-height: 1.55;
    margin: 0 0 1.25rem;
}

.fsf-signup-only[hidden] { display: none !important; }

/* Preview */
.fsf-archetype { text-align: center; }
.fsf-archetype h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin: 0.4rem 0;
}
.fsf-vision { font-style: italic; color: #4a5575; font-size: 1.15rem; max-width: 520px; margin: 0 auto; }

.fsf-gate {
    border-left: 4px solid #3B82F6;
    padding: 0.5rem 0 0.5rem 1.1rem;
    margin: 1.25rem 0;
}
.fsf-gate h4 { margin: 0.2rem 0; font-size: 1.2rem; }
.fsf-gate .fsf-gate-num { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #3B82F6; }
.fsf-gate p { color: #36405c; line-height: 1.65; }

.fsf-locked {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 1.5rem;
    border: 1px dashed #c7d2e8;
}
.fsf-locked-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; padding: 1.25rem; filter: blur(3px); opacity: 0.7; user-select: none; }
.fsf-locked-pill { background: #eef3fc; border-radius: 10px; padding: 0.9rem; font-weight: 600; color: #18224c; }
.fsf-locked-overlay {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0.4rem; background: rgba(246, 248, 252, 0.55); text-align: center; padding: 1rem;
}
.fsf-locked-overlay strong { font-size: 1.05rem; }
.fsf-locked-overlay span { color: #64748b; font-size: 0.9rem; }

/* Paywall / price */
.fsf-price { font-size: 2.5rem; font-weight: 800; color: #18224c; }
.fsf-price small { font-size: 1rem; font-weight: 600; color: #64748b; }

/* Checkout */
#fsfCheckoutContainer { margin-top: 1rem; }

/* Done / downloads */
.fsf-downloads { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.5rem 0; }
.fsf-download {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.9rem 1.3rem; border-radius: 12px; text-decoration: none; font-weight: 700;
    border: 1px solid #d5dced; color: #18224c; background: #fff;
}
.fsf-download--primary { background: linear-gradient(45deg, #027ffe, #18224c); color: #fff; border: none; }

.fsf-spinner {
    width: 38px; height: 38px; border-radius: 50%;
    border: 4px solid #dbe3f0; border-top-color: #027ffe;
    animation: fsfSpin 0.9s linear infinite; margin: 1.5rem auto;
}
@keyframes fsfSpin { to { transform: rotate(360deg); } }

.fsf-center { text-align: center; }

.fsf-next-card { margin-top: 1.5rem; }
.fsf-next-title { margin: 0 0 0.35rem; font-size: 1.25rem; }
.fsf-next-lead { color: #4a5575; margin: 0 0 1.25rem; }
.fsf-next-options { display: grid; gap: 1.25rem; }
.fsf-next-option p { color: #4a5575; margin: 0.35rem 0 0.85rem; line-height: 1.6; }
.fsf-prompt--light {
    background: #f7f9fd;
    color: #36405c;
    border: 1px solid #e6e8f0;
    max-height: 220px;
    margin-bottom: 0.85rem;
}
.fsf-copy-btn--inline {
    position: static;
    float: none;
    display: inline-block;
    margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
    .fsf-h1 { font-size: 1.7rem; }
    .fsf-locked-grid { grid-template-columns: 1fr; }
}
