/*
assets/css/style.css
Modern fintech UI – mobile first, clean, gradients, tabs, cards.
*/
.pfc-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #f9fafc;
    color: #1e293b;
}
.pfc-container {
    background: white;
    border-radius: 32px;
    box-shadow: 0 20px 40px -10px rgba(0,20,50,0.15);
    padding: 30px;
}
.pfc-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}
.pfc-tab-link {
    background: transparent;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s;
}
.pfc-tab-link:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.pfc-tab-link.active {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.pfc-tab-pane {
    display: none;
    animation: fadeIn 0.3s ease;
}
.pfc-tab-pane.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.pfc-calculator-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    background: #f8fafc;
    padding: 25px;
    border-radius: 24px;
}
.pfc-field {
    display: flex;
    flex-direction: column;
}
.pfc-field label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #334155;
}
.pfc-input {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    font-size: 16px;
    transition: border 0.2s;
    background: white;
}
.pfc-input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}
.pfc-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
    padding: 25px;
    border-radius: 24px;
    margin-bottom: 30px;
}
.pfc-result-item {
    font-size: 18px;
    font-weight: 500;
}
.pfc-result-item span {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-top: 5px;
    color: #fbbf24;
}
.pfc-amortization {
    margin-top: 30px;
}
.pfc-chart {
    height: 20px;
    background: #e2e8f0;
    border-radius: 20px;
    margin: 15px 0;
    overflow: hidden;
    display: flex;
}
.pfc-chart-bar {
    height: 100%;
    background: #2563eb;
}
.pfc-chart-bar.interest {
    background: #f97316;
}
.pfc-schedule {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 10px;
}
.pfc-schedule table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.pfc-schedule th {
    background: #f1f5f9;
    position: sticky;
    top: 0;
    padding: 8px;
}
.pfc-schedule td {
    padding: 8px;
    border-bottom: 1px solid #e2e8f0;
    text-align: right;
}
.pfc-ads {
    display: flex;
    gap: 20px;
    margin: 40px 0 20px;
}
.pfc-ad-placeholder, .pfc-affiliate {
    flex: 1;
    background: #e2e8f0;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    color: #475569;
    font-weight: 500;
}
.pfc-cta {
    text-align: center;
    margin: 30px 0;
}
.pfc-cta-button {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: white;
    font-size: 20px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 60px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(16,185,129,0.3);
    transition: transform 0.2s;
}
.pfc-cta-button:hover {
    transform: scale(1.05);
}
.pfc-lead-form {
    background: #f1f5f9;
    padding: 30px;
    border-radius: 24px;
    margin-top: 30px;
}
.pfc-lead-form h3 {
    margin-top: 0;
}
.pfc-lead-form form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.pfc-lead-form input {
    flex: 1 1 200px;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
}
.pfc-lead-form button {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
}
.pfc-seo-content {
    margin-top: 40px;
    padding: 20px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}
@media (max-width: 600px) {
    .pfc-container { padding: 20px; }
    .pfc-tab-link { padding: 8px 16px; font-size: 14px; }
    .pfc-result-item span { font-size: 22px; }
}