/* ============================================================================
   AIGENSY EXACT CORPORATE LANDING THEME — RTL ADAPTED FOR EMG ERP & STORES
   Reference: AIgensy ThemeForest #65212570 (demo.modeltheme.com/aigensy)
   Palette: Canvas #F4F2FF | Dark #0B0A1A / #14112B | Accent #C6FF3D | Purple #7B2CFF
   ============================================================================ */

:root {
    --ag-canvas: #F4F2FF;
    --ag-canvas-soft: #ECE9FF;
    --ag-dark: #0B0A1A;
    --ag-dark-2: #14112B;
    --ag-dark-3: #1C1740;
    --ag-accent: #C6FF3D;
    --ag-accent-hover: #B2EE1F;
    --ag-purple: #7B2CFF;
    --ag-text: #2A2740;
    --ag-text-soft: #565273;
    --ag-lavender: #8F84B8;
    --ag-white: #FFFFFF;
    --ag-border-light: rgba(11, 10, 26, 0.10);
    --ag-border-dark: rgba(255, 255, 255, 0.12);
    --ag-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ag-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--ag-canvas);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

body.aigensy-body {
    background-color: var(--ag-canvas);
    color: var(--ag-text);
    font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
    line-height: 1.65;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

.ag-num {
    font-family: 'Space Grotesk', 'Cairo', sans-serif;
    letter-spacing: -0.02em;
}

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

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

.ag-container {
    width: 100%;
    max-width: 1360px;
    margin-inline: auto;
    padding-inline: 24px;
}

.ag-shell-wide {
    width: 100%;
    max-width: 1860px;
    margin-inline: auto;
    padding-inline: 14px;
}

/* ---------- Scroll Reveal Animations ---------- */
.ag-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ag-ease), transform 0.8s var(--ag-ease);
}

.ag-reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- AIgensy Signature Animated Pill Button ---------- */
.ag-pill-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--ag-accent);
    color: var(--ag-dark) !important;
    border: none;
    border-radius: 100px;
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 8px 24px rgba(198, 255, 61, 0.24);
}

.ag-pill-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.62) 50%, transparent 70%);
    transform: translateX(-110%);
    transition: transform 0.7s ease;
    pointer-events: none;
}

.ag-pill-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(198, 255, 61, 0.48);
    background: var(--ag-accent);
}

.ag-pill-btn:hover::before {
    transform: translateX(110%);
}

.ag-pill-btn__label,
.ag-pill-btn__arrow {
    position: relative;
    z-index: 1;
}

.ag-pill-btn__arrow {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s var(--ag-spring);
}

.ag-pill-btn__arrow svg {
    width: 19px;
    height: 19px;
    transform: scaleX(-1); /* RTL arrow orientation */
}

.ag-pill-btn:hover .ag-pill-btn__arrow {
    transform: translate(-3px, -3px) rotate(-45deg);
}

.ag-pill-btn--dark {
    background: var(--ag-dark);
    color: var(--ag-white) !important;
    border: 1px solid rgba(11, 10, 26, 0.16);
    box-shadow: 0 8px 22px rgba(11, 10, 26, 0.12);
}

.ag-pill-btn--dark:hover {
    background: var(--ag-dark-3);
    color: var(--ag-accent) !important;
    box-shadow: 0 14px 30px rgba(11, 10, 26, 0.22);
}

.ag-pill-btn--ghost {
    background: rgba(255, 255, 255, 0.10);
    color: var(--ag-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    box-shadow: none;
}

.ag-pill-btn--ghost:hover {
    background: rgba(198, 255, 61, 0.16);
    border-color: var(--ag-accent);
    color: var(--ag-accent) !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

/* ---------- AIgensy Dual Section Header ---------- */
.ag-dual-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 48px;
}

.ag-dual-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ag-white);
    color: var(--ag-dark);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 800;
    margin-bottom: 18px;
    box-shadow: 0 4px 16px rgba(11, 10, 26, 0.06);
}

.ag-dual-subtitle--dark {
    background: rgba(198, 255, 61, 0.12);
    border: 1px solid rgba(198, 255, 61, 0.30);
    color: var(--ag-accent);
    box-shadow: none;
}

.ag-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ag-accent);
    box-shadow: 0 0 10px var(--ag-accent);
    animation: agPulseRing 2s ease-out infinite;
    flex-shrink: 0;
}

@keyframes agPulseRing {
    0%   { box-shadow: 0 0 0 0 rgba(198, 255, 61, 0.65); }
    70%  { box-shadow: 0 0 0 12px rgba(198, 255, 61, 0); }
    100% { box-shadow: 0 0 0 0 rgba(198, 255, 61, 0); }
}

.ag-dual-title {
    font-size: clamp(28px, 3.8vw, 50px);
    font-weight: 900;
    line-height: 1.18;
    color: var(--ag-dark);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.ag-dual-title--light {
    color: var(--ag-white);
}

.ag-dual-highlight {
    position: relative;
    display: inline-block;
    color: var(--ag-purple);
}

.ag-dual-title--light .ag-dual-highlight {
    color: var(--ag-accent);
}

.ag-dual-desc {
    font-size: 16px;
    color: var(--ag-text-soft);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
    font-weight: 600;
}

.ag-dual-desc--light {
    color: rgba(244, 242, 255, 0.82);
}

/* ============================================================================
   1. HEADER (Overlaid Inside Rounded Hero + Sticky Glass on Scroll)
   ============================================================================ */
.ag-header {
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding-inline: 28px;
    transition: top 0.3s ease, padding 0.3s ease;
    pointer-events: none;
}

.ag-header__bar {
    max-width: 1380px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 22px;
    border-radius: 100px;
    background: rgba(11, 10, 26, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    pointer-events: auto;
}

.ag-header.is-scrolled {
    top: 10px;
}

.ag-header.is-scrolled .ag-header__bar {
    background: rgba(11, 10, 26, 0.92);
    border-color: rgba(198, 255, 61, 0.28);
    box-shadow: 0 16px 40px rgba(11, 10, 26, 0.32);
}

.ag-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ag-white);
    min-width: 0;
}

.ag-brand__mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: var(--ag-accent);
    color: var(--ag-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(198, 255, 61, 0.35);
}

.ag-brand__mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
    border-radius: inherit;
}

.ag-brand__text {
    min-width: 0;
}

.ag-brand__name {
    font-size: 15px;
    font-weight: 900;
    color: var(--ag-white);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

.ag-brand__tag {
    font-size: 11px;
    color: var(--ag-accent);
    font-weight: 700;
    display: block;
    letter-spacing: 0.03em;
}

.ag-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.ag-nav__item {
    position: relative;
}

.ag-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: 100px;
    color: rgba(255, 255, 255, 0.90);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.25s ease, background 0.25s ease;
}

.ag-nav__link i.ag-caret {
    font-size: 10px;
    opacity: 0.75;
    transition: transform 0.25s ease;
}

.ag-nav__item:hover > .ag-nav__link,
.ag-nav__link.is-active {
    color: var(--ag-accent);
    background: rgba(255, 255, 255, 0.07);
}

.ag-nav__item:hover > .ag-nav__link i.ag-caret {
    transform: rotate(180deg);
}

/* Header Submenu Dropdown */
.ag-submenu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    background: rgba(11, 10, 26, 0.96);
    border: 1px solid rgba(198, 255, 61, 0.25);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.24s var(--ag-ease);
    z-index: 1100;
    list-style: none;
}

.ag-nav__item:hover .ag-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ag-submenu a,
.ag-submenu button,
.ag-submenu li a,
.ag-submenu li button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13.5px;
    font-weight: 700;
    font-family: inherit;
    background: transparent;
    border: none;
    text-align: right;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ag-submenu a i,
.ag-submenu button i,
.ag-submenu li a i,
.ag-submenu li button i {
    color: var(--ag-accent);
    width: 18px;
    text-align: center;
}

.ag-submenu a:hover,
.ag-submenu button:hover,
.ag-submenu li a:hover,
.ag-submenu li button:hover {
    background: rgba(198, 255, 61, 0.12);
    color: var(--ag-accent);
    transform: translateX(-4px);
}

.ag-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ag-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: var(--ag-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ag-icon-btn:hover {
    background: var(--ag-accent);
    border-color: var(--ag-accent);
    color: var(--ag-dark);
    transform: translateY(-2px);
}

.ag-header__cta {
    padding: 11px 22px;
    font-size: 13.5px;
}

.ag-burger-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(198, 255, 61, 0.45);
    background: var(--ag-accent);
    color: var(--ag-dark);
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

/* Mobile Off-Canvas Drawer */
.ag-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 10, 26, 0.72);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ag-drawer-backdrop.is-open {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ag-drawer {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    bottom: 0;
    width: min(320px, 85vw);
    max-width: 85vw;
    background: var(--ag-dark);
    border-left: 1px solid rgba(198, 255, 61, 0.22);
    z-index: 2001;
    padding: 22px 18px;
    display: none;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.34s var(--ag-ease), opacity 0.25s ease, visibility 0.34s ease;
}

.ag-drawer.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}

.ag-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.ag-drawer__head strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ag-drawer__links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
    min-width: 0;
}

.ag-drawer__links a,
.ag-drawer__links button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-width: 0;
    padding: 11px 13px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--ag-white);
    font-size: 13.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-align: right;
    transition: all 0.2s ease;
}

.ag-drawer__links a span,
.ag-drawer__links button span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ag-drawer__links a i,
.ag-drawer__links button i {
    color: var(--ag-accent);
    width: 18px;
    flex-shrink: 0;
    text-align: center;
}

.ag-drawer__links a:hover,
.ag-drawer__links button:hover {
    background: rgba(198, 255, 61, 0.14);
    border-color: rgba(198, 255, 61, 0.35);
    color: var(--ag-accent);
}

/* Search Overlay Modal */
.ag-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 10, 26, 0.92);
    backdrop-filter: blur(16px);
    z-index: 2200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ag-search-overlay.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.ag-search-overlay__box {
    width: 100%;
    max-width: 680px;
    text-align: center;
}

.ag-search-overlay__form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(198, 255, 61, 0.45);
    border-radius: 100px;
    padding: 8px 10px 8px 22px;
    gap: 12px;
}

.ag-search-overlay__form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--ag-white);
    font-size: 18px;
    font-family: inherit;
    padding: 10px 12px;
}

.ag-search-overlay__close {
    position: absolute;
    top: 28px;
    left: 28px;
}

/* ============================================================================
   2. HERO SECTION (Exact AIgensy Rounded 25px Full-Height Video Lab Hero)
   ============================================================================ */
.ag-hero-outer {
    padding: 10px 10px 0;
}

.ag-hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 20px);
    min-height: calc(100svh - 20px);
    border-radius: 26px;
    background: var(--ag-dark);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 118px clamp(22px, 5vw, 72px) 44px;
    isolation: isolate;
}

.ag-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.ag-hero__yt {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100%;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none;
    z-index: 0;
}

.ag-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(circle at 18% 72%, rgba(198, 255, 61, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 80% 22%, rgba(123, 44, 255, 0.22) 0%, transparent 48%),
        linear-gradient(270deg, rgba(11, 10, 26, 0.84) 0%, rgba(11, 10, 26, 0.56) 52%, rgba(11, 10, 26, 0.34) 100%),
        linear-gradient(180deg, rgba(11, 10, 26, 0.45) 0%, rgba(11, 10, 26, 0.18) 45%, rgba(11, 10, 26, 0.78) 100%);
    pointer-events: none;
}

.ag-hero__watermark {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(90px, 17vw, 240px);
    font-weight: 900;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.035);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.ag-hero__grid {
    position: relative;
    z-index: 3;
    max-width: 1360px;
    width: 100%;
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
    padding-block: 24px;
}

