/* Canvas Background */
#banner-interactive-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

/* ========================================
   BANNER HERO SECTION
   ======================================== */

section.gridcontainer.cst-banner-wrapper {
    position: relative;
    background-color: #000;
    /* overflow: hidden; */
}

.banner-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    gap: 60px;
    padding-top: 80px;
}

.banner-hero-left {
    flex: 1;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.cst-banner-wrapper h1.main-heading-h1-at.visible-heading {
    position: relative !important;
    top: auto !important;
    z-index: 1 !important;
    color: #f0f0f0 !important;
    font-family: 'Chakra Petch', sans-serif !important;
    font-size: clamp(36px, 3.35vw, 56px) !important;
    font-weight: 600 !important;
    line-height: 1.15 !important;
    margin-bottom: 36px !important;
    letter-spacing: 0 !important;
}

.home-banner-subtext {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(16px, 1.5vw, 24px);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

.banner-ctas-container {
    display: flex;
    gap: 24px;
    align-items: center;
}

.banner-site-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    background-color: #f0f0f0;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.24px;
    padding: 10px 48px;
    border: 1px solid #f0f0f0;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.banner-site-cta:hover {
    background-color: transparent;
    color: #f0f0f0;
}

.banner-site-cta-ghost {
    background-color: transparent;
    color: #f0f0f0;
}

.banner-site-cta-ghost:hover {
    background-color: #f0f0f0;
    color: #000;
}

/* ========================================
   RIGHT COLUMN: AHURA SERVICE GRAPHIC
   ======================================== */

.banner-hero-right {
    flex: 0 0 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ahura-hero-graphic {
    position: relative;
    width: min(520px, 42vw);
    aspect-ratio: 26 / 21;
    min-width: 420px;
    isolation: isolate;
    filter: drop-shadow(0 24px 60px rgba(255, 255, 255, 0.06));
}

.ahura-grid-map {
    position: absolute;
    inset: 7% 3%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.16), transparent 48%);
    background-size: 34px 34px, 34px 34px, 100% 100%;
    mask-image: radial-gradient(circle at 50% 50%, #000 0%, #000 56%, transparent 82%);
    opacity: 0.78;
}

.ahura-grid-map::before,
.ahura-grid-map::after {
    content: "";
    position: absolute;
    width: 34%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
    animation: tracePulse 5.5s ease-in-out infinite;
}

.ahura-grid-map::before {
    top: 22%;
    left: 10%;
}

.ahura-grid-map::after {
    right: 8%;
    bottom: 24%;
    animation-delay: 1.6s;
}

.ahura-scanline {
    position: absolute;
    top: 12%;
    left: 9%;
    width: 82%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    opacity: 0.7;
    animation: scanHero 7s ease-in-out infinite;
}

.ahura-connector-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.connector-line {
    fill: none;
    stroke: rgba(255, 255, 255, 0.28);
    stroke-width: 1.3;
    stroke-dasharray: 5 9;
    stroke-linecap: square;
    animation: connectorPulse 4.8s ease-in-out infinite;
}

.line-design,
.line-shopify {
    animation-delay: 0.7s;
}

.line-ai,
.line-security {
    animation-delay: 1.4s;
}

.ahura-brand-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 136px;
    height: 136px;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        rgba(8, 8, 8, 0.96);
    box-shadow:
        inset 0 0 28px rgba(255, 255, 255, 0.08),
        0 0 50px rgba(255, 255, 255, 0.14); */
    animation: coreFloat 6s ease-in-out infinite;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    z-index: 3;
}

.ahura-brand-core::after,
.service-node::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background:
        radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%),
            rgba(255, 255, 255, 0.24) 0%,
            rgba(255, 255, 255, 0.12) 18%,
            rgba(255, 255, 255, 0.04) 36%,
            transparent 64%);
    transition: opacity 0.25s ease;
}

.ahura-brand-core:hover {
    border-color: rgba(255, 255, 255, 0.48);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        rgba(8, 8, 8, 0.98);
    box-shadow:
        inset 0 0 30px rgba(255, 255, 255, 0.12),
        0 0 62px rgba(255, 255, 255, 0.2);
}

.ahura-brand-core:hover::after,
.service-node:hover::before {
    opacity: 1;
}

.core-glow {
    position: absolute;
    inset: -34px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
    opacity: 0.9;
    animation: coreGlow 4.6s ease-in-out infinite;
    z-index: -1;
}

.core-mark {
    position: relative;
    width: 54px;
    height: 64px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(4px);
    z-index: 1;
}

.core-mark svg {
    width: 52px;
    height: auto;
    overflow: visible;
    /* filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.58)); */
}

.core-mark path {
    fill: #f0f0f0;
}

.core-label,
.node-kicker,
.node-title {
    font-family: 'Chakra Petch', sans-serif;
}

.core-label {
    position: relative;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.05;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: normal;
    z-index: 1;
}

