/* ==========================================================================
   AXONE INFOTECH – 9 YEARS OF EXCELLENCE (3D POPUP)
   File: Content/css/axone-9-years-popup.css
   Self-contained scoped styles (all prefixed with axp-)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700;800&display=swap');

html.axp-lock,
html.axp-lock body {
    overflow: hidden !important;
}

.axp-overlay {
    /* Brand tokens */
    --axp-blue-1: #2257b8;
    --axp-blue-2: #17408f;
    --axp-blue-3: #0e2a66;
    --axp-indigo: #3546a3;
    --axp-indigo-2: #26368a;
    --axp-gold: #f5c45e;
    --axp-gold-2: #e2a238;
    --axp-gold-3: #ffe7a8;
    --axp-ink: #161d36;
    --axp-text: #2b3350;
    --axp-muted: #6a7389;
    --axp-line: #e6eaf4;
    --axp-soft: #f3f6fc;
    --axp-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --axp-display: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(6, 14, 36, .65);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s ease, visibility 0s linear .35s;
    perspective: 1800px;
    font-family: var(--axp-font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.axp-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .35s ease;
}

.axp-overlay.is-resetting,
.axp-overlay.is-resetting *,
.axp-overlay.is-resetting *::before,
.axp-overlay.is-resetting *::after {
    transition: none !important;
}

.axp-overlay *,
.axp-overlay *::before,
.axp-overlay *::after {
    box-sizing: border-box;
}

.axp-overlay a {
    text-decoration: none;
}

.axp-overlay h2,
.axp-overlay h3,
.axp-overlay h4,
.axp-overlay p {
    margin: 0;
}

.axp-ico {
    width: 24px;
    height: 24px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Modal shell ---------- */
.axp-modal {
    position: relative;
    display: flex;
    width: min(1145px, 100%);
    max-height: calc(100vh - 48px);
    border-radius: 20px;
    overflow: hidden;
    background:
        radial-gradient(120% 70% at 0% 0%, rgba(90, 150, 255, .35) 0%, transparent 55%),
        linear-gradient(165deg, var(--axp-blue-1) 0%, var(--axp-blue-2) 48%, var(--axp-blue-3) 100%);
    box-shadow: 0 50px 100px -30px rgba(3, 10, 30, .7), 0 0 0 1px rgba(255, 255, 255, .06);
    opacity: 0;
    transform: translateY(46px) scale(.94) rotateX(12deg);
    transform-origin: 50% 100%;
    transition: transform .8s cubic-bezier(.16, 1, .3, 1), opacity .45s ease;
}

.is-open .axp-modal {
    opacity: 1;
    transform: none;
}

.axp-modal:focus {
    outline: none;
}

.axp-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    background: transparent;
    color: #33405f;
    transition: background .25s, transform .35s cubic-bezier(.2, .8, .2, 1), color .25s;
}

.axp-close:hover {
    background: var(--axp-soft);
    transform: rotate(90deg);
}

.axp-close:focus-visible {
    outline: 2px solid var(--axp-indigo);
    outline-offset: 2px;
}

.axp-close .axp-ico {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* ---------- Left: anniversary panel ---------- */
.axp-side {
    position: relative;
    isolation: isolate;
    flex: 0 0 360px;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 26px 28px 22px;
    color: #fff;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
}

.axp-side::-webkit-scrollbar {
    display: none;
}

.axp-side::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px);
    background-size: 18px 18px;
    -webkit-mask-image: radial-gradient(70% 42% at 50% 28%, #000, transparent);
    mask-image: radial-gradient(70% 42% at 50% 28%, #000, transparent);
}

.axp-side::after {
    content: "";
    position: absolute;
    z-index: -2;
    pointer-events: none;
    width: 400px;
    height: 400px;
    left: 50%;
    top: 60px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(245, 196, 94, .20) 0%, rgba(245, 196, 94, 0) 60%);
}