.ag-hero__pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(198, 255, 61, 0.12);
    border: 1px solid rgba(198, 255, 61, 0.32);
    color: var(--ag-accent);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}

.ag-hero__headline {
    font-size: clamp(30px, 4.6vw, 62px);
    font-weight: 900;
    line-height: 1.16;
    color: var(--ag-white);
    margin-bottom: 20px;
    letter-spacing: -0.015em;
}

.ag-hero__headline-accent {
    color: var(--ag-accent);
    display: inline-block;
    position: relative;
}

.ag-hero__sub {
    font-size: clamp(15px, 1.25vw, 18.5px);
    line-height: 1.75;
    color: rgba(244, 242, 255, 0.86);
    max-width: 620px;
    margin-bottom: 30px;
    font-weight: 600;
}

.ag-hero__cta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* Right Floating Turbine / Tech Visual + Glow Particles */
.ag-hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ag-hero__turbine {
    position: relative;
    width: min(390px, 100%);
    animation: agHeroFloat 6s ease-in-out infinite;
}

@keyframes agHeroFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

.ag-hero__turbine-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.55));
}

.ag-hero__particle {
    position: absolute;
    border-radius: 50%;
    background: var(--ag-accent);
    box-shadow: 0 0 18px var(--ag-accent), 0 0 36px rgba(198, 255, 61, 0.6);
    pointer-events: none;
}

.ag-hero__particle--p1 {
    width: 12px; height: 12px;
    top: 14%; right: 18%;
    animation: agPulseRing 2.4s infinite;
}

.ag-hero__particle--p2 {
    width: 9px; height: 9px;
    bottom: 22%; left: 12%;
    background: #9D6BFF;
    box-shadow: 0 0 18px #9D6BFF;
    animation: agHeroFloat 4s ease-in-out infinite reverse;
}

.ag-hero__particle--p3 {
    width: 10px; height: 10px;
    top: 48%; left: 6%;
    animation: agPulseRing 3.1s infinite 0.7s;
}

/* Bottom Floating Glass Stat Card + Image Card (Exact AIgensy Hero Cards) */
.ag-hero__bottom-bar {
    position: relative;
    z-index: 3;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.ag-hero__cards {
    display: flex;
    align-items: stretch;
    gap: 16px;
}

.ag-hero__stat-card {
    background: rgba(11, 10, 26, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 18px 24px;
    min-width: 225px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ag-hero__stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(198, 255, 61, 0.5);
}

.ag-hero__stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(198, 255, 61, 0.14);
    color: var(--ag-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.ag-hero__stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: var(--ag-white);
    line-height: 1.05;
}

.ag-hero__stat-number span {
    color: var(--ag-accent);
}

.ag-hero__stat-label {
    font-size: 13px;
    color: rgba(244, 242, 255, 0.78);
    font-weight: 700;
}

.ag-hero__image-card {
    width: 175px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--ag-dark-2);
    position: relative;
}

.ag-hero__image-card img {
    width: 100%;
    height: 100%;
    min-height: 126px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ag-hero__image-card:hover img {
    transform: scale(1.08);
}

.ag-hero__quick-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ag-hero__slide-pill {
    padding: 8px 15px;
    border-radius: 100px;
    background: rgba(11, 10, 26, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
}

.ag-hero__slide-pill.is-active,
.ag-hero__slide-pill:hover {
    background: var(--ag-accent);
    border-color: var(--ag-accent);
    color: var(--ag-dark);
}

/* ============================================================================
   3. PARTNER BRANDS INFINITE CAROUSEL (mtfe-client-carousel)
   ============================================================================ */
.ag-partners-strip {
    padding: 42px 0 26px;
    overflow: hidden;
}

.ag-partners-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.ag-partners-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    animation: agMarqueeScroll 34s linear infinite;
}

.ag-partners-marquee:hover .ag-partners-track {
    animation-play-state: paused;
}

@keyframes agMarqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(50%); } /* RTL smooth loop */
}

.ag-partner-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 26px;
    border-radius: 100px;
    background: var(--ag-white);
    border: 1px solid rgba(11, 10, 26, 0.07);
    box-shadow: 0 6px 20px rgba(11, 10, 26, 0.04);
    color: var(--ag-dark);
    font-weight: 800;
    font-size: 15px;
    transition: all 0.3s ease;
}

.ag-partner-chip i {
    color: var(--ag-purple);
    font-size: 17px;
}

.ag-partner-chip:hover {
    transform: translateY(-3px);
    border-color: var(--ag-accent-hover);
    box-shadow: 0 12px 28px rgba(11, 10, 26, 0.09);
}

/* ============================================================================
   4. ABOUT US SECTION (Exact mtfe-about-us Dual Stacked Images + Badge)
   ============================================================================ */
.ag-about-section {
    padding: 72px 0 84px;
}

.ag-about {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.ag-about__images {
    position: relative;
    min-height: 580px;
}

.ag-about__img-card {
    position: absolute;
    border-radius: 28px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 22px 50px rgba(11, 10, 26, 0.14);
}

.ag-about__img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ag-about__img-1 {
    top: 0;
    right: 0;
    width: 70%;
    height: 85%;
}

.ag-about__img-2 {
    bottom: 0;
    left: 0;
    width: 56%;
    height: 56%;
    border: 7px solid var(--ag-canvas);
    z-index: 2;
}

.ag-about__exp-badge {
    position: absolute;
    top: 14%;
    left: 8%;
    background: var(--ag-white);
    border-radius: 20px;
    padding: 16px 22px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 16px 40px rgba(11, 10, 26, 0.12);
    z-index: 3;
    animation: agHeroFloat 4.5s ease-in-out infinite;
}

.ag-about__exp-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--ag-accent);
    color: var(--ag-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    animation: agPulseRing 2.4s ease-out infinite;
    flex-shrink: 0;
}

.ag-about__exp-years {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: var(--ag-dark);
    line-height: 1.05;
}

.ag-about__exp-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ag-text-soft);
}

.ag-about__heading {
    font-size: clamp(27px, 3.4vw, 46px);
    font-weight: 900;
    line-height: 1.2;
    color: var(--ag-dark);
    margin-bottom: 18px;
}

.ag-about__intro {
    font-size: 16px;
    color: var(--ag-text-soft);
    line-height: 1.75;
    margin-bottom: 26px;
    font-weight: 600;
}

.ag-about__quality-card {
    background: var(--ag-white);
    border-radius: 22px;
    padding: 26px 28px;
    margin-bottom: 28px;
    box-shadow: 0 12px 34px rgba(11, 10, 26, 0.05);
    border: 1px solid rgba(11, 10, 26, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ag-about__quality-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(11, 10, 26, 0.09);
}

.ag-about__quality-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 12px;
}

.ag-about__quality-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ag-accent);
    color: var(--ag-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.5s var(--ag-spring);
}

.ag-about__quality-card:hover .ag-about__quality-icon {
    transform: rotate(360deg) scale(1.08);
}

.ag-about__quality-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--ag-dark);
}

.ag-about__quality-desc {
    font-size: 14.5px;
    color: var(--ag-text-soft);
    margin-bottom: 16px;
    font-weight: 600;
}

.ag-about__creds {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid rgba(11, 10, 26, 0.08);
}

.ag-cred-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--ag-dark);
    background: var(--ag-canvas);
    padding: 6px 13px;
    border-radius: 100px;
}

.ag-cred-pill i {
    color: var(--ag-purple);
}

.ag-about__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.ag-about__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ag-about__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15.5px;
    font-weight: 800;
    color: var(--ag-dark);
}

.ag-about__check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ag-accent);
    color: var(--ag-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* ============================================================================
   5. CORE SECTORS / CAPABILITIES (Exact mtfe-aigensy-services-core Shell)
   ============================================================================ */
.ag-services-section {
    padding: 24px 0 72px;
}

.ag-services__shell {
    border-radius: 28px;
    padding: 58px clamp(18px, 3vw, 42px) 48px;
    background: linear-gradient(
        180deg,
        rgba(11, 10, 26, 0.94) 0%,
        rgba(20, 17, 43, 0.86) 36%,
        rgba(143, 132, 184, 0.22) 68%,
        rgba(244, 242, 255, 0.98) 100%
    );
}

.ag-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1380px;
    margin: 0 auto;
}

.ag-service-card-wrap {
    position: relative;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
}

.ag-service-circle {
    position: absolute;
    top: 0;
    left: 18px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(155deg, #0B0A1A 0%, #1C1740 100%);
    border: 1.5px solid rgba(198, 255, 61, 0.45);
    color: var(--ag-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 3;
    transition: all 0.4s var(--ag-spring);
    box-shadow: 0 10px 24px rgba(11, 10, 26, 0.25);
}

.ag-service-card-wrap:hover .ag-service-circle {
    background: var(--ag-accent);
    color: var(--ag-dark);
    border-color: var(--ag-accent);
    transform: scale(1.1) rotate(-10deg);
}

.ag-service-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 34px 22px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 18px 40px rgba(11, 10, 26, 0.08);
    transition: transform 0.35s var(--ag-ease), box-shadow 0.35s var(--ag-ease);
}

.ag-service-card-wrap:hover .ag-service-card {
    transform: translateY(-6px);
    box-shadow: 0 26px 52px rgba(11, 10, 26, 0.15);
    background: var(--ag-white);
}

.ag-service-code {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--ag-purple);
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.ag-service-title {
    font-size: 21px;
    font-weight: 900;
    color: var(--ag-dark);
    margin-bottom: 8px;
}

.ag-service-desc {
    font-size: 14.5px;
    color: var(--ag-text-soft);
    line-height: 1.65;
    margin-bottom: 12px;
    font-weight: 600;
}

.ag-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ag-service-tag {
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 100px;
    background: var(--ag-canvas);
    color: var(--ag-dark);
}

.ag-service-figure {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 195px;
}

.ag-service-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s var(--ag-ease);
}

.ag-service-card-wrap:hover .ag-service-figure img {
    transform: scale(1.06);
}

.ag-service-cta-strip {
    position: absolute;
    bottom: 10px;
    right: 10px;
    left: 10px;
    background: rgba(11, 10, 26, 0.84);
    backdrop-filter: blur(8px);
    color: var(--ag-white);
    padding: 9px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 800;
    transition: background 0.25s ease, color 0.25s ease;
}

.ag-service-card-wrap:hover .ag-service-cta-strip {
    background: var(--ag-accent);
    color: var(--ag-dark);
}

/* ============================================================================
   6. SPECIALIZED ONLINE STORES SHOWCASE (Integrated in AIgensy Style)
   ============================================================================ */
.ag-stores-section {
    padding: 36px 0 80px;
}

.ag-stores-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    background: var(--ag-white);
    padding: 14px 20px;
    border-radius: 22px;
    box-shadow: 0 10px 30px rgba(11, 10, 26, 0.05);
}

.ag-sector-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.ag-sector-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 100px;
    border: 1px solid rgba(11, 10, 26, 0.10);
    background: var(--ag-canvas);
    color: var(--ag-dark);
    font-size: 13.5px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ag-sector-tab.active,
.ag-sector-tab:hover {
    background: var(--ag-dark);
    border-color: var(--ag-dark);
    color: var(--ag-accent);
}

.ag-store-search {
    position: relative;
    min-width: 260px;
    flex: 0 1 320px;
}

.ag-store-search input {
    width: 100%;
    padding: 10px 38px 10px 16px;
    border-radius: 100px;
    border: 1px solid rgba(11, 10, 26, 0.14);
    background: var(--ag-canvas);
    color: var(--ag-dark);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    outline: none;
    transition: border-color 0.25s ease;
}

