/* fiincco - Premium Fintech Styles */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #3b82f6;
    --accent: #0ea5e9;
    --background: #ffffff;
    --surface: rgba(37, 99, 235, 0.03);
    --surface-hover: rgba(37, 99, 235, 0.08);
    --border: rgba(37, 99, 235, 0.15);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --gradient-1: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-2: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(37, 99, 235, 0.2);
    --shadow-lg: 0 25px 50px -12px rgba(37, 99, 235, 0.15);
    --shadow-xl: 0 35px 60px -15px rgba(37, 99, 235, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body.dark-mode {
    --background: #0f172a;
    --surface: rgba(255, 255, 255, 0.05);
    --surface-hover: rgba(255, 255, 255, 0.09);
    --border: rgba(148, 163, 184, 0.25);
    --text-primary: #e5edf8;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --glass-border: rgba(148, 163, 184, 0.25);
}

body.modal-open {
    overflow: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
}

.logo-icon {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 1.4rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: white;
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.18);
}

body.dark-mode .nav,
body.dark-mode .theme-toggle,
body.dark-mode .hero-badge,
body.dark-mode .score-display,
body.dark-mode .score-input,
body.dark-mode .eligibility-controls,
body.dark-mode .eligibility-results,
body.dark-mode .progressive-form,
body.dark-mode .trust-item,
body.dark-mode .service-overview-card,
body.dark-mode .blog-card,
body.dark-mode .modal-content,
body.dark-mode .detail-item,
body.dark-mode .improvement-tips,
body.dark-mode .lender-item,
body.dark-mode .emi-display,
body.dark-mode .footer {
    background: #111827;
}

body.dark-mode .loan-type-card,
body.dark-mode .insurance-card,
body.dark-mode .range-card,
body.dark-mode .tip-card,
body.dark-mode .mission-content,
body.dark-mode .value-item,
body.dark-mode .service-card,
body.dark-mode .team-member,
body.dark-mode .benefits-list,
body.dark-mode .open-positions,
body.dark-mode .contact-item,
body.dark-mode .legal-content,
body.dark-mode .grievance-info,
body.dark-mode .grievance-process,
body.dark-mode .grievance-officer {
    background: #111827;
}

body.dark-mode .glass-input,
body.dark-mode .category-btn,
body.dark-mode .cta-button.secondary {
    background: #0f172a;
    color: var(--text-primary);
}

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.68rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.cta-button.primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.cta-button.secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.cta-button.secondary:hover {
    background: var(--surface-hover);
}

.cta-button.large {
    padding: 0.85rem 1.55rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    padding: 6.5rem 2rem 3.5rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.1rem;
    letter-spacing: 0;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 1.7rem;
    font-weight: 700;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 40%;
    right: 30%;
    animation-delay: 2s;
}

