/* AST Website - brand-led responsive front-end */
:root {
    --ast-blue: #051add;
    --ast-blue-bright: #1f35fa;
    --ast-blue-soft: #8f9afd;
    --ast-blue-pale: #c7cdfe;
    --ink: #03040a;
    --ink-2: #070914;
    --ink-3: #0d1020;
    --panel: rgba(15,18,36,.76);
    --white: #fff;
    --paper: #f5f7ff;
    --muted: #aab2ca;
    --muted-dark: #596075;
    --line: rgba(255,255,255,.12);
    --line-dark: rgba(6,12,43,.12);
    --green: #6d9b50;
    --yellow: #fccf2c;
    --danger: #fc2c33;
    --radius-sm: 12px;
    --radius: 20px;
    --radius-lg: 32px;
    --shadow: 0 22px 70px rgba(0,0,0,.35);
    --shadow-blue: 0 28px 90px rgba(5,26,221,.24);
    --container: min(1240px,calc(100vw - 40px));
    --header-h: 84px;
    color-scheme: dark
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    background: var(--ink)
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--white);
    background: radial-gradient(circle at 78% 4%,rgba(5,26,221,.12),transparent 28%),linear-gradient(180deg,#03040a 0%,#060712 45%,#020309 100%);
    font-family: 'Manrope',Inter,Arial,sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility
}

html[dir=rtl] body {
    font-family: 'IBM Plex Sans Arabic',Tahoma,Arial,sans-serif
}

html[dir=rtl] .hero .display-title {
    font-weight: 700
}

html[dir=rtl] .hero .brand-statement {
    font-weight: 600
}

html[dir=rtl] .hero .lead {
    font-weight: 400
}

html[dir=rtl] .hero .button-row .btn {
    font-weight: 600
}

body.menu-open {
    overflow: hidden
}

img {
    display: block;
    max-width: 100%
}

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

button,input,textarea,select {
    font: inherit
}

button {
    color: inherit
}

::selection {
    background: var(--ast-blue);
    color: #fff
}

.skip-link {
    position: fixed;
    left: 18px;
    top: -100px;
    z-index: 9999;
    padding: 12px 16px;
    background: #fff;
    color: var(--ink);
    border-radius: 8px;
    transition: top .2s
}

.skip-link:focus {
    top: 14px
}

.container {
    width: var(--container);
    margin-inline:auto}

.section {
    position: relative;
    padding: clamp(82px,9vw,138px) 0
}

.section-tight {
    padding: clamp(58px,6vw,92px) 0
}

.section-light {
    color: var(--ink);
    background: linear-gradient(135deg,rgba(5,26,221,.035),transparent 35%),var(--paper)
}

.section-light .eyebrow {
    color: var(--ast-blue)
}

.section-light .section-copy,.section-light .muted {
    color: var(--muted-dark)
}

.section-dark {
    background: #04050b
}

.section-grid:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .23;
    background-image: linear-gradient(rgba(143,154,253,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(143,154,253,.1) 1px,transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom,transparent,#000 15%,#000 78%,transparent)
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
    color: var(--ast-blue-soft);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase
}

.eyebrow:before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor
}

html[dir=rtl] .eyebrow {
    letter-spacing: 0
}

.display-title,.section-title,.page-title {
    margin: 0;
    font-weight: 900;
    letter-spacing: -.045em;
    line-height: .98
}

.display-title {
    font-size: clamp(3.15rem,5vw,7.3rem);
    max-width: 980px
}

.page-title {
    font-size: clamp(3rem,6vw,6.2rem);
    max-width: 980px
}

.section-title {
    font-size: clamp(2.25rem,4.4vw,4.6rem);
    max-width: 900px
}

html[dir=rtl] .display-title,html[dir=rtl] .page-title,html[dir=rtl] .section-title {
    letter-spacing: -.02em;
    line-height: 1.08
}

.accent {
    color: var(--ast-blue-soft)
}

.gradient-text {
    color: transparent;
    background: linear-gradient(90deg,#fff 0%,#8f9afd 48%,#fff 100%);
    background-clip: text;
    -webkit-background-clip: text
}

.section-copy {
    max-width: 720px;
    color: var(--muted);
    font-size: clamp(1rem,1.35vw,1.18rem)
}

.lead {
    color: #dce1f5;
    font-size: clamp(1.05rem,1.7vw,1.34rem);
    max-width: 760px
}

.muted {
    color: var(--muted)
}

.small {
    font-size: .88rem
}

.micro {
    font-size: .76rem
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    font-size: .9rem;
    letter-spacing: .015em;
    cursor: pointer;
    transition: transform .25s,background .25s,border-color .25s,box-shadow .25s;
    overflow: hidden
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-primary {
    background: var(--ast-blue);
    color: #fff;
    box-shadow: 0 12px 30px rgba(5,26,221,.3)
}

.btn-primary:hover {
    background: var(--ast-blue-bright);
    box-shadow: 0 16px 40px rgba(5,26,221,.42)
}

.btn-secondary {
    background: rgba(255,255,255,.06);
    border-color: var(--line);
    color: #fff;
    backdrop-filter: blur(12px)
}

.btn-secondary:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.28)
}

.btn-light {
    background: #fff;
    color: #050713
}

.btn-light:hover {
    background: var(--ast-blue-pale)
}

.btn-dark {
    background: #060815;
    color: #fff
}

.btn-arrow:after {
    content: "→";
    font-size: 1rem
}

html[dir=rtl] .btn-arrow:after {
    content: "←";
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: background .3s,border-color .3s,height .3s
}

.site-header.scrolled,.site-header.inner-header {
    background: rgba(2,3,9,.86);
    border-color: var(--line);
    backdrop-filter: blur(18px) saturate(150%)
}

.header-inner {
    width: var(--container);
    height: 100%;
    margin-inline:auto;display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto
}

.brand img {
    width: 205px;
    height: auto
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-inline-start:auto}

.nav-link {
    position: relative;
    padding: 10px 12px;
    color: #c7cde0;
    font-size: .85rem;
    font-weight: 700;
    transition: color .2s
}

.nav-link:after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 4px;
    height: 2px;
    background: var(--ast-blue-bright);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s
}

.nav-link:hover,.nav-link.active {
    color: #fff
}

.nav-link:hover:after,.nav-link.active:after {
    transform: scaleX(1)
}

html[dir=rtl] .nav-link:after {
    transform-origin: right
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 9px
}

.lang-toggle,.menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.055);
    cursor: pointer
}

.lang-toggle {
    width: auto;
    min-width: 68px;
    padding: 0 10px;
    white-space: nowrap;
    font-weight: 900;
    font-size: .85rem
}

.menu-toggle {
    display: none;
    gap: 4px
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background: #fff;
    display: block;
    transition: transform .25s,opacity .25s
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg)
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg)
}

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--header-h) + 68px) 0 86px;
    background: #020309
}

.hero-media,.page-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0
}

.hero-media img,.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.hero-media:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(1,2,8,.96) 0%,rgba(2,3,10,.82) 45%,rgba(2,3,10,.22) 76%,rgba(1,2,7,.62) 100%),linear-gradient(180deg,rgba(1,2,8,.25),rgba(1,2,8,.35) 64%,#03040a 100%)
}

html[dir=rtl] .hero-media:after {
    background: linear-gradient(270deg,rgba(1,2,8,.96) 0%,rgba(2,3,10,.82) 45%,rgba(2,3,10,.22) 76%,rgba(1,2,7,.62) 100%),linear-gradient(180deg,rgba(1,2,8,.25),rgba(1,2,8,.35) 64%,#03040a 100%)
}

#networkCanvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: .55;
    pointer-events: none
}

.hero:before {
    content: "";
    position: absolute;
    z-index: 1;
    width: 560px;
    height: 560px;
    right: -160px;
    top: 10%;
    border: 1px solid rgba(143,154,253,.2);
    border-radius: 50%;
    box-shadow: inset 0 0 120px rgba(5,26,221,.12),0 0 140px rgba(5,26,221,.14);
    animation: orbitPulse 7s ease-in-out infinite
}

.hero:after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    opacity: .16;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg,#000,transparent 78%)
}

html[dir=rtl] .hero:before {
    right: auto;
    left: -160px
}