.ag-store-search input:focus {
    border-color: var(--ag-purple);
}

.ag-store-search i {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ag-purple);
    font-size: 14px;
}

.ag-stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.ag-store-card {
    background: var(--ag-white);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(11, 10, 26, 0.07);
    box-shadow: 0 16px 38px rgba(11, 10, 26, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s var(--ag-ease), box-shadow 0.35s var(--ag-ease);
}

.ag-store-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 54px rgba(11, 10, 26, 0.13);
}

.ag-store-card__cover {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: var(--ag-dark);
}

.ag-store-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ag-ease);
}

.ag-store-card:hover .ag-store-card__cover img {
    transform: scale(1.07);
}

.ag-store-card__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 10, 26, 0.35) 0%, transparent 45%, rgba(11, 10, 26, 0.80) 100%);
}

.ag-store-card__badges {
    position: absolute;
    top: 14px;
    right: 14px;
    left: 14px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ag-store-badge-sec {
    background: rgba(11, 10, 26, 0.78);
    backdrop-filter: blur(8px);
    color: var(--ag-white);
    padding: 6px 13px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ag-store-badge-sec i {
    color: var(--ag-accent);
}

.ag-store-badge-live {
    background: var(--ag-accent);
    color: var(--ag-dark);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11.5px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ag-store-card__body {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ag-store-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ag-store-card__logo {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--ag-dark);
    color: var(--ag-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--ag-accent);
}

.ag-store-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ag-store-card__title {
    font-size: 19px;
    font-weight: 900;
    color: var(--ag-dark);
    line-height: 1.25;
}

.ag-store-card__sub {
    font-size: 14px;
    color: var(--ag-text-soft);
    font-weight: 600;
    line-height: 1.6;
}

.ag-store-card__kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: var(--ag-canvas);
    padding: 12px;
    border-radius: 16px;
    text-align: center;
}

.ag-store-kpi strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--ag-dark);
    line-height: 1.1;
}

.ag-store-kpi span {
    font-size: 11.5px;
    color: var(--ag-text-soft);
    font-weight: 700;
}

.ag-store-card__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ag-store-cat-chip {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 100px;
    background: var(--ag-canvas);
    color: var(--ag-dark);
    transition: all 0.2s ease;
}

.ag-store-cat-chip:hover {
    background: var(--ag-dark);
    color: var(--ag-accent);
}

.ag-store-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ag-store-enter-btn {
    flex: 1;
    padding: 13px 20px;
    font-size: 14px;
}

.ag-store-copy-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(11, 10, 26, 0.14);
    background: var(--ag-canvas);
    color: var(--ag-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ag-store-copy-btn:hover {
    background: var(--ag-dark);
    color: var(--ag-accent);
}

/* ============================================================================
   7. ENGINEERING PROCESS (Exact mtfe-aigensy-process Arch Cards + 01..04 Pill)
   ============================================================================ */
.ag-process-section {
    padding: 36px 0 80px;
}

.ag-process__wrap {
    border-radius: 28px;
    padding: 64px clamp(18px, 3vw, 42px);
    background: linear-gradient(
        180deg,
        #F4F2FF 0%,
        rgba(244, 242, 255, 0.94) 36%,
        rgba(143, 132, 184, 0.18) 68%,
        rgba(20, 17, 43, 0.26) 100%
    );
}

.ag-process__energy-bolt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--ag-dark);
    color: var(--ag-accent);
    vertical-align: middle;
    margin-inline: 8px;
    box-shadow: 0 10px 24px rgba(11, 10, 26, 0.22);
}

.ag-process__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1380px;
    margin: 0 auto;
}

.ag-proc-card {
    position: relative;
    height: 520px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.72);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(11, 10, 26, 0.07);
    box-shadow: 0 14px 34px rgba(11, 10, 26, 0.06);
    transition: transform 0.35s var(--ag-ease), box-shadow 0.35s var(--ag-ease);
}

.ag-proc-card--reversed {
    flex-direction: column-reverse;
}

.ag-proc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(11, 10, 26, 0.13);
    background: var(--ag-white);
}

.ag-proc-card__visual {
    height: 50%;
    width: 100%;
    overflow: hidden;
    border-radius: 1000px 1000px 0 0;
    background: var(--ag-dark-2);
}

.ag-proc-card--reversed .ag-proc-card__visual {
    border-radius: 0 0 1000px 1000px;
}

.ag-proc-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ag-ease);
}

.ag-proc-card:hover .ag-proc-card__visual img {
    transform: scale(1.07);
}

.ag-proc-card__pill {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ag-dark);
    color: var(--ag-white);
    border: 4px solid var(--ag-canvas);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 800;
    z-index: 5;
    transition: all 0.35s var(--ag-spring);
}

.ag-proc-card:hover .ag-proc-card__pill {
    background: var(--ag-accent);
    color: var(--ag-dark);
    transform: translate(-50%, -50%) scale(1.12);
}

.ag-proc-card__content {
    height: 50%;
    padding: 34px 22px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ag-proc-card__title {
    font-size: 20px;
    font-weight: 900;
    color: var(--ag-dark);
    margin-bottom: 10px;
}

.ag-proc-card__desc {
    font-size: 14px;
    color: var(--ag-text-soft);
    line-height: 1.65;
    font-weight: 600;
}

/* ============================================================================
   8. PROJECTS PORTFOLIO CAROUSEL + STACKED AVATARS CALLOUT
   ============================================================================ */
.ag-portfolio-section {
    padding: 40px 0 64px;
    overflow: hidden;
}

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

.ag-port-card {
    position: relative;
    min-height: 410px;
    border-radius: 22px;
    overflow: hidden;
    background: var(--ag-dark);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.45s var(--ag-ease);
}

.ag-port-card.is-active,
.ag-port-card:hover {
    border-color: rgba(198, 255, 61, 0.65);
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(11, 10, 26, 0.28);
}

.ag-port-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ag-ease);
}

.ag-port-card:hover .ag-port-card__img {
    transform: scale(1.06);
}

.ag-port-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 10, 26, 0.08) 0%, rgba(11, 10, 26, 0.65) 55%, rgba(11, 10, 26, 0.95) 100%);
    z-index: 1;
}

.ag-port-card__panel {
    position: relative;
    z-index: 2;
    padding: 24px;
}

.ag-port-card__type {
    display: inline-block;
    background: rgba(11, 10, 26, 0.65);
    border: 1px solid rgba(198, 255, 61, 0.40);
    color: var(--ag-accent);
    padding: 5px 13px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.ag-port-card__title {
    font-size: 19px;
    font-weight: 900;
    color: var(--ag-white);
    line-height: 1.35;
    margin-bottom: 12px;
}

.ag-port-card__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.ag-port-card__metrics span {
    display: block;
    font-size: 11px;
    color: rgba(244, 242, 255, 0.62);
}

.ag-port-card__metrics strong {
    font-size: 12.5px;
    color: var(--ag-white);
    font-weight: 800;
}

/* Stacked Photos Callout Bar */
.ag-callout-strip {
    margin-top: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    background: radial-gradient(circle at top right, #1C1740 0%, #0B0A1A 80%);
    border: 1px solid rgba(198, 255, 61, 0.28);
    max-width: 1120px;
    margin-inline: auto;
    padding: 18px 28px;
    border-radius: 28px;
    box-shadow: 0 18px 42px rgba(11, 10, 26, 0.18);
}

.ag-stacked-avatars {
    display: flex;
    align-items: center;
}

.ag-stacked-avatars span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--ag-dark);
    color: var(--ag-accent);
    border: 2.5px solid var(--ag-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-left: -10px;
}

.ag-callout-strip p {
    font-size: 15px;
    font-weight: 800;
    color: var(--ag-dark);
    margin-right: 10px;
}

.ag-callout-phone {
    display: inline-block;
    background: var(--ag-accent);
    color: var(--ag-dark) !important;
    padding: 4px 12px;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    margin-right: 6px;
}

/* ============================================================================
   9. OUR RESULTS VIDEO COUNTER SHOWCASE (Exact mtfe-aigensy-results-showcase)
   ============================================================================ */
.ag-results-section {
    padding: 36px 0 80px;
}

.ag-results__container {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: 620px;
    background: var(--ag-dark);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 64px clamp(20px, 4vw, 56px) 48px;
    isolation: isolate;
}

.ag-results__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.ag-results__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(11, 10, 26, 0.78) 0%, rgba(11, 10, 26, 0.35) 50%, rgba(11, 10, 26, 0.78) 100%),
        linear-gradient(180deg, rgba(11, 10, 26, 0.35) 0%, rgba(11, 10, 26, 0.50) 48%, rgba(11, 10, 26, 0.94) 100%);
}

.ag-results__head {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.ag-results__stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 48px;
}

.ag-results__stat {
    background: rgba(11, 10, 26, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 22px;
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ag-results__stat:hover {
    transform: translateY(-5px);
    border-color: rgba(198, 255, 61, 0.5);
}

.ag-results__icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(198, 255, 61, 0.12);
    border: 1px solid rgba(198, 255, 61, 0.38);
    color: var(--ag-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ag-results__label {
    font-size: 16px;
    font-weight: 800;
    color: rgba(244, 242, 255, 0.92);
}

.ag-results__value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(34px, 3.4vw, 48px);
    font-weight: 800;
    color: var(--ag-white);
    line-height: 1;
}

.ag-results__value .ag-suffix {
    color: var(--ag-accent);
}

/* ============================================================================
   10. INDUSTRIES WE SERVE — 3D SOLAR PANEL POPUP CARDS (mtfe-brand-showcase)
   ============================================================================ */
.ag-industries-section {
    padding: 36px 0 90px;
}

.ag-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    overflow: visible;
}

.ag-brand-card {
    position: relative;
    display: block;
    overflow: visible;
    cursor: pointer;
}

.ag-brand-card__bg {
    position: relative;
    border-radius: 22px;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--ag-dark);
    box-shadow: 0 14px 36px rgba(11, 10, 26, 0.12);
    transition: box-shadow 0.4s ease;
}

.ag-brand-card:hover .ag-brand-card__bg {
    box-shadow: 0 26px 60px rgba(11, 10, 26, 0.45);
}

.ag-brand-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.5s ease;
}

.ag-brand-card:hover .ag-brand-card__img {
    transform: scale(1.07);
    filter: brightness(0.45);
}

.ag-brand-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 10, 26, 0.88) 0%, rgba(11, 10, 26, 0.2) 55%, transparent 100%);
    transition: background 0.4s ease;
}

.ag-brand-card:hover .ag-brand-card__overlay {
    background: radial-gradient(circle at center, rgba(28, 23, 64, 0.92) 0%, rgba(11, 10, 26, 0.98) 100%);
}

.ag-brand-card__copy {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 26px 20px;
    text-align: center;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.ag-brand-card:hover .ag-brand-card__copy {
    opacity: 0.18;
    transform: translateY(-10px);
}

.ag-brand-card__name {
    font-size: 22px;
    font-weight: 900;
    color: var(--ag-white);
    margin-bottom: 6px;
}

.ag-brand-card__desc {
    font-size: 13.5px;
    color: var(--ag-accent);
    font-weight: 700;
}

.ag-brand-card__popup {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) translateY(14%) scale(0.72);
    opacity: 0;
    width: 118%;
    max-width: none;
    object-fit: contain;
    z-index: 10;
    pointer-events: none;
    transform-origin: center bottom;
    transition: opacity 0.42s ease, transform 0.48s var(--ag-spring);
    filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.55));
}

.ag-brand-card:hover .ag-brand-card__popup {
    opacity: 1;
    transform: translateX(-50%) translateY(-6%) scale(1);
}