.axp-particles {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.axp-particles i {
    position: absolute;
    bottom: 0;
    left: var(--x);
    width: var(--s);
    height: var(--s);
    border-radius: 50%;
    background: rgba(255, 228, 165, .95);
    box-shadow: 0 0 6px rgba(245, 196, 94, .85);
    opacity: 0;
    animation: axpFloat var(--d) linear var(--dl) infinite;
}

@keyframes axpFloat {
    0% { transform: translate3d(0, 0, 0); opacity: 0; }
    12% { opacity: var(--o); }
    85% { opacity: var(--o); }
    100% { transform: translate3d(var(--dx), -720px, 0); opacity: 0; }
}

/* Logo */
.axp-logo {
    display: inline-flex;
    flex-direction: column;
    width: max-content;
    color: #fff;
}

.axp-logo__word {
    font: 800 34px/.92 var(--axp-display);
    letter-spacing: .07em;
    background: repeating-linear-gradient(180deg, #fff 0 3.3px, rgba(255, 255, 255, 0) 3.3px 4.7px);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.axp-logo__sub {
    margin-top: 5px;
    padding: 3px 6px 4px;
    border: 1.5px solid #fff;
    font: 600 9.5px/1 var(--axp-font);
    letter-spacing: .24em;
    text-align: center;
    white-space: nowrap;
}

/* 3D emblem */
.axp-stage {
    --size: 236px;
    position: relative;
    width: 100%;
    height: calc(var(--size) + 16px);
    margin: 8px auto 2px;
    display: grid;
    place-items: center;
    perspective: 720px;
    opacity: 0;
    transition: opacity .6s ease .2s;
}

.is-open .axp-stage {
    opacity: 1;
}

.axp-tilt,
.axp-intro,
.axp-emblem {
    position: relative;
    width: var(--size);
    height: var(--size);
    transform-style: preserve-3d;
}

.axp-tilt {
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

.axp-intro {
    transform: rotateY(-170deg) scale(.4);
}

.is-open .axp-intro {
    animation: axpIntro 1.5s cubic-bezier(.16, 1, .3, 1) .2s both;
}

@keyframes axpIntro {
    from { transform: rotateY(-170deg) scale(.4); }
    to { transform: rotateY(0deg) scale(1); }
}

.axp-emblem {
    animation: axpSway 9s ease-in-out infinite;
}

@keyframes axpSway {
    0%, 100% { transform: rotateY(-24deg) rotateX(7deg) translateY(0); }
    50% { transform: rotateY(24deg) rotateX(-4deg) translateY(-6px); }
}

.axp-glow {
    position: absolute;
    inset: -22%;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(245, 196, 94, .32) 0%, rgba(52, 110, 220, .22) 36%, transparent 64%);
    transform: translateZ(-80px);
}

.axp-seal {
    position: absolute;
    inset: 0;
    transform: translateZ(-36px);
}

.axp-seal svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    display: block;
}

.axp-seal__spin {
    transform-box: view-box;
    transform-origin: 50% 50%;
    animation: axpSpin 30s linear infinite;
}

.axp-seal__text {
    font: 600 9px var(--axp-font);
    fill: var(--axp-gold-3);
    letter-spacing: .5px;
}

@keyframes axpSpin {
    to { transform: rotate(360deg); }
}

.axp-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: var(--d);
    height: var(--d);
    margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2);
    border-radius: 50%;
    transform-style: preserve-3d;
    pointer-events: none;
    border: 1.5px solid rgba(255, 255, 255, .2);
    border-top-color: var(--axp-gold);
    border-right-color: rgba(245, 196, 94, .45);
}

.axp-ring--1 {
    --d: calc(var(--size) * 1.2);
    animation: axpOrbit1 7s linear infinite;
}

.axp-ring--2 {
    --d: calc(var(--size) * 1.076);
    animation: axpOrbit2 10s linear infinite reverse;
    border-top-color: rgba(255, 255, 255, .85);
    border-right-color: rgba(255, 255, 255, .35);
}

