:root {
    --navy: #10233f;
    --ink: #172033;
    --muted: #667085;
    --teal: #0f9f9a;
    --teal-dark: #06746f;
    --amber: #f0b64a;
    --sky: #dff3ff;
    --line: #dde6ef;
    --soft: #f5f8fb;
    --white: #ffffff;
    --danger: #d94d4d;
    --shadow: 0 24px 70px rgba(17, 32, 55, .12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 4vw, 64px);
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    color: var(--white);
    font-weight: 800;
    background: linear-gradient(135deg, var(--teal), var(--navy));
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.nav-links a {
    padding: 10px 12px;
    border-radius: 8px;
    color: #344054;
    font-weight: 600;
    font-size: 14px;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--teal-dark);
    background: #e8f7f5;
}

.nav-links .nav-cta {
    color: var(--white);
    background: var(--navy);
}

.nav-form {
    margin: 0;
}

.nav-form button {
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    color: #344054;
    background: transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.nav-form button:hover {
    color: var(--teal-dark);
    background: #e8f7f5;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    min-height: calc(100vh - 80px);
    padding: clamp(34px, 6vw, 88px) clamp(18px, 4vw, 64px) 42px;
    background: linear-gradient(180deg, #fafdff 0%, #eef8f7 100%);
}

.hero-copy {
    max-width: 650px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 18px;
    color: var(--navy);
    font-size: clamp(40px, 7vw, 74px);
    line-height: 1.02;
    letter-spacing: 0;
}

h2 {
    color: var(--navy);
    font-size: 30px;
    line-height: 1.18;
}

h3 {
    color: var(--navy);
}

.hero p,
.page-hero p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions,
.trust-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions {
    margin: 28px 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
}

.btn.primary {
    color: var(--white);
    background: var(--teal);
}

.btn.secondary {
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--line);
}

.btn.full {
    width: 100%;
}

.trust-row span {
    padding: 9px 12px;
    border-radius: 8px;
    color: #244064;
    font-size: 13px;
    font-weight: 700;
    background: var(--white);
    border: 1px solid var(--line);
}

.hero-media img {
    display: block;
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.metrics,
.section,
.service-grid,
.about-layout,
.dashboard-shell,
.auth-page,
.page-hero {
    padding-inline: clamp(18px, 4vw, 64px);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-block: 24px;
    background: var(--navy);
}

.metrics div {
    padding: 20px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
}

.metrics strong,
.metrics span {
    display: block;
}

.metrics strong {
    margin-bottom: 6px;
    font-size: 32px;
}

.metrics span {
    color: #cfe0f4;
}

.section {
    padding-block: 72px;
}

.section-heading {
    max-width: 640px;
    margin-bottom: 24px;
}

.feature-grid,
.service-grid,
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.service-card,
.dashboard-stats article,
.bill-panel,
.transactions,
.login-panel,
.auth-summary {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 36px rgba(17, 32, 55, .06);
}

.feature-card,
.service-card {
    padding: 24px;
}

.icon {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 8px;
    color: var(--navy);
    font-weight: 800;
    background: #f7d889;
}

.feature-card p,
.service-card p,
.about-layout p,
.auth-summary p,
.muted {
    color: var(--muted);
    line-height: 1.65;
}

.page-hero {
    padding-block: 76px 42px;
    background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.page-hero.compact {
    padding-bottom: 20px;
}

.page-hero h1 {
    max-width: 920px;
    font-size: clamp(34px, 5vw, 56px);
}

.page-hero p {
    max-width: 760px;
}

.service-grid {
    padding-block: 28px 72px;
}

.service-card {
    min-height: 240px;
}

.service-card a {
    color: var(--teal-dark);
    font-weight: 800;
}

.service-card .category-icon {
    margin-bottom: 18px;
}

.service-dot {
    display: block;
    width: 34px;
    height: 8px;
    margin-bottom: 18px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--teal), var(--amber));
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 34px;
    padding-block: 40px 78px;
}

.about-list {
    display: grid;
    gap: 12px;
}

.about-list span {
    padding: 16px;
    border-radius: 8px;
    background: var(--soft);
    border: 1px solid var(--line);
    font-weight: 700;
}

.policy-layout,
.contact-layout {
    padding: 36px clamp(18px, 4vw, 64px) 78px;
}

.policy-layout {
    display: grid;
    gap: 16px;
    max-width: 980px;
}

.policy-layout article,
.contact-panel,
.contact-summary {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 36px rgba(17, 32, 55, .06);
}

.policy-layout article {
    padding: 24px;
}

.policy-layout h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.policy-layout p {
    color: var(--muted);
    line-height: 1.7;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(300px, 620px) minmax(260px, 420px);
    gap: 24px;
    align-items: start;
}

.contact-panel,
.contact-summary {
    padding: 28px;
}

.contact-summary {
    display: grid;
    gap: 18px;
    color: var(--white);
    background: var(--navy);
}

.contact-summary h2 {
    color: var(--white);
}

.contact-summary span,
.contact-summary strong {
    display: block;
}

.contact-summary span {
    margin-bottom: 6px;
    color: #cfe0f4;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.success-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    color: #08745f;
    background: #ddf7ef;
    font-weight: 800;
}

.auth-page {
    display: grid;
    grid-template-columns: minmax(300px, 460px) minmax(260px, 1fr);
    gap: 24px;
    min-height: calc(100vh - 180px);
    padding-block: 58px;
    background: var(--soft);
}

.login-panel,
.auth-summary {
    padding: 30px;
}

.login-panel h1 {
    font-size: 34px;
}

label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: #344054;
    font-size: 14px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    padding: 0 13px;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    font: inherit;
}

