:root {
    --aidf-premium-bg: radial-gradient(circle at 15% 0%, #e9f1ff 0%, #f4f6fa 42%, #f5f7fb 100%);
    --aidf-premium-ring: rgba(17, 77, 160, 0.18);
    --aidf-premium-border: #d4deef;
    --aidf-premium-ink: #0b1d40;
    --aidf-premium-muted: #6a7995;
    --aidf-premium-accent: #bf9a34;
}

body {
    color: var(--aidf-premium-ink);
}

.aidf-public-bg {
    background: var(--aidf-premium-bg);
}

.card,
.aidf-card {
    border-color: var(--aidf-premium-border);
}

.aidf-page-header {
    border: 1px solid var(--aidf-premium-border);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.aidf-page-header .aidf-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.aidf-page-header .aidf-meta {
    color: var(--aidf-premium-muted);
    font-size: 0.83rem;
    margin: 0.25rem 0 0;
}

.aidf-doc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    border-bottom: 1px solid var(--aidf-premium-border);
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
}

.aidf-doc-brand {
    display: flex;
    gap: 0.55rem;
    align-items: center;
}

.aidf-doc-title {
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0;
}

.aidf-doc-meta {
    font-size: 0.78rem;
    color: var(--aidf-premium-muted);
    margin: 0;
}

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

.aidf-summary-item {
    border: 1px solid var(--aidf-premium-border);
    border-radius: 9px;
    padding: 0.5rem 0.6rem;
    background: #fff;
}

.aidf-summary-item .label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--aidf-premium-muted);
}

.aidf-summary-item .value {
    margin-top: 0.12rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.aidf-qr-placeholder {
    width: 84px;
    height: 84px;
    border: 1px dashed #9cb2d8;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6682b1;
    font-size: 0.7rem;
}

.aidf-document-footer {
    margin-top: 1rem;
    border-top: 1px solid var(--aidf-premium-border);
    padding-top: 0.5rem;
    color: var(--aidf-premium-muted);
    font-size: 0.74rem;
}

.aidf-activity {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aidf-activity li {
    border-left: 2px solid #d7e4fb;
    margin-left: 0.4rem;
    padding: 0 0 0.75rem 0.7rem;
    position: relative;
    color: var(--aidf-premium-muted);
    font-size: 0.8rem;
}

.aidf-activity li::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2f67b8;
    position: absolute;
    left: -6px;
    top: 0.15rem;
}

.aidf-filter-bar {
    border: 1px solid var(--aidf-premium-border);
    border-radius: 11px;
    background: #fbfdff;
    padding: 0.65rem;
}

.btn-primary {
    box-shadow: 0 4px 16px rgba(12, 41, 91, 0.16);
}

.btn:focus-visible,
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem var(--aidf-premium-ring);
    border-color: #87a8db;
}

@media print {
    .aidf-shell .aidf-sidebar,
    .aidf-shell .aidf-topbar,
    .aidf-security-note,
    .aidf-print-hide {
        display: none !important;
    }

    body,
    .aidf-content {
        background: #fff !important;
        padding: 0 !important;
        color: #111 !important;
    }

    .card,
    .aidf-card {
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

.aidf-utility-bar {
    background: #ffffff;
    border-bottom: 1px solid #dce4f2;
    font-size: 0.74rem;
}

.aidf-utility-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
}

.aidf-utility-links a {
    color: #24365f;
    font-weight: 600;
}

.aidf-utility-actions {
    display: flex;
    gap: 0.45rem;
}

.aidf-utility-actions .btn {
    font-size: 0.72rem;
    padding: 0.28rem 0.55rem;
}

.aidf-main-nav {
    background: #fff;
    border-bottom: 1px solid #dce4f2;
}

.aidf-main-nav .aidf-nav-link {
    font-size: 0.8rem;
}

.aidf-hero-premium {
    border: 1px solid #d4deef;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
}

.aidf-hero-premium-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 410px;
}

