/* Silver Path Agent Public Experience — premium architecture bridge.
   The core agent design system lives in style.css. This file only adds
   navigation/state refinements for the consolidated six-page public experience. */

.agent-platform-page .agent-nav-links a.is-active {
    position: relative;
    color: #fff;
}
.agent-platform-page .agent-nav-links a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #a33459, #52d9e8);
    box-shadow: 0 0 14px rgba(163,52,89,.24);
}
.agent-platform-page .agent-footer-v3-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.agent-platform-page .agent-footer-v3-legal-links a {
    color: #8ea4ba;
    text-decoration: none;
}
.agent-platform-page .agent-footer-v3-legal-links a:hover,
.agent-platform-page .agent-footer-v3-legal-links a:focus-visible {
    color: #d7a0b4;
}
.agent-platform-page .agent-footer-v3-legal-links span { color: #496176; }

/* Offer page: preserve the Path Navigator as a live readiness tool, then bridge
   into the original premium training and resources preview components. */
.agent-path-page #training { background: #f7f8fb; }
.agent-path-page #resources { background: #fff; }

/* Technology page language is now a public preview of a real authenticated
   operating environment, never a fake login surface. */
.agent-portal-page .apx-sidebar-foot span,
.agent-portal-page .apx-hero-note span { color: #d7a0b4; }

@media (max-width: 1050px) {
    .agent-platform-page .agent-nav-links a.is-active::after { display: none; }
}


/* === Final QA pass — shared footer, quick contact, and technology showcase === */

.agent-platform-page {
    overflow-x: clip;
}

/* compact sticky contact action */
.agent-platform-page .agent-quick-contact {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
}
.agent-platform-page .agent-quick-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 12px 16px 12px 12px;
    border-radius: 999px;
    border: 1px solid rgba(215,160,180,.32);
    background: linear-gradient(135deg, rgba(154,53,87,.94), rgba(14,109,124,.88));
    box-shadow: 0 18px 44px rgba(3,15,29,.34);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(14px);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.agent-platform-page .agent-quick-contact-link:hover,
.agent-platform-page .agent-quick-contact-link:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(3,15,29,.38);
    filter: brightness(1.03);
}
.agent-platform-page .agent-quick-contact-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    font-size: 1rem;
    font-weight: 800;
}
.agent-platform-page .agent-quick-contact-link strong,
.agent-platform-page .agent-quick-contact-link small {
    display: block;
}
.agent-platform-page .agent-quick-contact-link strong {
    font: 700 .92rem/1.2 Inter,sans-serif;
}
.agent-platform-page .agent-quick-contact-link small {
    margin-top: 2px;
    color: rgba(255,255,255,.82);
    font: 500 .72rem/1.3 Inter,sans-serif;
}

/* slimmer footer closer to consumer-site structure */
.agent-platform-page .agent-footer.agent-footer-v3 {
    margin-top: 0;
    padding-bottom: 90px;
}
.agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-top {
    padding: 44px 0 26px;
}
.agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-grid {
    grid-template-columns: minmax(250px,1.15fr) repeat(3,minmax(150px,.72fr));
    gap: 26px;
}
.agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-statement {
    margin-top: 18px;
    font-size: clamp(1.45rem,1.9vw,2rem);
}
.agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-copy {
    margin-top: 10px;
    font-size: .9rem;
    line-height: 1.6;
}
.agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-actions {
    margin-top: 18px;
}
.agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-compliance .agent-shell {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
}
.agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-compliance p {
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background: rgba(255,255,255,.03);
    font-size: .74rem;
    line-height: 1.58;
}
.agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-compliance p:last-child::before {
    display: none;
}
.agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-bottom .agent-shell {
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 22px;
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px 20px;
    align-items: start;
}
.agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-bottom p {
    font-size: .74rem;
}
.agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-legal-links {
    grid-column: 1 / -1;
    gap: 10px;
}

/* technology page gallery */
.agent-portal-page .apx-hero-preview-frame {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.12);
    background:
        radial-gradient(circle at 84% 12%, rgba(153,52,88,.18), transparent 28%),
        linear-gradient(145deg, rgba(8,29,52,.97), rgba(11,37,64,.96));
    box-shadow: 0 30px 72px rgba(2,13,27,.24);
}
.agent-portal-page .apx-hero-preview-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
.agent-portal-page .apx-hero-preview-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px 16px;
}
.agent-portal-page .apx-hero-preview-top span {
    color: #e4a9bd;
    font: 800 .7rem/1 Inter,sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.agent-portal-page .apx-hero-preview-top strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font: 600 1.35rem/1.15 var(--font-display, "Source Serif 4", serif);
}
.agent-portal-page .apx-hero-preview-badge {
    flex: 0 0 auto;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.86);
    font: 800 .66rem/1 Inter,sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.agent-portal-page .apx-hero-preview-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 24px 16px;
}
.agent-portal-page .apx-hero-preview-tabs button {
    appearance: none;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.76);
    border-radius: 999px;
    padding: 11px 15px;
    font: 700 .78rem/1.1 Inter,sans-serif;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.agent-portal-page .apx-hero-preview-tabs button:hover,