@keyframes axpOrbit1 {
    from { transform: rotateX(76deg) rotateY(-12deg) rotateZ(0deg); }
    to { transform: rotateX(76deg) rotateY(-12deg) rotateZ(360deg); }
}

@keyframes axpOrbit2 {
    from { transform: rotateX(70deg) rotateY(38deg) rotateZ(0deg); }
    to { transform: rotateX(70deg) rotateY(38deg) rotateZ(360deg); }
}

.axp-sat {
    position: absolute;
    left: 50%;
    top: -5px;
    width: 10px;
    height: 10px;
    margin-left: -5px;
    border-radius: 50%;
    background: #fff8e1;
    box-shadow: 0 0 10px 3px rgba(245, 196, 94, .9), 0 0 22px 6px rgba(245, 196, 94, .35);
}

.axp-ring--1 .axp-sat {
    animation: axpSat1 7s linear infinite;
}

.axp-ring--2 .axp-sat {
    animation: axpSat2 10s linear infinite reverse;
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, .85), 0 0 22px 6px rgba(140, 180, 255, .4);
}

@keyframes axpSat1 {
    from { transform: rotateZ(0deg) rotateY(12deg) rotateX(-76deg); }
    to { transform: rotateZ(-360deg) rotateY(12deg) rotateX(-76deg); }
}

@keyframes axpSat2 {
    from { transform: rotateZ(0deg) rotateY(-38deg) rotateX(-70deg); }
    to { transform: rotateZ(-360deg) rotateY(-38deg) rotateX(-70deg); }
}

.axp-digit {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    transform: translateY(-10px);
}

.axp-digit.is-pop {
    animation: axpPop .75s cubic-bezier(.3, 1.6, .5, 1);
}

@keyframes axpPop {
    0% { transform: translateY(-10px) scale(1); }
    40% { transform: translateY(-10px) scale(1.13); }
    100% { transform: translateY(-10px) scale(1); }
}

.axp-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font: 800 calc(var(--size) * .714)/1 var(--axp-display);
    letter-spacing: -.02em;
    transform: translateZ(calc(var(--i) * -1.3px));
    user-select: none;
    pointer-events: none;
}

.axp-digit.is-2 .axp-layer {
    font-size: calc(var(--size) * .533);
}

.axp-layer--front {
    background: linear-gradient(180deg, #fff4cf 24%, #ffd56f 40%, #eeaa36 55%, #ffe39a 66%, #c4801e 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.axp-layer--back {
    text-shadow: 0 16px 26px rgba(4, 12, 36, .6);
}

.axp-layer--shine {
    transform: translateZ(.8px);
    background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .9) 48%, transparent 58%);
    background-size: 300% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: axpShine 5s ease-in-out 2.4s infinite;
}

@keyframes axpShine {
    0% { background-position: 100% 0; }
    45%, 100% { background-position: 0% 0; }
}

.axp-years {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(var(--size) * .17);
    text-align: center;
    font: 600 11px/1 var(--axp-font);
    letter-spacing: .55em;
    padding-left: .55em;
    color: #fff;
    transform: translateZ(26px);
    text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

/* celebration burst */
.axp-burst {
    position: absolute;
    left: 50%;
    top: 46%;
    width: 0;
    height: 0;
    pointer-events: none;
}

.axp-burst i {
    position: absolute;
    left: -3px;
    top: -3px;
    width: var(--w, 6px);
    height: var(--h, 6px);
    border-radius: 6px;
    background: var(--c, #ffd773);
    box-shadow: 0 0 8px rgba(255, 215, 115, .9);
    opacity: 0;
    transform: rotate(var(--a)) translateX(0) scale(.4);
}

.axp-burst.is-on i {
    animation: axpBurst 1.15s cubic-bezier(.15, .8, .3, 1) var(--dl) forwards;
}

@keyframes axpBurst {
    0% { opacity: 1; transform: rotate(var(--a)) translateX(24px) scale(1); }
    100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--r)) scale(.3); }
}

