/* Loans Component Styles */

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #7c3aed 100%);
    color: white;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAxMCAwIEwgMCAwIDAgMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS1vcGFjaXR5PSIwLjA1IiBzdHJva2Utd2lkdGg9IjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=');
    opacity: 0.4;
}

.hero-content {
    padding: 3rem 0 5rem;
    position: relative;
}

.hero-inner {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.badge-popular {
    background: #dbeafe;
    color: #1d4ed8;
    border: none;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.title-highlight {
    display: block;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: #bfdbfe;
    max-width: 42rem;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: white;
    color: #2563eb;
}

.btn-primary:hover {
    background: #eff6ff;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-block {
    width: 100%;
    background: #2563eb;
    color: white;
}

.btn-block:hover {
    background: #1d4ed8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding-top: 2rem;
}

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

.stat-value {
    font-size: 1.875rem;
    font-weight: 600;
}

.stat-label {
    font-size: 0.875rem;
    color: #bfdbfe;
    margin-top: 0.25rem;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-white {
    background: white;
}

.section-gray {
    background: #f9fafb;
}

.section-gradient-light {
    background: linear-gradient(135deg, #eff6ff 0%, #faf5ff 100%);
}

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

.section-subtitle {
    display: block;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 42rem;
    margin: 0 auto;
}

/* Cards */
.loan-types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 72rem;
    margin: 0 auto;
}

.card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 1.5rem;
}

.card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.gradient-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

.gradient-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.gradient-purple {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
}

.gradient-orange {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-description {
    font-size: 1rem;
    color: #6b7280;
}

.card-content {
    padding: 0 1.5rem 1.5rem;
}

.features-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.features-list i {
    color: #10b981;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.benefit-item {
    text-align: center;
}

.benefit-icon {
    display: inline-flex;
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    background: #dbeafe;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: #2563eb;
}

.benefit-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-description {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Steps */
.steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.875rem;
    color: #6b7280;
}

.step-connector {
    display: none;
}

/* Requirements */
.requirements-wrapper {
    max-width: 64rem;
    margin: 0 auto;
}

.requirements-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.requirement-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.requirement-item i {
    color: #2563eb;
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.security-notice {
    padding: 1.5rem;
    background: #eff6ff;
    border-radius: 0.5rem;
}

.security-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.security-title i {
    color: #2563eb;
    font-size: 1.25rem;
}

.security-text {
    font-size: 0.875rem;
    color: #374151;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
}

.cta-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.25rem;
    color: #bfdbfe;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

/* Responsive */
@media (min-width: 640px) {
    .hero-buttons,
    .cta-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-content {
        padding: 4rem 0 8rem;
    }

    .hero-title {
        font-size: 3.75rem;
        font-weight: 600;
    }

    .section {
        padding: 6rem 0;
    }

    .section-title {
        font-size: 3rem;
        font-weight: 600;
    }

    .loan-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-value {
        font-size: 1.875rem;
        font-weight: 600;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .steps-container {
        grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
        align-items: center;
    }

    .step-connector {
        display: block;
        height: 2px;
        background: linear-gradient(90deg, #bfdbfe 0%, #e9d5ff 100%);
        width: 100%;
    }

    .cta-title {
        font-size: 3rem;
        font-weight: 600;
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