/* ============================================================================
   11. VERIFIED CLIENT REVIEWS + SYSTEM EXECUTIVE GATEWAYS (mtfe-our-team style)
   ============================================================================ */
.ag-reviews-section {
    padding: 20px 0 80px;
}

.ag-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    padding-top: 38px;
}

.ag-review-card {
    position: relative;
    background: var(--ag-white);
    border-radius: 26px;
    padding: 54px 28px 28px;
    box-shadow: 0 18px 42px rgba(11, 10, 26, 0.06);
    border: 1px solid rgba(11, 10, 26, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s var(--ag-ease), box-shadow 0.35s var(--ag-ease);
}

.ag-review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(11, 10, 26, 0.11);
}

.ag-review-avatar {
    position: absolute;
    top: -36px;
    right: 28px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--ag-dark);
    color: var(--ag-accent);
    border: 5px solid var(--ag-canvas);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(11, 10, 26, 0.15);
}

.ag-review-stars {
    color: #F59E0B;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.ag-review-quote {
    font-size: 18px;
    font-weight: 900;
    color: var(--ag-dark);
    margin-bottom: 10px;
}

.ag-review-text {
    font-size: 14.5px;
    color: var(--ag-text-soft);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 600;
}

.ag-review-author {
    padding-top: 14px;
    border-top: 1px solid rgba(11, 10, 26, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ag-review-author strong {
    font-size: 15px;
    color: var(--ag-dark);
    font-weight: 900;
}

.ag-review-author span {
    font-size: 12.5px;
    color: var(--ag-purple);
    font-weight: 700;
}

/* System Executive Portals in AIgensy Team Card Geometry */
.ag-gateways-section {
    padding: 30px 0 80px;
}

.ag-gateways-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.ag-gateway-card {
    position: relative;
    height: 430px;
    border-radius: 56px 18px 18px 18px;
    overflow: hidden;
    background: var(--ag-dark);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition: transform 0.4s var(--ag-ease), box-shadow 0.4s var(--ag-ease);
}

.ag-gateway-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 54px rgba(11, 10, 26, 0.30);
}

.ag-gateway-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.48;
    transition: transform 0.6s var(--ag-ease), opacity 0.4s ease;
}

.ag-gateway-card:hover .ag-gateway-card__bg {
    transform: scale(1.07);
    opacity: 0.62;
}

.ag-gateway-card__vertical {
    position: absolute;
    top: 22px;
    left: 14px;
    writing-mode: vertical-rl;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.06);
    pointer-events: none;
    z-index: 1;
}

.ag-gateway-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 10, 26, 0.15) 0%, rgba(11, 10, 26, 0.78) 56%, #0B0A1A 100%);
    z-index: 1;
}

.ag-gateway-card__body {
    position: relative;
    z-index: 2;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ag-gateway-card__icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--ag-accent);
    color: var(--ag-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 4px;
}

.ag-gateway-card__role {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--ag-accent);
}

.ag-gateway-card__title {
    font-size: 20px;
    font-weight: 900;
    color: var(--ag-white);
}

.ag-gateway-card__desc {
    font-size: 13.5px;
    color: rgba(244, 242, 255, 0.78);
    line-height: 1.6;
    margin-bottom: 6px;
}

.ag-gateway-card__btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ag-gw-btn-main {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 100px;
    background: var(--ag-accent);
    color: var(--ag-dark) !important;
    font-size: 12.5px;
    font-weight: 800;
    transition: all 0.25s ease;
}

.ag-gw-btn-main:hover {
    background: var(--ag-white);
}

.ag-gw-btn-sub {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--ag-white) !important;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.ag-gw-btn-sub:hover {
    border-color: var(--ag-accent);
    color: var(--ag-accent) !important;
}

/* ============================================================================
   12. BEFORE / AFTER INTERACTIVE COMPARISON SLIDER (mtfe-aigensy-cta-comparison)
   ============================================================================ */
.ag-compare-section {
    padding: 20px 0 84px;
}

.ag-compare {
    --compare-pos: 50%;
    position: relative;
    width: 100%;
    min-height: 620px;
    border-radius: 28px;
    overflow: hidden;
    background: var(--ag-dark);
    user-select: none;
    touch-action: pan-y;
}

.ag-compare__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ag-compare__img--after {
    z-index: 1;
}

.ag-compare__img--before {
    z-index: 2;
    clip-path: inset(0 0 0 var(--compare-pos));
}

.ag-compare__mask {
    position: absolute;
    inset: 30% 0 0 0;
    z-index: 4;
    background: linear-gradient(to top, rgba(11, 10, 26, 0.96) 0%, rgba(11, 10, 26, 0.65) 45%, transparent 100%);
    pointer-events: none;
}

.ag-compare__snap {
    position: absolute;
    top: 24px;
    z-index: 8;
    padding: 9px 20px;
    border-radius: 100px;
    background: rgba(11, 10, 26, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    color: var(--ag-white);
    font-size: 13px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ag-compare__snap:hover {
    background: var(--ag-accent);
    border-color: var(--ag-accent);
    color: var(--ag-dark);
}

.ag-compare__snap--after {
    right: 24px;
}

.ag-compare__snap--before {
    left: 24px;
}

.ag-compare__stat {
    position: absolute;
    top: 76px;
    z-index: 6;
    background: rgba(11, 10, 26, 0.72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 12px 18px;
    border-radius: 16px;
    color: var(--ag-white);
    pointer-events: none;
}

.ag-compare__stat--after {
    right: 24px;
    border-color: rgba(198, 255, 61, 0.45);
}

.ag-compare__stat--before {
    left: 24px;
}

.ag-compare__stat span {
    display: block;
    font-size: 12px;
    color: var(--ag-accent);
    font-weight: 700;
}

.ag-compare__stat strong {
    font-size: 16px;
    font-weight: 900;
}

.ag-compare__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--compare-pos);
    width: 3px;
    background: rgba(255, 255, 255, 0.92);
    transform: translateX(-50%);
    z-index: 7;
    cursor: ew-resize;
}

.ag-compare__knob {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--ag-accent);
    color: var(--ag-dark);
    border: 4px solid var(--ag-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease;
}

.ag-compare__handle:hover .ag-compare__knob {
    transform: translate(-50%, -50%) scale(1.1);
}

.ag-compare__bottom {
    position: absolute;
    bottom: 34px;
    right: 36px;
    left: 36px;
    z-index: 8;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.ag-compare__title {
    font-size: clamp(26px, 3.4vw, 44px);
    font-weight: 900;
    color: var(--ag-white);
    line-height: 1.2;
    max-width: 620px;
}

.ag-compare__title span {
    color: var(--ag-accent);
}

/* ============================================================================
   13. WHY CHOOSE US BENTO + TILTED -2deg SCROLLING TICKER RIBBON
   ============================================================================ */
.ag-why-section {
    padding: 20px 0 72px;
}

.ag-why {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 56px;
    align-items: stretch;
}

.ag-why__features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 34px;
}

.ag-why__item {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 20px;
    align-items: start;
}

.ag-why__icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(198, 255, 61, 0.22);
    border: 1.5px solid rgba(11, 10, 26, 0.12);
    color: var(--ag-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.4s var(--ag-spring);
}

.ag-why__item:hover .ag-why__icon {
    background: var(--ag-accent);
    border-color: var(--ag-accent);
    transform: scale(1.08) rotate(-8deg);
    box-shadow: 0 10px 24px rgba(198, 255, 61, 0.45);
}

.ag-why__item h3 {
    font-size: 19px;
    font-weight: 900;
    color: var(--ag-dark);
    margin-bottom: 6px;
}

.ag-why__item p {
    font-size: 14.5px;
    color: var(--ag-text-soft);
    font-weight: 600;
    line-height: 1.65;
}

.ag-why__bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    gap: 18px;
}

.ag-why__img-top {
    grid-column: 1 / -1;
    min-height: 240px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.ag-why__img-top img,
.ag-why__img-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ag-ease);
}

.ag-why__img-top:hover img,
.ag-why__img-bottom:hover img {
    transform: scale(1.06);
}

.ag-why__card {
    background: var(--ag-dark);
    color: var(--ag-white);
    border-radius: 24px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.ag-why__card h4 {
    font-size: 20px;
    font-weight: 900;
    color: var(--ag-accent);
}

.ag-why__card p {
    font-size: 14px;
    color: rgba(244, 242, 255, 0.82);
    line-height: 1.6;
}

.ag-why__img-bottom {
    border-radius: 24px;
    overflow: hidden;
    min-height: 210px;
}

/* Tilted Ribbon Ticker (-2deg exact AIgensy style) */
.ag-ticker-wrap {
    padding: 26px 0 56px;
    overflow: hidden;
}

.ag-ticker {
    background: linear-gradient(90deg, #0B0A1A 0%, #1C1740 50%, #0B0A1A 100%);
    border-block: 2px solid rgba(198, 255, 61, 0.35);
    padding: 18px 0;
    transform: rotate(-1.6deg) scale(1.03);
    box-shadow: 0 16px 36px rgba(11, 10, 26, 0.16);
    overflow: hidden;
}

.ag-ticker__track {
    display: flex;
    align-items: center;
    gap: 34px;
    width: max-content;
    animation: agMarqueeScroll 28s linear infinite;
}

.ag-ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-size: 21px;
    font-weight: 900;
    color: var(--ag-white);
    white-space: nowrap;
}

.ag-ticker__item i {
    color: var(--ag-accent);
    font-size: 18px;
}

/* ============================================================================
   14. EXPANDABLE ACCORDION SOLUTIONS (Exact mtfe-projects-dropdown)
   ============================================================================ */
.ag-accordion-section {
    padding: 20px 0 84px;
}

.ag-pd-row {
    position: relative;
    display: grid;
    grid-template-columns: 60px 1fr 1.1fr 72px;
    gap: 28px;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid rgba(11, 10, 26, 0.12);
    cursor: pointer;
}

.ag-pd-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: var(--ag-purple);
}

.ag-pd-title {
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 900;
    color: var(--ag-dark);
    transition: transform 0.3s ease, color 0.3s ease;
}

.ag-pd-row:hover .ag-pd-title {
    color: var(--ag-purple);
    transform: translateX(-6px);
}

.ag-pd-desc {
    font-size: 15px;
    color: var(--ag-text-soft);
    font-weight: 600;
    line-height: 1.65;
}

.ag-pd-btn {
    justify-self: end;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid rgba(11, 10, 26, 0.30);
    background: transparent;
    color: var(--ag-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.35s var(--ag-spring);
}

.ag-pd-row:hover .ag-pd-btn,
.ag-pd-row.is-open .ag-pd-btn {
    background: var(--ag-accent);
    border-color: var(--ag-accent);
    color: var(--ag-dark);
    box-shadow: 0 10px 24px rgba(198, 255, 61, 0.4);
}

.ag-pd-row.is-open .ag-pd-btn i {
    transform: rotate(180deg);
}

.ag-pd-expanded {
    display: none;
    grid-column: 1 / -1;
    padding-top: 12px;
}

.ag-pd-row.is-open .ag-pd-expanded {
    display: block;
    animation: agFadeSlideDown 0.45s var(--ag-ease);
}

@keyframes agFadeSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ag-pd-hero {
    position: relative;
    height: 390px;
    border-radius: 24px;
    overflow: hidden;
    background: var(--ag-dark);
}

.ag-pd-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ag-pd-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(11, 10, 26, 0.86) 100%);
}