.card-3 {
    top: 70%;
    right: 5%;
    animation-delay: 4s;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.card-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.card-value {
    font-size: 1.5rem;
    font-weight: 700;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Section Styles */
.section {
    padding: 4rem 2rem;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 2.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* Health Score Section */
.health-score-section {
    background: linear-gradient(180deg, #ffffff 0%, rgba(37, 99, 235, 0.03) 50%, #ffffff 100%);
}

.health-score-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.score-display {
    background: white;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.score-gauge {
    text-align: center;
    margin-bottom: 3rem;
}

.gauge-svg {
    width: 200px;
    height: 120px;
    margin: 0 auto;
}

.gauge-fill {
    transition: stroke-dashoffset 1s ease;
}

.score-value {
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: -1rem;
}

.score-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.score-factors {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.factor-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.factor-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.factor-bar {
    height: 8px;
    background: var(--surface);
    border-radius: 4px;
    overflow: hidden;
}

.factor-fill {
    height: 100%;
    background: var(--gradient-2);
    border-radius: 4px;
    transition: width 1s ease;
}

.factor-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.score-input {
    background: white;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.score-input h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.glass-input {
    width: 100%;
    padding: 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.glass-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.slider:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.glass-input::placeholder {
    color: var(--text-muted);
}

.score-result {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--surface);
    border-radius: 16px;
    text-align: center;
}

.result-score {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-message {
    margin-top: 1rem;
    color: var(--text-secondary);
}

/* Eligibility Section */
.eligibility-section {
    background: linear-gradient(180deg, #ffffff 0%, rgba(37, 99, 235, 0.03) 50%, #ffffff 100%);
}

.eligibility-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.eligibility-controls {
    background: white;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.control-group {
    margin-bottom: 2rem;
}

.control-group label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.slider {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: var(--gradient-1);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.slider-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0.5rem;
}

.range-input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 1rem;
    align-items: center;
}

.range-input-row .glass-input {
    padding: 0.8rem 0.9rem;
}

.loan-types {
    display: flex;
    gap: 0.5rem;
    margin-top: 2rem;
}

.loan-type-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.loan-type-btn.active,
.loan-type-btn:hover {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
}

.eligibility-results {
    background: white;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.approval-meter {
    margin-bottom: 2rem;
}

.meter-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.meter-bar {
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.meter-fill {
    height: 100%;
    background: var(--gradient-2);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.meter-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.emi-display {
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 16px;
}

.emi-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.emi-value {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.emi-rate {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.data-note {
    margin-top: 0.75rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

.lender-list {
    margin-top: 2rem;
}

.lender-list-header {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.lender-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lender-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.lender-item:hover {
    background: #e2e8f0;
}

.lender-name {
    font-weight: 600;
    color: var(--text-primary);
}

.lender-rate {
    font-size: 0.9rem;
    color: var(--accent);
}

.lender-approval {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Goals Section */
.goals-section {
    background: linear-gradient(180deg, #ffffff 0%, rgba(37, 99, 235, 0.03) 50%, #ffffff 100%);
}

.goals-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.goal-input-panel {
    background: white;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.goal-input-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.timeline-container {
    background: white;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-1);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--gradient-1);
    border-radius: 50%;
    border: 2px solid var(--background);
}

.timeline-year {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-goal {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-amount {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.timeline-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-2);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, #ffffff 0%, rgba(37, 99, 235, 0.03) 50%, #ffffff 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.progressive-form {
    background: white;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
}

.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--gradient-1);
    border-color: transparent;
    color: white;
}

.step-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.lead-form {
    min-height: 300px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-step .cta-button {
    margin-top: 1rem;
    margin-right: 0.5rem;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

.trust-icon {
    font-size: 1.5rem;
}

.trust-text {
    font-weight: 500;
    color: var(--text-primary);
}

/* Footer */
.footer {
    background: #f8fafc;
    border-top: 1px solid var(--border);
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    margin-bottom: 3rem;
}

.footer-tagline {
    margin-top: 1rem;
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    color: var(--text-muted);
}

/* Services Overview */
.services-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-overview-card {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.service-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-overview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-overview-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.loan-type-card,
.insurance-card {
    display: flex;
    flex-direction: column;
}

.loan-type-card .cta-button,
.insurance-card .cta-button {
    width: 100%;
    margin-top: auto;
}

/* Eligibility Results */
.eligibility-status {
    margin-bottom: 2rem;
}

.status-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.status-badge.eligible {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.status-badge.not-eligible {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.status-badge.borderline {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.status-message {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.eligibility-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.improvement-tips {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.tip-item {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
    border-bottom: 1px solid var(--glass-border);
}

.tip-item:last-child {
    border-bottom: none;
}

.cibil-awareness-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cibil-band-card {
    display: block;
    margin-top: 0;
}

.cibil-product-guide {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cibil-product-guide span {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
}

.calculator-cta {
    margin-top: 1.25rem;
}

/* Provider Ticker */
.provider-ticker {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    margin-top: 63px;
    padding: 0.65rem 0;
    overflow: hidden;
    border-bottom: 1px solid var(--glass-border);
}

body.dark-mode .provider-ticker {
    background: #0b1220;
}

.quick-actions {
    display: none;
}

body.modal-open .quick-actions {
    display: none;
}

.ticker-content {
    display: flex;
    animation: ticker 45s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.ticker-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 0.65rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
    overflow: hidden;
}

body.dark-mode .ticker-logo {
    background: #111827;
}

.ticker-logo img {
    width: 21px;
    height: 21px;
    object-fit: contain;
    display: block;
}

.ticker-fallback {
    font-size: 0.65rem;
    font-weight: 800;
}

.ticker-item:hover {
    opacity: 1;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
}

.modal-content {
    background: white;
    margin: 3vh auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 94vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--glass-border);
    color: var(--text-primary);
}

.lead-form-modal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.full-width {
    width: 100%;
}

/* Blog Page Styles */
.section.blog-hero {
    background: linear-gradient(135deg, #0f766e 0%, #2563eb 100%);
    color: white;
    padding: 8rem 2rem 4rem;
    text-align: center;
}

.blog-hero .section-title {
    color: white;
}

.blog-hero .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.blog-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    background: white;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.blog-category {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-date,
.blog-read-time {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--primary-dark);
}

.blog-author {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-read-button {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
}

.blog-article-content {
    max-width: 780px;
}

.blog-article-body {
    color: var(--text-secondary);
    line-height: 1.75;
}

.blog-article-body p,
.blog-article-body ul {
    margin-bottom: 1rem;
}

.blog-article-body h4 {
    color: var(--text-primary);
    margin: 1.35rem 0 0.55rem;
    font-size: 1.1rem;
}

.blog-article-body ul {
    padding-left: 1.25rem;
}

.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-top: 1rem;
}

.comparison-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: white;
}

.comparison-table th,
.comparison-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.comparison-table th {
    color: var(--text-primary);
    background: var(--surface);
    font-weight: 700;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

body.dark-mode .comparison-table {
    background: #111827;
}

.table-link {
    border: none;
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer;
    font: inherit;
}

.amortization-panel,
.comparison-panel {
    margin-top: 2rem;
}

.amortization-panel h4,
.comparison-panel h4 {
    margin-bottom: 0.4rem;
}

.smart-search-content {
    max-width: 720px;
}

.smart-search-inline,
.smart-search-field {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    width: min(760px, 100%);
    padding: 0.55rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: white;
    box-shadow: 0 14px 35px rgba(37, 99, 235, 0.12);
}

body.dark-mode .smart-search-inline,
body.dark-mode .smart-search-field {
    background: #111827;
}

.smart-search-inline {
    margin: 0 0 0.9rem;
}

.search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--surface);
    color: var(--primary);
    font-weight: 900;
}

.smart-search-inline input,
.smart-search-field input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font: inherit;
    min-height: 42px;
}

.smart-search-inline input::placeholder,
.smart-search-field input::placeholder {
    color: var(--text-muted);
}

.smart-search-prompts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.35rem;
}

.smart-search-prompts button {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-weight: 700;
}

.smart-search-eyebrow {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.smart-search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0 1.2rem;
}

.smart-search-chips button {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text-secondary);
    padding: 0.55rem 0.85rem;
    cursor: pointer;
    font-weight: 700;
}

.smart-search-results {
    display: grid;
    gap: 0.8rem;
}

.smart-result {
    display: block;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: inherit;
    text-decoration: none;
}

.smart-result h4 {
    margin: 0.2rem 0 0.35rem;
    color: var(--text-primary);
}

.smart-result p {
    color: var(--text-secondary);
    margin: 0;
}

.smart-result-kicker {
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-badge {
    cursor: pointer;
}

.whatsapp-bot {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1250;
}

.whatsapp-fab {
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 18px;
    background: #16a34a;
    color: white;
    box-shadow: 0 18px 40px rgba(22, 163, 74, 0.28);
    cursor: pointer;
    font-weight: 900;
}

.whatsapp-fab svg {
    width: 30px;
    height: 30px;
    display: block;
    margin: auto;
}

.whatsapp-panel {
    position: absolute;
    right: 0;
    bottom: 72px;
    width: min(320px, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow-lg);
}

body.dark-mode .whatsapp-panel {
    background: #111827;
}

.whatsapp-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.whatsapp-panel-header button {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.3rem;
}

.whatsapp-panel p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.whatsapp-suggestions {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.whatsapp-suggestions a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.7rem;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 700;
}

.money-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.tool-card {
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

body.dark-mode .tool-card {
    background: #111827;
}

.tool-card h3 {
    margin-bottom: 0.4rem;
}

.tool-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.tool-result {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
}

.tool-result-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkbox-row input {
    margin-top: 0.25rem;
}

.position-item {
    display: grid;
    gap: 0.85rem;
}

.position-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.position-apply {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.8rem;
    background: var(--surface);
}

.position-apply summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 800;
}

.mini-form {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.grievance-form-card {
    max-width: 900px;
    margin: 2rem auto 0;
    background: white;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

body.dark-mode .grievance-form-card {
    background: #111827;
}

.blog-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.blog-image img,
.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-hero-image {
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    margin: 1.5rem 0;
    border: 1px solid var(--border);
}

.article-layout {
    max-width: 860px;
    margin: 0 auto;
}

.article-layout .blog-article-body {
    font-size: 1.02rem;
}

.contact-logo-img {
    width: 34px;
    height: 34px;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .health-score-container,
    .eligibility-container,
    .goals-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .money-tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
        gap: 1rem;
    }

    .nav-links {
        display: none;
    }

    .nav .cta-button {
        padding: 0.65rem 1rem;
        white-space: nowrap;
    }

    .theme-toggle {
        width: 38px;
        height: 38px;
        flex: 0 0 auto;
    }

    .provider-ticker {
        margin-top: 63px;
        padding: 0.7rem 0;
    }

    .ticker-item {
        padding: 0 1.25rem;
        font-size: 0.85rem;
    }

    .hero {
        min-height: auto;
        padding: 2.5rem 1rem 2.5rem;
    }

    .hero-title {
        font-size: 2.35rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .cta-button {
        width: 100%;
    }

    .smart-search-inline,
    .smart-search-field {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .smart-search-inline .cta-button,
    .smart-search-field .cta-button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .loan-types {
        flex-direction: column;
    }

    .range-input-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .form-steps {
        gap: 0.5rem;
    }

    .step-label {
        font-size: 0.75rem;
        text-align: center;
    }

    .form-step .cta-button {
        width: 100%;
        margin-right: 0;
    }

    .modal-content {
        margin: 1rem auto;
        max-height: calc(100vh - 2rem);
        overflow-y: auto;
    }

    .whatsapp-bot {
        right: 0.85rem;
        bottom: 5.8rem;
    }

    .whatsapp-fab {
        width: 52px;
        height: 52px;
        border-radius: 16px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        position: fixed;
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        z-index: 1200;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        padding: 0.5rem;
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: 0 15px 35px rgba(15, 23, 42, 0.18);
        backdrop-filter: blur(16px);
    }

    body.dark-mode .quick-actions {
        background: rgba(15, 23, 42, 0.94);
    }

    .quick-actions a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        border-radius: 12px;
        background: var(--gradient-1);
        color: white;
        text-decoration: none;
        font-size: 0.78rem;
        font-weight: 700;
        text-align: center;
    }

    body {
        padding-bottom: 5rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}