/* timeline 2017 → 2026 */
.axp-timeline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.axp-tl-year {
    font: 600 11.5px/1 var(--axp-font);
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .72);
    font-variant-numeric: tabular-nums;
    transition: color .4s, text-shadow .4s;
}

.axp-tl-year.is-reached {
    color: var(--axp-gold);
    text-shadow: 0 0 12px rgba(245, 196, 94, .6);
}

.axp-tl-track {
    position: relative;
    flex: 1;
    height: 14px;
}

.axp-tl-track::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .16);
}

.axp-tl-fill {
    position: absolute;
    left: 0;
    top: 50%;
    height: 2px;
    margin-top: -1px;
    width: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(245, 196, 94, .35), var(--axp-gold));
    box-shadow: 0 0 10px rgba(245, 196, 94, .6);
    transition: width .2s linear;
}

.axp-tl-dots {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.axp-tl-dots i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1c428e;
    border: 1.5px solid rgba(255, 255, 255, .35);
    transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}

.axp-tl-dots i.is-lit {
    background: var(--axp-gold);
    border-color: var(--axp-gold);
    box-shadow: 0 0 8px rgba(245, 196, 94, .8);
}

.axp-tl-dots i.is-current {
    transform: scale(1.5);
}

/* text + stats + actions */
.axp-title {
    margin-top: 20px;
    font: 700 23px/1.25 var(--axp-display);
    letter-spacing: -.01em;
}

.axp-gold-text {
    background: linear-gradient(90deg, #ffe7a8, #f5c45e 50%, #e9a83c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.axp-lead {
    margin-top: 8px;
    font: 400 13.5px/1.6 var(--axp-font);
    color: rgba(255, 255, 255, .82);
}

.axp-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.axp-stat {
    padding: 10px 6px 9px;
    text-align: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .13);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.axp-stat b {
    display: block;
    font: 700 22px/1 var(--axp-display);
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.axp-stat:first-child b {
    color: var(--axp-gold);
}

.axp-stat span {
    display: block;
    margin-top: 6px;
    font: 500 10px/1 var(--axp-font);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .66);
}

.axp-actions {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.axp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    font: 600 13px/1 var(--axp-font);
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}

.axp-btn .axp-ico {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    transition: transform .2s;
}

.axp-btn--light {
    background: #fff;
    color: var(--axp-indigo);
    box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45);
}

.axp-btn--light:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px -10px rgba(0, 0, 0, .55);
}

.axp-btn--light:hover .axp-ico {
    transform: translateX(3px);
}

.axp-btn--ghost {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .45);
}

.axp-btn--ghost:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
}

.axp-btn:focus-visible,
.axp-watch:focus-visible {
    outline: 2px solid var(--axp-gold);
    outline-offset: 2px;
}

.axp-watch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 16px;
    color: #fff;
    font: 500 13px/1 var(--axp-font);
}

.axp-play {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .55);
    display: grid;
    place-items: center;
    transition: background .25s;
}

.axp-play::after {
    content: "";
    position: absolute;
    inset: -1.5px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, .5);
    animation: axpPing 2.4s ease-out infinite;
}

.axp-watch:hover .axp-play {
    background: rgba(255, 255, 255, .14);
}

.axp-play svg {
    width: 14px;
    height: 14px;
    margin-left: 2px;
    fill: #fff;
}

@keyframes axpPing {
    0% { transform: scale(1); opacity: .7; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Right: services panel ---------- */
.axp-main {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 22px 0 0 22px;
    overflow: hidden;
}

.axp-main__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 24px 30px 20px;
}

.axp-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 0 12px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--axp-line);
}

.axp-head .axp-ico {
    color: var(--axp-indigo);
    width: 26px;
    height: 26px;
}

.axp-head h3 {
    font: 600 22px/1.2 var(--axp-display);
    color: var(--axp-ink);
}

.axp-head h3 span {
    color: var(--axp-indigo);
}

.axp-head--gap {
    margin-top: 24px;
}