html[dir=rtl] .hero:after {
    mask-image: linear-gradient(270deg,#000,transparent 78%)
}

@keyframes orbitPulse {
    0%,100% {
        transform: scale(.96);
        opacity: .6
    }

    50% {
        transform: scale(1.05);
        opacity: 1
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(900px,78vw)
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding: 8px 13px 8px 9px;
    border: 1px solid rgba(143,154,253,.26);
    background: rgba(6,9,30,.45);
    border-radius: 999px;
    color: #d9ddff;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    backdrop-filter: blur(10px)
}

.hero-kicker i {
    display: block;
    width: 8px;
    height: 8px;
    background: var(--ast-blue-bright);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(31,53,250,.14)
}

html[dir=rtl] .hero-kicker {
    letter-spacing: 0
}

.hero .lead {
    margin: 28px 0 32px
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(0,0,0,.25);
    color: #cfd5e9;
    font-size: .76rem;
    font-weight: 700;
    backdrop-filter: blur(8px)
}

.trust-chip:before {
    content: "◆";
    color: var(--ast-blue-soft);
    font-size: .62rem
}

.hero-side-card {
    position: absolute;
    z-index: 3;
    right: max(4vw,40px);
    bottom: 9%;
    width: min(330px,28vw);
    padding: 22px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--radius);
    background: linear-gradient(145deg,rgba(6,8,20,.78),rgba(5,26,221,.15));
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow)
}

html[dir=rtl] .hero-side-card {
    right: auto;
    left: max(4vw,40px)
}

.hero-side-card .label {
    color: var(--ast-blue-soft);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase
}

.hero-side-card strong {
    display: block;
    margin: 8px 0;
    font-size: 1.1rem
}

.signal-bars {
    display: flex;
    align-items: flex-end;
    height: 38px;
    gap: 5px;
    margin-top: 16px
}

.signal-bars i {
    flex: 1;
    min-width: 7px;
    background: linear-gradient(#8f9afd,#051add);
    border-radius: 4px;
    animation: signal 1.8s ease-in-out infinite
}

.signal-bars i:nth-child(1) {
    height: 28%
}

.signal-bars i:nth-child(2) {
    height: 52%;
    animation-delay: -.3s
}

.signal-bars i:nth-child(3) {
    height: 82%;
    animation-delay: -.6s
}

.signal-bars i:nth-child(4) {
    height: 64%;
    animation-delay: -.9s
}

.signal-bars i:nth-child(5) {
    height: 100%;
    animation-delay: -1.2s
}

@keyframes signal {
    50% {
        opacity: .35;
        transform: scaleY(.72);
        transform-origin: bottom
    }
}

.scroll-cue {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    width: 25px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 20px
}

.scroll-cue:after {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 4px;
    transform: translateX(-50%);
    animation: scrollDot 1.8s infinite
}

@keyframes scrollDot {
    0% {
        opacity: 0;
        transform: translate(-50%,0)
    }

    30% {
        opacity: 1
    }

    100% {
        opacity: 0;
        transform: translate(-50%,15px)
    }
}

.page-hero {
    position: relative;
    min-height: 68svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: calc(var(--header-h) + 100px) 0 84px;
    background: #020309
}

.page-hero-media:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(2,3,9,.94),rgba(2,3,9,.5) 58%,rgba(2,3,9,.7)),linear-gradient(180deg,rgba(2,3,9,.1),#03040a 100%)
}

html[dir=rtl] .page-hero-media:after {
    background: linear-gradient(270deg,rgba(2,3,9,.94),rgba(2,3,9,.5) 58%,rgba(2,3,9,.7)),linear-gradient(180deg,rgba(2,3,9,.1),#03040a 100%)
}

.page-hero-content {
    position: relative;
    z-index: 2
}

.page-hero .lead {
    margin: 24px 0 0
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    color: #a9b1ca;
    font-size: .8rem
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
    color: #a9b1ca;
    font-size: .8rem
}

.breadcrumb a:hover {
    color: #fff
}

.breadcrumbs a:hover {
    color: #fff
}

.grid-2 {
    display: grid;
    grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
    gap: clamp(36px,6vw,90px);
    align-items: center
}

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

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

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 46px
}

.section-head>div:first-child {
    max-width: 880px
}

.section-head .section-copy {
    margin: 18px 0 0
}

.media-frame {
    position: relative;
    min-height: 540px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-blue)
}

.media-frame img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover
}

.media-frame:after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: inherit;
    pointer-events: none
}

.media-caption {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 22px;
    max-width: 270px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: rgba(3,5,14,.78);
    backdrop-filter: blur(14px)
}

html[dir=rtl] .media-caption {
    right: auto;
    left: 22px
}

.media-caption strong {
    display: block;
    margin-bottom: 3px
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    margin-top: 34px
}

.stat-card {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.035)
}

.stat-number {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: clamp(1.65rem,3vw,2.5rem);
    font-weight: 900;
    letter-spacing: -.04em
}

.stat-label {
    color: var(--muted);
    font-size: .84rem
}

.section-light .stat-card {
    background: #fff;
    border-color: var(--line-dark)
}

.section-light .stat-number {
    color: var(--ast-blue)
}

.section-light .stat-label {
    color: var(--muted-dark)
}

.card {
    position: relative;
    min-height: 100%;
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
    overflow: hidden;
    transition: transform .3s,border-color .3s,background .3s,box-shadow .3s
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(143,154,253,.46);
    background: linear-gradient(145deg,rgba(5,26,221,.16),rgba(255,255,255,.03));
    box-shadow: 0 20px 50px rgba(0,0,0,.24)
}

.card-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 24px;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(145deg,var(--ast-blue-bright),#091054);
    box-shadow: 0 12px 28px rgba(5,26,221,.28)
}

.card-icon svg {
    width: 25px;
    height: 25px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8
}

.card h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    line-height: 1.2
}

.card p {
    margin: 0;
    color: var(--muted);
    font-size: .93rem
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--ast-blue-soft);
    font-size: .86rem;
    font-weight: 800
}

.card-link:after {
    content: "→";
    transition: transform .2s
}

.card:hover .card-link:after {
    transform: translateX(5px)
}

html[dir=rtl] .card-link:after {
    content: "←"
}

html[dir=rtl] .card:hover .card-link:after {
    transform: translateX(-5px)
}

.section-light .card {
    background: #fff;
    border-color: var(--line-dark);
    box-shadow: 0 14px 44px rgba(23,34,76,.07)
}

.section-light .card p {
    color: var(--muted-dark)
}

.section-light .card:hover {
    background: #fff;
    border-color: rgba(5,26,221,.35);
    box-shadow: 0 22px 60px rgba(5,26,221,.12)
}

.service-card {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    background: #050712
}

.service-card>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .57;
    transition: transform .7s,opacity .35s
}

.service-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,transparent 20%,rgba(2,3,9,.97) 92%)
}

.service-card:hover>img {
    transform: scale(1.055);
    opacity: .72
}

.service-card-content {
    position: relative;
    z-index: 2;
    padding: 28px
}

.service-card-index {
    color: var(--ast-blue-soft);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .16em
}

.service-card h3 {
    margin: 9px 0 10px;
    font-size: 1.45rem
}

.service-card p {
    color: #bbc3da
}

.value-card {
    padding-top: 82px
}

.value-number {
    position: absolute;
    right: 22px;
    top: 10px;
    color: rgba(143,154,253,.12);
    font-size: 4.8rem;
    line-height: 1;
    font-weight: 900
}

html[dir=rtl] .value-number {
    right: auto;
    left: 22px
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px
}

.vm-card {
    position: relative;
    min-height: 470px;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #fff;
    background: #090b17
}

.vm-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .42
}

.vm-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(3,4,10,.2),rgba(3,4,10,.96))
}

.vm-content {
    position: relative;
    z-index: 2
}

.vm-card h3 {
    margin: 0 0 14px;
    max-width: 580px;
    color: #fff;
    font-size: clamp(1.7rem,3vw,2.6rem);
    line-height: 1.15;
    text-shadow: 0 2px 18px rgba(0,0,0,.5)
}

.vm-card p {
    margin: 0;
    color: #d1d7e8;
    max-width: 650px
}

.vm-card .eyebrow {
    color: #9aa6ff
}

/* Keep all plain-text checklists readable across Contact, Marketplace and Solutions. */
.check-list li > span:only-child {
    color: inherit;
    font-size: .96rem;
    line-height: 1.55;
    overflow-wrap: normal;
    word-break: normal;
}

.section-light .check-list li > span:only-child {
    color: var(--muted-dark)
}

.feature-panel {
    position: relative;
    padding: clamp(32px,5vw,62px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg,rgba(5,26,221,.22),rgba(255,255,255,.03) 50%,rgba(0,0,0,.2));
    overflow: hidden
}

.feature-panel:before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -100px;
    top: -80px;
    transform: rotate(45deg);
    border: 1px solid rgba(143,154,253,.22);
    background: linear-gradient(135deg,rgba(5,26,221,.08),transparent)
}

html[dir=rtl] .feature-panel:before {
    right: auto;
    left: -100px
}

.check-list {
    display: grid;
    gap: 16px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none
}

.check-list li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 13px;
    align-items: start
}

/* Lists without a separate icon must use the full text column. */
.check-list li > span:only-child {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    min-width: 0;
}

