:root {
    --fc-primary: #0d6efd;
    --fc-dark: #1a1a2e;
    --fc-gradient: linear-gradient(135deg, #0d6efd 0%, #6610f2 100%);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #333;
}

.site-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
    padding: 0;
    width: min(280px, 100%);
    max-width: 100%;
}

.site-logo {
    display: block;
    width: 100%;
    height: 40px;
    object-fit: contain;
}

.site-logo--footer {
    width: 100%;
    height: 36px;
}

.navbar-brand.site-logo-link,
.navbar-brand .site-logo-link {
    margin-right: 0;
}

.hero-section {
    background: var(--fc-gradient);
    color: #fff;
    padding: 5rem 0;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.hero-section h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
}

.loan-card {
    border: none;
    border-radius: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    height: 100%;
}

.loan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(13, 110, 253, 0.15);
}

.loan-card .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(13, 110, 253, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--fc-primary);
}

.partner-scroll {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.partner-scroll::-webkit-scrollbar {
    display: none;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 64px;
    margin-right: 1rem;
    padding: 0.5rem 1.25rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    font-weight: 600;
    color: #495057;
}

.step-card {
    text-align: center;
    padding: 1.5rem;
}

.step-card .step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--fc-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-icon {
    font-size: 2rem;
    color: var(--fc-primary);
    margin-bottom: 0.75rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--fc-primary);
}

.progress-step {
    font-size: 0.8rem;
}

.application-form-section {
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
    padding: 2rem 0 4rem;
}

.form-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.review-table th {
    width: 40%;
    font-weight: 500;
    color: #6c757d;
}

/* Site footer */
.site-footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 4rem 0 2rem;
    margin-top: 3rem;
}

.site-footer h6 {
    color: #fff;
    font-weight: 700;
}

.site-footer a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: #fff;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #94A3B8;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--fc-gradient);
    color: #fff;
}

body.landing-page .site-footer {
    margin-top: 0;
}

/* Application list cards (dashboard / track) */
.app-list-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.app-list-card--draft {
    border-color: #c7d2fe;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.08);
}

.app-list-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.1rem 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.app-list-card-header h6 {
    font-weight: 700;
    color: #0f172a;
}

.app-list-card-body {
    padding: 0.75rem 1.1rem 1.1rem;
}

.app-doc-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

@media (min-width: 576px) {
    .app-doc-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
