:root {
    --aidf-navy: #0a2249;
    --aidf-blue: #1358c8;
    --aidf-gold: #c7a037;
    --aidf-slate: #5f6f8d;
    --aidf-soft-bg: #f3f6fb;
    --aidf-white: #ffffff;
    --aidf-success: #1f8b4c;
    --aidf-danger: #bc3f3f;
    --aidf-warning: #b9811a;
    --aidf-radius-sm: 8px;
    --aidf-radius: 12px;
    --aidf-radius-lg: 16px;
    --aidf-shadow-sm: 0 8px 18px rgba(10, 34, 73, 0.07);
    --aidf-shadow: 0 14px 32px rgba(10, 34, 73, 0.1);
    --aidf-space-1: 0.3rem;
    --aidf-space-2: 0.55rem;
    --aidf-space-3: 0.8rem;
    --aidf-space-4: 1rem;
    --aidf-space-5: 1.4rem;
}

body.aidf-enterprise {
    background: linear-gradient(180deg, #f7f9fd 0%, #edf2fb 100%);
    color: #172b52;
}

.aidf-utility-bar,
.aidf-main-nav,
.aidf-topbar {
    backdrop-filter: blur(6px);
}

.aidf-sidebar {
    border-right: 1px solid #d5dff0;
    box-shadow: inset -1px 0 0 rgba(14, 51, 115, 0.03);
}

.aidf-sidebar .sidebar-title {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    color: #9fb3d8;
    text-transform: uppercase;
}

.aidf-sidebar a {
    border-radius: 9px;
}

.aidf-sidebar a.active {
    background: linear-gradient(145deg, #103b80 0%, #1659bf 100%);
    color: #fff;
}

.aidf-main-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 3px 14px rgba(10, 34, 73, 0.06);
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-primary,
.aidf-btn-primary {
    background: linear-gradient(145deg, #0e3f92 0%, #165dcc 100%);
    border-color: #165dcc;
}

.btn-primary:hover,
.aidf-btn-primary:hover {
    background: linear-gradient(145deg, #0b357e 0%, #1451b2 100%);
    border-color: #1451b2;
}

.aidf-btn-gold,
.btn-gold {
    color: #102850;
    background: linear-gradient(145deg, #dfbf64 0%, #c7a037 100%);
    border-color: #c7a037;
}

.aidf-btn-gold:hover,
.btn-gold:hover {
    color: #102850;
    background: linear-gradient(145deg, #d4b457 0%, #ba932b 100%);
    border-color: #ba932b;
}

.aidf-btn-outline,
.btn-outline-primary {
    border-color: #2d5cab;
    color: #214988;
}

.aidf-btn-ghost {
    background: transparent;
    border: 1px dashed #b8c7e2;
    color: #2b4f8e;
}

.aidf-btn-danger,
.btn-danger {
    background: linear-gradient(145deg, #c24a4a 0%, #a52f2f 100%);
    border-color: #a52f2f;
}

.aidf-btn-xs {
    font-size: 0.72rem;
    padding: 0.22rem 0.52rem;
}

.aidf-btn-icon {
    width: 34px;
    height: 34px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.aidf-btn-loading {
    opacity: 0.7;
    position: relative;
    pointer-events: none;
}

.aidf-btn-loading::after {
    content: "";
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    display: inline-block;
    margin-left: 0.4rem;
    animation: aidf-spin 0.8s linear infinite;
}

@keyframes aidf-spin {
    to {
        transform: rotate(360deg);
    }
}

.card,
.aidf-card,
.aidf-kpi-card,
.aidf-showcase-card,
.aidf-feature-panel {
    border-radius: var(--aidf-radius);
    border: 1px solid #d7e0ef;
    box-shadow: var(--aidf-shadow-sm);
}

.card:hover,
.aidf-showcase-card:hover,
.aidf-feature-panel:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--aidf-shadow);
}

.aidf-product-card,
.aidf-dashboard-card,
.aidf-account-card,
.aidf-transaction-card,
.aidf-approval-card,
.aidf-security-card,
.aidf-cta-card {
    border: 1px solid #d6e0f0;
    border-radius: var(--aidf-radius);
    background: #fff;
    padding: var(--aidf-space-4);
    box-shadow: var(--aidf-shadow-sm);
}

.aidf-form-card .form-control,
.aidf-form-card .form-select,
.form-control,
.form-select {
    border-radius: var(--aidf-radius-sm);
    border-color: #cfd9ea;
    min-height: 40px;
    font-size: 0.87rem;
}

.form-control:focus,
.form-select:focus {
    border-color: #2e61ba;
    box-shadow: 0 0 0 0.2rem rgba(46, 97, 186, 0.12);
}

.form-label {
    color: #1d3a70;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.aidf-help-text {
    font-size: 0.75rem;
    color: #617297;
}

.aidf-form-section {
    border: 1px solid #d9e2f1;
    border-radius: var(--aidf-radius-sm);
    padding: 0.8rem;
    background: #fbfdff;
}

.aidf-search-filter {
    border: 1px solid #d2dced;
    border-radius: var(--aidf-radius-sm);
    background: #f8fbff;
    padding: 0.7rem;
}

.form-check-input {
    border-color: #aebedb;
}

.form-check-input:checked {
    background-color: #1a56b7;
    border-color: #1a56b7;
}

.table.aidf-table {
    --bs-table-bg: transparent;
    font-size: 0.82rem;
}

.table.aidf-table thead th {
    background: #f4f8ff;
    color: #47608d;
    border-bottom: 1px solid #d3deef;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.table.aidf-table tbody td {
    border-color: #e1e8f5;
    vertical-align: middle;
}

.aidf-alert {
    border-radius: 10px;
    font-size: 0.82rem;
}

.aidf-badge,
.badge {
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.dropdown-menu {
    border-radius: 10px;
    border: 1px solid #d7e0ef;
    box-shadow: var(--aidf-shadow-sm);
    font-size: 0.84rem;
}

.aidf-page-header,
.aidf-segment-hero,
.aidf-contact-hero {
    border-radius: var(--aidf-radius-lg);
    padding: 1rem 1.1rem;
}

.aidf-page-header {
    background: linear-gradient(140deg, #eff5ff 0%, #ffffff 100%);
    border: 1px solid #d8e2f2;
}

.aidf-breadcrumb,
.breadcrumb {
    margin-bottom: 0.55rem;
    font-size: 0.74rem;
}

.aidf-breadcrumb .breadcrumb-item,
.breadcrumb .breadcrumb-item {
    color: #5e7194;
}

.aidf-auth-card {
    border: 1px solid #d8e2f2;
    box-shadow: var(--aidf-shadow);
}

.aidf-auth-visual {
    background: radial-gradient(circle at 18% 18%, rgba(199, 160, 55, 0.28), transparent 45%), linear-gradient(160deg, #0a2249 0%, #123c84 60%, #1a5ccb 100%);
}

.modal-content {
    border-radius: 12px;
    border: 1px solid #d7dfef;
    box-shadow: var(--aidf-shadow);
}

.aidf-security-note {
    margin-top: 0.75rem;
    color: #31568f;
    font-size: 0.76rem;
    background: #eef4ff;
    border: 1px solid #d8e3f5;
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
}

.aidf-empty {
    border: 1px dashed #cfdbee;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    color: #54698e;
    background: #f9fbff;
}

.aidf-enterprise-footer {
    border-top: 1px solid #d6deec;
    background: linear-gradient(180deg, #f4f7fc 0%, #e7edf8 100%);
}

.aidf-portal-quick-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (max-width: 992px) {
    .aidf-portal-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .aidf-portal-quick-grid {
        grid-template-columns: 1fr;
    }
}

body.auth-customer {
    background: #ffffff;
}

.aidf-auth-shell.customer {
    grid-template-columns: 52vw 1fr;
    min-height: 100vh;
    overflow: hidden;
}

.aidf-auth-shell.customer .aidf-auth-visual.customer {
    position: relative;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 73% 17%, rgba(32, 80, 230, 0.65) 0%, rgba(32, 80, 230, 0.22) 26%, transparent 46%),
        radial-gradient(circle at 69% 79%, rgba(255, 70, 170, 0.64) 0%, rgba(255, 70, 170, 0.22) 27%, transparent 48%),
        linear-gradient(134deg, #a15cc3 0%, #8a65dc 44%, #2f56c7 100%);
}

.aidf-mobile-campaign {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 3.2rem 2rem 2.4rem;
    color: #ffffff;
}

.aidf-auth-download {
    font-size: 1.52rem;
    line-height: 1.1;
    margin-bottom: 0.55rem;
}

.aidf-store-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.aidf-store-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 31px;
    padding: 0.22rem 0.62rem;
    color: #ffffff;
    background: #101010;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
}

.aidf-store-row.compact span {
    min-width: 137px;
    justify-content: center;
}

.aidf-campaign-brand {
    position: absolute;
    top: 2.55rem;
    right: 4.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0;
}

.aidf-campaign-mark {
    width: 48px;
    height: 48px;
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0 48%, transparent 49%), linear-gradient(135deg, #75c043 0 48%, #0b2b82 49%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 0 0 1px rgba(13, 42, 128, 0.12);
}

.aidf-campaign-mark.small {
    width: 38px;
    height: 38px;
}

.aidf-campaign-copy {
    position: relative;
    z-index: 2;
    max-width: 610px;
    margin-top: 1.7rem;
    margin-left: 2rem;
    font-size: 5.25rem;
    line-height: 0.9;
    font-weight: 300;
    letter-spacing: 0;
}

.aidf-campaign-copy strong,
.aidf-campaign-copy em {
    font-weight: 900;
    font-style: italic;
}

.aidf-campaign-copy strong {
    font-style: normal;
}

.aidf-campaign-subcopy {
    position: relative;
    z-index: 2;
    margin-top: 2.35rem;
    margin-left: 2.1rem;
    max-width: 350px;
    font-size: 2.28rem;
    line-height: 0.93;
    font-weight: 800;
}

.aidf-app-scene {
    position: absolute;
    right: 4.4rem;
    bottom: -1.7rem;
    width: 330px;
    height: 440px;
}

.aidf-phone {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 228px;
    height: 380px;
    border-radius: 31px;
    background: #071b45;
    border: 8px solid #071331;
    box-shadow: 0 18px 40px rgba(9, 15, 55, 0.38);
    overflow: hidden;
    transform: rotate(-4deg);
}

.aidf-phone-top {
    width: 82px;
    height: 13px;
    margin: 7px auto 0;
    background: #08132d;
    border-radius: 0 0 12px 12px;
}

.aidf-phone-header {
    margin-top: 0.45rem;
    padding: 0.65rem;
    background: #094ec4;
    color: #ffffff;
    font-size: 0.68rem;
    text-align: center;
    font-weight: 700;
}

.aidf-app-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.32rem;
    padding: 0.58rem;
    background: #f4f6fb;
    min-height: 320px;
}

.aidf-app-grid span {
    display: inline-flex;
    align-items: end;
    justify-content: center;
    min-height: 48px;
    padding: 0.25rem;
    border-radius: 7px;
    background: #ffffff;
    color: #1d3368;
    font-size: 0.46rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 1px 3px rgba(10, 31, 70, 0.08);
}

.aidf-person-shape {
    position: absolute;
    right: 6px;
    bottom: 8px;
    width: 118px;
    height: 250px;
    border-radius: 58px 58px 25px 25px;
    background: linear-gradient(180deg, #ffffff 0 28%, #171b3e 29% 100%);
    transform: rotate(-8deg);
    filter: drop-shadow(0 18px 24px rgba(29, 14, 65, 0.35));
}

.aidf-person-shape::before {
    content: "";
    position: absolute;
    top: -38px;
    left: 32px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #2c1741;
}

.aidf-person-shape::after {
    content: "";
    position: absolute;
    top: 65px;
    left: -52px;
    width: 118px;
    height: 18px;
    border-radius: 999px;
    background: #ffffff;
    transform: rotate(-17deg);
}

.aidf-store-row.qr {
    position: absolute;
    left: 3.2rem;
    bottom: 6.2rem;
    width: 360px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem 1rem;
}

.aidf-store-row.qr span {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    justify-content: center;
}

.aidf-qr-pattern {
    width: 138px;
    height: 138px;
    display: block;
    background:
        linear-gradient(90deg, #fff 11px, transparent 12px) 0 0 / 24px 24px,
        linear-gradient(#fff 11px, transparent 12px) 0 0 / 24px 24px,
        linear-gradient(45deg, transparent 42%, #fff 43% 57%, transparent 58%) 0 0 / 18px 18px,
        rgba(255, 255, 255, 0.12);
    border: 4px solid rgba(255, 255, 255, 0.88);
}

.aidf-qr-pattern.alt {
    background-position: 6px 6px, 12px 0, 0 0, 0 0;
}

.aidf-auth-left-links {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 0.78rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.72rem;
}

.aidf-auth-left-links a {
    color: rgba(255, 255, 255, 0.92);
}

.aidf-auth-shell.customer .aidf-auth-card-wrap.customer {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
    padding: 7.6rem 4.2rem 4.2rem;
    background: #ffffff;
}

.aidf-customer-top-brand {
    position: absolute;
    top: 1.3rem;
    right: 2.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #0b2b82;
    font-size: 1.65rem;
    font-weight: 800;
    text-decoration: none;
}

.aidf-auth-shell.customer .aidf-auth-card {
    max-width: 720px;
    padding: 0;
    border-radius: 0;
    border: 1px solid #e1e1e1;
    border-top: 2px solid #0b2b82;
    box-shadow: none;
    background: #ffffff;
}

.aidf-auth-shell.customer .aidf-security-note {
    display: none;
}

.aidf-auth-shell.customer .aidf-auth-card::after {
    content: "AIDF Bank Plc. RC 103022 (Licensed by the Central Bank of Nigeria).";
    position: fixed;
    right: 0;
    bottom: 0.72rem;
    color: #008cff;
    font-size: 0.86rem;
}

.aidf-customer-login-intro {
    margin: -7.05rem 0 2.1rem;
}

.aidf-customer-login-intro .aidf-auth-title {
    color: #092b88;
    font-size: 1.55rem;
    font-weight: 800;
    margin: 0 0 0.58rem;
}

.aidf-customer-login-intro p {
    margin: 0;
    color: #111111;
    font-size: 1.05rem;
}

.aidf-fidelity-form {
    padding: 2.45rem 2.85rem 2.4rem;
}

.aidf-login-field {
    position: relative;
    margin-bottom: 1.65rem;
}

.aidf-login-field .form-control {
    width: 100%;
    min-height: 57px;
    padding: 0.85rem 2.9rem 0.85rem 0.85rem;
    border-radius: 7px;
    border-color: #d4d7dc;
    background: #f7f8fa;
    color: #172b52;
    font-size: 1rem;
    box-shadow: none;
}

.aidf-login-field .form-control::placeholder {
    color: #b9b9b9;
}

.aidf-login-field > i,
.aidf-password-eye {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    color: #002b8c;
    font-size: 1.05rem;
}

.aidf-password-eye {
    border: 0;
    background: transparent;
    padding: 0.2rem;
    line-height: 1;
}

.aidf-customer-help-row {
    display: flex;
    justify-content: flex-end;
    margin: 0.55rem 0 1rem;
}

.aidf-customer-help-row a,
.aidf-fidelity-links a {
    color: #002b8c;
    font-weight: 500;
}

.aidf-fidelity-signin {
    min-height: 50px;
    border: 0;
    border-radius: 4px;
    background: #dddddd;
    color: #777777;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: none;
}

.aidf-fidelity-signin:hover,
.aidf-fidelity-signin:focus {
    background: #d1d1d1;
    color: #555555;
}

.aidf-fidelity-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
    margin-top: 1.25rem;
    color: #002b8c;
    font-size: 0.78rem;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 1200px) {
    .aidf-campaign-copy {
        font-size: 4.15rem;
        margin-left: 0.7rem;
    }

    .aidf-campaign-subcopy {
        font-size: 1.9rem;
        margin-left: 0.85rem;
    }

    .aidf-app-scene {
        right: 1.6rem;
        width: 285px;
    }

    .aidf-store-row.qr {
        width: 320px;
    }
}

@media (max-width: 992px) {
    .aidf-auth-shell.customer {
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .aidf-auth-shell.customer .aidf-auth-visual.customer {
        min-height: 420px;
    }

    .aidf-mobile-campaign {
        min-height: 420px;
        padding: 1.5rem;
    }

    .aidf-campaign-brand,
    .aidf-app-scene,
    .aidf-store-row.qr {
        display: none;
    }

    .aidf-campaign-copy {
        margin: 1.5rem 0 0;
        font-size: 3.6rem;
    }

    .aidf-campaign-subcopy {
        margin: 1.5rem 0 0;
        font-size: 1.75rem;
    }

    .aidf-auth-shell.customer .aidf-auth-card-wrap.customer {
        min-height: auto;
        padding: 6.2rem 1rem 3rem;
    }

    .aidf-auth-shell.customer .aidf-auth-card::after {
        position: static;
        display: block;
        padding: 0 1rem 1rem;
        text-align: center;
    }

    .aidf-customer-login-intro {
        margin-top: -5.65rem;
    }
}

@media (max-width: 576px) {
    .aidf-auth-download {
        font-size: 1.18rem;
    }

    .aidf-store-row.compact span {
        min-width: 124px;
    }

    .aidf-campaign-copy {
        font-size: 2.8rem;
    }

    .aidf-auth-left-links {
        gap: 0.55rem;
        font-size: 0.68rem;
    }

    .aidf-customer-top-brand {
        right: 1rem;
        font-size: 1.35rem;
    }

    .aidf-fidelity-form {
        padding: 2rem 1rem 1.5rem;
    }

    .aidf-customer-login-intro .aidf-auth-title {
        font-size: 1.28rem;
    }

    .aidf-customer-login-intro p {
        font-size: 0.95rem;
    }
}

.aidf-full-bleed-main {
    min-height: 100vh;
}

body.aidf-internet-banking-page {
    background: #ffffff;
    overflow-x: hidden;
}

.aidf-ib-shell {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    color: #00563f;
    background: #ffffff;
}

.aidf-ib-nav {
    height: 80px;
    display: grid;
    grid-template-columns: 340px 1fr;
    align-items: center;
    gap: 2rem;
    padding: 0 1.45rem;
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    z-index: 3;
}

.aidf-ib-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #00563f;
    text-decoration: none;
}

.aidf-ib-brand:hover {
    color: #00563f;
}

.aidf-ib-brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #006348;
    border-radius: 6px;
    font-size: 1.15rem;
}

.aidf-ib-brand strong {
    display: block;
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: 0;
}

.aidf-ib-brand small {
    display: block;
    color: #70bd42;
    font-size: 0.67rem;
    font-weight: 800;
    text-align: right;
}

.aidf-ib-nav nav {
    display: flex;
    align-items: stretch;
    gap: clamp(3rem, 8vw, 10rem);
    height: 100%;
}

.aidf-ib-nav nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #004d39;
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    min-width: 82px;
}

.aidf-ib-nav nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    height: 5px;
    background: #70bd42;
}

.aidf-ib-hero {
    position: relative;
    display: grid;
    grid-template-columns: 37.5vw 1fr;
    min-height: calc(100vh - 136px);
    overflow: hidden;
}

.aidf-ib-devices {
    position: relative;
    align-self: start;
    height: min(570px, calc(100vh - 176px));
    margin-top: 54px;
    border-radius: 0 24px 24px 0;
    background: linear-gradient(135deg, #f2f9f6 0%, #ffffff 100%);
    box-shadow: 0 18px 45px rgba(15, 78, 58, 0.2);
    overflow: hidden;
}

.aidf-ib-devices::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(235, 247, 243, 0.9), rgba(255, 255, 255, 0.55));
}

.aidf-ib-plant {
    position: absolute;
    left: 0.9rem;
    bottom: 3.5rem;
    width: 155px;
    height: 310px;
    z-index: 2;
}

.aidf-ib-plant::after {
    content: "";
    position: absolute;
    left: 18px;
    bottom: 0;
    width: 72px;
    height: 118px;
    border-radius: 0 0 38px 38px;
    border: 3px solid rgba(0, 86, 63, 0.18);
    background: rgba(255, 255, 255, 0.72);
}

.aidf-ib-plant span {
    position: absolute;
    width: 82px;
    height: 34px;
    border-radius: 82px 0 82px 0;
    background: linear-gradient(135deg, #2d995a, #c6e3c0);
    transform-origin: right center;
}

.aidf-ib-plant span:nth-child(1) { left: 52px; top: 22px; transform: rotate(-46deg); }
.aidf-ib-plant span:nth-child(2) { left: 38px; top: 78px; transform: rotate(-18deg); }
.aidf-ib-plant span:nth-child(3) { left: 30px; top: 130px; transform: rotate(16deg); }
.aidf-ib-plant span:nth-child(4) { left: 24px; top: 184px; transform: rotate(41deg); }

.aidf-ib-desktop {
    position: absolute;
    left: 28.5%;
    top: 15%;
    width: 68%;
    height: 54%;
    border-radius: 16px;
    background: #e7eceb;
    z-index: 2;
    box-shadow: 0 16px 30px rgba(4, 35, 27, 0.18);
}

.aidf-ib-desktop::after {
    content: "";
    position: absolute;
    left: 37%;
    bottom: -42px;
    width: 26%;
    height: 46px;
    background: #dfe7e5;
    clip-path: polygon(26% 0, 74% 0, 100% 100%, 0 100%);
}

.aidf-ib-screen {
    position: absolute;
    inset: 8% 5%;
    display: grid;
    grid-template-columns: 16% 1fr 22%;
    gap: 0.6rem;
    padding: 0.8rem;
    border-radius: 4px;
    background: #f1f7f2;
}

.aidf-ib-sidebar {
    display: grid;
    gap: 0.5rem;
    padding: 0.6rem 0.35rem;
    border-radius: 6px;
    background: #006348;
}

.aidf-ib-sidebar span {
    height: 18px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.28);
}

.aidf-ib-dashboard {
    display: grid;
    gap: 0.5rem;
}

.aidf-ib-balance,
.aidf-ib-tabs,
.aidf-ib-cards span,
.aidf-ib-lines span,
.aidf-ib-bills span {
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 86, 63, 0.09);
}

.aidf-ib-balance { height: 24px; width: 54%; }
.aidf-ib-tabs { height: 8px; width: 88%; background: #cfe8c3; }

.aidf-ib-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
}

.aidf-ib-cards span {
    height: 44px;
    background: linear-gradient(180deg, #ffffff, #e9f6e5);
}

.aidf-ib-lines {
    display: grid;
    gap: 0.42rem;
}

.aidf-ib-lines span {
    height: 25px;
    background: linear-gradient(90deg, #e7f4e3, #ffffff);
}

.aidf-ib-bills {
    display: grid;
    gap: 0.45rem;
}

.aidf-ib-bills span {
    height: 45px;
    background: #dff2d8;
}

.aidf-ib-phone,
.aidf-ib-tablet,
.aidf-ib-laptop {
    position: absolute;
    z-index: 4;
    border: 7px solid #08342d;
    background:
        linear-gradient(#006348, #006348) 0 0 / 100% 28% no-repeat,
        repeating-linear-gradient(180deg, #ffffff 0 24px, #ecf7e9 25px 48px);
    box-shadow: 0 15px 24px rgba(2, 39, 29, 0.22);
}

.aidf-ib-phone.small-phone {
    left: 17.5%;
    bottom: 7%;
    width: 58px;
    height: 152px;
    border-radius: 12px;
}

.aidf-ib-tablet {
    left: 45%;
    bottom: 3%;
    width: 178px;
    height: 238px;
    border-radius: 10px;
}

.aidf-ib-laptop {
    right: -20px;
    bottom: 4%;
    width: 150px;
    height: 210px;
    border-radius: 8px;
}

.aidf-ib-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 4rem 1.05rem 5rem 3rem;
    text-align: center;
}

.aidf-ib-soft-shape {
    position: absolute;
    width: min(950px, 72vw);
    height: min(720px, 82vh);
    right: -5%;
    top: -2%;
    border-radius: 46% 0 45% 54% / 27% 0 53% 64%;
    background: #eff9eb;
    z-index: 0;
}

.aidf-ib-copy h1,
.aidf-ib-copy p,
.aidf-ib-choice-grid {
    position: relative;
    z-index: 1;
}

.aidf-ib-copy h1 {
    color: #00543d;
    font-size: clamp(2.05rem, 3vw, 3rem);
    line-height: 1.38;
    font-weight: 900;
    letter-spacing: 0;
    margin: 0 0 1.45rem;
}

.aidf-ib-copy p {
    color: #00543d;
    font-size: clamp(1.15rem, 1.7vw, 1.5rem);
    letter-spacing: 0.08em;
    margin: 0 0 2rem;
}

.aidf-ib-choice-grid {
    display: grid;
    grid-template-columns: minmax(230px, 400px) 120px minmax(230px, 400px);
    align-items: end;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.25rem;
}

.aidf-ib-choice {
    display: grid;
    justify-items: center;
    gap: 0.85rem;
    color: #00543d;
    font-size: 1rem;
    text-decoration: none;
}

.aidf-ib-choice i {
    min-height: 66px;
    color: currentColor;
    font-size: 3.6rem;
    line-height: 1;
}

.aidf-ib-choice span {
    width: 100%;
    min-height: 69px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.3rem;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.08rem;
    box-shadow: 0 12px 24px rgba(0, 86, 63, 0.12);
}

.aidf-ib-choice.personal span {
    background: #77c43f;
}

.aidf-ib-choice.corporate span {
    background: #00543d;
}

.aidf-ib-choice:hover span,
.aidf-ib-choice:focus span {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(0, 86, 63, 0.18);
}

.aidf-ib-separator {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 94px;
}

.aidf-ib-separator span {
    position: relative;
    width: 8px;
    height: 100px;
    border-radius: 999px;
    background: repeating-linear-gradient(180deg, #d9efcd 0 26px, transparent 27px 45px);
}

.aidf-ib-separator span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #e7f1f0;
}

.aidf-ib-pattern {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 56px;
    height: 155px;
    display: flex;
    align-items: end;
    gap: 0.65rem;
    overflow: hidden;
    opacity: 0.52;
    pointer-events: none;
}

.aidf-ib-pattern span {
    flex: 0 0 auto;
    width: clamp(44px, 5vw, 112px);
    height: clamp(44px, 5vw, 112px);
    border: 2px solid rgba(0, 86, 63, 0.22);
    border-radius: 12px;
    box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.65), inset 0 0 0 15px rgba(0, 86, 63, 0.18);
}

.aidf-ib-pattern span:nth-child(3n) {
    width: clamp(28px, 3vw, 72px);
    height: clamp(28px, 3vw, 72px);
}

.aidf-ib-pattern span:nth-child(4n) {
    transform: translateY(-30px);
}

.aidf-ib-footer {
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0 1.55rem;
    color: #ffffff;
    background: #00543d;
    z-index: 2;
}

.aidf-ib-footer div {
    display: flex;
    align-items: center;
    gap: 2.35rem;
}

.aidf-ib-footer a,
.aidf-ib-footer span {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
}

.aidf-ib-footer span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.82rem;
}

@media (max-width: 1180px) {
    .aidf-ib-hero {
        grid-template-columns: 40vw 1fr;
    }

    .aidf-ib-choice-grid {
        grid-template-columns: minmax(220px, 1fr) 58px minmax(220px, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 900px) {
    .aidf-ib-nav {
        height: auto;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }

    .aidf-ib-nav nav {
        justify-content: space-between;
        gap: 1rem;
        height: 48px;
    }

    .aidf-ib-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .aidf-ib-devices {
        height: 340px;
        width: min(680px, 94vw);
        margin: 1.2rem auto 0;
        border-radius: 20px;
    }

    .aidf-ib-copy {
        padding: 3rem 1rem 5.5rem;
    }

    .aidf-ib-soft-shape {
        width: 120vw;
        right: -14vw;
    }

    .aidf-ib-choice-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin-left: auto;
        margin-right: auto;
    }

    .aidf-ib-separator {
        min-height: 28px;
    }

    .aidf-ib-separator span {
        width: 100px;
        height: 8px;
        background: repeating-linear-gradient(90deg, #d9efcd 0 26px, transparent 27px 45px);
    }

    .aidf-ib-footer {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.9rem 1rem;
    }
}

@media (max-width: 560px) {
    .aidf-ib-brand strong {
        font-size: 1.05rem;
    }

    .aidf-ib-nav nav a {
        font-size: 0.88rem;
        min-width: auto;
    }

    .aidf-ib-devices {
        height: 250px;
    }

    .aidf-ib-plant,
    .aidf-ib-laptop {
        display: none;
    }

    .aidf-ib-desktop {
        left: 6%;
        width: 72%;
    }

    .aidf-ib-tablet {
        left: auto;
        right: 7%;
        width: 105px;
        height: 145px;
    }

    .aidf-ib-phone.small-phone {
        left: 4%;
        height: 112px;
    }

    .aidf-ib-copy p {
        letter-spacing: 0;
    }

    .aidf-ib-choice span {
        font-size: 0.95rem;
    }

    .aidf-ib-footer div {
        gap: 1rem;
        flex-wrap: wrap;
    }
}

body.aidf-public-bg.aidf-enterprise {
    background: #f4f7fb;
}

.aidf-public-bg .container {
    max-width: 1720px;
}

.aidf-kicker {
    color: #86c83d;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin: 0 0 0.55rem;
    text-transform: uppercase;
}

.aidf-premium-header {
    position: sticky;
    top: 0;
    z-index: 1050;
}

.aidf-premium-topbar {
    background: #0c1d5a;
    color: #ffffff;
    min-height: 50px;
    display: flex;
    align-items: center;
}

.aidf-top-links,
.aidf-top-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.aidf-top-links a {
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.aidf-top-links a + a::before {
    content: "|";
    margin-right: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
}

.aidf-top-actions a:not(.aidf-chip-btn),
.aidf-market {
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 600;
}

.aidf-chip-btn {
    display: inline-flex;
    align-items: center;
    min-height: 33px;
    padding: 0.45rem 0.8rem;
    border-radius: 6px;
    background: #86c83d;
    color: #071543;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.aidf-premium-mainnav {
    min-height: 10px;
    background: #14296e;
    color: #ffffff;
}

.aidf-premium-brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: #ffffff;
    text-decoration: none;
}

.aidf-premium-brand:hover {
    color: #ffffff;
}

.aidf-premium-brand-mark {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, #86c83d 0 48%, #ffffff 49%);
    color: #14296e;
    font-size: 2.1rem;
}

.aidf-premium-brand strong {
    display: block;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.aidf-premium-brand small {
    display: block;
    color: #86c83d;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.aidf-premium-mainnav .aidf-nav-link {
    color: #ffffff;
    font-size: clamp(1.1rem, 1.6vw, 1.9rem);
    font-weight: 500;
    padding: 0.7rem 0.9rem;
}

.aidf-premium-mainnav .aidf-nav-link:hover,
.aidf-premium-mainnav .aidf-nav-link:focus {
    color: #86c83d;
}

.aidf-premium-mainnav .navbar-toggler {
    background: #ffffff;
}

.aidf-public-bg main.container {
    padding-top: 0 !important;
}

.aidf-home-hero {
    display: grid;
    grid-template-columns: minmax(320px, 29%) 1fr;
    min-height: 534px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #101f5f;
}

.aidf-hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 5vw, 6rem);
    color: #ffffff;
    background: #14296e;
}

.aidf-hero-panel h1 {
    max-width: 520px;
    font-size: clamp(2.4rem, 4.4vw, 4.8rem);
    line-height: 1.02;
    margin: 0 0 1.4rem;
    letter-spacing: -0.04em;
    font-weight: 300;
}

.aidf-hero-panel p:not(.aidf-kicker) {
    max-width: 430px;
    font-size: clamp(1.1rem, 1.4vw, 1.55rem);
    line-height: 1.16;
    margin-bottom: 0.9rem;
}

.aidf-store-badges {
    display: grid;
    gap: 0.4rem;
    width: 120px;
    margin-bottom: 1.2rem;
}

.aidf-store-badges span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 36px;
    border-radius: 6px;
    background: #050505;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
}

.aidf-home-hero .btn-success,
.aidf-footer-cta .btn-success,
.aidf-inner-hero .btn-success,
.aidf-digital-split .btn-success {
    background: #86c83d;
    border-color: #86c83d;
    color: #071543;
    border-radius: 6px;
    padding: 0.72rem 1.65rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.aidf-hero-dots {
    display: flex;
    gap: 0.7rem;
    margin-top: 4rem;
}

.aidf-hero-dots span {
    width: 38px;
    height: 14px;
    border: 1px solid #ffffff;
}

.aidf-hero-dots span:first-child {
    border-color: #86c83d;
    background: #86c83d;
}

.aidf-hero-image {
    position: relative;
    min-height: 534px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.aidf-hero-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 41, 110, 0.14), rgba(0, 0, 0, 0.52) 58%, rgba(0, 0, 0, 0.88));
}

.aidf-hero-campaign {
    position: absolute;
    right: clamp(2rem, 4vw, 5rem);
    top: 50%;
    width: min(520px, 45%);
    transform: translateY(-50%);
    color: #ffffff;
    text-align: center;
}

.aidf-hero-campaign p {
    margin: 0 0 0.3rem;
    color: #86c83d;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.aidf-hero-campaign h2 {
    font-size: clamp(2.2rem, 4.3vw, 4.6rem);
    line-height: 0.98;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
}

.aidf-hero-campaign strong {
    color: #86c83d;
    font-size: 1.15rem;
    letter-spacing: 0.08em;
}

.aidf-campaign-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.aidf-campaign-icons span {
    display: grid;
    gap: 0.6rem;
    justify-items: center;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.aidf-campaign-icons i {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #86c83d;
    color: #ffffff;
    font-size: 2.1rem;
}

.aidf-rates-band {
    margin: 4rem 0;
    padding: 3rem;
    border-radius: 18px;
    background: #ffffff;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
    align-items: center;
    box-shadow: 0 18px 40px rgba(9, 28, 82, 0.08);
}

.aidf-rates-band h2,
.aidf-section-heading h2,
.aidf-digital-split h2,
.aidf-footer-cta h2,
.aidf-experience-band h2 {
    color: #14296e;
    font-size: clamp(2rem, 3.6vw, 4rem);
    line-height: 1.04;
    font-weight: 300;
    margin: 0;
}

.aidf-rate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
}

.aidf-rate-grid article {
    border: 1px solid #dce6f3;
    border-radius: 10px;
    padding: 1rem;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.aidf-rate-grid span {
    color: #86c83d;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.aidf-rate-grid strong {
    display: block;
    color: #14296e;
    font-size: 1.45rem;
}

.aidf-rate-grid small {
    color: #66708a;
}

.aidf-premium-section {
    margin: 4rem 0;
}

.aidf-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.5rem;
    margin-bottom: 1.3rem;
}

.aidf-section-heading h2 {
    max-width: 840px;
}

.aidf-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.aidf-product-tile,
.aidf-news-card,
.aidf-proof-grid article,
.aidf-side-stack article {
    border: 1px solid #dce6f3;
    border-radius: 14px;
    padding: 1.35rem;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(9, 28, 82, 0.06);
}

.aidf-product-tile i {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #eaf6dd;
    color: #14296e;
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.aidf-product-tile h3,
.aidf-news-card h3 {
    color: #14296e;
    font-size: 1.12rem;
    font-weight: 900;
    margin-bottom: 0.55rem;
}

.aidf-product-tile p,
.aidf-news-card p,
.aidf-proof-grid p,
.aidf-side-stack p {
    color: #5c6680;
    margin-bottom: 1rem;
}

.aidf-product-tile a,
.aidf-news-card a {
    color: #14296e;
    font-weight: 900;
}

.aidf-digital-split,
.aidf-inner-hero,
.aidf-experience-band {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 2rem;
    align-items: center;
    margin: 4rem 0;
    padding: clamp(2rem, 4vw, 4rem);
    border-radius: 22px;
    color: #ffffff;
    background:
        radial-gradient(circle at 88% 18%, rgba(134, 200, 61, 0.24), transparent 35%),
        linear-gradient(135deg, #0c1d5a, #14296e 58%, #071543);
    overflow: hidden;
}

.aidf-digital-split h2,
.aidf-inner-hero h1,
.aidf-experience-band h2 {
    color: #ffffff;
}

.aidf-digital-split p,
.aidf-inner-hero p,
.aidf-experience-band p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.04rem;
}

.aidf-digital-dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.aidf-dashboard-top {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.15rem 0.2rem 0.4rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.aidf-dashboard-top strong {
    color: #86c83d;
    font-size: 0.78rem;
}

.aidf-dashboard-card {
    min-height: 118px;
    border-radius: 12px;
    padding: 1rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(234, 246, 221, 0.94));
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.aidf-dashboard-card.wide {
    grid-column: 1 / -1;
}

.aidf-dashboard-card span,
.aidf-dashboard-card small {
    display: block;
    color: #61708e;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.aidf-dashboard-card strong {
    display: block;
    color: #14296e;
    font-size: 1.55rem;
    line-height: 1.1;
    margin: 0.35rem 0;
}

.balance-card {
    position: relative;
    overflow: hidden;
}

.balance-card::after {
    content: "";
    position: absolute;
    right: -22px;
    top: -28px;
    width: 115px;
    height: 115px;
    border-radius: 50%;
    background: rgba(134, 200, 61, 0.22);
}

.metric-card {
    min-height: 126px;
}

.metric-card i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #86c83d;
    color: #071543;
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
}

.aidf-dashboard-lines {
    grid-column: 1 / -1;
    display: grid;
    gap: 0.55rem;
}

.aidf-dashboard-lines div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 42px;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.aidf-dashboard-lines span {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    font-weight: 700;
}

.aidf-dashboard-lines strong {
    color: #86c83d;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aidf-proof-grid,
.aidf-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.aidf-proof-grid strong {
    display: block;
    color: #14296e;
    font-size: 1.08rem;
    margin-bottom: 0.45rem;
}

.aidf-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aidf-news-card span {
    color: #86c83d;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.aidf-inner-hero {
    grid-template-columns: 1fr 320px;
    margin-top: 2rem;
}

.aidf-inner-hero h1 {
    max-width: 980px;
    font-size: clamp(2.25rem, 4.2vw, 4.8rem);
    line-height: 1.03;
    font-weight: 300;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.aidf-inner-hero aside {
    display: grid;
    gap: 0.8rem;
    padding: 1.2rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
}

.aidf-inner-hero aside span {
    color: #86c83d;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.aidf-inner-hero aside strong {
    padding: 0.85rem;
    border-radius: 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

.aidf-premium-form {
    padding: 1.6rem;
}

.aidf-side-stack {
    display: grid;
    gap: 1rem;
}

.aidf-experience-band {
    grid-template-columns: 1fr 420px;
}

.aidf-experience-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.aidf-experience-metrics span {
    display: grid;
    gap: 0.3rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
}

.aidf-experience-metrics strong {
    color: #86c83d;
    font-size: 2rem;
}

.aidf-premium-footer {
    margin-top: 2rem;
    padding: 0 0 1rem;
    color: rgba(255, 255, 255, 0.76);
    background: #071543;
}

.aidf-footer-cta {
    transform: translateY(-1.5rem);
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem 2rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #14296e, #0c1d5a);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.aidf-footer-cta h2 {
    color: #ffffff;
    font-size: clamp(1.5rem, 2.2vw, 2.4rem);
    margin-bottom: 0.4rem;
}

.aidf-footer-cta p:not(.aidf-kicker) {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.aidf-footer-cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.aidf-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 1.5rem;
    padding-bottom: 1.25rem;
}

.aidf-premium-footer h3 {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

/* Nav links inside footer columns stack vertically */
.aidf-footer-grid a {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Brand link inside footer grid — keep inline-flex */
.aidf-footer-grid .aidf-premium-brand {
    display: inline-flex;
    margin-bottom: 0;
}

.footer-brand .aidf-premium-brand-mark {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
}

.footer-brand strong {
    font-size: 1.3rem;
}

.footer-brand small {
    font-size: 0.6rem;
}

.aidf-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.8rem;
}

/* Social icons row — horizontal, compact */
.aidf-footer-social {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.aidf-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.aidf-footer-social a:hover {
    background: #c9a227;
    color: #fff;
}

@media (max-width: 1200px) {
    .aidf-home-hero {
        grid-template-columns: 1fr;
    }

    .aidf-hero-campaign {
        width: min(640px, 88%);
    }

    .aidf-product-grid,
    .aidf-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aidf-premium-mainnav {
        min-height: auto;
        padding: 1rem 0;
    }
}

@media (max-width: 992px) {
    .aidf-rates-band,
    .aidf-digital-split,
    .aidf-inner-hero,
    .aidf-experience-band,
    .aidf-footer-cta,
    .aidf-footer-grid {
        grid-template-columns: 1fr;
    }

    .aidf-section-heading {
        display: block;
    }

    .aidf-rate-grid,
    .aidf-news-grid,
    .aidf-experience-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .aidf-premium-topbar {
        display: none;
    }

    .aidf-premium-brand-mark {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        font-size: 1.4rem;
    }

    .aidf-premium-brand strong {
        font-size: 1.8rem;
    }

    .aidf-hero-panel,
    .aidf-rates-band,
    .aidf-digital-split,
    .aidf-inner-hero,
    .aidf-experience-band {
        padding: 1.35rem;
        border-radius: 14px;
    }

    .aidf-home-hero {
        margin-left: 0;
        margin-right: 0;
    }

    .aidf-hero-image,
    .aidf-home-hero {
        min-height: auto;
    }

    .aidf-hero-campaign {
        position: relative;
        inset: auto;
        width: auto;
        transform: none;
        padding: 2rem 1rem;
    }

    .aidf-campaign-icons,
    .aidf-rate-grid,
    .aidf-product-grid,
    .aidf-proof-grid,
    .aidf-news-grid,
    .aidf-experience-metrics {
        grid-template-columns: 1fr;
    }

    .aidf-footer-bottom {
        flex-direction: column;
    }
}

/* Premium polish pass: shorter heroes, calmer spacing, and richer form surfaces. */
.aidf-premium-mainnav {
    min-height: 96px;
}

.aidf-premium-brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 13px;
    font-size: 1.55rem;
}

.aidf-premium-brand strong {
    font-size: clamp(1.8rem, 2.7vw, 2.55rem);
}

.aidf-premium-brand small {
    font-size: 0.72rem;
}

.aidf-home-hero {
    min-height: 292px;
}

.aidf-hero-panel {
    padding: clamp(1.5rem, 3.2vw, 3rem);
}

.aidf-hero-panel h1 {
    font-size: clamp(1.9rem, 3vw, 3.25rem);
    max-width: 470px;
    margin-bottom: 0.9rem;
}

.aidf-hero-panel p:not(.aidf-kicker) {
    font-size: clamp(0.98rem, 1.1vw, 1.18rem);
    max-width: 380px;
}

.aidf-hero-image {
    min-height: 292px;
}

.aidf-hero-campaign h2 {
    font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.aidf-hero-campaign strong {
    font-size: 0.95rem;
}

.aidf-campaign-icons {
    gap: 0.7rem;
    margin-top: 1.1rem;
}

.aidf-campaign-icons i {
    width: 52px;
    height: 52px;
    font-size: 1.45rem;
}

.aidf-store-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 260px;
}

.aidf-hero-dots {
    margin-top: 1.5rem;
}

.aidf-rates-band,
.aidf-premium-section,
.aidf-digital-split,
.aidf-inner-hero,
.aidf-experience-band {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.aidf-inner-hero,
.aidf-digital-split,
.aidf-experience-band {
    padding: clamp(1.5rem, 3vw, 2.7rem);
}

.aidf-inner-hero h1 {
    font-size: clamp(1.85rem, 3vw, 3.35rem);
    max-width: 860px;
}

.aidf-rates-band h2,
.aidf-section-heading h2,
.aidf-digital-split h2,
.aidf-footer-cta h2,
.aidf-experience-band h2 {
    font-size: clamp(1.75rem, 2.7vw, 3rem);
}

.aidf-product-tile,
.aidf-news-card,
.aidf-proof-grid article,
.aidf-side-stack article {
    border-color: rgba(20, 41, 110, 0.11);
    box-shadow: 0 10px 24px rgba(9, 28, 82, 0.055);
}

.aidf-form-card,
.aidf-premium-form {
    border: 1px solid rgba(134, 200, 61, 0.22);
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, rgba(134, 200, 61, 0.46), rgba(20, 41, 110, 0.18)) border-box;
    box-shadow: 0 18px 42px rgba(9, 28, 82, 0.08);
}

.aidf-form-card .form-label,
.aidf-premium-form .form-label {
    color: #14296e;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.aidf-form-card .form-control,
.aidf-form-card .form-select,
.aidf-premium-form .form-control,
.aidf-premium-form .form-select {
    min-height: 48px;
    border-radius: 12px;
    border: 1px solid #dce7f0;
    background: linear-gradient(180deg, #fbfdff, #f4f8fc);
    color: #14296e;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.aidf-form-card .form-control:focus,
.aidf-form-card .form-select:focus,
.aidf-premium-form .form-control:focus,
.aidf-premium-form .form-select:focus {
    border-color: #86c83d;
    box-shadow: 0 0 0 0.18rem rgba(134, 200, 61, 0.18), 0 10px 28px rgba(20, 41, 110, 0.08);
}

.aidf-open-account-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
    padding: clamp(1.6rem, 3.6vw, 3.25rem);
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 16%, rgba(134, 200, 61, 0.3), transparent 34%),
        linear-gradient(135deg, #071543 0%, #14296e 58%, #0c1d5a 100%);
    color: #ffffff;
}

.aidf-open-account-hero::after {
    content: "";
    position: absolute;
    right: -8%;
    bottom: -42%;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 44px rgba(134, 200, 61, 0.06);
}

.aidf-open-account-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 920px;
    color: #ffffff;
    font-size: clamp(2rem, 3.4vw, 4rem);
    line-height: 1.02;
    font-weight: 300;
    letter-spacing: -0.04em;
}

.aidf-open-account-hero p:not(.aidf-kicker) {
    position: relative;
    z-index: 1;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

.aidf-onboarding-steps {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.aidf-onboarding-steps span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    font-weight: 800;
}

.aidf-onboarding-steps strong {
    color: #86c83d;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
}

.aidf-open-account-layout {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    margin: 2.5rem 0;
}

.aidf-onboarding-panel {
    position: sticky;
    top: 126px;
    padding: 1.35rem;
    border-radius: 20px;
    color: #ffffff;
    background: linear-gradient(160deg, #14296e, #071543);
    box-shadow: 0 18px 42px rgba(9, 28, 82, 0.14);
}

.aidf-onboarding-panel h2 {
    color: #ffffff;
    font-size: 1.75rem;
    line-height: 1.08;
    margin-bottom: 1rem;
}

.aidf-onboarding-panel .aidf-side-stack article {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.aidf-onboarding-panel .aidf-side-stack strong,
.aidf-onboarding-panel .aidf-side-stack p {
    color: #ffffff;
}

.aidf-onboarding-panel .aidf-side-stack p {
    color: rgba(255, 255, 255, 0.72);
}

.aidf-future-form-card {
    position: relative;
    padding: clamp(1.1rem, 2vw, 1.65rem);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(247, 251, 255, 0.94)) padding-box,
        linear-gradient(135deg, rgba(134, 200, 61, 0.75), rgba(20, 41, 110, 0.2), rgba(134, 200, 61, 0.32)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 22px 56px rgba(9, 28, 82, 0.12);
    overflow: hidden;
}

.aidf-future-form-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 8%, rgba(134, 200, 61, 0.14), transparent 26%),
        linear-gradient(90deg, rgba(20, 41, 110, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(20, 41, 110, 0.035) 1px, transparent 1px);
    background-size: auto, 38px 38px, 38px 38px;
    pointer-events: none;
}

.aidf-form-card-heading,
.aidf-future-form {
    position: relative;
    z-index: 1;
}

.aidf-form-card-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1.2rem;
}

.aidf-form-card-heading h2 {
    color: #14296e;
    font-size: clamp(1.5rem, 2.3vw, 2.4rem);
    font-weight: 300;
    margin: 0;
}

.aidf-form-card-heading > span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    color: #14296e;
    background: #eaf6dd;
    font-weight: 900;
    white-space: nowrap;
}

.aidf-form-section-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #14296e;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 1.45rem 0 0.8rem;
}

.aidf-form-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(134, 200, 61, 0.8), transparent);
}

.aidf-future-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem;
}

.aidf-future-field {
    display: grid;
    gap: 0.35rem;
}

.aidf-future-field.full {
    margin-top: 1rem;
}

.aidf-future-field span {
    color: #36456f;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aidf-future-field input,
.aidf-future-field select,
.aidf-future-field textarea {
    width: 100%;
    min-height: 56px;
    border: 1px solid rgba(20, 41, 110, 0.13);
    border-radius: 16px;
    padding: 0.85rem 1rem;
    color: #14296e;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.92));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 10px 24px rgba(9, 28, 82, 0.045);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.aidf-future-field textarea {
    min-height: 116px;
    resize: vertical;
}

.aidf-future-field input:focus,
.aidf-future-field select:focus,
.aidf-future-field textarea:focus {
    border-color: rgba(134, 200, 61, 0.95);
    box-shadow:
        0 0 0 0.18rem rgba(134, 200, 61, 0.18),
        0 16px 34px rgba(9, 28, 82, 0.08);
    transform: translateY(-1px);
}

.aidf-future-service-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
}

.aidf-future-service-grid label {
    cursor: pointer;
}

.aidf-future-service-grid input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.aidf-future-service-grid span {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem;
    border: 1px solid rgba(20, 41, 110, 0.12);
    border-radius: 15px;
    color: #14296e;
    background: rgba(255, 255, 255, 0.72);
    font-weight: 800;
    text-align: center;
    transition: all 0.2s ease;
}

.aidf-future-service-grid input:checked + span {
    border-color: #86c83d;
    color: #071543;
    background: #eaf6dd;
    box-shadow: 0 12px 26px rgba(134, 200, 61, 0.17);
}

.aidf-future-consent {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 16px;
    color: #36456f;
    background: rgba(20, 41, 110, 0.045);
}

.aidf-future-consent input {
    margin-top: 0.2rem;
}

.aidf-future-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.aidf-future-submit small {
    color: #68738f;
}

@media (max-width: 1100px) {
    .aidf-open-account-hero,
    .aidf-open-account-layout {
        grid-template-columns: 1fr;
    }

    .aidf-onboarding-panel {
        position: static;
    }

    .aidf-future-service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .aidf-store-badges,
    .aidf-future-grid,
    .aidf-future-service-grid {
        grid-template-columns: 1fr;
    }

    .aidf-form-card-heading,
    .aidf-future-submit {
        display: grid;
    }
}

.aidf-mega-nav {
    position: static;
}

.aidf-mega-item {
    position: static;
}

.aidf-mega-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1060;
    padding: 1rem 0 1.2rem;
    background:
        radial-gradient(circle at 18% 0%, rgba(134, 200, 61, 0.18), transparent 30%),
        linear-gradient(135deg, #071543 0%, #14296e 68%, #0c1d5a 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 60px rgba(7, 21, 67, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.aidf-mega-item:hover .aidf-mega-menu,
.aidf-mega-item:focus-within .aidf-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.aidf-mega-inner {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 1.25rem;
}

.aidf-mega-feature {
    padding: 1.25rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.aidf-mega-feature h2 {
    color: #ffffff;
    font-size: 1.35rem;
    line-height: 1.15;
    font-weight: 400;
    margin-bottom: 1rem;
}

.aidf-mega-feature a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.68rem 0.9rem;
    border-radius: 999px;
    background: #86c83d;
    color: #071543;
    font-weight: 900;
}

.aidf-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.aidf-mega-grid a {
    display: flex;
    gap: 0.75rem;
    min-height: 94px;
    padding: 1rem;
    border-radius: 16px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-decoration: none;
}

.aidf-mega-grid a:hover,
.aidf-mega-grid a:focus {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.aidf-mega-grid i {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #86c83d;
    color: #071543;
    font-size: 1.12rem;
}

.aidf-mega-grid strong {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.aidf-mega-grid small {
    display: block;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.35;
}

.aidf-account-type-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0 0;
}

.aidf-account-type-tabs a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 72px;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    color: #14296e;
    background: #ffffff;
    border: 1px solid rgba(20, 41, 110, 0.1);
    box-shadow: 0 12px 28px rgba(9, 28, 82, 0.055);
    font-weight: 900;
}

.aidf-account-type-tabs a.active,
.aidf-account-type-tabs a:hover {
    color: #071543;
    background: #eaf6dd;
    border-color: rgba(134, 200, 61, 0.72);
}

.aidf-account-type-tabs i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #071543;
    background: #86c83d;
}

body.aidf-internet-banking-page {
    background: #071543;
}

.aidf-ib-shell {
    color: #14296e;
    background: #f4f7fb;
}

.aidf-ib-nav {
    background: #14296e;
    box-shadow: 0 10px 26px rgba(7, 21, 67, 0.18);
}

.aidf-ib-brand,
.aidf-ib-brand:hover,
.aidf-ib-nav nav a {
    color: #ffffff;
}

.aidf-ib-brand-mark {
    border-color: #86c83d;
    color: #86c83d;
}

.aidf-ib-brand small,
.aidf-ib-nav nav a.active::after {
    color: #86c83d;
}

.aidf-ib-nav nav a.active::after {
    background: #86c83d;
}

.aidf-ib-hero {
    background:
        radial-gradient(circle at 74% 12%, rgba(134, 200, 61, 0.18), transparent 34%),
        linear-gradient(135deg, #f4f7fb 0%, #ffffff 52%, #eaf6dd 100%);
}

.aidf-ib-soft-shape {
    background: linear-gradient(135deg, rgba(234, 246, 221, 0.95), rgba(255, 255, 255, 0.72));
    box-shadow: 0 24px 80px rgba(20, 41, 110, 0.08);
}

.aidf-ib-copy h1,
.aidf-ib-copy p,
.aidf-ib-choice {
    color: #14296e;
}

.aidf-ib-choice.personal span {
    background: #86c83d;
    color: #071543;
}

.aidf-ib-choice.corporate span,
.aidf-ib-footer {
    background: #14296e;
}

.aidf-ib-pattern span {
    border-color: rgba(20, 41, 110, 0.2);
    box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.68), inset 0 0 0 15px rgba(134, 200, 61, 0.2);
}

@media (max-width: 1200px) {
    .aidf-mega-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
    }

    .aidf-mega-item:focus-within .aidf-mega-menu,
    .aidf-mega-item:hover .aidf-mega-menu {
        display: block;
    }

    .aidf-mega-inner {
        grid-template-columns: 1fr;
    }

    .aidf-mega-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .aidf-mega-grid,
    .aidf-account-type-tabs {
        grid-template-columns: 1fr;
    }
}

.aidf-btn-security,
.aidf-btn-talk,
.aidf-btn-loan-submit,
.aidf-btn-account-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.72rem 1.15rem;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.aidf-btn-security::before,
.aidf-btn-talk::before,
.aidf-btn-loan-submit::before,
.aidf-btn-account-submit::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    z-index: -1;
}

.aidf-btn-security {
    border: 1px solid rgba(134, 200, 61, 0.72);
    color: #ffffff;
    background: linear-gradient(135deg, rgba(134, 200, 61, 0.22), rgba(255, 255, 255, 0.08));
    box-shadow: 0 14px 32px rgba(7, 21, 67, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.aidf-btn-security::before {
    background: linear-gradient(135deg, rgba(20, 41, 110, 0.98), rgba(7, 21, 67, 0.92));
}

.aidf-btn-security:hover,
.aidf-btn-security:focus {
    color: #071543;
    border-color: #86c83d;
    background: #86c83d;
    box-shadow: 0 18px 40px rgba(134, 200, 61, 0.25);
    transform: translateY(-2px);
}

.aidf-btn-talk {
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 30px rgba(0, 0, 0, 0.16);
}

.aidf-btn-talk::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(134, 200, 61, 0.12));
}

.aidf-btn-talk:hover,
.aidf-btn-talk:focus {
    color: #ffffff;
    border-color: rgba(134, 200, 61, 0.86);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2), 0 0 0 0.18rem rgba(134, 200, 61, 0.14);
    transform: translateY(-2px);
}

.aidf-loan-application-panel {
    border: 1px solid rgba(134, 200, 61, 0.22);
    background:
        radial-gradient(circle at 12% 0%, rgba(134, 200, 61, 0.12), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 42px rgba(9, 28, 82, 0.08);
}

.aidf-loan-panel-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    color: #14296e;
    background: #eaf6dd;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.aidf-btn-loan-submit {
    border: 0;
    color: #071543;
    background:
        linear-gradient(135deg, #b7ee75, #86c83d 52%, #70b832);
    box-shadow: 0 15px 34px rgba(134, 200, 61, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.aidf-btn-loan-submit:hover,
.aidf-btn-loan-submit:focus {
    color: #071543;
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(134, 200, 61, 0.32), 0 0 0 0.18rem rgba(134, 200, 61, 0.18);
}

.aidf-btn-account-submit {
    min-height: 58px;
    padding: 0.9rem 1.45rem;
    border: 1px solid rgba(134, 200, 61, 0.78);
    color: #071543;
    background:
        linear-gradient(135deg, #d9ff9a 0%, #9ed957 42%, #86c83d 100%);
    box-shadow:
        0 18px 42px rgba(134, 200, 61, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -10px 24px rgba(7, 21, 67, 0.08);
}

.aidf-btn-account-submit::before {
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 36%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(7, 21, 67, 0.05));
}

.aidf-btn-account-submit i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(7, 21, 67, 0.1);
    color: #071543;
    font-size: 1rem;
}

.aidf-btn-account-submit:hover,
.aidf-btn-account-submit:focus {
    color: #071543;
    border-color: #b7ee75;
    transform: translateY(-2px);
    box-shadow:
        0 24px 54px rgba(134, 200, 61, 0.36),
        0 0 0 0.2rem rgba(134, 200, 61, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

/* Horizontal overflow hardening */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    position: relative;
}

.aidf-public-bg,
.aidf-enterprise,
.aidf-premium-header,
.aidf-premium-footer,
.aidf-full-bleed-main,
main,
section,
footer,
header {
    max-width: 100%;
}

.aidf-public-bg .container {
    width: min(100%, 1720px);
}

.aidf-home-hero {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden;
}

.aidf-mega-menu,
.aidf-mega-inner,
.aidf-ib-shell,
.aidf-ib-hero,
.aidf-open-account-hero,
.aidf-future-form-card,
.aidf-digital-split,
.aidf-inner-hero,
.aidf-experience-band,
.aidf-rates-band {
    max-width: 100%;
    overflow-x: clip;
}

.aidf-ib-pattern {
    max-width: 100%;
    overflow: hidden;
}

.aidf-ib-soft-shape,
.aidf-open-account-hero::after {
    max-width: 100%;
}

.table-responsive,
.row {
    max-width: 100%;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

@supports not (overflow-x: clip) {
    .aidf-mega-menu,
    .aidf-mega-inner,
    .aidf-ib-shell,
    .aidf-ib-hero,
    .aidf-open-account-hero,
    .aidf-future-form-card,
    .aidf-digital-split,
    .aidf-inner-hero,
    .aidf-experience-band,
    .aidf-rates-band {
        overflow-x: hidden;
    }
}

@media (max-width: 900px) {
    .aidf-ib-soft-shape {
        width: 100%;
        right: 0;
    }
}

/* Premium portal consistency */
body.aidf-enterprise:has(.aidf-shell) {
    background:
        radial-gradient(circle at 12% 0%, rgba(134, 200, 61, 0.12), transparent 26%),
        linear-gradient(180deg, #f4f7fb 0%, #edf3fa 100%);
}

.aidf-shell {
    background: transparent;
}

.aidf-sidebar {
    background:
        radial-gradient(circle at 18% 0%, rgba(134, 200, 61, 0.22), transparent 34%),
        linear-gradient(180deg, #14296e 0%, #071543 100%);
    color: rgba(255, 255, 255, 0.78);
    border-right: 1px solid rgba(134, 200, 61, 0.16);
    box-shadow: 18px 0 42px rgba(7, 21, 67, 0.12);
}

.aidf-sidebar.staff {
    background:
        radial-gradient(circle at 18% 0%, rgba(134, 200, 61, 0.22), transparent 34%),
        linear-gradient(180deg, #0d4f62 0%, #071543 100%);
}

.aidf-sidebar.admin {
    background:
        radial-gradient(circle at 18% 0%, rgba(134, 200, 61, 0.25), transparent 34%),
        linear-gradient(180deg, #071543 0%, #111b46 100%);
}

.aidf-portal-brand-block {
    margin-bottom: 1.1rem;
    padding: 0.85rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.aidf-portal-brand-block .aidf-brand {
    align-items: center;
}

.aidf-portal-brand-block .aidf-brand-mark {
    background: linear-gradient(135deg, #86c83d 0 48%, #ffffff 49%);
    color: #071543;
    border-radius: 13px;
}

.aidf-portal-brand-block strong,
.aidf-portal-brand-block small {
    display: block;
}

.aidf-portal-brand-block strong {
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1;
}

.aidf-portal-brand-block small {
    color: #86c83d;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.aidf-sidebar .sidebar-title {
    color: #86c83d;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.aidf-sidebar a {
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid transparent;
    border-radius: 14px;
    margin-bottom: 0.25rem;
}

.aidf-sidebar a:hover,
.aidf-sidebar a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(134, 200, 61, 0.34);
    box-shadow: inset 3px 0 0 #86c83d;
}

.aidf-topbar {
    min-height: 68px;
    margin: 0.85rem 0.95rem 0;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(20, 41, 110, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 32px rgba(9, 28, 82, 0.07);
}

.aidf-portal-mode {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.75rem;
    border-radius: 999px;
    color: #14296e;
    background: #eaf6dd;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.aidf-topbar .search-input {
    min-height: 42px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #f6f9fd);
    border-color: rgba(20, 41, 110, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.aidf-topbar-icon-btn,
.aidf-topbar-user-btn {
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(20, 41, 110, 0.12);
    color: #14296e;
    background: #ffffff;
    font-weight: 800;
}

.aidf-topbar-icon-btn:hover,
.aidf-topbar-user-btn:hover,
.aidf-topbar-icon-btn:focus,
.aidf-topbar-user-btn:focus {
    color: #071543;
    background: #eaf6dd;
    border-color: rgba(134, 200, 61, 0.64);
}

.aidf-content {
    padding: 1rem 0.95rem 1.4rem;
}

.aidf-content .card,
.aidf-content .aidf-card,
.aidf-content .aidf-kpi-card,
.aidf-content .aidf-dashboard-card {
    border: 1px solid rgba(20, 41, 110, 0.09);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 255, 0.94));
    box-shadow: 0 16px 36px rgba(9, 28, 82, 0.07);
}

.aidf-content .card:hover,
.aidf-content .aidf-card:hover,
.aidf-content .aidf-dashboard-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 44px rgba(9, 28, 82, 0.1);
}

.aidf-content .aidf-page-header,
.aidf-content .aidf-segment-hero {
    border-radius: 20px;
    border-color: rgba(134, 200, 61, 0.2);
    background:
        radial-gradient(circle at 88% 0%, rgba(134, 200, 61, 0.14), transparent 30%),
        linear-gradient(135deg, #ffffff, #f7fbff);
}

.aidf-content .aidf-section-title,
.aidf-content h1,
.aidf-content h2 {
    color: #14296e;
}

.aidf-content .btn-primary {
    border-color: #14296e;
    background: linear-gradient(135deg, #14296e, #071543);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(20, 41, 110, 0.18);
}

.aidf-content .btn-outline-primary,
.aidf-content .btn-outline-secondary {
    border-color: rgba(20, 41, 110, 0.2);
    color: #14296e;
    background: #ffffff;
}

.aidf-content .btn-outline-primary:hover,
.aidf-content .btn-outline-secondary:hover {
    border-color: #86c83d;
    color: #071543;
    background: #eaf6dd;
}

.aidf-content .form-control,
.aidf-content .form-select {
    min-height: 44px;
    border-radius: 13px;
    border-color: rgba(20, 41, 110, 0.13);
    background: linear-gradient(180deg, #ffffff, #f6f9fd);
}

.aidf-content .table.aidf-table thead th {
    background: #eef6e7;
    color: #14296e;
}

.aidf-content .table.aidf-table tbody td {
    border-color: rgba(20, 41, 110, 0.08);
}

.aidf-content .aidf-security-note {
    border-color: rgba(134, 200, 61, 0.24);
    color: #14296e;
    background: #eaf6dd;
}

.aidf-admin-login-btn {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    color: #071543;
    background: linear-gradient(135deg, #d9ff9a, #86c83d);
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 16px 34px rgba(134, 200, 61, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.aidf-admin-login-btn:hover,
.aidf-admin-login-btn:focus {
    color: #071543;
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(134, 200, 61, 0.36), 0 0 0 0.18rem rgba(134, 200, 61, 0.16);
}

body.auth-admin {
    min-height: 100vh;
    background:
        radial-gradient(circle at 16% 12%, rgba(134, 200, 61, 0.2), transparent 30%),
        radial-gradient(circle at 88% 78%, rgba(255, 255, 255, 0.08), transparent 34%),
        #071543;
}

.aidf-auth-shell.admin {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(7, 21, 67, 0.96), rgba(20, 41, 110, 0.76)),
        #071543;
    overflow: hidden;
}

.aidf-auth-shell.admin .aidf-auth-visual.admin {
    position: relative;
    min-height: 100vh;
    padding: clamp(2rem, 5vw, 5.7rem);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px) 0 0 / 42px 42px,
        radial-gradient(circle at 22% 22%, rgba(134, 200, 61, 0.24), transparent 34%),
        linear-gradient(135deg, #071543 0%, #14296e 66%, #0a183f 100%);
    isolation: isolate;
}

.aidf-auth-shell.admin .aidf-auth-visual.admin::before,
.aidf-auth-shell.admin .aidf-auth-visual.admin::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.aidf-auth-shell.admin .aidf-auth-visual.admin::before {
    inset: 8% 10% auto auto;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(134, 200, 61, 0.22);
    border-radius: 50%;
    box-shadow: 0 0 90px rgba(134, 200, 61, 0.16);
}

.aidf-auth-shell.admin .aidf-auth-visual.admin::after {
    left: -10%;
    bottom: -22%;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(134, 200, 61, 0.18), transparent 62%);
}

.aidf-admin-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: clamp(2rem, 5vw, 4.2rem);
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    font-weight: 950;
    letter-spacing: -0.02em;
}

.aidf-admin-auth-brand:hover {
    color: #ffffff;
}

.aidf-admin-auth-mark {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #071543;
    background: linear-gradient(135deg, #d9ff9a, #86c83d);
    box-shadow: 0 18px 42px rgba(134, 200, 61, 0.22);
}

.aidf-admin-auth-kicker {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 1rem;
    padding: 0.42rem 0.78rem;
    border: 1px solid rgba(134, 200, 61, 0.32);
    border-radius: 999px;
    color: #d9ff9a;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.aidf-admin-auth-copy h1 {
    max-width: 720px;
    color: #ffffff;
    font-size: clamp(2.35rem, 5vw, 5.1rem);
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}

.aidf-admin-auth-copy p {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1rem, 1.45vw, 1.25rem);
    line-height: 1.65;
    margin: 0;
}

.aidf-admin-auth-matrix {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    max-width: 760px;
}

.aidf-admin-auth-matrix span {
    min-height: 120px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 20px 46px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(12px);
}

.aidf-admin-auth-matrix i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-bottom: 0.85rem;
    border-radius: 13px;
    color: #071543;
    background: #d9ff9a;
}

.aidf-admin-auth-matrix strong,
.aidf-admin-auth-matrix small {
    display: block;
}

.aidf-admin-auth-matrix strong {
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

.aidf-admin-auth-matrix small {
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.76rem;
}

.aidf-auth-shell.admin .aidf-auth-card-wrap.admin {
    position: relative;
    min-height: 100vh;
    padding: clamp(1.2rem, 4vw, 3.2rem);
    background:
        radial-gradient(circle at 80% 12%, rgba(134, 200, 61, 0.16), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.94));
}

.aidf-auth-shell.admin .aidf-auth-card {
    max-width: 440px;
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid rgba(20, 41, 110, 0.12);
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 255, 0.92));
    box-shadow: 0 34px 90px rgba(7, 21, 67, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.aidf-auth-shell.admin .aidf-security-note {
    border-color: rgba(134, 200, 61, 0.24);
    color: #14296e;
    background: #f2faeb;
}

.aidf-admin-login-head {
    margin-bottom: 1.1rem;
}

.aidf-admin-login-head .aidf-portal-tag.admin {
    border: 1px solid rgba(134, 200, 61, 0.28);
    color: #14296e;
    background: linear-gradient(135deg, #f2faeb, #ffffff);
    font-weight: 900;
}

.aidf-admin-login-head .aidf-auth-title {
    color: #071543;
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.02em;
    margin-bottom: 0.55rem;
}

.aidf-admin-login-head p {
    color: #60708f;
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

.aidf-admin-field .form-label {
    color: #14296e;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aidf-admin-input-shell {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 56px;
    border: 1px solid rgba(20, 41, 110, 0.14);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.95));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 30px rgba(20, 41, 110, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.aidf-admin-input-shell:focus-within {
    border-color: rgba(134, 200, 61, 0.68);
    box-shadow: 0 0 0 0.22rem rgba(134, 200, 61, 0.14), 0 18px 38px rgba(20, 41, 110, 0.1);
    transform: translateY(-1px);
}

.aidf-admin-input-shell > i {
    width: 52px;
    flex: 0 0 52px;
    color: #86c83d;
    text-align: center;
    font-size: 1.05rem;
}

.aidf-admin-input-shell .form-control {
    min-height: 54px;
    border: 0;
    border-radius: 18px;
    background: transparent;
    color: #071543;
    font-weight: 700;
    box-shadow: none;
}

.aidf-admin-input-shell .form-control::placeholder {
    color: #9ba8bf;
    font-weight: 600;
}

.aidf-admin-input-shell .form-control:focus {
    box-shadow: none;
}

.aidf-admin-input-shell.password .form-control {
    padding-right: 3.2rem;
}

.aidf-admin-input-shell.password .btn {
    position: absolute;
    right: 0.55rem;
    top: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid rgba(20, 41, 110, 0.1);
    border-radius: 14px;
    color: #14296e;
    background: rgba(255, 255, 255, 0.78);
}

.aidf-admin-login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.2rem 0 1.1rem;
}

.aidf-admin-login-options a {
    color: #14296e;
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
}

.aidf-admin-login-options a:hover {
    color: #5da121;
}

.aidf-admin-login-assurance {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.aidf-admin-login-assurance span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 38px;
    border: 1px solid rgba(20, 41, 110, 0.1);
    border-radius: 999px;
    color: #52627f;
    background: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
}

.aidf-admin-login-assurance i {
    color: #86c83d;
}

.aidf-admin-security-copy {
    margin-top: 1rem;
    color: #64748f;
    font-size: 0.78rem;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .aidf-auth-shell.admin {
        grid-template-columns: 1fr;
    }

    .aidf-auth-shell.admin .aidf-auth-visual.admin {
        min-height: auto;
        padding: 2rem 1.2rem;
    }

    .aidf-admin-auth-matrix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aidf-auth-shell.admin .aidf-auth-card-wrap.admin {
        min-height: auto;
    }

    .aidf-topbar {
        margin: 0.65rem;
    }
}

@media (max-width: 576px) {
    .aidf-admin-auth-matrix,
    .aidf-admin-login-assurance {
        grid-template-columns: 1fr;
    }

    .aidf-auth-shell.admin .aidf-auth-card {
        border-radius: 20px;
    }

    .aidf-admin-login-options {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.55rem;
    }
}