.check-list i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(5,26,221,.2);
    color: var(--ast-blue-soft);
    font-style: normal;
    font-weight: 900
}

.check-list strong {
    display: block;
    margin-bottom: 2px
}

.check-list span {
    color: var(--muted);
    font-size: .9rem
}

.tabs {
    display: grid;
    grid-template-columns: minmax(230px,.38fr) 1fr;
    gap: 20px
}

.tab-list {
    display: grid;
    gap: 8px;
    align-content: start
}

.tab-button {
    width: 100%;
    padding: 18px 20px;
    text-align: start;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.03);
    color: #b8c0d7;
    cursor: pointer;
    font-weight: 800;
    transition: .25s
}

.tab-button:hover,.tab-button.active {
    color: #fff;
    background: var(--ast-blue);
    border-color: var(--ast-blue)
}

.tab-panel {
    display: none;
    min-height: 390px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255,255,255,.035)
}

.tab-panel.active {
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 30px;
    align-items: center;
    animation: fadeUp .35s ease
}

.tab-panel img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px
}

.tab-panel h3 {
    margin: 0 0 14px;
    font-size: 2rem
}

.tab-panel p {
    color: var(--muted)
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px
}

.tag {
    display: inline-flex;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #c8cfe0;
    font-size: .74rem;
    font-weight: 700
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(9px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(12,1fr);
    grid-auto-rows: 150px;
    gap: 14px
}

.project-card {
    position: relative;
    grid-column: span 4;
    grid-row: span 2;
    border: 0;
    padding: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #080a16;
    cursor: pointer;
    text-align: start
}

.project-card.wide {
    grid-column: span 8
}

.project-card.tall {
    grid-row: span 3
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s,filter .35s
}

.project-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,transparent 36%,rgba(2,3,9,.9))
}

.project-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.08)
}

.project-meta {
    position: absolute;
    z-index: 2;
    left: 20px;
    right: 20px;
    bottom: 18px
}

.project-meta strong {
    display: block;
    font-size: 1.05rem
}

.project-meta span {
    color: #bdc5d9;
    font-size: .77rem
}

html[dir=rtl] .project-card {
    text-align: right
}

.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 34px
}

.filter-btn {
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    color: #b6bed5;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 800
}

.filter-btn.active,.filter-btn:hover {
    color: #fff;
    background: var(--ast-blue);
    border-color: var(--ast-blue)
}

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

.gallery-card {
    position: relative;
    min-height: 330px;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: #090b14;
    cursor: pointer
}

.gallery-card.hidden {
    display: none
}

.gallery-card img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    transition: transform .6s
}

.gallery-card:hover img {
    transform: scale(1.05)
}

.gallery-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,transparent 32%,rgba(2,3,9,.93))
}

.gallery-card .project-meta {
    bottom: 20px
}

.project-dialog {
    width: min(960px,calc(100vw - 30px));
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    color: #fff;
    background: #080a13;
    box-shadow: var(--shadow)
}

.project-dialog::backdrop {
    background: rgba(0,0,0,.78);
    backdrop-filter: blur(8px)
}

.dialog-image {
    width: 100%;
    height: min(58vh,540px);
    object-fit: cover
}

.dialog-body {
    padding: 26px 28px 30px
}

.dialog-body h3 {
    margin: 0 0 6px;
    font-size: 1.65rem
}

.dialog-close {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(0,0,0,.65);
    color: #fff;
    cursor: pointer;
    font-size: 1.3rem
}

html[dir=rtl] .dialog-close {
    right: auto;
    left: 14px
}

.logo-marquee {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line)
}

.logo-marquee:before,.logo-marquee:after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 130px
}

.logo-marquee:before {
    left: 0;
    background: linear-gradient(90deg,#04050b,transparent)
}

.logo-marquee:after {
    right: 0;
    background: linear-gradient(270deg,#04050b,transparent)
}

.logo-track {
    display: flex;
    width: max-content;
    animation: marquee 34s linear infinite
}

.logo-track span {
    display: grid;
    place-items: center;
    min-width: 190px;
    height: 104px;
    padding: 0 20px;
    border-right: 1px solid var(--line);
    color: #c2c9dc;
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-align: center
}

@keyframes marquee {
    to {
        transform: translateX(-50%)
    }
}

html[dir=rtl] .logo-track {
    animation-direction: reverse
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 12px
}

.cert-card {
    min-height: 160px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.025)
}

.cert-card img {
    max-width: 92px;
    max-height: 82px;
    margin: 0 auto 10px;
    filter: grayscale(.15)
}

.cert-card strong {
    font-size: .86rem
}

.solution-nav {
    position: sticky;
    top: calc(var(--header-h) + 18px);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 10;
    margin-bottom: 54px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(3,4,10,.8);
    backdrop-filter: blur(15px)
}

.solution-nav a {
    padding: 9px 13px;
    border-radius: 999px;
    color: #bdc5da;
    font-size: .78rem;
    font-weight: 800
}

.solution-nav a:hover {
    background: var(--ast-blue);
    color: #fff
}

.solution-block {
    scroll-margin-top: 150px;
    padding: 50px 0;
    border-bottom: 1px solid var(--line)
}

.solution-block:last-child {
    border-bottom: 0
}

.solution-heading {
    display: grid;
    grid-template-columns: .55fr 1fr;
    gap: 40px;
    margin-bottom: 32px
}

.solution-heading h2 {
    margin: 0;
    font-size: clamp(2rem,4vw,4rem);
    line-height: 1
}

.solution-heading p {
    color: var(--muted);
    margin: 0
}

.system-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0
}

.system-list li {
    position: relative;
    padding: 15px 16px 15px 42px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
    color: #d6dbea;
    font-size: .86rem
}

.system-list li:before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border: 2px solid var(--ast-blue-soft);
    transform: translateY(-50%) rotate(45deg)
}

html[dir=rtl] .system-list li {
    padding: 15px 42px 15px 16px
}

html[dir=rtl] .system-list li:before {
    left: auto;
    right: 16px
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    counter-reset: process
}

.process-card {
    counter-increment: process;
    position: relative;
    padding: 28px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.025)
}

.process-card:before {
    content: "0" counter(process);
    display: block;
    margin-bottom: 38px;
    color: var(--ast-blue-soft);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .14em
}

.process-card:after {
    content: "";
    position: absolute;
    top: 50px;
    left: 24px;
    width: calc(100% - 48px);
    height: 1px;
    background: linear-gradient(90deg,var(--ast-blue),transparent)
}

.process-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem
}

.process-card p {
    margin: 0;
    color: var(--muted);
    font-size: .85rem
}

.market-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px
}

.product-card {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255,255,255,.025)
}

.product-card.hidden {
    display: none
}

.product-media {
    position: relative;
    height: 300px;
    background: radial-gradient(circle at 50% 45%,rgba(31,53,250,.32),transparent 46%),#050712;
    overflow: hidden
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: screen;
    opacity: .9;
    transition: transform .55s
}

.product-card:hover .product-media img {
    transform: scale(1.045)
}

.product-badge {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 2;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--ast-blue);
    color: #fff;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase
}

html[dir=rtl] .product-badge {
    left: auto;
    right: 16px
}

.product-body {
    padding: 24px
}

.product-body h3 {
    margin: 0 0 6px;
    font-size: 1.3rem
}

.product-body p {
    min-height: 75px;
    margin: 0;
    color: var(--muted);
    font-size: .88rem
}

.product-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 22px 0 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: #c7cde0;
    font-size: .76rem
}

.faq-list {
    max-width: 980px;
    margin: 0 auto;
    border-top: 1px solid var(--line)
}

.faq-item {
    border-bottom: 1px solid var(--line)
}

.faq-question {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 36px;
    gap: 20px;
    align-items: center;
    padding: 24px 0;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: start;
    cursor: pointer;
    font-size: 1.02rem;
    font-weight: 800
}

.faq-question i {
    position: relative;
    width: 30px;
    height: 30px;
    border: 1px solid var(--line);
    border-radius: 50%
}

.faq-question i:before,.faq-question i:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    background: #fff;
    transform: translate(-50%,-50%);
    transition: transform .25s
}

.faq-question i:after {
    transform: translate(-50%,-50%) rotate(90deg)
}

.faq-item.open .faq-question i:after {
    transform: translate(-50%,-50%) rotate(0)
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s
}

.faq-answer>div {
    overflow: hidden
}

.faq-answer p {
    margin: 0;
    padding: 0 50px 24px 0;
    color: var(--muted)
}

html[dir=rtl] .faq-answer p {
    padding: 0 0 24px 50px
}

.faq-item.open .faq-answer {
    grid-template-rows: 1fr
}

.section-light .faq-list,.section-light .faq-item {
    border-color: var(--line-dark)
}