.axp-services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.axp-card {
    --tx: 0deg;
    --ty: 0deg;
    --lift: 0px;
    position: relative;
    flex: 0 0 calc((100% - 42px) / 4);
    padding: 18px 14px 16px;
    text-align: center;
    color: inherit;
    background: #fff;
    border: 1px solid var(--axp-line);
    border-radius: 14px;
    transform: perspective(700px) translateY(var(--lift)) rotateX(var(--tx)) rotateY(var(--ty));
    transform-style: preserve-3d;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s;
}

.axp-card::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: -1px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--axp-indigo), var(--axp-gold));
    transform: scaleX(0);
    transition: transform .35s;
}

.axp-card:hover,
.axp-card:focus-visible {
    --lift: -5px;
    border-color: #cfd8f0;
    box-shadow: 0 20px 36px -18px rgba(29, 52, 130, .45);
    outline: none;
}

.axp-card:hover::before,
.axp-card:focus-visible::before {
    transform: scaleX(1);
}

.axp-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #eef2fc;
    color: var(--axp-indigo);
    transform: translateZ(0);
    transition: background .3s, color .3s, transform .35s cubic-bezier(.2, .8, .2, 1);
}

.axp-card__icon .axp-ico {
    width: 26px;
    height: 26px;
}

.axp-card:hover .axp-card__icon,
.axp-card:focus-visible .axp-card__icon {
    background: linear-gradient(140deg, #4257c4, var(--axp-indigo-2));
    color: #fff;
    transform: translateZ(26px);
}

.axp-card h4 {
    font: 600 14.5px/1.3 var(--axp-display);
    color: var(--axp-ink);
}

.axp-card p {
    margin-top: 6px;
    font: 400 12.3px/1.5 var(--axp-font);
    color: var(--axp-muted);
}

.is-open .axp-card {
    animation: axpRise .7s cubic-bezier(.16, 1, .3, 1) backwards;
    animation-delay: calc(.35s + var(--n, 0) * 60ms);
}

@keyframes axpRise {
    from { opacity: 0; transform: perspective(700px) translateY(22px) rotateX(-20deg) rotateY(0deg); }
}

.axp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.axp-chip {
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--axp-soft);
    border: 1px solid #e1e7f3;
    font: 500 13px/1.2 var(--axp-font);
    color: var(--axp-text);
    transition: background .25s, color .25s, border-color .25s, transform .25s;
}

.axp-chip:hover {
    background: var(--axp-indigo);
    border-color: var(--axp-indigo);
    color: #fff;
    transform: translateY(-2px);
}

.is-open .axp-chip {
    animation: axpChip .5s cubic-bezier(.16, 1, .3, 1) backwards;
    animation-delay: calc(.8s + var(--n, 0) * 45ms);
}

@keyframes axpChip {
    from { opacity: 0; transform: translateY(10px) scale(.94); }
}

.axp-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 30px;
    background: linear-gradient(90deg, #edf2fc, #f5f8fe);
    border-top: 1px solid #e4ebf7;
    border-bottom-left-radius: 22px;
}

.axp-cta__icon {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--axp-indigo);
    box-shadow: 0 6px 16px -6px rgba(29, 52, 130, .35);
}

.axp-cta__icon .axp-ico {
    width: 22px;
    height: 22px;
}

.axp-cta h4 {
    font: 600 18px/1.25 var(--axp-display);
    color: var(--axp-ink);
}

.axp-cta p {
    margin-top: 3px;
    font: 400 13px/1.45 var(--axp-font);
    color: var(--axp-muted);
}

.axp-cta__btn {
    position: relative;
    overflow: hidden;
    margin-left: auto;
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 20px;
    border-radius: 10px;
    background: var(--axp-indigo);
    color: #fff;
    font: 600 14px/1 var(--axp-font);
    box-shadow: 0 10px 22px -10px rgba(38, 54, 138, .7);
    transition: background .25s, transform .25s;
}