.core-label span {
    display: block;
}

.service-node {
    position: absolute;
    width: 152px;
    height: 86px;
    padding: 12px 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "number icon"
        ". ."
        "title .";
    align-items: stretch;
    column-gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
        rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(8px);
    box-shadow:
        inset 0 0 18px rgba(255, 255, 255, 0.05),
        0 14px 36px rgba(0, 0, 0, 0.45);
    animation: nodeDrift 7s ease-in-out infinite;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    z-index: 2;
}

.service-node:hover {
    border-color: rgba(255, 255, 255, 0.42);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05)),
        rgba(10, 10, 10, 0.98);
    box-shadow:
        inset 0 0 24px rgba(255, 255, 255, 0.08),
        0 16px 42px rgba(0, 0, 0, 0.55),
        0 0 26px rgba(255, 255, 255, 0.1);
}

.service-node svg {
    position: relative;
    grid-area: icon;
    justify-self: end;
    align-self: start;
    width: 32px;
    height: 32px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.36);
    fill: none;
    stroke: #f0f0f0;
    stroke-width: 1.7;
    stroke-linecap: square;
    stroke-linejoin: round;
    opacity: 0.9;
    z-index: 1;
}

.service-node svg.shopify-logo-icon {
    padding: 5px;
    fill: none;
    stroke: none;
}

.node-kicker {
    position: relative;
    grid-area: number;
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    align-self: start;
    justify-self: start;
    z-index: 1;
}

.node-title {
    position: relative;
    grid-area: title;
    color: #f0f0f0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.05;
    align-self: end;
    justify-self: start;
    white-space: nowrap;
    z-index: 1;
}

.node-dev {
    top: 18%;
    left: 0;
}

.node-design {
    top: 18%;
    right: 0;
    animation-delay: 1.1s;
}

.node-ai {
    left: 0;
    bottom: 18%;
    animation-delay: 1.9s;
}

.node-shopify {
    right: 0;
    bottom: 18%;
    animation-delay: 0.6s;
}

.node-mobile {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-name: nodeDriftTop;
    animation-delay: 1.5s;
}

.node-security {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-name: nodeDriftBottom;
    animation-delay: 0.9s;
}

/* ========================================
   GRAPHIC KEYFRAMES
   ======================================== */

@keyframes connectorPulse {

    0%,
    100% {
        stroke-opacity: 0.22;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-opacity: 0.72;
        stroke-dashoffset: -28;
    }
}

@keyframes coreFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-8px);
    }
}

@keyframes coreGlow {

    0%,
    100% {
        opacity: 0.55;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes nodeDrift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(0, -7px);
    }
}

@keyframes nodeDriftTop {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-7px);
    }
}

@keyframes nodeDriftBottom {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(7px);
    }
}

@keyframes scanHero {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0;
    }

    15%,
    75% {
        opacity: 0.7;
    }

    50% {
        transform: translateY(310px);
        opacity: 0.45;
    }
}