.section-light .faq-question {
    color: var(--ink)
}

.section-light .faq-question i {
    border-color: var(--line-dark)
}

.section-light .faq-question i:before,.section-light .faq-question i:after {
    background: var(--ink)
}

.section-light .faq-answer p {
    color: var(--muted-dark)
}

.contact-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 18px;
    align-items: stretch
}

.contact-info {
    padding: 34px;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg,var(--ast-blue),#07104d)
}

.contact-info h2 {
    margin: 0 0 16px;
    font-size: clamp(2rem,4vw,3.7rem);
    line-height: 1
}

.contact-methods {
    display: grid;
    gap: 12px;
    margin-top: 38px
}

.contact-method {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 13px;
    align-items: center;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px;
    background: rgba(0,0,0,.12)
}

.contact-method i {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    font-style: normal
}

.contact-method .whatsapp-icon {
    color: #25d366;
    background: rgba(37,211,102,.14)
}

.whatsapp-icon svg {
    display: block;
    width: 25px;
    height: 25px
}

.contact-method small {
    display: block;
    color: #cdd2ff
}

.contact-form {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255,255,255,.035)
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 15px
}

.field {
    display: grid;
    gap: 7px
}

.field.full {
    grid-column: 1/-1
}

.field label {
    color: #ccd2e3;
    font-size: .78rem;
    font-weight: 800
}

.field input,.field textarea,.field select {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    color: #fff;
    outline: none;
    transition: border-color .2s,box-shadow .2s
}

.field textarea {
    min-height: 150px;
    resize: vertical
}

.field input:focus,.field textarea:focus,.field select:focus {
    border-color: var(--ast-blue-soft);
    box-shadow: 0 0 0 4px rgba(5,26,221,.13)
}

.field select option {
    background: #0a0c18
}

.form-note {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: .76rem
}

.form-status {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(109,155,80,.18);
    color: #dff2d2;
    font-size: .84rem
}

.form-status.show {
    display: block
}

.map-panel {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%,rgba(5,26,221,.32),transparent 34%),linear-gradient(135deg,#070916,#03040a)
}

.map-pin {
    position: relative;
    z-index: 2;
    text-align: center
}

.map-pin:before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    margin: 0 auto 18px;
    border: 7px solid var(--ast-blue-soft);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    box-shadow: 0 0 0 14px rgba(5,26,221,.12)
}

.map-lines {
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image: linear-gradient(30deg,transparent 48%,#8f9afd 49%,#8f9afd 51%,transparent 52%),linear-gradient(-30deg,transparent 48%,#8f9afd 49%,#8f9afd 51%,transparent 52%);
    background-size: 90px 90px
}

.portal-shell {
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 18px;
    min-height: 640px
}

.portal-login {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(150deg,rgba(5,26,221,.18),rgba(255,255,255,.025))
}

.portal-login .logo-mini {
    width: 170px;
    margin-bottom: 44px
}

.demo-tag {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(252,207,44,.16);
    color: #ffe987;
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .1em
}

.portal-preview {
    display: none;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    background: #080a14
}

.portal-preview.active {
    display: grid;
    grid-template-columns: 220px 1fr
}

.portal-sidebar {
    padding: 24px 16px;
    border-right: 1px solid var(--line);
    background: #05070f
}

html[dir=rtl] .portal-sidebar {
    border-right: 0;
    border-left: 1px solid var(--line)
}

.portal-sidebar img {
    width: 150px;
    margin: 0 auto 36px
}

.portal-menu {
    display: grid;
    gap: 7px
}

.portal-menu button {
    padding: 12px 14px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #aab2c8;
    text-align: start;
    cursor: pointer
}

.portal-menu button.active {
    background: var(--ast-blue);
    color: #fff
}

.portal-main {
    padding: 26px;
    overflow: auto
}

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

.portal-top h2 {
    margin: 0;
    font-size: 1.45rem
}

.portal-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px
}

.portal-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.03)
}

.portal-card small {
    color: var(--muted)
}

.portal-card strong {
    display: block;
    margin-top: 8px;
    font-size: 1.4rem
}

.progress-bar {
    height: 8px;
    margin-top: 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    overflow: hidden
}

.progress-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,var(--ast-blue),var(--ast-blue-soft))
}

.portal-table {
    width: 100%;
    margin-top: 18px;
    border-collapse: collapse;
    font-size: .82rem
}

.portal-table th,.portal-table td {
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
    text-align: start
}

.portal-table th {
    color: #98a1ba;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em
}

.status-pill {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(109,155,80,.16);
    color: #cce8bb;
    font-size: .68rem;
    font-weight: 800
}

.portal-empty {
    display: grid;
    place-items: center;
    min-height: 640px;
    border: 1px dashed rgba(143,154,253,.3);
    border-radius: 24px;
    color: #8e97af;
    text-align: center;
    padding: 30px
}

.legal-content {
    max-width: 900px
}

.legal-content h2 {
    margin: 48px 0 12px;
    font-size: 1.6rem
}

.legal-content h3 {
    margin: 28px 0 10px;
    font-size: 1.15rem
}

.legal-content p,.legal-content li {
    color: var(--muted)
}

.legal-content ul {
    padding-inline-start:22px}

.legal-notice {
    padding: 18px 20px;
    border-left: 3px solid var(--ast-blue);
    background: rgba(5,26,221,.1);
    color: #dce1f2
}

html[dir=rtl] .legal-notice {
    border-left: 0;
    border-right: 3px solid var(--ast-blue)
}

.cta-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(42px,7vw,88px);
    border-radius: 34px;
    background: linear-gradient(120deg,#051add,#07135e 58%,#02030a);
    box-shadow: var(--shadow-blue)
}

.cta-panel:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image: linear-gradient(60deg,transparent 49%,#fff 50%,transparent 51%);
    background-size: 62px 62px
}

.cta-panel>* {
    position: relative;
    z-index: 1
}

.cta-panel h2 {
    margin: 0 0 18px;
    max-width: 850px;
    font-size: clamp(2.4rem,5vw,5.3rem);
    line-height: .98;
    letter-spacing: -.045em
}

.cta-panel p {
    max-width: 720px;
    color: #d9ddff
}

.site-footer {
    position: relative;
    padding: 76px 0 26px;
    background: #010208;
    border-top: 1px solid var(--line)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .7fr .7fr 1fr;
    gap: 44px
}

.footer-brand img {
    width: 225px;
    margin-bottom: 18px
}

.footer-brand p {
    max-width: 360px;
    color: var(--muted);
    font-size: .88rem
}

.footer-title {
    margin: 0 0 18px;
    color: #fff;
    font-size: .85rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase
}

.footer-links {
    display: grid;
    gap: 9px
}

.footer-links a,.footer-links span {
    color: #aab2c8;
    font-size: .84rem
}

.footer-links a:hover {
    color: #fff
}

.footer-links a.whatsapp-footer-link {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 7px;
    justify-content: flex-start
}

html[dir="rtl"] .footer-links a.whatsapp-footer-link {
    justify-content: flex-end
}

.footer-links .whatsapp-inline-icon,
.chat-options .whatsapp-inline-icon {
    display: inline-flex;
    flex: 0 0 1.05em;
    width: 1.05em;
    height: 1.05em;
    color: #25d366;
    vertical-align: middle
}

.whatsapp-separator {
    unicode-bidi: isolate
}

.whatsapp-number {
    direction: ltr!important;
    unicode-bidi: isolate!important;
    white-space: nowrap
}

.whatsapp-inline-icon svg {
    display: block;
    width: 100%;
    height: 100%
}

.newsletter {
    display: flex;
    gap: 8px;
    margin-top: 12px
}

.newsletter input {
    min-width: 0;
    flex: 1;
    height: 46px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    color: #fff;
    outline: none
}

.newsletter button {
    width: 48px;
    border: 0;
    border-radius: 12px;
    background: var(--ast-blue);
    cursor: pointer
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px
}

.social-row a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: #c6cde0;
    font-size: .72rem;
    font-weight: 900
}

.social-row a:hover {
    background: var(--ast-blue);
    border-color: var(--ast-blue);
    color: #fff
}

html[dir=rtl] .social-row a {
    width: auto;
    min-width: 38px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: .7rem
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: #777f96;
    font-size: .75rem
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 16px
}

.chat-launcher {
    position: fixed;
    z-index: 990;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
    background: var(--ast-blue);
    color: #fff;
    box-shadow: 0 15px 40px rgba(5,26,221,.44);
    cursor: pointer;
    font-size: 1.3rem
}

html[dir=rtl] .chat-launcher {
    right: auto;
    left: 22px
}

.chat-panel {
    position: fixed;
    z-index: 989;
    right: 22px;
    bottom: 92px;
    width: min(360px,calc(100vw - 30px));
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(7,9,20,.96);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
    transform: translateY(16px) scale(.96);
    opacity: 0;
    pointer-events: none;
    transition: .25s
}

