﻿/* ============================================================
   CapitalTrack — Authentication & Landing Page Stylesheet
   Design system: dark navy / electric blue
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
    --color-bg:           #070D1A;
    --color-surface:      #0F1F3D;
    --color-surface-2:    #162847;
    --color-border:       rgba(255,255,255,0.08);
    --color-accent:       #2563EB;
    --color-accent-glow:  rgba(37,99,235,0.35);
    --color-accent-light: #60A5FA;
    --color-positive:     #10B981;
    --color-negative:     #EF4444;
    --color-text:         #F1F5F9;
    --color-text-muted:   #94A3B8;
    --color-gold:         #F59E0B;

    --font-display: 'Inter', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --font-mono:    'JetBrains Mono', 'Courier New', monospace;

    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;
    --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 40px rgba(37,99,235,0.15);
}

/* ── Base Reset for auth pages ─────────────────────────────── */
.auth-page {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    position: relative;
}

/* Subtle depth — single blue radial glow top-right, gold hint bottom-left */
.auth-page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 70% 55% at 85% -10%, rgba(37,99,235,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at -5% 105%, rgba(37,99,235,0.10) 0%, transparent 55%);
    pointer-events: none;
}

/* ── Centered layout ──────────────────────────────────────── */
.auth-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1.25rem;
    position: relative;
    z-index: 1;
}

.auth-form-container {
    width: 100%;
    max-width: 440px;
}

/* ── Auth Card ───────────────────────────────────────────── */
.auth-card {
    background: var(--color-surface);
    border: 1px solid rgba(37,99,235,0.18);
    border-radius: 20px;
    padding: 2.5rem 2rem 2rem;
    box-shadow:
        0 8px 48px rgba(0,0,0,0.45),
        0 1px 0 rgba(255,255,255,0.04) inset;
}

/* ── Logo block inside card ───────────────────────────────── */
.auth-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    margin-bottom: 1.75rem;
}

.auth-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(37,99,235,0.35));
}

.auth-logo-name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -.3px;
}

/* ── Form heading inside card ────────────────────────────── */
.auth-form-heading {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: .25rem;
    line-height: 1.2;
}

.auth-form-sub {
    font-size: .875rem;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
}

/* ── Form controls ─────────────────────────────────────────── */
.auth-field {
    margin-bottom: 1.25rem;
}

.auth-label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: .4rem;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.auth-input {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: .9rem;
    padding: .78rem .9rem .78rem 2.6rem;
    transition: border-color .2s, box-shadow .2s, background .2s;
    outline: none;
    box-sizing: border-box;
}

.auth-input::placeholder { color: rgba(148,163,184,0.55); }

.auth-input:focus {
    background: rgba(37,99,235,0.07);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.auth-input.is-invalid {
    border-color: var(--color-negative);
    box-shadow: 0 0 0 3px rgba(239,68,68,0.2);
}

/* Password toggle button */
.auth-pw-toggle {
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: .25rem;
    display: flex;
    align-items: center;
    transition: color .2s;
}

.auth-pw-toggle:hover { color: var(--color-accent-light); }

.auth-input-no-icon {
    padding-left: .9rem;
}

/* Validation message */
.auth-field-error {
    font-size: .75rem;
    color: var(--color-negative);
    margin-top: .3rem;
    display: block;
}

/* Alert */
.auth-alert {
    background: rgba(239,68,68,0.12);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: var(--radius-sm);
    color: #FCA5A5;
    font-size: .85rem;
    padding: .75rem 1rem;
    margin-bottom: 1.25rem;
}

.auth-alert-success {
    background: rgba(16,185,129,0.12);
    border: 1px solid rgba(16,185,129,0.3);
    color: #6EE7B7;
}

.auth-alert-info {
    background: rgba(37,99,235,0.12);
    border: 1px solid rgba(37,99,235,0.3);
    color: var(--color-accent-light);
}

/* ── Primary CTA button ────────────────────────────────────── */
.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .925rem;
    font-weight: 600;
    padding: .8rem 1.5rem;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .1s;
    text-decoration: none;
    letter-spacing: .2px;
    box-shadow: 0 4px 20px var(--color-accent-glow);
}

.auth-btn:hover {
    background: #1D4ED8;
    box-shadow: 0 6px 28px rgba(37,99,235,0.5);
    color: #fff;
}

.auth-btn:active { transform: scale(.98); }

.auth-btn-ghost {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

.auth-btn-ghost:hover {
    border-color: var(--color-accent-light);
    color: var(--color-accent-light);
    background: transparent;
    box-shadow: none;
}

/* ── Checkbox row ──────────────────────────────────────────── */
.auth-check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.auth-check-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: var(--color-text-muted);
    cursor: pointer;
    user-select: none;
}

.auth-check-input {
    accent-color: var(--color-accent);
    width: 15px; height: 15px;
    cursor: pointer;
}

.auth-forgot-link {
    font-size: .82rem;
    color: var(--color-accent-light);
    text-decoration: none;
    transition: color .2s;
}