.ag-pd-hero-foot {
    position: absolute;
    bottom: 26px;
    right: 28px;
    left: 28px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ag-pd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ag-pd-tag {
    background: rgba(255, 255, 255, 0.94);
    color: var(--ag-dark);
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 800;
}

/* ============================================================================
   15. INTERACTIVE 5-STEP PROJECT PLANNER CALCULATOR (mtfe-aigensy-calculator)
   ============================================================================ */
.ag-calc-section {
    padding: 20px 0 90px;
}

.ag-calc-shell {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    border-radius: 28px;
    overflow: hidden;
    background: var(--ag-white);
    box-shadow: 0 24px 60px rgba(11, 10, 26, 0.10);
    border: 1px solid rgba(11, 10, 26, 0.08);
}

.ag-calc-left {
    position: relative;
    background: radial-gradient(circle at top right, #1C1740 0%, #0B0A1A 75%);
    color: var(--ag-white);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
}

.ag-calc-left h3 {
    font-size: clamp(26px, 2.8vw, 38px);
    font-weight: 900;
    line-height: 1.22;
}

.ag-calc-left h3 span {
    color: var(--ag-accent);
}

.ag-calc-left p {
    color: rgba(244, 242, 255, 0.80);
    font-size: 15px;
    line-height: 1.7;
}

.ag-calc-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ag-calc-hl {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    padding: 13px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
}

.ag-calc-hl i {
    color: var(--ag-accent);
    font-size: 18px;
}

.ag-calc-right {
    padding: 46px 42px;
    background: var(--ag-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ag-calc-progress {
    margin-bottom: 28px;
}

.ag-calc-progress__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 800;
    color: var(--ag-text-soft);
    margin-bottom: 10px;
}

.ag-calc-progress__bar {
    height: 6px;
    background: var(--ag-canvas);
    border-radius: 100px;
    overflow: hidden;
}

.ag-calc-progress__fill {
    height: 100%;
    width: 25%;
    background: linear-gradient(90deg, var(--ag-purple), var(--ag-accent-hover));
    border-radius: 100px;
    transition: width 0.4s var(--ag-ease);
}

.ag-calc-step {
    display: none;
    animation: agFadeSlideDown 0.35s var(--ag-ease);
}

.ag-calc-step.is-active {
    display: block;
}

.ag-calc-step h4 {
    font-size: 23px;
    font-weight: 900;
    color: var(--ag-dark);
    margin-bottom: 8px;
}

.ag-calc-step p {
    font-size: 14.5px;
    color: var(--ag-text-soft);
    margin-bottom: 22px;
    font-weight: 600;
}

.ag-calc-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.ag-calc-opt {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1.5px solid rgba(11, 10, 26, 0.12);
    background: var(--ag-canvas);
    color: var(--ag-dark);
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: right;
    transition: all 0.25s ease;
}

.ag-calc-opt i {
    color: var(--ag-purple);
    font-size: 18px;
}

.ag-calc-opt:hover,
.ag-calc-opt.is-selected {
    background: var(--ag-dark);
    border-color: var(--ag-dark);
    color: var(--ag-accent);
    transform: translateY(-2px);
}

.ag-calc-opt.is-selected i,
.ag-calc-opt:hover i {
    color: var(--ag-accent);
}

.ag-calc-input {
    width: 100%;
    padding: 15px 18px;
    border-radius: 14px;
    border: 1.5px solid rgba(11, 10, 26, 0.16);
    background: var(--ag-canvas);
    color: var(--ag-dark);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    outline: none;
}

.ag-calc-input:focus {
    border-color: var(--ag-purple);
}

.ag-calc-result-box {
    background: var(--ag-dark);
    color: var(--ag-white);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
}

.ag-calc-result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.ag-calc-res-item {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 14px;
    text-align: center;
}

.ag-calc-res-item strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    color: var(--ag-accent);
}

.ag-calc-res-item span {
    font-size: 12px;
    color: rgba(244, 242, 255, 0.8);
}

.ag-calc-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid rgba(11, 10, 26, 0.08);
}

/* ============================================================================
   16. VISUAL GALLERY / EDITORIAL HIGHLIGHTS (mtfe-posts-pristine)
   ============================================================================ */
.ag-gallery-section {
    padding: 10px 0 84px;
}

.ag-pristine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ag-pristine-card {
    background: var(--ag-white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(11, 10, 26, 0.06);
    box-shadow: 0 12px 30px rgba(11, 10, 26, 0.05);
    transition: transform 0.35s var(--ag-ease), box-shadow 0.35s var(--ag-ease);
    display: flex;
    flex-direction: column;
}

.ag-pristine-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(11, 10, 26, 0.12);
}

.ag-pristine-card__img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ag-canvas);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ag-pristine-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform 0.6s var(--ag-ease);
}

.ag-pristine-card__img-wrap img.is-cover {
    object-fit: cover;
    padding: 0;
}

.ag-pristine-card:hover .ag-pristine-card__img-wrap img {
    transform: scale(1.08);
}

.ag-pristine-card__tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--ag-dark);
    color: var(--ag-accent);
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
}

.ag-pristine-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ag-pristine-card__title {
    font-size: 17.5px;
    font-weight: 900;
    color: var(--ag-dark);
}

.ag-pristine-card__sub {
    font-size: 13.5px;
    color: var(--ag-text-soft);
    font-weight: 600;
}

.ag-pristine-card__meta {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    color: var(--ag-purple);
}

.ag-pristine-card__line {
    width: 26px;
    height: 2px;
    background: var(--ag-accent-hover);
    transition: width 0.35s ease;
}

.ag-pristine-card:hover .ag-pristine-card__line {
    width: 44px;
}

/* ============================================================================
   17. FOOTER (Exact AIgensy Rounded 30px Dark Gradient Footer — post-6951.css)
   ============================================================================ */
.ag-footer-outer {
    padding: 0 10px 14px;
}

.ag-footer {
    border-radius: 30px;
    background: radial-gradient(at top right, #1C1740 20%, #0B0A1A 65%);
    color: var(--ag-white);
    padding: 48px clamp(22px, 5vw, 76px) 30px;
    overflow: hidden;
}

.ag-footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ag-footer__newsletter {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ag-footer__nl-copy strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
}

.ag-footer__nl-copy span {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.62);
}

.ag-footer__nl-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 100px;
    padding: 5px 5px 5px 16px;
    min-width: 310px;
}

.ag-footer__nl-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--ag-white);
    padding: 8px 14px;
    font-family: inherit;
    font-size: 13.5px;
}

.ag-footer__nl-form button {
    background: var(--ag-accent);
    color: var(--ag-dark);
    border: none;
    border-radius: 100px;
    padding: 11px 22px;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ag-footer__nl-form button:hover {
    background: var(--ag-accent-hover);
}

.ag-footer__mid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
    gap: 36px;
    padding: 52px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ag-footer__cta-title {
    font-size: clamp(26px, 2.8vw, 38px);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 22px;
}

.ag-footer__cta-title span {
    color: var(--ag-accent);
}

.ag-footer__col h4,
.ag-footer__col h5 {
    font-size: 19px;
    font-weight: 800;
    color: var(--ag-white);
    margin-bottom: 18px;
}

.ag-footer__nl-copy h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--ag-white);
    margin-bottom: 4px;
}

.ag-footer__nl-copy p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.68);
}

.ag-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.ag-footer__links a {
    color: rgba(255, 255, 255, 0.80);
    font-size: 14.5px;
    font-weight: 600;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ag-footer__links a:hover {
    color: var(--ag-accent);
    transform: translateX(-4px);
}

.ag-footer__contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14.5px;
    margin-bottom: 14px;
}

.ag-footer__contact-item i {
    color: var(--ag-accent);
    width: 20px;
    text-align: center;
}

.ag-footer__bottom {
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13.5px;
    color: rgba(230, 225, 255, 0.78);
}

.ag-footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ag-footer__socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    color: var(--ag-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.ag-footer__socials a:hover {
    background: var(--ag-accent);
    color: var(--ag-dark);
    transform: translateY(-2px);
}

/* Back to Top Button */
.ag-back-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ag-accent);
    color: var(--ag-dark);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(11, 10, 26, 0.25);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
}

.ag-back-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ============================================================================
   18. ADMIN CMS MODAL & LIGHTBOX STYLES (Preserving Full ERP Control)
   ============================================================================ */
.portal-video-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 10, 26, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.portal-video-modal-backdrop.show {
    display: flex;
}

.portal-video-modal {
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    overflow-y: auto;
    background: #0B0A1A;
    border: 2px solid var(--ag-accent);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 24px;
}

.portal-video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    margin-bottom: 16px;
}

.portal-video-modal-header h3 {
    font-size: 18px;
    font-weight: 900;
    color: var(--ag-accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-modal-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
}

.cms-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.cms-tab-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 8px 14px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cms-tab-btn.active {
    background: var(--ag-accent);
    border-color: var(--ag-accent);
    color: var(--ag-dark);
}

.cms-tab-pane {
    display: none;
}

.cms-tab-pane.active {
    display: block;
}

.portal-slide-cfg-card {
    background: #14112B;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
}

.portal-slide-cfg-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 14px;
    font-weight: 800;
    color: var(--ag-accent);
}

.portal-cfg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.portal-cfg-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 5px;
}

.portal-cfg-field input,
.portal-cfg-field select {
    width: 100%;
    background: #0B0A1A;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    font-family: inherit;
    font-size: 12.5px;
}

