/* Money365 calculator pages */
.calc-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 45%, #312e81 100%);
    color: #fff;
    padding: 5.5rem 1rem 3.5rem;
}
.calc-hero-inner {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}
.calc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.calc-hero h1 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 0.85rem;
}
.calc-lead {
    color: #cbd5e1;
    font-size: 1.05rem;
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.6;
}
.calc-section {
    padding: 2.5rem 1rem 4rem;
    background:
        radial-gradient(circle at 1px 1px, rgba(245,158,11,0.1) 1px, transparent 0),
        #f8fafc;
    background-size: 22px 22px, auto;
}
.calc-shell {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}
@media (min-width: 960px) {
    .calc-shell {
        grid-template-columns: 1.15fr 0.85fr;
        align-items: start;
    }
}
.calc-card,
.calc-results {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px -28px rgba(15, 23, 42, 0.35);
}
.calc-card {
    padding: 1.5rem 1.5rem 1.75rem;
}
.calc-card-head h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}
.calc-card-head p {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    margin-bottom: 1.25rem;
}
.calc-field {
    margin-bottom: 1.25rem;
}
.calc-field-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.55rem;
}
.calc-field-top label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
}
.calc-value-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #b45309;
    border-radius: 0.75rem;
    padding: 0.35rem 0.65rem;
    font-weight: 800;
    font-size: 0.9rem;
}
.calc-value-pill input {
    width: 6.5rem;
    border: 0;
    outline: none;
    background: transparent;
    color: #b45309;
    font-weight: 800;
    font-size: 0.9rem;
}
.calc-range {
    width: 100%;
    accent-color: #f59e0b;
    height: 0.35rem;
}
.calc-cta {
    width: 100%;
    margin-top: 0.5rem;
    height: 3.1rem;
    border: 0;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 12px 24px -10px rgba(245, 158, 11, 0.55);
}
.calc-cta:hover {
    transform: translateY(-1px);
}
.calc-results {
    padding: 1.5rem;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    border: 0;
}
.calc-result-main {
    text-align: center;
    padding: 0.75rem 0 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 1.25rem;
}
.calc-result-label {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.calc-result-value {
    margin-top: 0.45rem;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 900;
    color: #fbbf24;
}
.calc-result-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.calc-stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.calc-stat .label {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 600;
}
.calc-stat strong {
    font-size: 1.05rem;
    font-weight: 800;
}
.calc-bar {
    margin-top: 1.25rem;
    height: 0.7rem;
    border-radius: 999px;
    overflow: hidden;
    display: flex;
    background: rgba(255,255,255,0.08);
}
.calc-bar-principal { background: #38bdf8; height: 100%; }
.calc-bar-interest { background: #f59e0b; height: 100%; }
.calc-legend {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
}
.calc-legend .dot {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    margin-right: 0.35rem;
}
.calc-legend .dot.principal { background: #38bdf8; }
.calc-legend .dot.interest { background: #f59e0b; }
.calc-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
    height: 3rem;
    border-radius: 0.9rem;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
}