.auth-forgot-link:hover { color: var(--color-accent); text-decoration: underline; }

/* ── Divider ───────────────────────────────────────────────── */
.auth-divider {
    text-align: center;
    color: var(--color-text-muted);
    font-size: .78rem;
    margin: 1.25rem 0;
    position: relative;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 2rem);
    height: 1px;
    background: var(--color-border);
}

.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }

/* ── Password Strength Bar ─────────────────────────────────── */
.pw-strength-bar {
    height: 4px;
    border-radius: 4px;
    background: var(--color-border);
    margin-top: .5rem;
    overflow: hidden;
}

.pw-strength-fill {
    height: 100%;
    border-radius: 4px;
    width: 0%;
    transition: width .3s, background .3s;
}

.pw-strength-text {
    font-size: .72rem;
    margin-top: .3rem;
    font-weight: 600;
}

/* strength levels */
.pw-s0 { width: 0%;   background: transparent; }
.pw-s1 { width: 25%;  background: var(--color-negative); }
.pw-s2 { width: 50%;  background: var(--color-gold); }
.pw-s3 { width: 75%;  background: #A3E635; }
.pw-s4 { width: 100%; background: var(--color-positive); }

.pw-t0 { color: transparent; }
.pw-t1 { color: var(--color-negative); }
.pw-t2 { color: var(--color-gold); }
.pw-t3 { color: #A3E635; }
.pw-t4 { color: var(--color-positive); }

/* ── Footer note ───────────────────────────────────────────── */
.auth-footer-note {
    text-align: center;
    font-size: .78rem;
    color: var(--color-text-muted);
    margin-top: 1.5rem;
    line-height: 1.6;
}

/* ── Confirmation / Success State ─────────────────────────── */
.auth-success-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(16,185,129,0.15);
    border: 2px solid rgba(16,185,129,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-positive);
}

/* ── Toast Notification ────────────────────────────────────── */
.ct-toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    pointer-events: none;
}

.ct-toast {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: .9rem 1.25rem;
    box-shadow: var(--shadow-card);
    color: var(--color-text);
    font-size: .875rem;
    pointer-events: all;
    animation: toastIn .35s ease forwards;
    min-width: 280px;
    max-width: 380px;
}

.ct-toast.hiding {
    animation: toastOut .35s ease forwards;
}

.ct-toast-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ct-toast-success .ct-toast-icon {
    background: rgba(16,185,129,0.15);
    color: var(--color-positive);
}

.ct-toast-error .ct-toast-icon {
    background: rgba(239,68,68,0.15);
    color: var(--color-negative);
}

.ct-toast-body { flex: 1; }
.ct-toast-title { font-weight: 600; margin-bottom: .1rem; }
.ct-toast-msg   { font-size: .8rem; color: var(--color-text-muted); }

.ct-toast-close {
    background: none; border: none;
    color: var(--color-text-muted);
    cursor: pointer; padding: .2rem;
    line-height: 1; font-size: 1rem;
    transition: color .2s;
}

.ct-toast-close:hover { color: var(--color-text); }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(30px); }
}

/* ── Landing Page — global overrides when on dark bg ──────── */
.landing-body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
}

/* Navbar */
.ct-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}

.ct-navbar.scrolled {
    background: rgba(7,13,26,0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--color-border);
    padding: .6rem 0;
}

.ct-nav-brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
}

.ct-nav-brand-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -.3px;
}

.ct-nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
    margin: 0; padding: 0;
}

.ct-nav-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: .875rem;
    padding: .4rem .75rem;
    border-radius: var(--radius-sm);
    transition: color .2s, background .2s;
}

.ct-nav-links a:hover {
    color: var(--color-text);
    background: rgba(255,255,255,.06);
}

.ct-nav-cta {
    background: var(--color-accent);
    color: #fff !important;
    padding: .45rem 1.1rem !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    transition: background .2s, box-shadow .2s !important;
}

.ct-nav-cta:hover {
    background: #1D4ED8 !important;
    box-shadow: 0 0 16px var(--color-accent-glow);
}

/* ── Hero Section ──────────────────────────────────────────── */
.ct-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 5rem;
}

/* animated mesh gradient background */
.ct-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 60% 30%, rgba(37,99,235,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(245,158,11,0.08) 0%, transparent 60%),
        var(--color-bg);
}

/* subtle grid pattern */
.ct-hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--color-border) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: .4;
}

.ct-hero-content {
    position: relative; z-index: 1;
}

.ct-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(37,99,235,.15);
    border: 1px solid rgba(37,99,235,.3);
    border-radius: 20px;
    padding: .3rem .9rem;
    font-size: .75rem;
    font-weight: 600;
    color: var(--color-accent-light);
    letter-spacing: .3px;
    margin-bottom: 1.5rem;
}

.ct-hero-badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--color-positive);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.8); }
}

.ct-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.ct-hero-title-accent {
    color: var(--color-accent-light);
}

.ct-hero-sub {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 2rem;
}