html[dir=rtl] .chat-panel {
    right: auto;
    left: 22px
}

.chat-panel.open {
    transform: none;
    opacity: 1;
    pointer-events: auto
}

.chat-panel h3 {
    margin: 0 0 6px
}

.chat-panel p {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: .84rem
}

.chat-options {
    display: grid;
    gap: 8px
}

.chat-options a {
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: #d4daea;
    font-size: .82rem;
    font-weight: 800
}

.chat-options a.whatsapp-chat-link {
    display: flex;
    align-items: center;
    gap: 8px
}

.chat-options a:hover {
    background: rgba(5,26,221,.2);
    border-color: rgba(143,154,253,.4)
}

.reveal {
    opacity: 1;
    transform: none
}

html.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .75s,transform .75s
}

html.js .reveal.in-view {
    opacity: 1;
    transform: none
}

.reveal-delay-1 {
    transition-delay: .08s
}

.reveal-delay-2 {
    transition-delay: .16s
}

.reveal-delay-3 {
    transition-delay: .24s
}

@media(max-width: 1100px) {
    :root {
        --header-h:76px
    }

    .header-cta {
        display: none
    }

    .brand img {
        width: 185px
    }

    .hero-side-card {
        display: none
    }

    .hero-content {
        width: min(880px,92vw)
    }

    .grid-4 {
        grid-template-columns: repeat(2,1fr)
    }

    .cert-grid {
        grid-template-columns: repeat(3,1fr)
    }

    .project-gallery,.product-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .system-list {
        grid-template-columns: repeat(2,1fr)
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr
    }

    .footer-grid>:last-child {
        grid-column: 1/-1
    }
}

@media(max-width: 880px) {
    .primary-nav {
        position:fixed;
        /* inset:var(--header-h) 0 0; */
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 24px 22px 90px;
        background: rgba(2,3,9,.98);
        transform: translateX(100%);
        transition: transform .32s;
        overflow-y: auto
    }

    html[dir=rtl] .primary-nav {
        transform: translateX(-100%)
    }

    .primary-nav.open {
        transform: none!important
    }

    .nav-link {
        padding: 17px 8px;
        border-bottom: 1px solid var(--line);
        font-size: 1.05rem
    }

    .nav-link:after {
        display: none
    }

    .menu-toggle {
        display: grid
    }

    .grid-2,.contact-grid,.solution-heading {
        grid-template-columns: 1fr
    }

    .grid-3 {
        grid-template-columns: repeat(2,1fr)
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column
    }

    .vm-grid {
        grid-template-columns: 1fr
    }

    .tabs {
        grid-template-columns: 1fr
    }

    .tab-list {
        grid-template-columns: repeat(2,1fr)
    }

    .tab-panel.active {
        grid-template-columns: 1fr
    }

    .project-grid {
        grid-auto-rows: 130px
    }

    .project-card,.project-card.wide {
        grid-column: span 6
    }

    .process-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .portal-shell {
        grid-template-columns: 1fr
    }

    .portal-empty {
        min-height: 280px
    }

    .portal-preview.active {
        grid-template-columns: 1fr
    }

    .portal-sidebar {
        display: none
    }

    .footer-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .footer-grid>:last-child {
        grid-column: auto
    }

    .media-frame {
        min-height: 440px
    }
}

@media(max-width: 640px) {
    :root {
        --container:min(100% - 28px,1240px)
    }

    .site-header {
        height: 70px
    }

    .brand img {
        width: 160px
    }

    .lang-toggle,.menu-toggle {
        width: 40px;
        height: 40px
    }

    .header-actions {
        gap: 6px
    }

    .primary-nav {
        top: 70px;
    }

    .hero {
        padding-top: 124px;
        align-items: flex-start
    }

    .hero-content {
        width: 100%
    }

    .display-title {
        font-size: clamp(2.8rem,15vw,4.8rem)
    }

    .page-title {
        font-size: clamp(2.6rem,13vw,4.5rem)
    }

    .hero .lead {
        font-size: 1rem
    }

    .hero-trust {
        gap: 7px
    }

    .trust-chip {
        font-size: .68rem
    }

    .scroll-cue {
        display: none
    }

    .grid-3,.grid-4,.project-gallery,.product-grid,.cert-grid,.system-list,.process-grid {
        grid-template-columns: 1fr
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr
    }

    .service-card {
        min-height: 340px
    }

    .tab-list {
        grid-template-columns: 1fr
    }

    .project-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-rows: 330px
    }

    .project-card,.project-card.wide,.project-card.tall {
        grid-column: auto;
        grid-row: auto
    }

    .market-toolbar {
        align-items: flex-start;
        flex-direction: column
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .field.full {
        grid-column: auto
    }

    .contact-form,.contact-info {
        padding: 24px
    }

    .portal-cards {
        grid-template-columns: 1fr
    }

    .portal-main {
        padding: 18px
    }

    .portal-table {
        min-width: 620px
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        flex-direction: column
    }

    .cta-panel {
        border-radius: 24px
    }

    .cta-panel h2 {
        letter-spacing: -.03em
    }

    .solution-nav {
        border-radius: 18px;
        top: 82px
    }

    .media-frame {
        min-height: 360px
    }

    .vm-card {
        min-height: 390px
    }
}

/* FINAL GO-LIVE TYPE, RTL AND MOBILE QA */
html[dir="rtl"] body {
    font-family: 'IBM Plex Sans Arabic',Tahoma,Arial,sans-serif;
    font-weight: 400;
    line-height: 1.8
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] .display-title,
html[dir="rtl"] .page-title,
html[dir="rtl"] .section-title {
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -.018em
}

html[dir="rtl"] h3,
html[dir="rtl"] .footer-title,
html[dir="rtl"] .nav-link,
html[dir="rtl"] .btn,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .credential-logo-card strong {
    font-weight: 600
}

html[dir="rtl"] .lead,
html[dir="rtl"] .section-copy,
html[dir="rtl"] .hero .lead,
html[dir="rtl"] .page-hero .lead {
    line-height: 1.85
}

html[dir="rtl"] .btn,
html[dir="rtl"] .eyebrow {
    line-height: 1.45
}

html[dir="rtl"] .breadcrumb,
html[dir="rtl"] .breadcrumbs {
    direction: rtl;
    line-height: 1.6
}

html[dir="rtl"] .breadcrumb a,
html[dir="rtl"] .breadcrumbs a,
html[dir="rtl"] .breadcrumb span,
html[dir="rtl"] .breadcrumbs span {
    unicode-bidi: isolate
}

html[dir="rtl"] .process-grid strong,
html[dir="rtl"] .value-number,
html[dir="rtl"] .project-meta,
html[dir="rtl"] bdi,
html[dir="rtl"] .phone-ltr {
    unicode-bidi: isolate
}

@media(max-width: 880px) {
    .primary-nav,
    html[dir="rtl"] .primary-nav {
        top: var(--header-h);
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
    }
}

@media(max-width: 640px) {
    html[dir="rtl"] .hero .display-title {
        font-size: clamp(2rem,10vw,3.25rem);
        line-height: 1.2
    }

    html[dir="rtl"] .page-title,
    html[dir="rtl"] .section-title {
        line-height: 1.25
    }

    html[dir="rtl"] .hero .lead {
        margin-top: 22px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    *,*:before,*:after {
        animation-duration: .01ms!important;
        animation-iteration-count: 1!important;
        transition-duration: .01ms!important
    }

    .reveal {
        opacity: 1;
        transform: none
    }
}

/* ============================================================
   AST WEBSITE V2 — ORIGINAL LOGO ECOSYSTEM
   ============================================================ */
.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    margin: 0 0 18px;
    padding: 8px 12px;
    border: 1px solid rgba(143,154,253,.42);
    border-radius: 999px;
    background: rgba(5,26,221,.14);
    box-shadow: 0 10px 30px rgba(5,26,221,.16);
    color: #dce0ff;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
    backdrop-filter: blur(14px)
}

.version-badge:before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7e8cff;
    box-shadow: 0 0 18px #5769ff
}

.hero-version {
    margin-bottom: 16px
}

.logo-marquee-v2 {
    padding: 16px 0;
    background: radial-gradient(circle at 50% 0,rgba(5,26,221,.13),transparent 42%),#04050b
}

.logo-marquee-v2 .logo-track {
    gap: 14px;
    padding: 0 7px;
    animation-duration: 48s
}

.logo-marquee-v2:hover .logo-track {
    animation-play-state: paused
}