.portal-preset-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.portal-preset-chip {
    background: rgba(198, 255, 61, 0.12);
    border: 1px solid rgba(198, 255, 61, 0.35);
    color: var(--ag-accent);
    border-radius: 100px;
    padding: 4px 11px;
    font-size: 11px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.portal-preset-chip:hover {
    background: var(--ag-accent);
    color: var(--ag-dark);
}

/* ============================================================================
   19. RESPONSIVE BREAKPOINTS (Desktop, Laptop, Tablet, Mobile)
   ============================================================================ */
@media (max-width: 1140px) {
    .ag-nav {
        display: none;
    }
    .ag-burger-btn {
        display: inline-flex;
    }
    .ag-services__grid,
    .ag-process__grid,
    .ag-portfolio-track,
    .ag-brand-grid,
    .ag-gateways-grid,
    .ag-pristine-grid,
    .ag-results__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ag-about,
    .ag-why,
    .ag-calc-shell {
        grid-template-columns: minmax(0, 1fr);
    }
    .ag-footer__mid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============================================================================
   20. MOBILE & TABLET PRO OPTIMIZATION (<= 991px)
       - Top Toolbar Reduced by 50%
       - All Texts, Cards, Icons & Page Contents Reduced by 20%
       - Strict Zero-Horizontal-Overflow Guard for RTL Mobile Browsers
   ============================================================================ */
@media (max-width: 991px) {
    /* --- Global Base, Strict Viewport Lock & Containers (-20%) --- */
    html,
    body.aigensy-body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        overflow-x: clip !important;
    }

    body.aigensy-body {
        font-size: 12.8px;
        line-height: 1.55;
    }

    .ag-hero-outer,
    .ag-partners-strip,
    .ag-about-section,
    .ag-services-section,
    .ag-stores-section,
    .ag-process-section,
    .ag-portfolio-section,
    .ag-results-section,
    .ag-industries-section,
    .ag-compare-section,
    .ag-why-section,
    .ag-ticker-wrap,
    .ag-accordion-section,
    .ag-calc-section,
    .ag-gallery-section,
    .ag-reviews-section,
    .ag-gateways-section,
    .ag-footer-outer {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        overflow-x: clip;
    }

    .ag-container {
        width: 100%;
        max-width: 100%;
        padding-inline: 14px;
    }

    .ag-shell-wide {
        width: 100%;
        max-width: 100%;
        padding-inline: 8px;
    }

    /* Prevent Flex/Grid Intrinsic Width Blowout Across All Sections */
    .ag-about > *,
    .ag-why > *,
    .ag-calc-shell > *,
    .ag-services__grid > *,
    .ag-stores-grid > *,
    .ag-process__grid > *,
    .ag-portfolio-track > *,
    .ag-results__stats > *,
    .ag-brand-grid > *,
    .ag-reviews-grid > *,
    .ag-gateways-grid > *,
    .ag-pristine-grid > *,
    .ag-footer__mid > * {
        min-width: 0;
        max-width: 100%;
    }

    /* --- Pill Buttons (-20%) --- */
    .ag-pill-btn {
        max-width: 100%;
        min-width: 0;
        padding: 10px 16px;
        font-size: 11.8px;
        gap: 7px;
        box-shadow: 0 6px 18px rgba(198, 255, 61, 0.20);
    }

    .ag-pill-btn__label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ag-pill-btn__arrow {
        width: 17px;
        height: 17px;
        font-size: 10.5px;
        flex-shrink: 0;
    }

    .ag-pill-btn__arrow svg {
        width: 14px;
        height: 14px;
    }

    /* --- Dual Section Headers (-20%) --- */
    .ag-dual-header {
        margin: 0 auto 24px;
        max-width: 100%;
    }

    .ag-dual-subtitle {
        max-width: 100%;
        padding: 5px 12px;
        font-size: 10.8px;
        gap: 6px;
        margin-bottom: 10px;
    }

    .ag-pulse-dot {
        width: 6px;
        height: 6px;
    }

    .ag-dual-title {
        font-size: clamp(19px, 5.2vw, 24px);
        line-height: 1.28;
        margin-bottom: 8px;
        word-break: break-word;
    }

    .ag-dual-desc {
        font-size: 12.4px;
        line-height: 1.6;
        max-width: 100%;
    }

    /* ========================================================================
       1. TOP FLOATING TOOLBAR — EXACT 50% SIZE REDUCTION ON MOBILE
       ======================================================================== */
    .ag-header {
        top: 6px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100%;
        padding-inline: 8px;
        box-sizing: border-box;
    }

    .ag-header.is-scrolled {
        top: 4px;
    }

    .ag-header__bar {
        width: 100%;
        max-width: 100%;
        padding: 4px 10px;
        gap: 6px;
        min-height: 36px;
        border-radius: 100px;
        background: rgba(11, 10, 26, 0.76);
        border: 1px solid rgba(255, 255, 255, 0.16);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .ag-header .ag-brand {
        gap: 7px;
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .ag-header .ag-brand__mark {
        width: 24px;
        height: 24px;
        border-radius: 7px;
        font-size: 11px;
        box-shadow: 0 0 10px rgba(198, 255, 61, 0.26);
        flex-shrink: 0;
    }

    .ag-header .ag-brand__mark img {
        padding: 2px;
    }

    .ag-header .ag-brand__text {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .ag-header .ag-brand__name {
        display: block;
        font-size: 11px;
        font-weight: 800;
        line-height: 1.2;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ag-header .ag-brand__tag {
        display: none !important;
    }

    .ag-header__actions {
        gap: 5px;
        flex-shrink: 0;
    }

    .ag-header .ag-icon-btn,
    .ag-burger-btn {
        width: 27px;
        height: 27px;
        border-radius: 50%;
        font-size: 11px;
        padding: 0;
        flex-shrink: 0;
    }

    .ag-header__cta {
        display: inline-flex;
        padding: 4px 9px;
        font-size: 9.5px;
        gap: 4px;
        box-shadow: 0 3px 10px rgba(198, 255, 61, 0.22);
    }

    .ag-header__cta .ag-pill-btn__arrow {
        width: 12px;
        height: 12px;
        font-size: 8.5px;
    }

    #agSaveToast {
        top: 46px !important;
        font-size: 11px !important;
        padding: 8px 14px !important;
        max-width: 92vw;
    }

    /* --- Mobile Drawer & Search Overlay (-20%) --- */
    .ag-drawer {
        width: min(285px, 84vw);
        max-width: 84vw;
        padding: 16px 14px;
        gap: 12px;
    }

    .ag-drawer__head {
        padding-bottom: 12px;
    }

    .ag-drawer__head strong {
        font-size: 12.5px !important;
    }

    .ag-drawer__head .ag-icon-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
        flex-shrink: 0;
    }

    .ag-drawer__links {
        gap: 5px;
    }

    .ag-drawer__links a,
    .ag-drawer__links button {
        padding: 9px 12px;
        border-radius: 11px;
        font-size: 11.5px;
        gap: 9px;
        justify-content: space-between;
    }

    .ag-drawer__links a i,
    .ag-drawer__links button i {
        width: 16px;
        font-size: 12px;
    }

    .ag-search-overlay {
        padding: 16px;
    }

    .ag-search-overlay__box span {
        font-size: 11.5px !important;
    }

    .ag-search-overlay__form {
        padding: 6px 8px 6px 14px;
        gap: 8px;
    }

    .ag-search-overlay__form input {
        font-size: 13px;
        padding: 7px 8px;
        min-width: 0;
    }

    /* ========================================================================
       2. HERO VIDEO SLIDER — COMPACT FULL-FRAME MOBILE SLIDER & SMALL FLOATING AI ROBOT
       ======================================================================== */
    .ag-hero-outer {
        padding: 4px 6px 0;
    }

    .ag-hero {
        width: 100%;
        max-width: 100%;
        border-radius: 18px;
        padding: 44px 10px 8px;
        min-height: 256px !important;
        height: clamp(256px, 34svh, 294px) !important;
        max-height: 298px !important;
        justify-content: flex-end;
        gap: 5px;
    }

    /* Frame the full widescreen video cleanly inside the compact mobile slider */
    .ag-hero__video {
        object-fit: cover !important;
        object-position: center center !important;
        filter: brightness(1.06) contrast(1.05);
    }

    /* Keep upper/middle video crystal-clear; soft dark gradient only behind bottom compact text */
    .ag-hero__overlay {
        opacity: 1 !important;
        background:
            radial-gradient(circle at 24% 48%, rgba(198, 255, 61, 0.10) 0%, transparent 46%),
            linear-gradient(
                180deg,
                rgba(11, 10, 26, 0.18) 0%,
                rgba(11, 10, 26, 0.03) 30%,
                rgba(11, 10, 26, 0.08) 58%,
                rgba(11, 10, 26, 0.76) 82%,
                rgba(11, 10, 26, 0.94) 100%
            ) !important;
    }

    .ag-hero__watermark {
        display: none;
    }

    /* Showcase the 3D AI Robot at a compact, proportional size floating over the slider */
    @keyframes agHeroFloatMobile {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-5px); }
    }

    .ag-hero__visual {
        display: block !important;
        position: absolute !important;
        left: 8px !important;
        right: auto !important;
        top: auto !important;
        bottom: 56px !important;
        width: 96px !important;
        height: 136px !important;
        z-index: 3 !important;
        pointer-events: none !important;
        overflow: visible !important;
    }

    .ag-hero__turbine {
        position: relative !important;
        width: 96px !important;
        height: 136px !important;
        max-width: none !important;
        flex-shrink: 0;
        animation: agHeroFloatMobile 5s ease-in-out infinite !important;
    }

    .ag-hero__turbine-img {
        position: absolute !important;
        bottom: 0 !important;
        right: -10px !important;
        left: auto !important;
        width: 219px !important;
        height: 146px !important;
        max-width: none !important;
        object-fit: contain !important;
        transform: none !important;
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.68)) drop-shadow(0 0 14px rgba(198, 255, 61, 0.24));
    }

    .ag-hero__particle--p1 {
        width: 8px !important;
        height: 8px !important;
        top: 6px !important;
        right: 12px !important;
        left: auto !important;
        background: #C6FF3D !important;
        box-shadow: 0 0 12px #C6FF3D !important;
    }

    .ag-hero__particle--p2 {
        width: 5px !important;
        height: 5px !important;
        bottom: 24px !important;
        left: 10px !important;
    }

    .ag-hero__particle--p3 {
        display: none !important;
    }

    /* Static grid on mobile so .ag-hero__visual anchors directly to .ag-hero without collapsing */
    .ag-hero__grid {
        position: static !important;
        z-index: 4;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        gap: 0;
        padding-block: 0;
        margin: 0;
    }

    .ag-hero__copy {
        position: relative;
        z-index: 4;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    /* Hide bulky badge, long 4-line paragraph, and bottom stat/image cards on mobile */
    .ag-hero__pill,
    .ag-hero__sub,
    .ag-hero__cards {
        display: none !important;
    }

    .ag-hero__headline {
        font-size: clamp(12.5px, 3.5vw, 14.8px);
        line-height: 1.25;
        margin-bottom: 5px;
        padding-left: 102px !important;
        font-weight: 800;
        word-break: break-word;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.88);
    }

    .ag-hero__cta-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
        width: 100%;
        max-width: 100%;
    }

    .ag-hero__cta-row .ag-pill-btn {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 5px 7px;
        font-size: 9.2px;
        min-height: 26px;
        gap: 4px;
    }

    .ag-hero__cta-row .ag-pill-btn__arrow {
        width: 14px;
        height: 14px;
        font-size: 8px;
    }

    .ag-hero__bottom-bar {
        position: relative;
        z-index: 4;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
    }

    .ag-hero__quick-controls {
        display: flex;
        align-items: center;
        gap: 4px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 0;
    }

    .ag-hero__quick-controls::-webkit-scrollbar {
        display: none;
    }

    .ag-hero__slide-pill {
        padding: 3px 7px;
        font-size: 8.2px;
        white-space: nowrap;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        gap: 3.5px;
    }

    /* ========================================================================
       3. PARTNERS MARQUEE (-20%)
       ======================================================================== */
    .ag-partners-strip {
        padding: 18px 0 12px;
        overflow: hidden;
    }

    .ag-partners-track {
        gap: 12px;
    }

    .ag-partner-chip {
        padding: 8px 14px;
        font-size: 11.2px;
        gap: 8px;
    }

    .ag-partner-chip i {
        font-size: 13px;
    }

    /* ========================================================================
       4. ABOUT US & CORPORATE PROFILE (-20% & Bounded Harmonious Collage)
       ======================================================================== */
    .ag-about-section {
        padding: 28px 0 36px;
    }

    .ag-about {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .ag-about__images {
        width: 100%;
        max-width: 100%;
        height: 238px;
        min-height: 238px;
        max-height: 238px;
        overflow: hidden;
        border-radius: 18px;
    }

    .ag-about__img-card {
        border-radius: 16px;
    }

    .ag-about__img-1 {
        top: 0;
        right: 0;
        width: 74%;
        height: 86%;
    }

    .ag-about__img-2 {
        bottom: 0;
        left: 0;
        width: 50%;
        height: 56%;
        border-width: 4px;
    }

    .ag-about__exp-badge {
        top: 10px;
        left: 8px;
        padding: 8px 10px;
        border-radius: 13px;
        gap: 7px;
        max-width: min(200px, 56%);
    }

    .ag-about__exp-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .ag-about__exp-years {
        font-size: 19px;
    }

    .ag-about__exp-label {
        font-size: 10px;
        line-height: 1.3;
    }

    .ag-about__heading {
        font-size: clamp(19px, 5vw, 22px);
        line-height: 1.28;
        margin-bottom: 10px;
    }

    .ag-about__intro {
        font-size: 12.4px;
        line-height: 1.62;
        margin-bottom: 16px;
    }

    .ag-about__quality-card {
        padding: 14px 16px;
        border-radius: 16px;
        margin-bottom: 14px;
    }

    .ag-about__quality-head {
        gap: 10px;
        margin-bottom: 8px;
    }

    .ag-about__quality-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .ag-about__quality-title {
        font-size: 14.5px;
    }

    .ag-about__quality-desc {
        font-size: 11.6px;
        line-height: 1.58;
        margin-bottom: 0;
    }

    .ag-about__creds {
        gap: 6px;
        padding-top: 10px;
        margin-bottom: 16px;
    }

    .ag-cred-pill {
        font-size: 10.2px;
        padding: 5px 10px;
        gap: 5px;
    }

    .ag-about__bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .ag-about__bottom .ag-pill-btn {
        width: 100%;
    }

    .ag-about__features {
        gap: 8px;
    }

    .ag-about__feature {
        font-size: 12px;
        gap: 8px;
    }

    .ag-about__check {
        width: 19px;
        height: 19px;
        font-size: 9.5px;
    }

    /* ========================================================================
       5. CORE SECTORS & ENGINEERING SERVICES (-20%)
       ======================================================================== */
    .ag-services-section {
        padding: 12px 0 38px;
    }

    .ag-services__shell {
        border-radius: 20px;
        padding: 28px 12px 22px;
    }

    .ag-services__grid {
        gap: 14px;
    }

    .ag-service-card-wrap {
        padding-top: 13px;
    }

    .ag-service-circle {
        width: 40px;
        height: 40px;
        left: 12px;
        font-size: 15px;
    }

    .ag-service-card {
        border-radius: 18px;
        padding: 22px 15px 13px;
        gap: 12px;
    }

    .ag-service-code {
        font-size: 9.5px;
        margin-bottom: 4px;
    }

    .ag-service-title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .ag-service-desc {
        font-size: 11.6px;
        line-height: 1.56;
        margin-bottom: 8px;
    }

    .ag-service-tag {
        font-size: 9.8px;
        padding: 3px 9px;
    }

    .ag-service-figure {
        height: 140px;
        border-radius: 12px;
    }

    .ag-service-cta-strip {
        padding: 7px 11px;
        border-radius: 10px;
        font-size: 10.8px;
    }

    /* ========================================================================
       6. SPECIALIZED ONLINE STORES SHOWCASE (-20% & Clean Touch Filter Bar)
       ======================================================================== */
    .ag-stores-section {
        padding: 20px 0 40px;
    }

    .ag-stores-toolbar {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 10px 12px;
        border-radius: 16px;
        gap: 10px;
        margin-bottom: 18px;
        flex-direction: column;
        align-items: stretch;
    }

    .ag-sector-tabs {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 6px;
        padding-bottom: 2px;
    }

    .ag-sector-tabs::-webkit-scrollbar {
        display: none;
    }

    .ag-sector-tab {
        padding: 6px 12px;
        font-size: 10.8px;
        gap: 6px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .ag-store-search {
        min-width: 0;
        width: 100%;
        flex: none;
    }

    .ag-store-search input {
        padding: 8px 32px 8px 12px;
        font-size: 11.5px;
    }

    .ag-store-search i {
        right: 12px;
        font-size: 12px;
    }

    .ag-stores-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .ag-store-card {
        border-radius: 18px;
    }

    .ag-store-card__cover {
        height: 142px;
    }

    .ag-store-card__badges {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .ag-store-badge-sec,
    .ag-store-badge-live {
        font-size: 9.8px;
        padding: 4px 9px;
    }

    .ag-store-card__body {
        padding: 14px 15px 16px;
        gap: 10px;
    }

    .ag-store-card__head {
        gap: 10px;
    }

    .ag-store-card__logo {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 17px;
    }

    .ag-store-card__title {
        font-size: 15px;
    }

    .ag-store-card__sub {
        font-size: 11.2px;
        line-height: 1.52;
    }

    .ag-store-card__kpis {
        padding: 8px;
        border-radius: 12px;
        gap: 6px;
    }

    .ag-store-kpi strong {
        font-size: 14px;
    }

    .ag-store-kpi span {
        font-size: 9.5px;
    }

    .ag-store-cat-chip {
        font-size: 10px;
        padding: 4px 8px;
    }

    .ag-store-enter-btn {
        padding: 9px 14px;
        font-size: 11.2px;
    }

    .ag-store-copy-btn {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    /* ========================================================================
       7. ENGINEERING PROCESS — COORDINATED 2x2 COMPACT GRID (-20%)
       ======================================================================== */
    .ag-process-section {
        padding: 18px 0 40px;
    }

    .ag-process__wrap {
        border-radius: 20px;
        padding: 28px 12px 24px;
    }

    .ag-process__energy-bolt {
        width: 32px;
        height: 32px;
        font-size: 13px;
        margin-inline: 4px;
    }

    .ag-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ag-proc-card,
    .ag-proc-card--reversed {
        height: auto;
        flex-direction: column;
        border-radius: 18px;
    }

    .ag-proc-card__visual,
    .ag-proc-card--reversed .ag-proc-card__visual {
        height: 108px;
        border-radius: 16px 16px 48px 48px;
    }

    .ag-proc-card__pill {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin: -18px auto 0;
        width: 34px;
        height: 34px;
        font-size: 12px;
        border-width: 3px;
    }

    .ag-proc-card:hover .ag-proc-card__pill {
        transform: scale(1.06);
    }

    .ag-proc-card__content {
        height: auto;
        padding: 8px 10px 14px;
    }

    .ag-proc-card__title {
        font-size: 13.5px;
        margin-bottom: 5px;
        line-height: 1.3;
    }

    .ag-proc-card__desc {
        font-size: 10.8px;
        line-height: 1.48;
    }

    /* ========================================================================
       8. PORTFOLIO TRACK RECORD + CALLOUT STRIP (-20%)
       ======================================================================== */
    .ag-portfolio-section {
        padding: 18px 0 38px;
    }

    .ag-portfolio-track {
        gap: 12px;
    }

    .ag-port-card {
        min-height: 245px;
        border-radius: 18px;
    }

    .ag-port-card__panel {
        padding: 14px;
    }

    .ag-port-card__type {
        font-size: 10px;
        padding: 3px 10px;
        margin-bottom: 6px;
    }

    .ag-port-card__title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .ag-port-card__panel > p {
        font-size: 11px !important;
        line-height: 1.5 !important;
        margin-bottom: 8px !important;
    }

    .ag-port-card__metrics {
        gap: 6px;
        padding-top: 8px;
    }

    .ag-port-card__metrics span {
        font-size: 9.8px;
    }

    .ag-port-card__metrics strong {
        font-size: 10.5px;
    }

    .ag-callout-strip {
        margin-top: 20px;
        padding: 15px 14px;
        border-radius: 18px;
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
    }

    .ag-callout-strip > div:first-child {
        flex-direction: column !important;
        justify-content: center;
        gap: 8px !important;
    }

    .ag-stacked-avatars {
        justify-content: center;
    }

    .ag-stacked-avatars span {
        width: 30px;
        height: 30px;
        font-size: 11px;
        margin-left: -8px;
    }

    .ag-callout-strip > div:first-child > div:last-child > div:first-child {
        font-size: 14px !important;
        line-height: 1.35;
        margin-bottom: 3px;
    }

    .ag-callout-strip > div:first-child > div:last-child > div:last-child {
        font-size: 11px !important;
        line-height: 1.45;
    }

    .ag-callout-strip > div:last-child {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px !important;
        width: 100%;
    }

    .ag-callout-phone {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 9px 10px;
        border-radius: 100px;
        font-size: 11.5px;
        margin-right: 0;
    }

    .ag-callout-strip .ag-pill-btn {
        width: 100%;
        padding: 9px 10px;
        font-size: 11px;
    }

    /* ========================================================================
       9. OUR RESULTS VIDEO COUNTERS — 2x2 PRO DASHBOARD GRID (-20%)
       ======================================================================== */
    .ag-results-section {
        padding: 16px 0 38px;
    }

    .ag-results__container {
        min-height: auto;
        border-radius: 20px;
        padding: 28px 14px 20px;
    }

    .ag-results__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 20px;
    }

    .ag-results__stat {
        padding: 14px 10px;
        border-radius: 16px;
        gap: 6px;
    }

    .ag-results__icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .ag-results__value {
        font-size: clamp(21px, 5.5vw, 25px);
    }

    .ag-results__label {
        font-size: 11.5px;
        line-height: 1.35;
    }

    /* ========================================================================
       10. INDUSTRIES WE SERVE — 2x2 3D CARDS (-20%)
       ======================================================================== */
    .ag-industries-section {
        padding: 16px 0 40px;
    }

    .ag-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ag-brand-card__bg {
        border-radius: 16px;
        aspect-ratio: 3 / 3.55;
    }

    .ag-brand-card__copy {
        padding: 12px 10px;
    }

    .ag-brand-card__name {
        font-size: 14.5px;
        margin-bottom: 3px;
    }

    .ag-brand-card__desc {
        font-size: 10.5px;
        line-height: 1.35;
    }

    .ag-brand-card__popup {
        width: 94%;
        max-width: 94%;
    }

    /* ========================================================================
       11. BEFORE / AFTER INTERACTIVE COMPARISON SLIDER (-20%)
       ======================================================================== */
    .ag-compare-section {
        padding: 10px 0 38px;
    }

    .ag-compare {
        min-height: 320px;
        border-radius: 20px;
    }

    .ag-compare__snap {
        top: 10px;
        padding: 5px 8px;
        font-size: 9.2px;
        max-width: calc(50% - 14px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ag-compare__snap--after {
        right: 10px;
    }

    .ag-compare__snap--before {
        left: 10px;
    }

    .ag-compare__stat {
        top: 44px;
        padding: 7px 9px;
        border-radius: 11px;
        max-width: calc(50% - 14px);
    }

    .ag-compare__stat--after {
        right: 10px;
    }

    .ag-compare__stat--before {
        left: 10px;
    }

    .ag-compare__stat > div:nth-child(1) {
        font-size: 9px !important;
        margin-bottom: 2px !important;
    }

    .ag-compare__stat > div:nth-child(2) {
        font-size: 16px !important;
    }

    .ag-compare__stat > div:nth-child(3) {
        display: none !important;
    }

    .ag-compare__knob {
        width: 40px;
        height: 40px;
        font-size: 11px;
        border-width: 2.5px;
    }

    .ag-compare__bottom {
        bottom: 14px;
        right: 14px;
        left: 14px;
        gap: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .ag-compare__title {
        font-size: 15px;
        line-height: 1.35;
    }

    /* ========================================================================
       12. WHY CHOOSE US BENTO + TILTED TICKER + ACCORDION (-20%)
       ======================================================================== */
    .ag-why-section {
        padding: 10px 0 32px;
    }

    .ag-why {
        gap: 22px;
    }

    .ag-why__features {
        gap: 14px;
        margin-top: 14px;
        margin-bottom: 8px;
    }

    .ag-why__item {
        grid-template-columns: 44px 1fr;
        gap: 12px;
    }

    .ag-why__icon {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }

    .ag-why__item h3,
    .ag-why__item h4 {
        font-size: 13.6px !important;
        margin-bottom: 3px !important;
    }

    .ag-why__item p {
        font-size: 11.2px !important;
        line-height: 1.55 !important;
    }

    .ag-why__bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ag-why__img-top {
        grid-column: 1 / -1;
        min-height: 155px;
        max-height: 180px;
        border-radius: 16px;
    }

    .ag-why__card {
        border-radius: 16px;
        padding: 14px;
        gap: 8px;
    }

    .ag-why__card > div > span {
        font-size: 9.5px !important;
    }

    .ag-why__bento > .ag-why__card:nth-child(2) > div > div:nth-child(2) {
        font-size: 22px !important;
        margin-top: 4px !important;
    }

    .ag-why__bento > .ag-why__card:nth-child(2) > div > div:nth-child(3) {
        font-size: 11px !important;
        line-height: 1.4 !important;
    }

    .ag-why__bento > .ag-why__card:nth-child(2) > div:last-child {
        font-size: 10px !important;
    }

    .ag-why__bento > .ag-why__card:nth-child(3) > div > div {
        font-size: 15px !important;
        margin-top: 4px !important;
    }

    .ag-why__card p {
        font-size: 10.8px !important;
        line-height: 1.48 !important;
    }

    .ag-why__img-bottom {
        grid-column: 1 / -1;
        min-height: 145px;
        max-height: 170px;
        border-radius: 16px;
    }

    /* Tilted Ribbon Ticker (-20%) */
    .ag-ticker-wrap {
        padding: 12px 0 28px;
    }

    .ag-ticker {
        padding: 10px 0;
    }

    .ag-ticker__track {
        gap: 20px;
    }

    .ag-ticker__item {
        font-size: 13.5px;
        gap: 10px;
    }

    .ag-ticker__item i {
        font-size: 12px;
    }

    /* Expandable Accordion (-20%) */
    .ag-accordion-section {
        padding: 10px 0 38px;
    }

    .ag-pd-row {
        grid-template-columns: 32px 1fr 38px;
        gap: 8px 10px;
        padding: 16px 0;
    }

    .ag-pd-num {
        font-size: 13.5px;
    }

    .ag-pd-title {
        font-size: 15.5px;
        line-height: 1.3;
    }

    .ag-pd-desc {
        grid-column: 1 / -1;
        font-size: 11.8px;
        line-height: 1.55;
    }

    .ag-pd-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .ag-pd-hero {
        height: 215px;
        border-radius: 16px;
    }

    .ag-pd-hero-foot {
        bottom: 12px;
        right: 12px;
        left: 12px;
        gap: 8px;
    }

    .ag-pd-tag {
        padding: 4px 10px;
        font-size: 10.5px;
    }

    /* ========================================================================
       13. INTERACTIVE 4-STEP PROJECT CALCULATOR (-20%)
       ======================================================================== */
    .ag-calc-section {
        padding: 10px 0 42px;
    }

    .ag-calc-shell {
        border-radius: 20px;
    }

    .ag-calc-left {
        padding: 20px 16px;
        gap: 14px;
    }

    .ag-calc-left h2,
    .ag-calc-left h3 {
        font-size: 20px !important;
        line-height: 1.28 !important;
        margin: 6px 0 8px !important;
    }

    .ag-calc-left p {
        font-size: 12px !important;
        line-height: 1.58 !important;
    }

    .ag-calc-highlights {
        gap: 8px;
    }

    .ag-calc-hl {
        padding: 9px 12px;
        border-radius: 12px;
        font-size: 11.2px;
        gap: 8px;
    }

    .ag-calc-hl i {
        font-size: 14px;
    }

    .ag-calc-left .ag-pill-btn {
        width: 100%;
    }

    .ag-calc-right {
        padding: 18px 16px;
    }

    .ag-calc-progress {
        margin-bottom: 16px;
    }

    .ag-calc-progress__top {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .ag-calc-step h4 {
        font-size: 15.5px;
        margin-bottom: 10px;
    }

    .ag-calc-step p {
        font-size: 11.8px;
        margin-bottom: 12px;
    }

    .ag-calc-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .ag-calc-opt {
        padding: 10px 10px;
        border-radius: 12px;
        font-size: 11.2px;
        gap: 7px;
    }

    .ag-calc-opt i {
        font-size: 14px;
    }

    .ag-calc-step label {
        font-size: 10.8px !important;
        margin-bottom: 4px !important;
    }

    .ag-calc-input {
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 12px;
        margin-bottom: 8px;
    }

    .ag-calc-result-box {
        padding: 14px;
        border-radius: 15px;
        margin-bottom: 12px;
    }

    #agResSummary {
        font-size: 11px !important;
    }

    .ag-calc-result-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        margin-top: 10px;
    }

    .ag-calc-res-item {
        padding: 9px 6px;
        border-radius: 10px;
    }

    .ag-calc-res-item strong {
        font-size: 14.5px;
    }

    .ag-calc-res-item span {
        font-size: 9.5px;
    }

    .ag-calc-result-box > div:last-child {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 7px !important;
        margin-top: 10px !important;
    }

    .ag-calc-result-box .ag-pill-btn {
        width: 100%;
    }

    .ag-calc-nav {
        margin-top: 14px;
        padding-top: 12px;
    }

    /* ========================================================================
       14. VISUAL EQUIPMENT GALLERY — 2x2 STOREFRONT GRID (-20%)
       ======================================================================== */
    .ag-gallery-section {
        padding: 6px 0 40px;
    }

    .ag-pristine-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ag-pristine-card {
        border-radius: 15px;
    }

    .ag-pristine-card__img-wrap img {
        padding: 8px;
    }

    .ag-pristine-card__tag {
        top: 8px;
        right: 8px;
        padding: 3px 8px;
        font-size: 9px;
    }

    .ag-pristine-card__body {
        padding: 11px 12px;
        gap: 5px;
    }

    .ag-pristine-card__title {
        font-size: 12.8px;
        line-height: 1.3;
    }

    .ag-pristine-card__sub {
        font-size: 10.5px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ag-pristine-card__meta {
        padding-top: 6px;
        font-size: 10.2px;
        gap: 6px;
    }

    .ag-pristine-card__line {
        width: 20px;
    }

    /* ========================================================================
       15. CLIENT REVIEWS & EXECUTIVE DIGITAL GATEWAYS (-20%)
       ======================================================================== */
    .ag-reviews-section {
        padding: 10px 0 36px;
    }

    .ag-reviews-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        padding-top: 8px;
    }

    .ag-review-card {
        padding: 16px;
        border-radius: 18px;
    }

    .ag-review-stars {
        font-size: 11.5px;
        margin-bottom: 8px;
    }

    .ag-review-quote {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .ag-review-text {
        font-size: 11.6px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .ag-review-avatar {
        position: static;
        width: 38px;
        height: 38px;
        font-size: 15px;
        border-width: 2px;
        flex-shrink: 0;
        box-shadow: none;
    }

    .ag-review-author {
        padding-top: 0;
        border-top: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .ag-review-author strong {
        font-size: 12.2px;
    }

    .ag-review-author span {
        font-size: 10.2px;
    }

    /* Executive Digital Gateways — 2x2 Grid */
    .ag-gateways-section {
        padding: 12px 0 40px;
    }

    .ag-gateways-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ag-gateway-card {
        height: auto;
        min-height: 248px;
        border-radius: 26px 14px 14px 14px;
    }

    .ag-gateway-card__vertical {
        top: 12px;
        left: 8px;
        font-size: 21px;
    }

    .ag-gateway-card__body {
        padding: 14px 12px;
        gap: 6px;
    }

    .ag-gateway-card__icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 14px;
        margin-bottom: 2px;
    }

    .ag-gateway-card__role {
        font-size: 8.8px;
        letter-spacing: 0.08em;
    }

    .ag-gateway-card__title {
        font-size: 13.5px;
        line-height: 1.28;
    }

    .ag-gateway-card__desc {
        font-size: 10.4px;
        line-height: 1.45;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .ag-gateway-card__btns {
        flex-direction: column;
        gap: 5px;
    }

    .ag-gw-btn-main,
    .ag-gw-btn-sub {
        padding: 7px 9px;
        font-size: 10px;
        width: 100%;
    }

    /* ========================================================================
       16. ROUNDED DARK CORPORATE FOOTER (-20% & Smart 2-Col Mobile Grid)
       ======================================================================== */
    .ag-footer-outer {
        padding: 0 6px 10px;
    }

    .ag-footer {
        border-radius: 20px;
        padding: 22px 16px 16px;
    }

    .ag-footer__top {
        gap: 14px;
        padding-bottom: 18px;
    }

    .ag-footer .ag-brand__mark {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 15px;
    }

    .ag-footer .ag-brand__name {
        font-size: 13.5px !important;
        max-width: 240px;
    }

    .ag-footer .ag-brand__tag {
        display: block;
        font-size: 9.5px;
    }

    .ag-footer__newsletter {
        gap: 10px;
        width: 100%;
    }

    .ag-footer__nl-copy h4,
    .ag-footer__nl-copy strong {
        font-size: 13.8px;
    }

    .ag-footer__nl-copy p,
    .ag-footer__nl-copy span {
        font-size: 11px;
    }

    .ag-footer__newsletter > div:last-child {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px !important;
        width: 100%;
    }

    .ag-footer__newsletter .ag-pill-btn {
        width: 100%;
        padding: 9px 10px;
        font-size: 10.8px;
    }

    .ag-footer__nl-form {
        min-width: 100%;
    }

    .ag-footer__mid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 14px;
        padding: 20px 0;
    }

    .ag-footer__mid > .ag-footer__col:first-child,
    .ag-footer__mid > .ag-footer__col:last-child {
        grid-column: 1 / -1;
    }

    .ag-footer__cta-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .ag-footer__col > p {
        font-size: 11px !important;
        line-height: 1.55 !important;
        margin-bottom: 10px !important;
    }

    .ag-footer__col > div:last-child {
        font-size: 10.5px !important;
    }

    .ag-footer__col h4,
    .ag-footer__col h5 {
        font-size: 13.5px;
        margin-bottom: 10px;
    }

    .ag-footer__links {
        gap: 7px;
    }

    .ag-footer__links a {
        font-size: 11.4px;
    }

    .ag-footer__contact-item {
        font-size: 11.4px;
        gap: 8px;
        margin-bottom: 8px;
    }

    .ag-footer__bottom {
        padding-top: 14px;
        font-size: 10.8px;
        gap: 10px;
        flex-direction: column;
        text-align: center;
    }

    .ag-footer__socials a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .ag-back-top {
        width: 36px;
        height: 36px;
        bottom: 14px;
        left: 14px;
        font-size: 13px;
    }

    /* Admin CMS Modal Mobile Fit */
    .portal-video-modal {
        padding: 16px 14px;
        border-radius: 18px;
    }

    .portal-video-modal-header h3 {
        font-size: 13.5px;
    }
}

/* ============================================================================
   21. PHONE PORTRAIT FINE-TUNING (<= 640px & <= 390px)
   ============================================================================ */
@media (max-width: 640px) {
    /* Hide extra CTA pill in top mobile bar so Brand + Search + Menu fit 100% cleanly */
    .ag-header__cta {
        display: none !important;
    }

    .ag-header .ag-brand__name {
        font-size: 11px;
        max-width: 100%;
    }

    .ag-services__grid,
    .ag-stores-grid,
    .ag-portfolio-track {
        grid-template-columns: minmax(0, 1fr);
    }

    .ag-calc-step[data-step="3"] > div:last-child {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
    }
}

@media (max-width: 390px) {
    .ag-header .ag-brand__name {
        font-size: 10.4px;
    }

    .ag-hero__headline {
        padding-left: 92px !important;
        font-size: 12px;
    }

    .ag-hero__visual,
    .ag-hero__turbine {
        width: 88px !important;
        height: 126px !important;
    }

    .ag-hero__turbine-img {
        width: 202px !important;
        height: 135px !important;
    }

    .ag-hero__cta-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .ag-hero__cta-row .ag-pill-btn {
        font-size: 8.9px;
        padding: 5px 6px;
    }

    .ag-callout-strip > div:last-child,
    .ag-footer__newsletter > div:last-child {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}