input,
select {
    height: 46px;
}

textarea {
    min-height: 130px;
    padding-block: 12px;
    resize: vertical;
}

.field-error {
    color: var(--danger);
    font-size: 12px;
    font-weight: 700;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 4px 0 18px;
    font-size: 14px;
}

.check {
    display: flex;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.check input {
    width: 16px;
    height: 16px;
}

.form-row a {
    color: var(--teal-dark);
    font-weight: 800;
}

.auth-switch {
    margin: 18px 0 0;
    color: var(--muted);
    text-align: center;
}

.auth-switch a {
    color: var(--teal-dark);
    font-weight: 800;
}

.auth-summary {
    display: grid;
    align-content: center;
    background: var(--navy);
    color: var(--white);
}

.auth-summary h2,
.auth-summary p {
    color: var(--white);
}

.summary-stat {
    margin-top: 24px;
    padding: 22px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
}

.summary-stat strong,
.summary-stat span {
    display: block;
}

.summary-stat strong {
    font-size: 34px;
}

.dashboard-shell {
    padding-block: 34px 72px;
    background: var(--soft);
}

.dashboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.dashboard-top h1 {
    margin-bottom: 0;
    font-size: 38px;
}

.dashboard-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 20px;
}

.dashboard-stats article {
    padding: 20px;
}

.dashboard-stats span,
.dashboard-stats small {
    display: block;
    color: var(--muted);
}

.dashboard-stats strong {
    display: block;
    margin: 8px 0;
    color: var(--navy);
    font-size: 28px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
    gap: 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.category-card,
.list-panel,
.biller-row,
.result-grid article,
.result-table div,
.alert-error {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 36px rgba(17, 32, 55, .06);
}

.category-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 118px;
    padding: 20px;
}

.category-card strong {
    display: block;
    color: var(--navy);
    font-size: 18px;
}

.category-card small,
.biller-row small,
.biller-row em,
.result-grid span,
.result-table span {
    color: var(--muted);
}

.category-icon {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    color: var(--teal-dark);
    background: #e8f7f5;
    border: 1px solid #c9ebe7;
}

.category-icon::before,
.category-icon::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
}

.category-icon-grid::before {
    width: 24px;
    height: 24px;
    background:
        linear-gradient(currentColor 0 0) 0 0 / 9px 9px no-repeat,
        linear-gradient(currentColor 0 0) 15px 0 / 9px 9px no-repeat,
        linear-gradient(currentColor 0 0) 0 15px / 9px 9px no-repeat,
        linear-gradient(currentColor 0 0) 15px 15px / 9px 9px no-repeat;
}

.category-icon-zap::before {
    width: 14px;
    height: 28px;
    background: currentColor;
    clip-path: polygon(55% 0, 100% 0, 68% 43%, 100% 43%, 34% 100%, 50% 55%, 12% 55%);
}