.logo-marquee-v2 .logo-pill {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 220px;
    height: 112px;
    padding: 22px 24px;
    overflow: hidden;
    border: 1px solid rgba(7,22,72,.1);
    border-radius: 18px;
    background: linear-gradient(145deg,#fff,#eef1f7);
    box-shadow: 0 14px 38px rgba(0,0,0,.25);
    transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease
}

.logo-marquee-v2 .logo-pill:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg,transparent 35%,rgba(255,255,255,.88) 50%,transparent 65%);
    transform: translateX(-140%);
    transition: transform .75s ease
}

.logo-marquee-v2 .logo-pill:hover {
    transform: translateY(-3px);
    border-color: rgba(5,26,221,.28);
    box-shadow: 0 18px 42px rgba(5,26,221,.19)
}

.logo-marquee-v2 .logo-pill:hover:before {
    transform: translateX(140%)
}

.logo-marquee-v2 .marquee-logo {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 176px;
    max-height: 66px;
    object-fit: contain;
    filter: none
}

.logo-marquee-v2 .logo-pill span.logo-fallback {
    display: none;
    min-width: 0;
    height: auto;
    padding: 0;
    border: 0;
    color: #182338;
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: .02em;
    text-align: center
}

.logo-marquee-v2:before {
    background: linear-gradient(90deg,#04050b 15%,transparent)
}

.logo-marquee-v2:after {
    background: linear-gradient(270deg,#04050b 15%,transparent)
}

.logo-fallback {
    display: none;
    color: #182338;
    font-weight: 900;
    line-height: 1.15;
    text-align: center
}

.logo-fallback.is-visible {
    display: block
}

img.logo-error {
    display: none!important
}

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

.credential-logo-card {
    display: flex;
    min-width: 0;
    min-height: 230px;
    padding: 18px;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 22px;
    background: linear-gradient(155deg,rgba(255,255,255,.08),rgba(255,255,255,.025));
    box-shadow: 0 18px 50px rgba(0,0,0,.17);
    color: #fff;
    transition: transform .28s ease,border-color .28s ease,box-shadow .28s ease
}

.credential-logo-card:hover {
    transform: translateY(-5px);
    border-color: rgba(100,117,255,.55);
    box-shadow: 0 24px 58px rgba(5,26,221,.2)
}

.credential-logo-stage {
    display: grid;
    place-items: center;
    min-height: 122px;
    padding: 17px;
    border-radius: 16px;
    background: linear-gradient(145deg,#fff,#eef1f7);
    box-shadow: inset 0 0 0 1px rgba(14,25,54,.08)
}

.credential-logo-stage .credential-logo {
    display: block;
    width: 100%;
    height: 94px;
    max-width: 225px;
    object-fit: contain;
    filter: none
}

.credential-logo-card strong {
    display: block;
    font-size: .95rem;
    line-height: 1.3;
    color: #343434;
}

.credential-logo-card p {
    margin: 8px 0 0;
    color: #aeb7d0;
    font-size: .78rem;
    line-height: 1.55
}

.credential-logo-card.compact {
    min-height: 205px;
    text-decoration: none
}

.credential-logo-card.compact strong {
    text-align: center
}

.home-credentials .credential-logo-stage {
    min-height: 116px
}

.home-credentials .credential-logo-stage .credential-logo {
    height: 86px
}

.partners-hero .page-hero-media:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(2,4,12,.96) 0%,rgba(2,4,12,.8) 42%,rgba(2,4,12,.25) 100%),linear-gradient(0deg,#03040a 0%,transparent 32%)
}

.credential-directory {
    position: relative;
    overflow: hidden
}

.credential-directory:before {
    content: "";
    position: absolute;
    left: -170px;
    top: 190px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle,rgba(5,26,221,.12),transparent 68%);
    pointer-events: none
}

.credential-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 30px
}

.credential-filter .filter-btn {
    border-color: rgba(18,34,76,.15);
    background: #fff;
    color: #3e4a62;
    box-shadow: 0 8px 24px rgba(18,34,76,.06)
}

.credential-filter .filter-btn.active,.credential-filter .filter-btn:hover {
    border-color: var(--ast-blue);
    background: var(--ast-blue);
    color: #fff;
    box-shadow: 0 12px 30px rgba(5,26,221,.24)
}

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

.credential-logo-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(16,31,70,.1);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 46px rgba(19,30,62,.08);
    transition: transform .28s ease,box-shadow .28s ease,border-color .28s ease
}

.credential-logo-card:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg,var(--ast-blue),#8090ff);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease
}

.credential-logo-card:hover {
    transform: translateY(-6px);
    border-color: rgba(5,26,221,.28);
    box-shadow: 0 24px 58px rgba(5,26,221,.14)
}

.credential-logo-card:hover:after {
    transform: scaleX(1)
}

.credential-logo-stage {
    display: grid;
    place-items: center;
    height: 154px;
    padding: 28px 25px;
    background: linear-gradient(145deg,#fff,#f4f6fa);
    border-bottom: 1px solid rgba(17,32,66,.08)
}

.credential-logo-stage .credential-logo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 220px;
    max-height: 88px;
    object-fit: contain;
    filter: none
}

.credential-logo-card-meta {
    display: flex;
    min-height: 88px;
    padding: 18px 20px;
    flex-direction: column;
    justify-content: center;
    gap: 5px
}

.credential-logo-card-meta strong {
    color: #101827;
    font-size: .98rem;
    line-height: 1.25
}

.credential-logo-card-meta span {
    color: #68748a;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.35
}

.brand-ownership-note {
    max-width: 920px;
    margin: 30px auto 0;
    padding: 16px 18px;
    border: 1px solid rgba(17,32,66,.1);
    border-radius: 14px;
    background: rgba(255,255,255,.7);
    color: #677187;
    font-size: .72rem;
    line-height: 1.6;
    text-align: center
}

.partner-feature {
    background: radial-gradient(circle at 85% 12%,rgba(68,86,255,.22),transparent 28%),linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025))
}

@media (max-width: 1260px) {
    .primary-nav {
        gap:2px
    }

    .nav-link {
        padding-inline:8px;font-size: .78rem
    }

    .header-cta {
        display: none
    }

    .credential-logo-grid {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }

    .credential-logo-grid {
        grid-template-columns: repeat(3,minmax(0,1fr))
    }
}

@media (max-width: 880px) {
    .version-badge {
        font-size:.62rem
    }

    .logo-marquee-v2 .logo-pill {
        flex-basis: 178px;
        height: 96px;
        padding: 19px
    }

    .logo-marquee-v2 .marquee-logo {
        max-height: 56px
    }

    .credential-logo-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .credential-logo-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .credential-logo-card {
        min-height: 210px
    }
}

@media (max-width: 560px) {
    .logo-marquee-v2:before,.logo-marquee-v2:after {
        width:48px
    }

    .credential-logo-grid,.credential-logo-grid {
        grid-template-columns: 1fr
    }

    .credential-logo-stage {
        height: 138px
    }

    .credential-logo-card-meta {
        min-height: 78px
    }

    .credential-logo-card {
        min-height: 0
    }

    .credential-logo-stage {
        min-height: 112px
    }

    .credential-filter {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .credential-filter .filter-btn {
        width: 100%;
        padding: 10px 9px;
        font-size: .72rem
    }
}

@media (prefers-reduced-motion:reduce) {
    .logo-marquee-v2 .logo-track {
        animation: none
    }
}

/* AST V2 FINAL MOBILE REFINEMENTS */
@media (max-width: 560px) {
    .hero-kicker {
        width:100%;
        max-width: 100%;
        align-items: flex-start;
        white-space: normal;
        line-height: 1.38;
        border-radius: 18px
    }

    .hero-kicker i {
        flex: 0 0 auto;
        margin-top: .34em
    }

    .hero-version {
        margin-bottom: 12px
    }

    .version-badge {
        max-width: 100%;
        white-space: normal;
        line-height: 1.35
    }

    .logo-marquee-v2 .logo-pill {
        flex-basis: 164px;
        height: 90px;
        padding: 17px
    }

    .logo-marquee-v2 .marquee-logo {
        max-width: 132px;
        max-height: 50px
    }
}

/* FINAL V2 IMPLEMENTATION REFINEMENTS */
.version-badge {
    display: none!important
}

.solution-gateway {
    position: relative;
    background: #020309;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 22px 0
}

.solution-gateway-inner {
    width: var(--container);
    margin-inline:auto;display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.solution-route {
    position: relative;
    min-height: 118px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 28px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(135deg,rgba(255,255,255,.045),rgba(5,26,221,.08));
    overflow: hidden;
    transition: transform .25s,border-color .25s,background .25s
}

.solution-route:before {
    content: "";
    position: absolute;
    inset: auto -35px -55px auto;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(87,104,252,.22);
    border-radius: 50%;
    box-shadow: 0 0 70px rgba(5,26,221,.16)
}

.solution-route:hover {
    transform: translateY(-2px);
    border-color: rgba(143,154,253,.42);
    background: linear-gradient(135deg,rgba(255,255,255,.065),rgba(5,26,221,.14))
}

.solution-route .route-arrow {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    background: var(--ast-blue);
    font-size: 1.35rem;
    font-weight: 900;
    box-shadow: 0 12px 34px rgba(5,26,221,.3)
}

.solution-route .route-copy {
    position: relative;
    z-index: 1
}

.solution-route small {
    display: block;
    margin-bottom: 4px;
    color: var(--ast-blue-soft);
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase
}

.solution-route strong {
    display: block;
    font-size: clamp(1.12rem,2vw,1.45rem);
    line-height: 1.2
}

.solution-route p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: .9rem
}

.solution-route.ai {
    justify-content: flex-end;
    text-align: right
}

html[dir=rtl] .solution-route.ai {
    text-align: left
}

html[dir=rtl] .solution-route small {
    letter-spacing: 0
}

@media(max-width: 760px) {
    .solution-gateway-inner {
        grid-template-columns:1fr
    }

    .solution-route,.solution-route.ai {
        justify-content: flex-start;
        text-align: start;
        min-height: 104px;
        padding: 20px
    }

    .solution-route.ai .route-arrow {
        order: -1
    }
}

/* ============================================================
   AST MOBILE + RTL STABILITY PATCH — 2026-09-02
   Prevents RTL off-canvas overflow/blank space in real mobile mode.
   ============================================================ */
html,body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip
}