.agent-portal-page .apx-hero-preview-tabs button:focus-visible {
    color: #fff;
    border-color: rgba(82,217,232,.32);
    background: rgba(82,217,232,.08);
    transform: translateY(-1px);
}
.agent-portal-page .apx-hero-preview-tabs button.is-active {
    color: #fff;
    border-color: rgba(215,160,180,.26);
    background: linear-gradient(135deg, rgba(149,55,87,.28), rgba(30,102,120,.18));
}
.agent-portal-page .apx-hero-preview-panel {
    margin: 0;
}
.agent-portal-page .apx-hero-preview-media {
    padding: 0 18px;
}
.agent-portal-page .apx-hero-preview-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: #06172a;
}
.agent-portal-page .apx-hero-preview-meta {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 14px;
    padding: 16px 24px 22px;
}
.agent-portal-page .apx-hero-preview-meta p {
    margin: 0;
    color: rgba(255,255,255,.76);
    font: 450 .95rem/1.65 Inter,sans-serif;
}
.agent-portal-page .apx-hero-preview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.agent-portal-page .apx-hero-preview-tags span {
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.78);
    font: 700 .73rem/1 Inter,sans-serif;
}

@media (max-width: 1180px) {
    .agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-grid {
        grid-template-columns: minmax(250px,1.1fr) repeat(2,minmax(160px,.8fr));
    }
    .agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-column:last-child {
        grid-column: 2 / 4;
    }
    .agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-compliance .agent-shell {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .agent-platform-page .agent-quick-contact {
        left: 12px;
        right: 12px;
        bottom: 12px;
    }
    .agent-platform-page .agent-quick-contact-link {
        justify-content: center;
        width: 100%;
    }
    .agent-platform-page .agent-footer.agent-footer-v3 {
        padding-bottom: 104px;
    }
    .agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-top {
        padding: 38px 0 22px;
    }
    .agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-grid,
    .agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-column:last-child {
        grid-template-columns: 1fr;
        grid-column: auto;
    }
    .agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-bottom .agent-shell {
        grid-template-columns: 1fr;
    }
    .agent-portal-page .apx-hero-preview-top {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 18px 14px;
    }
    .agent-portal-page .apx-hero-preview-tabs {
        padding: 0 18px 14px;
    }
    .agent-portal-page .apx-hero-preview-media {
        padding: 0 14px;
    }
    .agent-portal-page .apx-hero-preview-meta {
        padding: 14px 18px 18px;
    }
}


/* Final footer collision fix: keep license/legal copy clear of the fixed contact CTA. */
@media (min-width: 901px) {
    .agent-platform-page .agent-footer.agent-footer-v3 .agent-footer-v3-bottom .agent-shell {
        padding-right: 230px;
    }
}


/* Final producer-contact conversion */
.agent-build-page .abp-producer-intake {
    --acn-navy:#071a31;
    --acn-burg:#913755;
    margin-top: 26px;
    padding: clamp(24px,3vw,38px);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 28px;
    background: linear-gradient(145deg,rgba(8,29,52,.97),rgba(10,39,64,.96));
    box-shadow: 0 26px 70px rgba(2,13,27,.22);
}
.agent-build-page .abp-producer-intake-intro { max-width: 780px; margin-bottom: 22px; }
.agent-build-page .abp-producer-intake-intro > span { color:#e0a0b7; font:800 .7rem/1 Inter,sans-serif; letter-spacing:.14em; }
.agent-build-page .abp-producer-intake-intro h2 { margin:8px 0 9px; color:#fff; font:650 clamp(2rem,3vw,3rem)/1.05 "Source Serif 4",serif; }
.agent-build-page .abp-producer-intake-intro p { margin:0; color:rgba(255,255,255,.68); font:450 .96rem/1.65 Inter,sans-serif; }
.agent-build-page .abp-producer-form { max-width:none; }
.agent-build-page .abp-producer-form .agent-btn { border:0; }
.agent-build-page .abp-conversation-panel .agent-btn { width:100%; justify-content:center; }
.agent-build-page .abp-conversation-panel .agent-btn + .agent-btn { margin-top:10px; }
@media (max-width:760px) {
    .agent-build-page .abp-producer-intake { padding:18px; border-radius:22px; }
    .agent-build-page .abp-producer-form { padding:21px; }
    .agent-build-page .abp-producer-form .acn-field-grid,
    .agent-build-page .abp-producer-form .acn-check-grid { grid-template-columns:1fr; }
    .agent-build-page .abp-producer-form .acn-submit-row { align-items:stretch; flex-direction:column; }
    .agent-build-page .abp-producer-form .agent-btn { width:100%; justify-content:center; }
}


/* === MOBILE LAUNCH QA PASS 2: agent navigation + compact contact === */

.agent-platform-page .agent-nav-toggle,
.agent-platform-page .agent-nav-mobile-consumer {
    display: none;
}

@media (max-width: 900px) {
    .agent-platform-page .agent-nav {
        overflow: visible;
    }

    .agent-platform-page .agent-nav-inner {
        position: relative;
        min-height: 78px;
        gap: 8px;
    }

    .agent-platform-page .agent-brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .agent-platform-page .agent-brand-crest {
        width: 40px;
        height: 46px;
    }

    .agent-platform-page .agent-brand strong {
        font-size: .72rem;
        letter-spacing: .035em;
    }

    .agent-platform-page .agent-brand-service {
        font-size: .56rem;
    }

    .agent-platform-page .agent-brand small {
        margin-top: 4px;
        font-size: .48rem;
    }

    .agent-platform-page .agent-nav-toggle {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        display: inline-grid;
        place-items: center;
        padding: 0;
        border: 1px solid rgba(255,255,255,.16);
        border-radius: 12px;
        color: #fff;
        background: rgba(255,255,255,.055);
        cursor: pointer;
    }

    .agent-platform-page .agent-nav-toggle span,
    .agent-platform-page .agent-nav-toggle::before,
    .agent-platform-page .agent-nav-toggle::after {
        content: "";
        width: 17px;
        height: 2px;
        display: block;
        border-radius: 99px;
        background: currentColor;
        transition: transform .2s ease, opacity .2s ease;
    }

    .agent-platform-page .agent-nav-toggle span {
        margin: 4px 0;
    }

    .agent-platform-page .agent-nav-toggle[aria-expanded="true"] span {
        opacity: 0;
    }

    .agent-platform-page .agent-nav-toggle[aria-expanded="true"]::before {
        transform: translateY(6px) rotate(45deg);
    }

    .agent-platform-page .agent-nav-toggle[aria-expanded="true"]::after {
        transform: translateY(-6px) rotate(-45deg);
    }

    .agent-platform-page .agent-nav-actions {
        margin-left: 0;
        flex: 0 0 auto;
    }

    .agent-platform-page .agent-nav-actions .agent-nav-link {
        display: none;
    }

    .agent-platform-page .agent-nav-cta {
        min-height: 38px;
        max-width: 132px;
        padding: 0 11px;
        text-align: center;
        white-space: normal;
        line-height: 1.12;
        font-size: .7rem;
    }

    .agent-platform-page .agent-nav-links {
        position: absolute !important;
        z-index: 80 !important;
        top: calc(100% - 1px) !important;
        left: -17px !important;
        right: -17px !important;
        width: auto !important;
        margin: 0 !important;
        padding: 14px 17px 17px !important;
        display: none !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px !important;
        border-top: 1px solid rgba(255,255,255,.08) !important;
        border-bottom: 1px solid rgba(255,255,255,.09) !important;
        background: rgba(6,24,44,.98) !important;
        box-shadow: 0 18px 34px rgba(0,0,0,.28) !important;
        backdrop-filter: blur(18px) !important;
        -webkit-backdrop-filter: blur(18px) !important;
    }

    .agent-platform-page .agent-nav-links.is-open {
        display: grid !important;
    }

    .agent-platform-page .agent-nav-links a,
    .agent-platform-page .agent-nav-mobile-consumer {
        min-height: 44px;
        display: flex !important;
        align-items: center;
        padding: 10px 11px !important;
        border: 1px solid rgba(255,255,255,.075);
        border-radius: 11px;
        background: rgba(255,255,255,.035) !important;
        color: rgba(244,249,255,.82) !important;
        font-size: .77rem !important;
        line-height: 1.25;
    }

    .agent-platform-page .agent-nav-links a.is-active,
    .agent-platform-page .agent-nav-links a[aria-current="page"] {
        color: #fff !important;
        border-color: rgba(215,160,180,.25);
        background: linear-gradient(135deg,rgba(145,55,85,.18),rgba(82,217,232,.06)) !important;
    }

    /* Mobile quick contact becomes a small persistent action instead of a footer-blocking bar. */
    .agent-platform-page .agent-quick-contact {
        left: auto;
        right: 14px;
        bottom: 14px;
        width: 54px;
    }

    .agent-platform-page .agent-quick-contact-link {
        width: 54px;
        height: 54px;
        min-height: 54px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        box-shadow: 0 14px 32px rgba(3,15,29,.36);
    }

    .agent-platform-page .agent-quick-contact-icon {
        width: 34px;
        height: 34px;
    }

    .agent-platform-page .agent-quick-contact-link > span:last-child {
        display: none;
    }

    .agent-platform-page .agent-footer.agent-footer-v3 {
        padding-bottom: 76px;
    }
}

@media (max-width: 430px) {
    .agent-platform-page .agent-shell {
        width: min(100% - 24px, 1460px);
    }

    .agent-platform-page .agent-nav-links {
        left: -12px !important;
        right: -12px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .agent-platform-page .agent-nav-cta {
        max-width: 124px;
        font-size: .67rem;
    }
}
