/* Credit Page Styles */

/* Hero Section */
.credit-hero {
    background: linear-gradient(135deg, #6A5ACD 0%, #9370DB 100%);
    border-radius: 20px;
    padding: 48px 32px;
    margin-bottom: 40px;
    color: white;
    text-align: center;
}

.credit-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.credit-hero p {
    font-size: 1.05rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Banks Grid */
.banks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.bank-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.bank-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--main-green);
}

.bank-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--main-green);
    margin-bottom: 16px;
}

.bank-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.bank-rate {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--main-green);
    margin-bottom: 8px;
}

.bank-rate span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.bank-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 20px 0;
}

.bank-features li {
    padding: 6px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.bank-features li::before {
    content: '✓';
    color: var(--main-green);
    font-weight: 700;
    font-size: 1.1rem;
}

.bank-btn {
    display: inline-block;
    background: var(--main-green);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
}

.bank-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(159, 188, 11, 0.3);
    background: var(--main-green-light);
}

/* Calculator Section */
.calc-section {
    background: #fff;
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 48px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.calc-section h2 {
    text-align: center;
    margin-bottom: 32px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
}

.calc-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.calc-form label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
}

.calc-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border 0.2s;
}

.calc-form input:focus {
    outline: none;
    border-color: var(--main-green);
    box-shadow: 0 0 0 3px rgba(159, 188, 11, 0.1);
}

.calc-result {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    border: 2px solid var(--main-green);
}

.calc-result .amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--main-green);
    margin-bottom: 4px;
}

.calc-result .label {
    color: #666;
    margin-top: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Section Title */
.section-title-credit {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #1a1a1a;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .credit-hero {
        padding: 32px 20px;
    }

    .credit-hero h1 {
        font-size: 1.8rem;
    }

    .credit-hero p {
        font-size: 0.95rem;
    }

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

    .calc-section {
        padding: 24px 20px;
    }

    .calc-form {
        grid-template-columns: 1fr;
    }

    .calc-result .amount {
        font-size: 1.8rem;
    }
}