body {
    min-width: 0
}

main,.site-header,.site-footer,section {
    max-width: 100%
}

.container,.header-inner,.solution-gateway-inner {
    max-width: 100%
}

.phone-ltr,[dir="rtl"] .phone-ltr {
    direction: ltr!important;
    unicode-bidi: isolate!important;
    text-align: left;
    white-space: nowrap
}

/* Match the phone number with the contact-column alignment in each language. */
.footer-links .phone-ltr {
    text-align: left;
}

html[dir="rtl"] .footer-links .phone-ltr {
    text-align: right;
}

input[type="tel"] {
    direction: ltr;
    unicode-bidi: isolate;
    text-align: left
}

@media(max-width: 880px) {
    /* Do not translate the closed menu outside the viewport. On Android Chrome,
     a translated full-screen RTL menu can enlarge the horizontal scroll area. */.primary-nav, html[dir=rtl] .primary-nav {
        transform:none!important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .24s ease,visibility .24s ease;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        overscroll-behavior: contain;
    }

    .primary-nav.open, html[dir=rtl] .primary-nav.open {
        transform: none!important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header-inner {
        gap: 12px
    }
}

@media(max-width: 640px) {
    :root {
        --container:calc(100% - 24px)
    }

    .section {
        padding: 64px 0
    }

    .section-tight {
        padding: 46px 0
    }

    .page-hero {
        min-height: 520px;
        padding: 128px 0 58px
    }

    .page-title {
        font-size: clamp(2.25rem,12vw,3.7rem);
        overflow-wrap: anywhere
    }

    .display-title {
        font-size: clamp(2.5rem,13.5vw,4.25rem);
        overflow-wrap: anywhere
    }

    .section-title {
        font-size: clamp(2rem,10vw,3.2rem);
        overflow-wrap: anywhere
    }

    .lead,.section-copy {
        max-width: 100%
    }

    .button-row {
        width: 100%;
        align-items: stretch
    }

    .button-row .btn {
        max-width: 100%
    }

    .project-filters,.credential-filter {
        max-width: 100%
    }

    .project-grid {
        width: 100%;
        grid-auto-rows: 310px
    }

    .project-card,.project-card.wide,.project-card.tall {
        width: 100%;
        min-width: 0
    }

    .gallery-card {
        min-height: 300px
    }

    .gallery-card img {
        min-height: 300px
    }

    .media-frame {
        min-height: 330px
    }

    .vm-card {
        min-height: 350px
    }

    .product-media {
        height: 260px
    }

    .tab-panel {
        min-height: 0;
        padding: 24px
    }

    .tab-panel img {
        height: 240px
    }

    .portal-shell {
        min-height: 0
    }

    .portal-login {
        padding: 24px
    }

    .portal-empty {
        min-height: 240px
    }

    .cta-panel {
        padding: 36px 24px
    }

    .cta-panel h2 {
        font-size: clamp(2rem,10vw,3.2rem)
    }

    .site-footer {
        padding-top: 58px
    }

    .chat-launcher {
        right: 14px;
        bottom: 14px
    }

    html[dir=rtl] .chat-launcher {
        right: auto;
        left: 14px
    }

    .chat-panel {
        right: 14px;
        bottom: 82px;
        width: calc(100vw - 28px);
        max-width: 360px
    }

    html[dir=rtl] .chat-panel {
        right: auto;
        left: 14px
    }

    .credential-logo-stage .credential-logo,.credential-logo-stage .credential-logo {
        max-width: 100%;
        object-fit: contain
    }
}

@supports not (overflow: clip) {
    html,body {
        overflow-x:hidden
    }
}

/* Final bilingual responsive QA guardrails */
.ecosystem-wordmark-stage {
    display: grid;
    place-items: center;
}

.ecosystem-wordmark {
    color: #1d2e8f;
    font-size: clamp(3rem, 6vw, 4.8rem);
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: 1;
}

html[dir="rtl"] .system-list,html[dir="rtl"] .check-list,html[dir="rtl"] .solution-heading,html[dir="rtl"] .project-meta{text-align:right}
html[dir="rtl"] bdi{direction:ltr;unicode-bidi:isolate}
.system-list li,.check-list li,.capability-card p,.feature-panel p{min-width:0;overflow-wrap:anywhere}
@media(max-width:760px){.container{width:min(100% - 32px,var(--container))}.hero-content,.page-hero .container,.solution-heading>*{min-width:0}.process-grid,.capability-grid,.credential-logo-grid,.project-gallery{grid-template-columns:1fr!important}.display-title{overflow-wrap:normal;word-break:normal}.system-list{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr!important}}

/* Homepage typography and alignment refinements */
body[data-page="home"] .section-head {
    align-items: flex-start;
}

body[data-page="home"] .section-title {
    font-size: clamp(2.35rem,4.2vw,4.25rem);
    line-height: 1.02;
    max-width: 820px;
}

body[data-page="home"] .capability-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
}

body[data-page="home"] .capability-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 270px;
    padding: clamp(28px,3.2vw,42px);
    flex-direction: column;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    background: linear-gradient(145deg,rgba(31,53,250,.14),rgba(255,255,255,.025) 55%,rgba(255,255,255,.012));
    overflow: hidden;
}

body[data-page="home"] .capability-card:before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg,var(--ast-blue-bright),transparent 78%);
}

html[dir="rtl"] body[data-page="home"] .capability-card:before {
    inset: 0 0 0 auto;
}

body[data-page="home"] .capability-card h3 {
    margin: 0 0 18px;
    font-size: clamp(1.35rem,2vw,1.8rem);
    line-height: 1.15;
}

body[data-page="home"] .capability-card p {
    margin: 0 0 26px;
    color: #bec6dc;
    font-size: 1rem;
    line-height: 1.7;
}

body[data-page="home"] .capability-card a {
    width: fit-content;
    margin-top: auto;
    color: #fff;
    font-size: .9rem;
    font-weight: 800;
    border-bottom: 1px solid var(--ast-blue-soft);
}

body[data-page="home"] .process-grid {
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 14px;
}

body[data-page="home"] .process-grid article {
    position: relative;
    min-width: 0;
    min-height: 178px;
    padding: 26px 22px;
    border: 1px solid var(--line-dark);
    border-radius: 20px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 14px 34px rgba(11,18,55,.06);
}

body[data-page="home"] .process-grid article strong {
    display: block;
    margin-bottom: 42px;
    color: var(--ast-blue);
    font-size: .78rem;
    letter-spacing: .12em;
}

body[data-page="home"] .process-grid article h3 {
    margin: 0;
    font-size: clamp(1rem,1.35vw,1.22rem);
    line-height: 1.35;
}

body[data-page="home"] .grid-2 {
    align-items: stretch;
    gap: clamp(24px,4vw,52px);
}

body[data-page="home"] .grid-2 > .feature-panel {
    display: flex;
    min-height: 390px;
    padding: clamp(38px,4vw,58px);
    flex-direction: column;
    justify-content: center;
}

body[data-page="home"] .feature-panel .section-title {
    position: relative;
    z-index: 1;
    max-width: 520px;
    font-size: clamp(2rem,3.1vw,3.25rem);
    line-height: 1.06;
}

body[data-page="home"] .feature-panel .section-copy,
body[data-page="home"] .feature-panel .eyebrow {
    position: relative;
    z-index: 1;
}