.ct-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.ct-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 600;
    padding: .8rem 1.75rem;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .1s;
}

.ct-btn-primary:hover {
    background: #1D4ED8;
    box-shadow: 0 0 24px var(--color-accent-glow);
    color: #fff;
    transform: translateY(-1px);
}

.ct-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 500;
    padding: .8rem 1.75rem;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .2s, color .2s;
}

.ct-btn-outline:hover {
    border-color: var(--color-accent-light);
    color: var(--color-accent-light);
}

.ct-hero-trust {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ct-hero-trust-item {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    color: var(--color-text-muted);
}

.ct-hero-trust-item svg { color: var(--color-positive); }

/* Floating dashboard card */
.ct-hero-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card), var(--shadow-glow);
    animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-12px) rotate(.3deg); }
}

.ct-hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.ct-hero-card-title {
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--color-text-muted);
}

.ct-hero-card-status {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: .72rem;
    color: var(--color-positive);
    font-weight: 600;
}

.ct-hero-card-stat {
    margin-bottom: 1rem;
}

.ct-hero-card-stat-label {
    font-size: .7rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .2rem;
}

.ct-hero-card-stat-value {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.ct-hero-card-stat-delta {
    font-size: .78rem;
    color: var(--color-positive);
    font-weight: 600;
    margin-top: .2rem;
}

.ct-mini-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-top: .75rem;
}

.ct-mini-stat {
    background: var(--color-surface-2);
    border-radius: var(--radius-sm);
    padding: .75rem;
}

.ct-mini-stat-label {
    font-size: .65rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: .15rem;
}

.ct-mini-stat-value {
    font-family: var(--font-mono);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
}

/* ── Capability card items ─────────────────────────────────── */
.ct-cap-item {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    background: var(--color-surface-2);
    border-radius: var(--radius-sm);
    padding: .75rem;
}

.ct-cap-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: rgba(96, 165, 250, 0.12);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-light);
}

.ct-cap-title {
    font-size: .78rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: .15rem;
}

.ct-cap-desc {
    font-size: .68rem;
    color: var(--color-text-muted);
    line-height: 1.3;
}

/* ── Stats Bar ─────────────────────────────────────────────── */
.ct-stats-bar {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 2.5rem 0;
}

.ct-stat-item {
    text-align: center;
    padding: .5rem 1rem;
}

.ct-stat-item + .ct-stat-item {
    border-left: 1px solid var(--color-border);
}

.ct-stat-num {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .5rem;
}

.ct-stat-num .accent { color: var(--color-accent-light); }

.ct-stat-label {
    font-size: .8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ── Section styles ────────────────────────────────────────── */
.ct-section {
    padding: 6rem 0;
}

.ct-section-alt {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.ct-section-label {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent-light);
    margin-bottom: .75rem;
}

.ct-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ct-section-sub {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 560px;
    line-height: 1.7;
}

/* ── Feature Cards ─────────────────────────────────────────── */
.ct-feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    height: 100%;
    transition: border-color .25s, box-shadow .25s, transform .25s;
}

.ct-feature-card:hover {
    border-color: rgba(37,99,235,.4);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.ct-feature-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(37,99,235,.12);
    border: 1px solid rgba(37,99,235,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--color-accent-light);
}

.ct-feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: .5rem;
}

.ct-feature-desc {
    font-size: .875rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ── How It Works Steps ────────────────────────────────────── */
.ct-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.ct-step-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 16px var(--color-accent-glow);
}

.ct-step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: .35rem;
}

.ct-step-desc {
    font-size: .875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Trust section ─────────────────────────────────────────── */
.ct-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.ct-trust-icon {
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent-light);
    background: rgba(37,99,235,.1);
}

.ct-trust-title {
    font-size: .9rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: .2rem;
}

.ct-trust-desc {
    font-size: .8rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ── Landing Footer ────────────────────────────────────────── */
.ct-footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0 1.5rem;
}

.ct-footer-brand-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: .5rem;
}

.ct-footer-tagline {
    font-size: .85rem;
    color: var(--color-text-muted);
    max-width: 280px;
    line-height: 1.6;
}

.ct-footer-bottom {
    border-top: 1px solid var(--color-border);
    margin-top: 2rem;
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}

.ct-footer-copy {
    font-size: .78rem;
    color: var(--color-text-muted);
}

/* ── Responsive helpers ────────────────────────────────────── */
@media (max-width: 991px) {
    .ct-hero { padding: 6rem 0 4rem; text-align: center; }
    .ct-hero-sub { margin: 0 auto 2rem; }
    .ct-hero-actions { justify-content: center; }
    .ct-hero-trust { justify-content: center; }
    .ct-step { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 575px) {
    .auth-card { padding: 2rem 1.25rem 1.5rem; border-radius: var(--radius-md); }
    .auth-center { padding: 1.25rem 1rem; align-items: flex-start; padding-top: 1.5rem; }
    .ct-stats-bar .ct-stat-item + .ct-stat-item { border-left: none; border-top: 1px solid var(--color-border); }
}
