﻿:root {
    --stripe-purple: #635bff;
    --stripe-purple-light: #7c3aed;
    --stripe-purple-dark: #5b21b6;
    --stripe-blue: #0070f3;
    --stripe-blue-light: #00d4ff;
    --stripe-green: #00d924;
    --stripe-orange: #ff5722;
    --stripe-gray-50: #f8fafc;
    --stripe-gray-100: #f1f5f9;
    --stripe-gray-200: #e2e8f0;
    --stripe-gray-300: #cbd5e1;
    --stripe-gray-400: #94a3b8;
    --stripe-gray-500: #64748b;
    --stripe-gray-600: #475569;
    --stripe-gray-700: #334155;
    --stripe-gray-800: #1e293b;
    --stripe-gray-900: #0f172a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--stripe-gray-50);
    color: var(--stripe-gray-800);
    line-height: 1.6;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--stripe-gray-200);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: var(--stripe-purple) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--stripe-gray-700) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: var(--stripe-purple) !important;
    }

.btn-primary {
    background: linear-gradient(135deg, var(--stripe-purple), var(--stripe-purple-light));
    border: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 91, 255, 0.3);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(99, 91, 255, 0.4);
    }

.btn-outline-primary {
    border: 2px solid var(--stripe-purple);
    color: var(--stripe-purple);
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .btn-outline-primary:hover {
        background: var(--stripe-purple);
        border-color: var(--stripe-purple);
        transform: translateY(-1px);
    }

.btn-outline-dark {
    border: 2px solid var(--stripe-gray-900);
    color: var(--stripe-gray-900);
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .btn-outline-dark:hover {
        background: var(--stripe-gray-900);
        border-color: var(--stripe-gray-900);
        transform: translateY(-1px);
    }

.hero-section {
    background: linear-gradient(135deg, var(--stripe-gray-50) 0%, rgba(99, 91, 255, 0.05) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 40%, rgba(99, 91, 255, 0.1), transparent 50%);
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.display-4 {
    font-weight: 700;
    color: var(--stripe-gray-900);
    line-height: 1.2;
}

.lead {
    color: var(--stripe-gray-600);
    font-size: 1.2rem;
    font-weight: 400;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid var(--stripe-gray-200);
    height: 100%;
}

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.icon-purple {
    background: linear-gradient(135deg, var(--stripe-purple), var(--stripe-purple-light));
    color: white;
}

.icon-blue {
    background: linear-gradient(135deg, var(--stripe-blue), var(--stripe-blue-light));
    color: white;
}

.icon-green {
    background: linear-gradient(135deg, var(--stripe-green), #00c851);
    color: white;
}

.icon-orange {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

    .icon-orange::before {
        background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    }

.icon-teal {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #2c3e50 !important;
}

    .icon-teal::before {
        background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    }

.icon-red {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

    .icon-red::before {
        background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    }

.section-padding {
    padding: 80px 0;
}

.section-title {
    color: var(--stripe-gray-900);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--stripe-gray-600);
    font-size: 1.1rem;
    margin-bottom: 48px;
}

.stats-section {
    background: var(--stripe-gray-900);
    color: white;
    padding: 80px 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--stripe-purple-light);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--stripe-gray-300);
    font-size: 1.1rem;
}

.footer {
    background: var(--stripe-gray-900);
    color: var(--stripe-gray-400);
    padding: 60px 0 30px;
}

.footer-title {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-link {
    color: var(--stripe-gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-link:hover {
        color: var(--stripe-purple-light);
    }

.gradient-text {
    background: linear-gradient(135deg, var(--stripe-purple), var(--stripe-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Additional styles for the visual element */
.loan-dashboard {
    max-width: 350px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

    .loan-dashboard:hover {
        transform: translateY(-5px);
    }

.progress-bar {
    transition: width 0.8s ease;
}

@keyframes float {

    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.loan-dashboard::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--stripe-purple), var(--stripe-blue), var(--stripe-purple));
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loan-dashboard:hover::before {
    opacity: 0.1;
}

.navbar-brand {
    font-weight: 700;
    color: var(--stripe-gray-900) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .navbar-brand:hover {
        color: var(--stripe-purple) !important;
    }

.brand-text {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, var(--stripe-gray-800), var(--stripe-gray-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}



.navbar-brand svg {
    transition: all 0.3s ease;
}

.navbar-brand:hover svg {
    transform: scale(1.05) rotate(2deg);
}

.eligibility-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.eligibility-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.eligibility-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.eligibility-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.requirement-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.requirement-content p {
    font-size: 0.95rem;
    margin: 0;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

    .info-card:hover {
        transform: translateY(-2px);
    }

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.gradient-purple .info-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-blue .info-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.info-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.info-card p {
    color: #6c757d;
    margin: 0;
    font-size: 0.95rem;
}

.warning-card {
    background: linear-gradient(135deg, #fff5f5 0%, #ffeaea 100%);
    border: 1px solid #fecaca;
    border-radius: 16px;
    padding: 1.8rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.warning-icon {
    width: 40px;
    height: 40px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.warning-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 0.5rem;
}

.warning-content p {
    color: #7f1d1d;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.terms-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

    .terms-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

.terms-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
    position: relative;
}

    .terms-icon::before {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-radius: 50%;
        opacity: 0.2;
        transition: all 0.3s ease;
    }

.terms-card:hover .terms-icon::before {
    opacity: 0.3;
    transform: scale(1.1);
}



.terms-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.terms-details {
    text-align: left;
}

.term-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f1f1;
}

    .term-row:last-of-type {
        border-bottom: none;
    }

    .term-row.highlight {
        background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
        margin: 0 -0.5rem;
        padding: 0.75rem 0.5rem;
        border-radius: 8px;
        border: 1px solid #bbf7d0;
    }

.term-label {
    font-weight: 500;
    color: #6c757d;
    font-size: 0.95rem;
}

.term-value {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.term-note {
    font-style: italic;
    color: #8e8e93;
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: center;
}

.terms-disclaimer {
    background: linear-gradient(135deg, #fff8f0 0%, #fef3e2 100%);
    border: 1px solid #fed7aa;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.disclaimer-icon {
    width: 40px;
    height: 40px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.disclaimer-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #d97706;
    margin-bottom: 0.5rem;
}

.disclaimer-content p {
    color: #92400e;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.responsibilities-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

    .timeline-item:last-child {
        margin-bottom: 0;
    }

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 2rem;
    position: relative;
}

.marker-dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gradient-blue-t {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.gradient-purple-t {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-green {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.gradient-orange {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.timeline-line {
    width: 3px;
    height: 80px;
    background: linear-gradient(to bottom, #e5e7eb, #f3f4f6);
    margin-top: 10px;
}

.timeline-item:last-child .timeline-line {
    display: none;
}

.timeline-content {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

    .timeline-content:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    }

    .timeline-content::before {
        content: '';
        position: absolute;
        left: -10px;
        top: 30px;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 10px solid white;
    }

.responsibility-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

    .responsibility-header h4 {
        font-size: 1.4rem;
        font-weight: 600;
        color: #2c3e50;
        margin: 0;
        flex: 1;
    }

.priority-badge {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

    .priority-badge.medium {
        background: #f59e0b;
    }

.timeline-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.action-tips {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f2ff 100%);
    border-radius: 8px;
    border: 1px solid #bfdbfe;
    font-size: 0.9rem;
    color: #1e40af;
    font-weight: 500;
}

    .tip-item i {
        color: #3b82f6;
        font-size: 0.9rem;
        width: 16px;
        flex-shrink: 0;
    }

.support-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.banner-content {
    display: flex;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
    color: white;
}

.banner-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.banner-text {
    flex: 1;
}

    .banner-text h5 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .banner-text p {
        opacity: 0.9;
        margin: 0;
        font-size: 1.1rem;
        line-height: 1.5;
    }

.banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

    .action-btn.primary {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

        .action-btn.primary:hover {
            background: rgba(255, 255, 255, 0.3);
            border-color: rgba(255, 255, 255, 0.5);
            color: white;
            text-decoration: none;
            transform: translateY(-2px);
        }

    .action-btn.secondary {
        background: white;
        color: #667eea;
        border: 2px solid white;
    }

        .action-btn.secondary:hover {
            background: #f8f9ff;
            text-decoration: none;
            color: #667eea;
            transform: translateY(-2px);
        }

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-marker {
        flex-direction: row;
        margin-right: 0;
        margin-bottom: 1rem;
        align-items: flex-start;
    }

    .timeline-line {
        width: 100px;
        height: 3px;
        margin-top: 0;
        margin-left: 10px;
        background: linear-gradient(to right, #e5e7eb, #f3f4f6);
    }

    .timeline-item:last-child .timeline-line {
        display: none;
    }

    .timeline-content::before {
        display: none;
    }

    .responsibility-header {
        flex-direction: column;
        gap: 0.5rem;
    }

    .priority-badge {
        align-self: flex-start;
    }

    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .action-btn {
        justify-content: center;
    }
}

.testimonials {
    padding: 80px 0;
    background: var(--background-primary);
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px var(--shadow-light);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .testimonial-card .quote {
        font-size: 1.1rem;
        font-style: italic;
        color: var(--text-secondary);
        margin-bottom: 20px;
        line-height: 1.6;
    }

    .testimonial-card .author {
        margin-top: auto;
    }

    .testimonial-card .author-name {
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 5px;
    }

    .testimonial-card .author-details {
        font-size: 0.9rem;
        color: var(--text-secondary);
    }

.star-rating {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 15px;
}


@media (max-width: 768px) {
    .terms-card {
        padding: 2rem 1.5rem;
    }

    .terms-disclaimer {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .disclaimer-icon {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 768px) {
    .eligibility-card {
        padding: 2rem 1.5rem;
    }

    .info-cards {
        margin-top: 2rem;
    }

    .requirement-item {
        gap: 0.8rem;
    }
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand svg {
        width: 38px;
        height: 38px;
    }

    .brand-text {
        font-size: 1rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .loan-dashboard {
        max-width: 300px;
    }
}


@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .feature-card {
        padding: 30px;
    }
}