.aidf-hero-copy {
    padding: 2rem 2rem 1.2rem;
    background: linear-gradient(145deg, #eff5ff 0%, #f8fbff 100%);
}

.aidf-hero-kicker {
    color: #1b4f9f;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.aidf-hero-title {
    font-size: 2.45rem;
    line-height: 1.06;
    margin: 0.4rem 0;
    color: #0c2a63;
    font-weight: 800;
}

.aidf-hero-subtitle {
    color: #53719f;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.aidf-hero-visual {
    position: relative;
    background: radial-gradient(circle at 55% 35%, rgba(116, 206, 78, 0.52) 0%, rgba(116, 206, 78, 0.28) 34%, rgba(17, 77, 160, 0.08) 68%, rgba(11, 33, 72, 0.12) 100%),
        linear-gradient(145deg, #ebf2ff 0%, #dbe8ff 100%);
}

.aidf-hero-visual::before {
    content: "";
    width: 74%;
    height: 74%;
    border-radius: 50%;
    border: 18px solid rgba(126, 201, 93, 0.6);
    position: absolute;
    right: 10%;
    top: 12%;
}

.aidf-hero-visual::after {
    content: "AIDF";
    position: absolute;
    right: 16%;
    bottom: 12%;
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: rgba(12, 31, 70, 0.2);
}

.aidf-service-strip {
    margin-top: -0.65rem;
    border: 1px solid #d6dfef;
    border-radius: 12px;
    background: #fff;
}

.aidf-service-strip a {
    display: block;
    border-right: 1px solid #e3e9f4;
    padding: 0.8rem 0.95rem;
    color: #183b7f;
    font-size: 0.8rem;
    font-weight: 700;
}

.aidf-service-strip .col:last-child a {
    border-right: 0;
}

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

.aidf-showcase-card {
    background: #fff;
    border: 1px solid #d8e1ef;
    border-radius: 12px;
    padding: 0.85rem;
    min-height: 156px;
}

.aidf-showcase-card h3 {
    font-size: 0.98rem;
    margin-bottom: 0.4rem;
    color: #0f3171;
}

.aidf-showcase-card p {
    color: #627292;
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
}

.aidf-prefooter {
    border-radius: 14px;
    background: linear-gradient(130deg, #0b2f73 0%, #123f90 48%, #1d5ab9 100%);
    color: #e9f0ff;
    padding: 1.35rem;
}

.aidf-footer {
    background: #eceff5;
    border-top: 1px solid #d6deec;
}

.aidf-footer h6,
.aidf-footer h5 {
    color: #1a3161;
    font-weight: 700;
}

.aidf-footer a {
    color: #27437c;
    font-size: 0.8rem;
    text-decoration: none;
}

.aidf-footer a:hover {
    color: #1b57b6;
}

.aidf-footer p,
.aidf-footer span {
    color: #4f607f;
}

.aidf-footer-top {
    border-radius: 12px;
    background: linear-gradient(135deg, #0b2f73 0%, #1b4ea3 65%, #2261c2 100%);
    color: #f3f8ff;
}

.aidf-footer-top p,
.aidf-footer-top h5 {
    color: #f3f8ff;
}

.aidf-form-card {
    border: 1px solid #d5dff0;
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(8, 28, 66, 0.06);
}

.aidf-form-card .form-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #1b3362;
    margin-bottom: 0.25rem;
}

.aidf-form-card .form-control,
.aidf-form-card .form-select {
    border-color: #cfd9ea;
    min-height: 40px;
    font-size: 0.86rem;
}

.aidf-form-card .form-control:focus,
.aidf-form-card .form-select:focus {
    border-color: #2f62bb;
    box-shadow: 0 0 0 0.2rem rgba(47, 98, 187, 0.12);
}

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

.aidf-check-pill {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid #d7e0ef;
    border-radius: 999px;
    padding: 0.42rem 0.7rem;
    font-size: 0.78rem;
    color: #274274;
    background: #f9fbff;
}

.aidf-check-pill input {
    margin: 0;
}

.aidf-segment-hero {
    border: 1px solid #d5dff0;
    border-radius: 14px;
    padding: 1.05rem;
    background: linear-gradient(145deg, #f3f7ff 0%, #ffffff 100%);
}

.aidf-feature-panel {
    border: 1px solid #d8e1ef;
    border-radius: 10px;
    padding: 0.75rem;
    background: #fcfdff;
}

.aidf-feature-panel h3 {
    color: #17386e;
}

.aidf-nav-search {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: min(340px, 100%);
}

.aidf-nav-search .form-control {
    border-color: #cfd9ea;
    border-radius: 999px;
    padding-left: 0.8rem;
    font-size: 0.8rem;
}

.aidf-nav-search .btn {
    border: 1px solid #cfd9ea;
    border-radius: 999px;
    padding: 0.28rem 0.55rem;
    color: #1b3f7f;
    background: #fff;
}

.aidf-contact-hero {
    border: 1px solid #d6dfef;
    background: linear-gradient(145deg, #f2f7ff 0%, #ffffff 100%);
}

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

.aidf-contact-chip {
    border: 1px solid #d6deee;
    background: #ffffff;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #23447f;
    padding: 0.32rem 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.aidf-info-list {
    display: grid;
    gap: 0.6rem;
}

.aidf-info-list div {
    border: 1px solid #dde5f2;
    border-radius: 10px;
    padding: 0.55rem 0.65rem;
    display: flex;
    justify-content: space-between;
    gap: 0.65rem;
}

.aidf-info-list span {
    color: #596e95;
    font-size: 0.76rem;
}

.aidf-info-list strong {
    color: #1d3c73;
    font-size: 0.76rem;
}

.aidf-search-item {
    border: 1px solid #dbe3f1;
    border-radius: 10px;
    background: #fff;
    padding: 0.7rem;
}

@media (max-width: 992px) {
    .aidf-nav-search {
        margin-top: 0.5rem;
        width: 100%;
    }
}

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

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

.aidf-prefooter .btn {
    background: #79bf47;
    border-color: #79bf47;
    color: #0f2a53;
}

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

    .aidf-hero-title {
        font-size: 1.95rem;
    }

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

@media (max-width: 576px) {
    .aidf-utility-links {
        gap: 0.45rem;
    }

    .aidf-hero-copy {
        padding: 1.25rem;
    }

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