@keyframes tracePulse {

    0%,
    100% {
        opacity: 0.12;
        transform: translateX(-14px);
    }

    50% {
        opacity: 0.8;
        transform: translateX(14px);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .banner-hero-row {
        gap: 40px;
    }

    .banner-hero-left {
        max-width: 590px;
    }

    .cst-banner-wrapper h1.main-heading-h1-at.visible-heading {
        font-size: clamp(34px, 3.2vw, 50px) !important;
    }

    .banner-hero-right {
        flex-basis: 460px;
    }

    .ahura-hero-graphic {
        width: min(460px, 40vw);
        min-width: 380px;
    }
}

@media (max-width: 1100px) {
    section.gridcontainer.cst-banner-wrapper {
        height: 100svh;
        height: 100vh;
        min-height: 640px;
    }

    .banner-hero-row {
        flex-direction: column;
        text-align: center;
        justify-content: space-between;
        box-sizing: border-box;
        gap: 24px;
        padding-top: 96px;
        padding-bottom: 40px;
        height: 100svh;
        height: 100vh;
        min-height: 640px;
    }

    .banner-hero-left {
        order: 2;
        /* position: absolute; */
        /* left: 0; */
        /* right: 0; */
        /* bottom: 40px; */
        align-items: center;
        text-align: center;
        max-width: none;
        margin: 0 auto;
        padding: 0 24px;
    }

    .cst-banner-wrapper h1.main-heading-h1-at.visible-heading {
        font-size: clamp(42px, 6vw, 58px) !important;
        line-height: 1.08 !important;
        margin-bottom: 26px !important;
    }

    .home-banner-subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .banner-ctas-container {
        justify-content: center;
    }

    .banner-hero-right {
        order: 1;
        /* position: absolute; */
        /* top: 96px; */
        /* left: 0; */
        /* right: 0; */
        /* flex: none; */
        width: 100%;
        min-height: 430px;
        overflow: hidden;
    }

    .ahura-hero-graphic {
        width: min(560px, 92vw);
        min-width: 0;
    }
}

@media (max-width: 1100px) and (orientation: landscape) {

    section.gridcontainer.cst-banner-wrapper,
    .banner-hero-row {
        min-height: 100svh;
        min-height: 100vh;
    }

    .banner-hero-row {
        gap: 12px;
        padding-top: 62px;
        padding-bottom: 22px;
    }

    .banner-hero-left {
        bottom: 22px;
    }

    .banner-hero-right {
        top: 76px;
        min-height: min(45vh, 340px);
        overflow: visible;
    }

    .ahura-hero-graphic {
        width: min(500px, 58vw);
    }

    .cst-banner-wrapper h1.main-heading-h1-at.visible-heading {
        font-size: clamp(30px, 4.3vw, 42px) !important;
        line-height: 1.04 !important;
        margin-bottom: 16px !important;
    }

    .banner-site-cta {
        font-size: 17px;
        padding: 9px 34px;
    }
}

@media (max-width: 768px) {
    .banner-hero-row {
        gap: 18px;
        padding-top: 82px;
        padding-bottom: 30px;
        min-height: 560px;
    }

    .banner-hero-left {
        bottom: 90px;
    }

    .banner-hero-right {
        top: 82px;
    }

    .cst-banner-wrapper h1.main-heading-h1-at.visible-heading {
        font-size: clamp(32px, 5.8vw, 42px) !important;
        line-height: 1.08 !important;
        margin-bottom: 22px !important;
    }

    .home-banner-subtext {
        font-size: 16px;
        margin-bottom: 32px;
        opacity: 0.7;
    }

    .banner-ctas-container {
        gap: 14px;
        width: min(100%, 520px);
    }

    .banner-site-cta {
        flex: 1;
        min-width: 0;
        font-size: 18px;
        padding: 11px 28px;
        white-space: nowrap;
    }

    .banner-hero-right {
        min-height: min(48vh, 430px);
        overflow: visible;
    }

    .ahura-hero-graphic {
        width: min(500px, 96vw);
    }

    .service-node {
        width: 132px;
        height: 76px;
        padding: 10px;
        grid-template-columns: minmax(0, 1fr) 28px;
        column-gap: 8px;
    }

    .service-node svg {
        width: 28px;
        height: 28px;
        padding: 5px;
    }

    .node-title {
        font-size: 15px;
    }

    .node-kicker {
        font-size: 11px;
    }

    .ahura-brand-core {
        width: 112px;
        height: 112px;
    }

    .core-mark {
        width: 42px;
        height: 50px;
        margin-bottom: 6px;
    }

    .core-mark svg {
        width: 42px;
    }

    .core-label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .get_quote_con.at-ts-mobile .get_quote {
        top: 72px;
    }

    .banner-hero-row {
        gap: 16px;
        padding-top: 70px;
        padding-bottom: 24px;
        padding-left: 14px;
        padding-right: 14px;
        min-height: 620px;
    }

    .banner-hero-left {
        bottom: 24px;
        padding: 0 14px;
    }

    .banner-hero-right {
        top: 70px;
    }

    .cst-banner-wrapper h1.main-heading-h1-at.visible-heading {
        font-size: clamp(30px, 4vw, 34px) !important;
        line-height: 1.08 !important;
        margin-bottom: 18px !important;
    }

    .banner-ctas-container {
        flex-direction: column;
        gap: 10px;
        width: min(100%, 340px);
    }

    .banner-site-cta {
        width: 100%;
        font-size: 16px;
        padding: 10px 24px;
    }

    .banner-hero-right {
        min-height: min(46vh, 340px);
        overflow: visible;
    }

    .ahura-hero-graphic {
        width: min(360px, 94vw);
    }

    .service-node {
        width: 104px;
        height: 62px;
        padding: 7px;
        grid-template-columns: minmax(0, 1fr) 22px;
        column-gap: 6px;
    }

    .service-node svg {
        width: 22px;
        height: 22px;
        padding: 4px;
    }

    .node-title {
        font-size: 12px;
    }

    .node-kicker {
        font-size: 9px;
    }

    .ahura-brand-core {
        width: 94px;
        height: 94px;
    }

    .core-mark {
        width: 32px;
        height: 38px;
        margin-bottom: 4px;
    }

    .core-mark svg {
        width: 32px;
    }

    .core-label {
        font-size: 10px;
        letter-spacing: 0;
    }

}

@media (max-width: 380px) {
    .cst-banner-wrapper h1.main-heading-h1-at.visible-heading {
        font-size: clamp(27px, 8vw, 31px) !important;
    }

    .banner-hero-right {
        min-height: 292px;
    }

    .ahura-hero-graphic {
        width: 350px;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ahura-hero-graphic *,
    .ahura-hero-graphic *::before,
    .ahura-hero-graphic *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .ahura-scanline {
        opacity: 0.28;
        transform: translateY(160px);
    }
}