.axp-cta__btn::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
    animation: axpBtnShine 4.5s ease-in-out 1.8s infinite;
}

@keyframes axpBtnShine {
    0% { left: -60%; }
    30%, 100% { left: 130%; }
}

.axp-cta__btn:hover {
    background: var(--axp-indigo-2);
    transform: translateY(-1px);
}

.axp-cta__btn:focus-visible {
    outline: 2px solid var(--axp-indigo);
    outline-offset: 3px;
}

.axp-cta__btn .axp-ico {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    transition: transform .2s;
}

.axp-cta__btn:hover .axp-ico {
    transform: translateX(3px);
}

/* ---------- Short laptop screens ---------- */
@media (min-width: 1001px) and (max-height: 820px) {
    .axp-overlay { padding: 16px; }
    .axp-modal { max-height: calc(100vh - 32px); }
    .axp-side { padding: 20px 26px 18px; }
    .axp-logo__word { font-size: 30px; }
    .axp-stage { --size: 168px; margin-top: 4px; }
    .axp-years { font-size: 10px; }
    .axp-title { margin-top: 12px; font-size: 21px; }
    .axp-lead { font-size: 13px; line-height: 1.5; }
    .axp-stats { margin-top: 12px; }
    .axp-actions { margin-top: 14px; }
    .axp-btn { height: 40px; }
    .axp-watch { padding-top: 12px; }
    .axp-main__body { padding: 20px 28px 14px; }
    .axp-head { margin-bottom: 14px; padding-bottom: 10px; }
    .axp-head--gap { margin-top: 18px; }
    .axp-services { gap: 12px; }
    .axp-card { flex-basis: calc((100% - 36px) / 4); padding: 14px 12px 12px; }
    .axp-card__icon { width: 42px; height: 42px; margin-bottom: 9px; }
    .axp-card p { font-size: 12px; line-height: 1.45; }
    .axp-chip { padding: 7px 14px; }
    .axp-cta { padding: 13px 28px; }
    .axp-cta__icon { width: 40px; height: 40px; }
    .axp-cta h4 { font-size: 16.5px; }
}

/* ---------- Very short screens ---------- */
@media (min-width: 1001px) and (max-height: 700px) {
    .axp-side { padding: 16px 24px 14px; }
    .axp-logo__word { font-size: 27px; }
    .axp-stage { --size: 160px; margin: 2px auto 0; }
    .axp-title { margin-top: 10px; font-size: 19.5px; }
    .axp-lead { font-size: 12.5px; margin-top: 6px; }
    .axp-stats { margin-top: 10px; }
    .axp-stat { padding: 8px 6px 7px; }
    .axp-stat b { font-size: 19px; }
    .axp-actions { margin-top: 12px; }
    .axp-btn { height: 38px; }
    .axp-watch { padding-top: 10px; }
    .axp-main__body { padding: 16px 26px 12px; }
    .axp-head { margin-bottom: 10px; padding-bottom: 8px; }
    .axp-head h3 { font-size: 19px; }
    .axp-head--gap { margin-top: 14px; }
    .axp-services { gap: 10px; }
    .axp-card { flex-basis: calc((100% - 30px) / 4); padding: 11px 10px 10px; }
    .axp-card__icon { width: 36px; height: 36px; margin-bottom: 7px; border-radius: 10px; }
    .axp-card__icon .axp-ico { width: 22px; height: 22px; }
    .axp-card h4 { font-size: 13.5px; }
    .axp-card p { font-size: 11.5px; line-height: 1.4; margin-top: 4px; }
    .axp-chips { gap: 8px; }
    .axp-chip { padding: 6px 12px; font-size: 12.5px; }
    .axp-cta { padding: 10px 26px; }
    .axp-cta__icon { width: 36px; height: 36px; }
    .axp-cta h4 { font-size: 15px; }
    .axp-cta p { font-size: 12px; }
    .axp-cta__btn { height: 40px; }
}