/* About-page national alignment section */
body[data-page="about"] .section-light .grid-2 {
    grid-template-columns: minmax(0,1fr) minmax(380px,.92fr);
    align-items: center;
    gap: clamp(42px,6vw,86px);
}

body[data-page="about"] .section-light .grid-2 > * {
    width: 100%;
    min-width: 0;
}

body[data-page="about"] .section-light .section-copy {
    width: 100%;
    max-width: 650px;
    overflow-wrap: normal;
    word-break: normal;
}

body[data-page="about"] .section-light .check-list {
    width: 100%;
    max-width: 650px;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 12px;
}

body[data-page="about"] .section-light .check-list li {
    display: block;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid var(--line-dark);
    border-radius: 14px;
    background: rgba(255,255,255,.7);
}

body[data-page="about"] .section-light .check-list li > span {
    color: var(--muted-dark);
    line-height: 1.5;
    overflow-wrap: normal;
    word-break: normal;
}

@media(max-width:880px) {
    body[data-page="about"] .section-light .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media(max-width:560px) {
    body[data-page="about"] .section-light .check-list {
        grid-template-columns: 1fr;
    }
}

@media(max-width:1020px) {
    body[data-page="home"] .process-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
    body[data-page="home"] .grid-2 > .feature-panel {
        min-height: 340px;
    }
}

@media(max-width:760px) {
    body[data-page="home"] .capability-grid,
    body[data-page="home"] .process-grid {
        grid-template-columns: 1fr!important;
    }
    body[data-page="home"] .capability-card,
    body[data-page="home"] .process-grid article,
    body[data-page="home"] .grid-2 > .feature-panel {
        min-height: auto;
    }
    body[data-page="home"] .process-grid article strong {
        margin-bottom: 22px;
    }
    body[data-page="home"] .feature-panel .section-title {
        font-size: clamp(1.8rem,9vw,2.65rem);
    }
}

/* Final mobile layout pass - keeps the V2 desktop design intact. */
@media(max-width:760px) {
    :root {
        --header-h: 72px;
        --container: calc(100% - 32px);
    }

    .site-header {
        height: var(--header-h);
    }

    .header-inner {
        width: var(--container);
        gap: 10px;
    }

    .brand img {
        width: clamp(132px,38vw,160px);
        max-height: 54px;
        object-fit: contain;
    }

    .header-actions {
        flex: 0 0 auto;
    }

    .lang-toggle,.menu-toggle {
        width: 40px;
        height: 40px;
    }

    .primary-nav,html[dir=rtl] .primary-nav {
        inset: var(--header-h) 0 0;
        height: calc(100dvh - var(--header-h));
        padding: 18px 22px 42px;
    }

    .nav-link {
        padding: 15px 6px;
        font-size: 1rem;
    }

    .hero {
        min-height: 100svh;
        padding: calc(var(--header-h) + 42px) 0 58px;
        align-items: flex-start;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero .eyebrow {
        display: flex;
        width: 100%;
        margin-bottom: 20px;
        font-size: .69rem;
        line-height: 1.45;
        letter-spacing: .105em;
    }

    .hero .eyebrow:before {
        width: 20px;
        flex: 0 0 20px;
    }

    body[data-page="home"] .hero .display-title {
        max-width: 11.5em;
        font-size: clamp(2.35rem,11.2vw,3.35rem);
        line-height: 1.02;
        letter-spacing: -.035em;
        text-wrap: balance;
    }

    html[dir=rtl] body[data-page="home"] .hero .display-title {
        max-width: 100%;
        font-size: clamp(2.25rem,10.5vw,3.15rem);
        line-height: 1.17;
        letter-spacing: -.015em;
    }

    .hero .lead {
        max-width: 38rem;
        margin: 22px 0 26px;
        font-size: 1rem;
        line-height: 1.68;
    }

    .page-hero {
        min-height: 0;
        padding: calc(var(--header-h) + 52px) 0 58px;
    }

    .page-hero .display-title,.page-title {
        max-width: 100%;
        font-size: clamp(2.25rem,10.5vw,3.25rem);
        line-height: 1.05;
        text-wrap: balance;
    }

    html[dir=rtl] .page-hero .display-title,
    html[dir=rtl] .page-title {
        font-size: clamp(2.15rem,9.8vw,3rem);
        line-height: 1.18;
    }

    .section-title,
    body[data-page="home"] .section-title {
        max-width: 100%;
        font-size: clamp(2rem,9vw,2.8rem);
        line-height: 1.08;
        text-wrap: balance;
    }

    html[dir=rtl] .section-title,
    html[dir=rtl] body[data-page="home"] .section-title {
        line-height: 1.2;
    }

    .button-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .button-row .btn {
        width: 100%;
        min-height: 52px;
        justify-content: center;
        padding-inline: 20px;
        text-align: center;
        white-space: normal;
    }

    .section-head > .btn {
        width: 100%;
        justify-content: center;
    }

    .capability-card,.card,.feature-panel,.contact-form,.contact-info,
    .solution-block,.product-body,.portal-login {
        min-width: 0;
    }

    body[data-page="home"] .capability-card,
    body[data-page="home"] .grid-2 > .feature-panel,
    .contact-form,.contact-info,.solution-block {
        padding: 26px 22px;
    }

    .system-list li,.check-list li {
        padding-inline: 18px;
    }

    .project-gallery,.product-grid,.credential-logo-grid,
    .capability-grid,.process-grid,.grid-2,.grid-3,.grid-4 {
        width: 100%;
        min-width: 0;
    }

    .project-card,.gallery-card,.product-card,.credential-logo-card {
        min-width: 0;
        max-width: 100%;
    }

    .project-filters,.solution-nav {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
    }

    .project-filters::-webkit-scrollbar,.solution-nav::-webkit-scrollbar {
        display: none;
    }

    .project-filters .filter-btn,.solution-nav a {
        flex: 0 0 auto;
    }

    .portal-main,.portal-table-wrap {
        min-width: 0;
        max-width: 100%;
        overflow-x: auto;
    }

    .footer-grid > * {
        min-width: 0;
    }

    .footer-brand img {
        max-width: min(225px,72vw);
        height: auto;
    }

    html[dir=rtl] .hero-content,
    html[dir=rtl] .page-hero .container,
    html[dir=rtl] .footer-grid,
    html[dir=rtl] .contact-info,
    html[dir=rtl] .contact-form {
        text-align: right;
    }
}

@media(max-width:390px) {
    :root {
        --container: calc(100% - 24px);
    }

    .brand img {
        width: 126px;
    }

    .lang-toggle,.menu-toggle {
        width: 38px;
        height: 38px;
    }

    body[data-page="home"] .hero .display-title {
        font-size: clamp(2.15rem,10.8vw,2.65rem);
    }

    .page-hero .display-title,.page-title {
        font-size: clamp(2.05rem,10vw,2.55rem);
    }

    .section-title,
    body[data-page="home"] .section-title {
        font-size: clamp(1.85rem,8.8vw,2.35rem);
    }
}

/* Android-sized screens: keep the homepage hero compact and readable. */
@media(max-width:760px) {
    body[data-page="home"] .hero {
        min-height: auto;
        padding-bottom: 46px;
    }

    body[data-page="home"] .hero .display-title {
        max-width: 100%;
        font-size: clamp(2rem, 9.2vw, 2.75rem);
        line-height: 1.08;
        letter-spacing: -.025em;
    }

    body[data-page="home"] .hero .lead {
        margin: 18px 0 22px;
        font-size: .95rem;
        line-height: 1.55;
    }
}

/* AST brand statement, SBS group companies and WhatsApp presentation */
.brand-statement {
    margin: 20px 0 0;
    color: #fff;
    font-size: clamp(1.02rem,1.5vw,1.26rem);
    font-weight: 800;
    letter-spacing: .03em;
    line-height: 1.35
}

html[dir=rtl] .brand-statement {
    letter-spacing: 0
}

.group-company-grid {
    margin-top: 28px
}

.group-company-card {
    min-height: 258px;
    text-decoration: none
}

.group-company-card .group-company-logo-stage {
    height: 160px;
    background: linear-gradient(145deg,#070b20,#111b4b);
    border-bottom-color: rgba(255,255,255,.12)
}

.group-company-card .group-company-logo-stage .credential-logo {
    max-height: 112px
}

.group-company-card > strong {
    color: #101827;
    text-align: center;
    font-size: .95rem;
    line-height: 1.3
}

.group-company-url {
    display: block;
    margin-top: -8px;
    color: #68748a;
    font-size: .74rem;
    font-weight: 700;
    text-align: center
}

@media(max-width:760px) {
    body[data-page="home"] .brand-statement {
        margin-top: 18px;
        font-size: 1rem;
        line-height: 1.45
    }
}