.category-icon-drop::before {
    width: 22px;
    height: 28px;
    border: 3px solid currentColor;
    border-radius: 70% 70% 70% 0;
    transform: rotate(-45deg);
}

.category-icon-flame::before {
    width: 20px;
    height: 28px;
    border: 3px solid currentColor;
    border-radius: 14px 14px 16px 16px;
    transform: skewY(-8deg);
}

.category-icon-phone::before {
    width: 18px;
    height: 30px;
    border: 3px solid currentColor;
    border-radius: 6px;
}

.category-icon-phone::after {
    bottom: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.category-icon-wifi::before {
    width: 28px;
    height: 28px;
    border: 3px solid currentColor;
    border-color: currentColor transparent transparent;
    border-radius: 50%;
}

.category-icon-wifi::after {
    bottom: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.category-icon-tv::before {
    width: 30px;
    height: 21px;
    border: 3px solid currentColor;
    border-radius: 5px;
}

.category-icon-tv::after {
    bottom: 10px;
    width: 18px;
    height: 3px;
    background: currentColor;
}

.category-icon-wallet::before {
    width: 30px;
    height: 22px;
    border: 3px solid currentColor;
    border-radius: 6px;
}

.category-icon-wallet::after {
    right: 12px;
    width: 10px;
    height: 10px;
    border: 3px solid currentColor;
    border-radius: 50%;
}

.category-icon-book::before {
    width: 28px;
    height: 28px;
    border: 3px solid currentColor;
    border-radius: 4px;
}

.category-icon-book::after {
    left: 25px;
    width: 3px;
    height: 28px;
    background: currentColor;
}

.category-icon-health::before,
.category-icon-health::after {
    width: 24px;
    height: 6px;
    border-radius: 8px;
    background: currentColor;
}

.category-icon-health::after {
    transform: rotate(90deg);
}

.category-icon-receipt::before {
    width: 25px;
    height: 31px;
    border: 3px solid currentColor;
    border-radius: 4px;
}

.category-icon-receipt::after {
    width: 13px;
    height: 12px;
    border-top: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
}

.category-icon-shield::before {
    width: 26px;
    height: 30px;
    border: 3px solid currentColor;
    border-radius: 14px 14px 18px 18px;
    clip-path: polygon(50% 0, 100% 15%, 86% 78%, 50% 100%, 14% 78%, 0 15%);
}

.category-icon-ticket::before {
    width: 31px;
    height: 22px;
    border: 3px solid currentColor;
    border-radius: 5px;
}

.category-icon-ticket::after {
    height: 22px;
    border-left: 3px dashed currentColor;
}

.category-icon-home::before {
    width: 26px;
    height: 22px;
    border: 3px solid currentColor;
    border-top: 0;
    transform: translateY(5px);
}

.category-icon-home::after {
    width: 22px;
    height: 22px;
    border-left: 3px solid currentColor;
    border-top: 3px solid currentColor;
    transform: translateY(-4px) rotate(45deg);
}

.list-panel {
    display: grid;
    overflow: hidden;
}

.biller-shell {
    display: grid;
    gap: 20px;
}

.biller-top p {
    max-width: 720px;
    margin-bottom: 0;
}

.bbps-brand-strip,
.biller-toolbar,
.empty-state {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 36px rgba(17, 32, 55, .06);
}

.bbps-brand-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 22px;
}

.bbps-brand-strip h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.bbps-brand-strip p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.65;
}

.bbps-logo-slot {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
    min-width: 280px;
}

.bbps-logo-slot img,
.bbps-logo-slot span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    min-height: 58px;
    padding: 12px;
    border: 1px dashed #b8c7d9;
    border-radius: 8px;
    color: var(--muted);
    background: var(--soft);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.bbps-logo-slot img {
    object-fit: contain;
    border-style: solid;
    background: var(--white);
}

.biller-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 18px;
    padding: 20px;
}

.biller-search {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    align-items: end;
    gap: 12px;
}

.biller-search label {
    margin-bottom: 0;
}

.biller-meta {
    display: grid;
    justify-items: end;
}

.biller-meta strong {
    color: var(--navy);
    font-size: 28px;
}

.biller-meta span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.biller-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.biller-card {
    display: grid;
    gap: 14px;
    min-height: 170px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 36px rgba(17, 32, 55, .06);
}

.biller-card-head {
    display: grid;
    gap: 10px;
}

