.font-pairing-container {
    background: #f8fafc;
    padding: 20px 0 70px;
}
.font-pairing-container .container-fluid {
    padding-left: 20px;
    padding-right: 20px;
}
.font-pairing-header {
    text-align: center;
}
.font-pairing-header h1 {
    font-size: 42px;
    margin-bottom: 12px;
}
.font-pairing-header p {
    color: #64748b;
    font-size: 18px;
    margin: 0 auto;
    max-width: 820px;
}
.font-pairing-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: 430px minmax(0, 1fr);
}
.controls-card,
.preview-card,
.seo-content-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
    padding: 24px;
}
.controls-card h3 {
    font-size: 24px;
    margin-bottom: 18px;
}
.controls-card label,
.css-label {
    color: #334155;
    display: block;
    font-weight: 700;
    margin-bottom: 14px;
}
.controls-card select {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    height: 46px;
    margin-top: 7px;
    padding: 0 12px;
    width: 100%;
}
.css-label {
    margin-top: 18px;
}
.css-output {
    background: #0f172a;
    border: 0;
    border-radius: 12px;
    color: #e2e8f0;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    min-height: 180px;
    padding: 14px;
    resize: vertical;
    width: 100%;
}
.btn-preview-action {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    margin-top: 4px;
    padding: 11px 16px;
}
.btn-preview-action-primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    margin-top: 14px;
}
.preview-card-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
}
.preview-title {
    align-items: center;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    gap: 10px;
}
.badge-preview {
    background: #eff6ff;
    border-radius: 999px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
}
.pair-preview {
    background: linear-gradient(135deg, #f8fafc, #e0f2fe);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
}
.pair-preview h2 {
    color: #0f172a;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.02;
    margin-bottom: 18px;
}
.pair-preview p {
    color: #475569;
    font-size: 18px;
    max-width: 720px;
}
.pair-preview h3 {
    color: #0f172a;
    font-size: 28px;
}
.eyebrow {
    color: #2563eb !important;
    font-size: 12px !important;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.article-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    margin-top: 24px;
    padding: 24px;
}
.pair-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.pair-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #475569;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    transition: all .2s ease;
}
.pair-chip:hover,
.pair-chip.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}
.seo-content-section {
    margin-top: 30px;
}
@media (max-width: 991px) {
    .font-pairing-layout {
        grid-template-columns: 1fr;
    }
}