@media (min-width: 1001px) and (max-height: 620px) {
    .axp-card p { display: none; }
    .axp-lead { display: none; }
    .axp-stage { --size: 138px; }
}

/* ---------- Tablet & phone: stack the panels ---------- */
@media (max-width: 1000px) {
    .axp-overlay { padding: 16px; align-items: flex-start; }
    .axp-modal {
        flex-direction: column;
        max-height: calc(100vh - 32px);
        max-height: calc(100dvh - 32px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .axp-side { flex: none; overflow: visible; padding: 22px 24px 26px; }
    .axp-main { flex: none; overflow: visible; border-radius: 22px 22px 0 0; }
    .axp-main__body { overflow: visible; }
    .axp-cta { border-bottom-left-radius: 0; }
    .axp-close { color: #fff; background: rgba(255, 255, 255, .12); }
    .axp-close:hover { background: rgba(255, 255, 255, .22); }
    .axp-card { flex-basis: calc((100% - 28px) / 3); }
    .axp-overlay .axp-side > * { width: 100%; max-width: 440px; margin-left: auto; margin-right: auto; }
    .axp-overlay .axp-side > .axp-logo { width: max-content; margin-left: 0; }
    .axp-watch { margin-top: 0; }
}

@media (max-width: 640px) {
    .axp-overlay { padding: 10px; }
    .axp-modal { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); border-radius: 18px; }
    .axp-stage { --size: 176px; }
    .axp-title { font-size: 21px; }
    .axp-main__body { padding: 22px 18px 18px; }
    .axp-head h3 { font-size: 19px; }
    .axp-services { gap: 10px; }
    .axp-card { flex-basis: calc((100% - 10px) / 2); padding: 14px 10px 12px; }
    .axp-card h4 { font-size: 13.5px; }
    .axp-card p { font-size: 11.8px; }
    .axp-chips { gap: 8px; }
    .axp-chip { padding: 7px 13px; font-size: 12.5px; }
    .axp-cta { flex-wrap: wrap; padding: 18px; }
    .axp-cta > div { flex: 1; min-width: 0; }
    .axp-cta__btn { width: 100%; justify-content: center; margin-left: 0; }
}

/* ---------- Devices that ask for less motion ---------- */
.axp-gentle .axp-modal { transform: scale(.97); }
.axp-gentle.is-open .axp-modal { transform: none; }
.axp-gentle .axp-intro { transform: scale(.82); opacity: 0; }
.axp-gentle.is-open .axp-intro { animation-name: axpIntroGentle; animation-duration: 1s; }
@keyframes axpIntroGentle { from { transform: scale(.82); opacity: 0; } to { transform: none; opacity: 1; } }
.axp-gentle .axp-emblem { animation-name: axpSwayGentle; animation-duration: 12s; }
@keyframes axpSwayGentle {
    0%, 100% { transform: rotateY(-12deg) rotateX(5deg); }
    50% { transform: rotateY(12deg) rotateX(-2deg); }
}
.axp-gentle .axp-ring--1, .axp-gentle .axp-ring--1 .axp-sat { animation-duration: 14s; }
.axp-gentle .axp-ring--2, .axp-gentle .axp-ring--2 .axp-sat { animation-duration: 20s; }
.axp-gentle .axp-seal__spin { animation-duration: 60s; }
.axp-gentle.is-open .axp-card, .axp-gentle.is-open .axp-chip { animation-name: axpFadeIn; }
@keyframes axpFadeIn { from { opacity: 0; } }

/* still */
.axp-still *, .axp-still *::before, .axp-still *::after { animation: none !important; transition: none !important; }
.axp-still .axp-modal, .axp-still .axp-intro { transform: none !important; }
.axp-still .axp-emblem { transform: rotateY(-20deg) rotateX(5deg); }
.axp-still .axp-ring--1 { transform: rotateX(76deg) rotateY(-12deg); }
.axp-still .axp-ring--2 { transform: rotateX(70deg) rotateY(38deg); }
.axp-still .axp-particles, .axp-still .axp-burst { display: none; }