.biller-card strong {
    color: var(--navy);
    font-size: 18px;
    line-height: 1.35;
}

.biller-card em {
    justify-self: start;
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--teal-dark);
    background: #e8f7f5;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
}

.biller-card small {
    color: var(--muted);
    font-weight: 700;
}

.biller-card-action {
    align-self: end;
    color: var(--teal-dark);
    font-weight: 800;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 28px;
}

.empty-state h2 {
    margin-bottom: 8px;
    font-size: 24px;
}

.pagination-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.page-link,
.page-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    font-weight: 800;
}

.page-link {
    color: var(--navy);
}

.page-link.disabled {
    color: #98a2b3;
    background: var(--soft);
}

.page-state {
    color: var(--muted);
}

.biller-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    border-width: 0 0 1px;
    border-radius: 0;
    box-shadow: none;
}

.biller-row strong,
.biller-row small {
    display: block;
}

.biller-row em {
    flex: 0 0 auto;
    font-style: normal;
    font-weight: 800;
}

.bill-panel.wide {
    max-width: 760px;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.result-grid article {
    padding: 18px;
}

.result-grid span,
.result-grid strong,
.result-table span,
.result-table strong {
    display: block;
}

.result-grid strong {
    margin-top: 8px;
    color: var(--navy);
    font-size: 20px;
}

.result-table {
    display: grid;
    gap: 10px;
}

.result-table div,
.alert-error {
    padding: 16px;
}

.alert-error {
    color: #8f2525;
    background: #fff4f4;
}

.pay-panel,
.receipt-panel {
    margin-top: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 14px 36px rgba(17, 32, 55, .06);
}

.pay-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 240px) auto;
    align-items: end;
    gap: 18px;
    padding: 22px;
}

.pay-panel h2,
.pay-panel p,
.pay-panel label {
    margin-bottom: 0;
}

.receipt-panel {
    display: grid;
    gap: 22px;
    padding: 26px;
}

.receipt-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.receipt-head h2 {
    margin: 14px 0 6px;
}

.receipt-head p {
    margin-bottom: 0;
    color: var(--muted);
    font-weight: 700;
}

.receipt-amount {
    display: grid;
    justify-items: end;
}

.receipt-amount span,
.receipt-grid span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.receipt-amount strong {
    color: var(--navy);
    font-size: 34px;
}

.receipt-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.receipt-grid article {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.receipt-grid strong {
    display: block;
    margin-top: 8px;
    color: var(--navy);
    overflow-wrap: anywhere;
}

.bill-panel,
.transactions {
    padding: 24px;
    overflow: hidden;
}

.bill-form {
    display: grid;
    gap: 2px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 10px;
    text-align: left;
    border-bottom: 1px solid var(--line);
}

th {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.status {
    display: inline-flex;
    min-width: 72px;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
}

.status.paid {
    color: #08745f;
    background: #ddf7ef;
}

.status.pending {
    color: #8a5d00;
    background: #fff0c7;
}

.status.failed {
    color: var(--danger);
    background: #ffe5e5;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 28px clamp(18px, 4vw, 64px);
    color: #dce7f5;
    background: #0b1830;
}

.site-footer p {
    margin: 8px 0 0;
    color: #aab9cc;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (max-width: 980px) {
    .site-header,
    .site-footer,
    .dashboard-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero,
    .about-layout,
    .auth-page,
    .contact-layout,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .bbps-brand-strip,
    .biller-toolbar,
    .biller-search,
    .pay-panel {
        grid-template-columns: 1fr;
    }

    .receipt-head {
        flex-direction: column;
    }

    .receipt-amount {
        justify-items: start;
    }

    .bbps-logo-slot,
    .biller-meta {
        justify-content: flex-start;
        justify-items: start;
    }

    .hero {
        min-height: auto;
    }

    .feature-grid,
    .service-grid,
    .dashboard-stats,
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .nav-links {
        justify-content: flex-start;
    }

    h1 {
        font-size: 38px;
    }

    .metrics,
    .feature-grid,
    .service-grid,
    .dashboard-stats,
    .category-grid,
    .result-grid,
    .biller-grid,
    .receipt-grid {
        grid-template-columns: 1fr;
    }

    .transactions {
        overflow-x: auto;
    }

    table {
        min-width: 560px;
    }
}
