/* ================================================================
   EASY AI NAV ITEM  ·  easy-ai.css
   Theme: #FF9FA1 coral | #002253 navy | Font Inter
   ================================================================ */

/* ────────────────────────────────
   SHARED KEYFRAMES
──────────────────────────────── */
@keyframes sparkle-rotate {
    0% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(15deg) scale(1.15);
    }

    50% {
        transform: rotate(-10deg) scale(0.92);
    }

    75% {
        transform: rotate(20deg) scale(1.1);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes coral-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 159, 161, 0.0),
            0 0 10px 2px rgba(255, 159, 161, 0.35);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(255, 159, 161, 0.0),
            0 0 22px 6px rgba(255, 159, 161, 0.65);
    }
}

@keyframes sparkle-twinkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }

    33% {
        opacity: .7;
        transform: scale(1.4) rotate(18deg);
    }

    66% {
        opacity: .9;
        transform: scale(0.85) rotate(-12deg);
    }
}

@keyframes dropdown-in {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes sub-item-in {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glow-bullet {

    0%,
    100% {
        box-shadow: 0 0 4px 1px rgba(255, 159, 161, 0.6);
    }

    50% {
        box-shadow: 0 0 10px 4px rgba(255, 159, 161, 1);
    }
}

/* ================================================================
   1.  TOP BAR – .main-navbar
   ================================================================ */

/* ── Wrapper ── */
.ai-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: auto;
    /* pushes other nav items right → AI sits near logo */
}

/* ── Trigger button ── */
.ai-nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px 8px 12px;
    /* slightly bigger hit-area */
    border-radius: 50px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    transition: background .25s ease;
    white-space: nowrap;
    position: relative;
}

.ai-nav-trigger:hover {
    background: rgba(255, 159, 161, .1);
}

/* Sparkle star icon – continuous animation */
.ai-sparkle-icon {
    font-size: .95rem;
    color: #FF9FA1;
    animation: sparkle-twinkle 1.8s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 0 4px #FF9FA1);
    line-height: 1;
}

/* "Easy AI" label — flowing animated gradient */
.ai-label-text {
    font-size: .98rem;
    /* slightly bigger */
    font-weight: 700;
    font-family: "Inter", sans-serif;
    background: linear-gradient(90deg,
            #002253 0%,
            #4a90d9 20%,
            #FF9FA1 40%,
            #ff6b7d 55%,
            #FF9FA1 70%,
            #4a90d9 85%,
            #002253 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: .3px;
    animation: label-flow 3.2s linear infinite;
}

@keyframes label-flow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 220% center;
    }
}

/* "AI" chip badge */
.ai-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: .58rem;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #002253, #FF9FA1);
    animation: coral-pulse 2.2s ease-in-out infinite;
}

/* Chevron */
.ai-nav-trigger .ai-arrow {
    font-size: .65rem;
    color: #FF9FA1;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
    display: inline-block;
    filter: drop-shadow(0 0 3px rgba(255, 159, 161, .6));
}

/* rotate on hover or .open */
.ai-nav-item:hover .ai-arrow,
.ai-nav-item.open .ai-arrow {
    transform: rotate(180deg);
}

/* ── Invisible bridge so cursor can reach dropdown ── */
.ai-nav-trigger::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 0;
    width: 100%;
    height: 20px;
    /* covers the gap between trigger and panel */
}

/* ── Dropdown panel ── */
.ai-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px) scale(.97);
    min-width: 400px;
    /* ★ Dark transparent glassy background */
    background: rgba(0, 15, 40, 0.82);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-radius: 18px;
    border: 1px solid rgba(255, 159, 161, .22);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, .45),
        0 0 0 1px rgba(255, 159, 161, .08),
        inset 0 1px 0 rgba(255, 255, 255, .07);
    padding: 10px 8px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
        opacity .28s ease,
        transform .3s cubic-bezier(.22, 1, .36, 1),
        visibility .28s;
    z-index: 9999;
}

/* Notch arrow */
.ai-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: rgba(255, 159, 161, .22);
    border-top: none;
}

.ai-dropdown::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-bottom-color: rgba(0, 15, 40, .88);
    border-top: none;
}

/* Show state */
.ai-nav-item:hover .ai-dropdown,
.ai-nav-item.open .ai-dropdown {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
    animation: dropdown-in .3s cubic-bezier(.22, 1, .36, 1) both;
}

/* Stagger sub-items on appear */
.ai-nav-item:hover .ai-sub-item:nth-child(1),
.ai-nav-item.open .ai-sub-item:nth-child(1) {
    animation: sub-item-in .3s .05s both;
}

.ai-nav-item:hover .ai-sub-item:nth-child(2),
.ai-nav-item.open .ai-sub-item:nth-child(2) {
    animation: sub-item-in .3s .13s both;
}

/* ── Sub-items (shared by top & floating) ── */
.ai-sub-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 14px;
    border-radius: 13px;
    text-decoration: none;
    color: #e0e8f5;
    font-family: "Inter", sans-serif;
    font-size: .86rem;
    font-weight: 500;
    transition: background .22s ease, color .22s ease, transform .22s ease;
    position: relative;
    border: 1px solid transparent;
}

.ai-sub-item:hover {
    background: rgba(255, 159, 161, .12);
    border-color: rgba(255, 159, 161, .28);
    color: #FF9FA1;
    transform: translateX(4px);
}

/* Glowing bullet dot */
.ai-sub-bullet {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #FF9FA1;
    flex-shrink: 0;
    animation: glow-bullet 1.8s ease-in-out infinite;
    box-shadow: 0 0 6px 2px rgba(255, 159, 161, .55);
}

.ai-sub-item:nth-child(2) .ai-sub-bullet {
    background: #ff6b7d;
    animation-delay: .5s;
    box-shadow: 0 0 6px 2px rgba(255, 107, 125, .55);
}

/* Icon circle */
.ai-sub-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
    color: #fff;
    flex-shrink: 0;
    transition: transform .22s ease;
}

.ai-sub-item:hover .ai-sub-icon {
    transform: scale(1.12) rotate(-5deg);
}

.ai-sub-icon.icon-automation {
    background: linear-gradient(135deg, #002253, #1e4a9e);
    box-shadow: 0 4px 12px rgba(0, 34, 83, .4);
}

.ai-sub-icon.icon-service {
    background: linear-gradient(135deg, #FF9FA1, #e05060);
    box-shadow: 0 4px 12px rgba(255, 159, 161, .4);
}

/* Sub-item text */
.ai-sub-text strong {
    display: block;
    font-size: .87rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    transition: color .22s;
}

.ai-sub-item:hover .ai-sub-text strong {
    color: #FF9FA1;
}

.ai-sub-text span {
    display: block;
    font-size: .72rem;
    color: rgba(200, 215, 235, .55);
    margin-top: 2px;
    text-align: left;
}

/* Decorative divider between items */
.ai-dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 159, 161, .18), transparent);
    margin: 4px 10px;
}

/* ================================================================
   2.  FLOATING NAVBAR – .floating-navbar
   ================================================================ */
.float-ai-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 28px;
    /* gap between logo and Easy AI item */
}

.float-ai-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px 8px 12px;
    /* match top bar size */
    border-radius: 50px;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    transition: background .25s;
    white-space: nowrap;
    position: relative;
}

.float-ai-trigger:hover {
    background: rgba(255, 159, 161, .1);
}

/* Bridge gap fix for floating trigger */
.float-ai-trigger::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 0;
    width: 100%;
    height: 20px;
}

.float-ai-trigger .ai-sparkle-icon {
    font-size: .9rem;
    color: #FF9FA1;
    animation: sparkle-twinkle 1.8s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 0 4px #FF9FA1);
}

/* Floating trigger label inherits the global animated gradient — no override needed */
.float-ai-trigger .ai-label-text {
    font-size: .98rem;
    /* match top bar */
}

.float-ai-trigger .ai-arrow {
    font-size: .63rem;
    color: #FF9FA1;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
    display: inline-block;
    filter: drop-shadow(0 0 3px rgba(255, 159, 161, .6));
}

.float-ai-nav-item:hover .ai-arrow,
.float-ai-nav-item.open .ai-arrow {
    transform: rotate(180deg);
}

/* Floating dropdown – same dark glass */
.float-ai-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px) scale(.97);
    min-width: 248px;
    background: rgba(0, 15, 40, 0.88);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border-radius: 18px;
    border: 1px solid rgba(255, 159, 161, .22);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, .5),
        0 0 0 1px rgba(255, 159, 161, .08),
        inset 0 1px 0 rgba(255, 255, 255, .07);
    padding: 10px 8px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition:
        opacity .28s ease,
        transform .3s cubic-bezier(.22, 1, .36, 1),
        visibility .28s;
    z-index: 99999;
}

.float-ai-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: rgba(255, 159, 161, .22);
    border-top: none;
}

.float-ai-dropdown::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-bottom-color: rgba(0, 15, 40, .9);
    border-top: none;
}

.float-ai-nav-item:hover .float-ai-dropdown,
.float-ai-nav-item.open .float-ai-dropdown {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
    visibility: visible;
    animation: dropdown-in .3s cubic-bezier(.22, 1, .36, 1) both;
    width: 400px;
}

.float-ai-nav-item:hover .ai-sub-item:nth-child(1),
.float-ai-nav-item.open .ai-sub-item:nth-child(1) {
    animation: sub-item-in .3s .05s both;
}

.float-ai-nav-item:hover .ai-sub-item:nth-child(2),
.float-ai-nav-item.open .ai-sub-item:nth-child(2) {
    animation: sub-item-in .3s .13s both;
}

/* ================================================================
   3.  MOBILE OVERLAY
   ================================================================ */
.mobile-ai-section {
    padding: 0 18px 22px 18px;
}

/* Accordion header */
.mobile-ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: 16px;
    background: rgba(0, 15, 40, 0.72);
    border: 1px solid rgba(255, 159, 161, .22);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background .25s, border-color .25s, box-shadow .25s;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .05);
    margin-top: 15px;
}

.mobile-ai-header:active {
    transform: scale(.99);
}

.mobile-ai-header.active,
.mobile-ai-header:hover {
    background: rgba(0, 15, 40, 0.88);
    border-color: rgba(255, 159, 161, .45);
    box-shadow: 0 6px 28px rgba(255, 159, 161, .2), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.mobile-ai-header-left {
    display: flex;
    align-items: center;
    gap: 11px;
}

/* Animated sparkle icon container */
.mobile-ai-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #002253, #FF9FA1 130%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(255, 159, 161, .4);
    animation: coral-pulse 2.2s ease-in-out infinite;
}

.mobile-ai-icon i {
    animation: sparkle-twinkle 2s ease-in-out infinite;
}

.mobile-ai-title {
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-size: 1rem;
    background: linear-gradient(125deg, #ffffff 0%, #FF9FA1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-ai-chevron {
    font-size: .78rem;
    color: #FF9FA1;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
    filter: drop-shadow(0 0 4px rgba(255, 159, 161, .6));
}

.mobile-ai-header.active .mobile-ai-chevron {
    transform: rotate(180deg);
}

/* Accordion body */
.mobile-ai-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.22, 1, .36, 1), opacity .35s ease;
    opacity: 0;
}

.mobile-ai-body.open {
    max-height: 240px;
    opacity: 1;
}

.mobile-ai-body-inner {
    padding: 8px 2px 2px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Mobile sub-items */
.mobile-ai-sub-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 15px;
    border-radius: 14px;
    text-decoration: none;
    color: #e0e8f5;
    font-family: "Inter", sans-serif;
    font-size: .92rem;
    font-weight: 500;
    background: rgba(0, 15, 40, .55);
    border: 1px solid rgba(255, 159, 161, .14);
    transition: background .25s ease, border-color .25s ease, color .25s ease, transform .2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-ai-sub-item:hover,
.mobile-ai-sub-item:active {
    background: rgba(255, 159, 161, .13);
    border-color: rgba(255, 159, 161, .38);
    color: #FF9FA1;
    transform: translateX(4px);
}

.mobile-ai-sub-item .ai-sub-text strong {
    color: #fff;
    text-align: left;
}

.mobile-ai-sub-item:hover .ai-sub-text strong,
.mobile-ai-sub-item:active .ai-sub-text strong {
    color: #FF9FA1;
}

.mobile-ai-sub-item .ai-sub-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF9FA1;
    flex-shrink: 0;
    animation: glow-bullet 1.8s ease-in-out infinite;
    box-shadow: 0 0 6px 2px rgba(255, 159, 161, .55);
}

.mobile-ai-sub-item:nth-child(2) .ai-sub-bullet {
    background: #ff6b7d;
    animation-delay: .5s;
}

/* ================================================================
   AI HERO SECTION  —  easy-ai-section
   ================================================================ */

/* ── Section shell ── */
.easy-ai-section {
    position: relative;
    background: #000f28;
    /* very deep navy */
    min-height: 100vh;
    overflow: hidden;
    font-family: "Inter", sans-serif;
}

/* ================================================================
   LOADER
   ================================================================ */
.ai-page-loader {
    position: absolute;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000f28;
    transition: opacity .7s ease, visibility .7s;
    top: -30% !important;

}

.ai-page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* SVG circuit background */
.ai-loader-circuit {
    position: absolute;
    inset: 0;
    opacity: .25;
}

.circuit-svg {
    width: 100%;
    height: 100%;
}

/* Animate SVG paths drawing themselves */
.c-path {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: draw-path 2s ease forwards;
}

.c-path--delay-1 {
    animation-delay: .3s;
}

.c-path--delay-2 {
    animation-delay: .6s;
}

@keyframes draw-path {
    to {
        stroke-dashoffset: 0;
    }
}

/* Pulsing nodes */
.c-node {
    opacity: 0;
    animation: node-pop .4s ease forwards;
}

.c-node:nth-child(1) {
    animation-delay: .8s;
}

.c-node:nth-child(2) {
    animation-delay: 1s;
}

.c-node:nth-child(3) {
    animation-delay: 1.1s;
}

.c-node:nth-child(4) {
    animation-delay: 1.2s;
}

.c-node:nth-child(5) {
    animation-delay: 1.3s;
}

.c-node:nth-child(6) {
    animation-delay: 1.4s;
}

.c-node:nth-child(7) {
    animation-delay: 1.5s;
}

@keyframes node-pop {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    70% {
        opacity: 1;
        transform: scale(1.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Central loader panel */
.ai-loader-panel {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.ai-loader-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #002253 0%, #FF9FA1 140%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 8px;
    box-shadow: 0 0 0 0 rgba(255, 159, 161, 0.5);
    animation: loader-icon-pulse 1.5s ease-in-out infinite;
}

@keyframes loader-icon-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 159, 161, .5);
    }

    50% {
        box-shadow: 0 0 0 18px rgba(255, 159, 161, 0);
    }
}

.ai-loader-brand {
    display: flex;
    align-items: baseline;
    gap: 6px;
    font-family: "Inter", sans-serif;
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: -1px;
}

.ai-loader-easy {
    color: #ffffff;
}

.ai-loader-ai-text {
    background: linear-gradient(135deg, #FF9FA1, #ff6b7d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-loader-status {
    font-size: .8rem;
    color: rgba(255, 159, 161, .7);
    letter-spacing: .5px;
    font-family: "Inter", monospace;
    margin: 0;
    min-height: 1.2em;
}

.ai-loader-bar-wrap {
    width: 240px;
    height: 4px;
    background: rgba(255, 255, 255, .08);
    border-radius: 4px;
    overflow: hidden;
}

.ai-loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #002253, #FF9FA1);
    border-radius: 4px;
    transition: width .08s linear;
    box-shadow: 0 0 8px rgba(255, 159, 161, .6);
}

.ai-loader-pct {
    font-size: .72rem;
    color: rgba(255, 255, 255, .4);
    margin: 0;
    font-variant-numeric: tabular-nums;
}

/* Corner brackets */
.ai-corner {
    position: absolute;
    width: 28px;
    height: 28px;
    border-color: #FF9FA1;
    border-style: solid;
    opacity: .6;
}

.ai-corner--tl {
    top: 20px;
    left: 20px;
    border-width: 2px 0 0 2px;
}

.ai-corner--tr {
    top: 20px;
    right: 20px;
    border-width: 2px 2px 0 0;
}

.ai-corner--bl {
    bottom: 20px;
    left: 20px;
    border-width: 0 0 2px 2px;
}

.ai-corner--br {
    bottom: 20px;
    right: 20px;
    border-width: 0 2px 2px 0;
}

/* ================================================================
   ANIMATED BACKGROUND
   ================================================================ */
.ai-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Dot grid */
.ai-dot-grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(255, 159, 161, .18) 1px, transparent 1px);
    background-size: 36px 36px;
    animation: grid-drift 20s linear infinite;
}

@keyframes grid-drift {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(36px);
    }
}

/* Floating orbs */
.ai-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orb-float 8s ease-in-out infinite alternate;
}

.ai-orb--1 {
    width: 560px;
    height: 560px;
    background: rgba(0, 34, 83, .55);
    top: -200px;
    left: -150px;
    animation-duration: 9s;
}

.ai-orb--2 {
    width: 400px;
    height: 400px;
    background: rgba(255, 159, 161, .12);
    top: 200px;
    right: -100px;
    animation-duration: 11s;
    animation-delay: -3s;
}

.ai-orb--3 {
    width: 300px;
    height: 300px;
    background: rgba(74, 144, 217, .1);
    bottom: -100px;
    left: 30%;
    animation-duration: 13s;
    animation-delay: -5s;
}

.ai-orb--4 {
    width: 200px;
    height: 200px;
    background: rgba(255, 159, 161, .08);
    bottom: 50px;
    right: 15%;
    animation-duration: 7s;
    animation-delay: -2s;
}

@keyframes orb-float {
    from {
        transform: translateY(0) scale(1);
    }

    to {
        transform: translateY(-40px) scale(1.06);
    }
}

/* Light streaks */
.ai-streak {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 159, 161, .35), transparent);
    width: 60%;
    animation: streak-slide 6s linear infinite;
    opacity: 0;
}

.ai-streak--1 {
    top: 22%;
    left: -10%;
    width: 70%;
    animation-delay: 0s;
    animation-duration: 5s;
}

.ai-streak--2 {
    top: 55%;
    left: -5%;
    width: 50%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.ai-streak--3 {
    top: 78%;
    left: -15%;
    width: 80%;
    animation-delay: 3.5s;
    animation-duration: 6s;
}

@keyframes streak-slide {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: .6;
    }

    100% {
        transform: translateX(130%);
        opacity: 0;
    }
}

/* Particle canvas */
.ai-particle-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ================================================================
   HERO CONTENT
   ================================================================ */
.ai-hero-content {
    position: relative;
    z-index: 10;
    padding: 80px 0 200px;
    /* Increased bottom padding for blending space */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.22, 1, .36, 1);
}

.ai-hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Title block ── */
.ai-hero-title-block {
    text-align: center;
    /* max-width: 760px; */
    margin: 0 auto 60px;
}

.ai-chip-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    background: rgba(255, 159, 161, .1);
    border: 1px solid rgba(255, 159, 161, .3);
    color: #FF9FA1;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .4px;
    margin-bottom: 22px;
    animation: sparkle-twinkle 2.5s ease-in-out infinite;
}

.ai-chip-badge i {
    font-size: .85rem;
}

.ai-hero-heading {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

/* ── ai-automation.html specific title gradient ── */
.ai-title-gradient {
    display: inline-block;
    background: linear-gradient(90deg,
            #ffffff 0%,
            #FF7081 18%,
            #4a90d9 50%,
            #FF7081 82%,
            #ffffff 100%);
    background-size: 100% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 5px;
    /* prevent clipping on some browsers */
}

.ai-title-gradient .ai-heading-accent {
    background: none;
    -webkit-text-fill-color: inherit;
    background-clip: unset;
}

.ai-heading-accent {
    background: linear-gradient(130deg, #FF9FA1 0%, #ff6b7d 50%, #ffa8b0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-hero-desc {
    font-size: 1.05rem;
    /* color: rgba(200, 220, 255, .6); */
    color: #fff;
    line-height: 1.7;
    /* max-width: 820px; */
    margin: 0 auto 32px;
}

/* Stats row */
.ai-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.ai-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 28px;
}

.ai-stat-num {
    font-size: 1.7rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FF9FA1, #ffd6d7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.ai-stat-label {
    font-size: .75rem;
    color: rgba(200, 220, 255, .5);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.ai-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 159, 161, .2);
}

/* ── Table section ── */
.ai-table-section {
    background: rgba(0, 15, 40, .7);
    /* backdrop-filter: blur(20px); */
    border: 1px solid rgba(255, 159, 161, .15);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.ai-table-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ai-table-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 5px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.ai-table-title i {
    color: #FF9FA1;
    font-size: 1rem;
}

.ai-table-subtitle {
    font-size: .78rem;
    color: rgba(200, 220, 255, .45);
    margin: 0;
}

.ai-table-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-top: 4px;
}

.ai-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: live-blink 1.4s ease-in-out infinite;
}

@keyframes live-blink {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(16, 185, 129, .5);
    }

    50% {
        opacity: .5;
        box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
    }
}

.ai-live-label {
    font-size: .72rem;
    font-weight: 700;
    color: #10b981;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ── Table scroll wrapper — only table scrolls ── */
.ai-table-scroll-wrap {
    overflow-x: auto;
    border-radius: 12px;
    /* Thin themed scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 159, 161, .35) transparent;
}

.ai-table-scroll-wrap::-webkit-scrollbar {
    height: 5px;
}

.ai-table-scroll-wrap::-webkit-scrollbar-track {
    background: transparent;
}

.ai-table-scroll-wrap::-webkit-scrollbar-thumb {
    background: rgba(255, 159, 161, .4);
    border-radius: 10px;
}

/* ── The actual table ── */
.ai-data-table {
    width: 100%;
    min-width: 560px;
    /* forces scroll on mobile */
    border-collapse: collapse;
}

.ai-data-table thead tr {
    background: rgba(255, 159, 161, .08);
}

.ai-data-table th {
    padding: 10px 14px;
    font-size: .85rem;
    font-weight: 700;
    color: rgba(255, 159, 161, .85);
    text-transform: uppercase;
    letter-spacing: .5px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255, 159, 161, .12);
}

.ai-data-table th i {
    margin-right: 5px;
}

/* Row animations — each row slides in with a delay */
.ai-row {
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    transition: background .2s ease;
    opacity: 0;
    transform: translateX(-12px);
    animation: row-in .4s ease forwards;
}

.ai-row:hover {
    background: rgba(255, 159, 161, .05);
}

.ai-row:nth-child(1) {
    animation-delay: .05s;
}

.ai-row:nth-child(2) {
    animation-delay: .1s;
}

.ai-row:nth-child(3) {
    animation-delay: .15s;
}

.ai-row:nth-child(4) {
    animation-delay: .2s;
}

.ai-row:nth-child(5) {
    animation-delay: .25s;
}

.ai-row:nth-child(6) {
    animation-delay: .3s;
}

.ai-row:nth-child(7) {
    animation-delay: .35s;
}

.ai-row:nth-child(8) {
    animation-delay: .4s;
}

.ai-row:nth-child(9) {
    animation-delay: .45s;
}

.ai-row:nth-child(10) {
    animation-delay: .5s;
}

/* Row animation is PAUSED until JS triggers it */
.ai-data-table.rows-paused .ai-row {
    animation-play-state: paused;
}

.ai-data-table.rows-active .ai-row {
    animation-play-state: running;
}

@keyframes row-in {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.ai-data-table td {
    padding: 9px 14px;
    font-size: .94rem;
    color: rgb(255, 255, 255);
    white-space: nowrap;
    vertical-align: middle;
}

.second-td,
.second-th {
    text-align: center;
}

/* Client avatar initial */
.ai-client-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--av, #FF9FA1);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    margin-right: 9px;
    flex-shrink: 0;
    vertical-align: middle;
}

/* Status badges */
.ai-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    padding: 3px 11px;
    border-radius: 20px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .3px;
}

.ai-status--confirmed {
    background: rgba(16, 185, 129, .12);
    color: #00ffaa;
    border: 1px solid rgba(16, 185, 129, 0.726);
}

.ai-status--pending {
    background: rgba(245, 158, 11, .12);
    color: #f59f0b94;
    border: 1px solid rgba(245, 159, 11, 0.541);
}

.ai-status--inprogress {
    background: #007bff24;
    color: #007bff;
    border: 1px solid rgba(12, 116, 228, 0.74);
}

.ai-status--cancelled {
    background: rgba(239, 68, 68, .1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, .2);
}

/* Footer note below table */
.ai-table-footer-note {
    font-size: .73rem;
    color: rgba(200, 220, 255, .35);
    margin: 16px 0 0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.ai-table-footer-note i {
    color: #FF9FA1;
}

/* ── Mobile tweaks ── */
@media (max-width: 767px) {
    .ai-hero-content {
        padding: 50px 0 40px;
    }

    .ai-table-section {
        padding: 18px 14px;
        border-radius: 14px;
    }

    .ai-hero-heading {
        font-size: 1.85rem;
    }

    .ai-stat {
        padding: 0 14px;
    }

    .ai-stat-num {
        font-size: 1.3rem;
    }

    .ai-corner {
        width: 18px;
        height: 18px;
    }

    .ai-loader-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .ai-loader-brand {
        font-size: 1.5rem;
    }

    .ai-hero-desc {
        display: none;
    }
}

/* ── Custom SVG neural icon — ring rotations ── */
.ai-loader-icon {
    background: transparent !important;
    /* remove the gradient box behind SVG */
    box-shadow: none !important;
    animation: none !important;
    /* icon div no longer pulses; SVG handles it */
}

.ai-loader-svg-icon {
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 0 8px rgba(255, 159, 161, .45));
    animation: svg-icon-glow 2s ease-in-out infinite alternate;
}

@keyframes svg-icon-glow {
    from {
        filter: drop-shadow(0 0 5px rgba(255, 159, 161, .35));
    }

    to {
        filter: drop-shadow(0 0 18px rgba(255, 159, 161, .85));
    }
}

/* Outer dashed ring spins clockwise */
.svg-ring-outer {
    transform-box: fill-box;
    transform-origin: center;
    animation: ring-cw 7s linear infinite;
}

/* Mid dashed ring counter-rotates */
.svg-ring-mid {
    transform-box: fill-box;
    transform-origin: center;
    animation: ring-ccw 11s linear infinite;
}

@keyframes ring-cw {
    to {
        transform: rotate(360deg);
    }
}

@keyframes ring-ccw {
    to {
        transform: rotate(-360deg);
    }
}

/* Outer node cluster floats gently */
.svg-nodes-outer {
    transform-box: fill-box;
    transform-origin: center;
    animation: nodes-breathe 3.5s ease-in-out infinite alternate;
}

@keyframes nodes-breathe {
    from {
        transform: scale(0.95);
        opacity: 0.8;
    }

    to {
        transform: scale(1.05);
        opacity: 1;
    }
}

/* ── First column subtitle style (no avatar circles) ── */
.ai-client-avatar {
    display: none !important;
}

.ai-data-table td:first-child {
    color: rgba(190, 215, 255, 0.50);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .15px;
    padding-left: 14px;
}

/* ── ai-automation.html only — first-column accent/highlight ── */
.ai-data-table.col1-highlight th:first-child {
    color: #FF9FA1;
    opacity: 1;
}

.ai-data-table.col1-highlight td:first-child {
    color: #FF9FA1;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .25px;
    padding-left: 12px;
    /* border-left: 2px solid rgba(255, 159, 161, 0.35); */
    background: rgba(255, 159, 161, 0.05);
    text-shadow: 0 0 12px rgba(255, 159, 161, 0.3);
}

/* ── Table Icon & SVG Resizing ── */
.ai-data-table .ai-status {
    padding: 4px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    margin: 2px;
}

.ai-data-table .ai-status i,
.ai-data-table .ai-status svg {
    font-size: 1.25rem !important;
    width: 24px !important;
    height: 24px !important;
    display: block;
    margin: 0;
    line-height: 1;
}

/* Red X Icon styling */
.ai-data-table .fa-x {
    color: #ef4444 !important;
    font-size: 1.25rem !important;
}


/* ── Explore AI Demo Button ── */
.ai-btn-wrap {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.ai-explore-btn {
    position: relative;
    padding: 14px 36px;
    background: rgba(255, 159, 161, 0.05);
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 0 1px rgba(255, 159, 161, 0.2);
    /* animation: button-float 3s ease-in-out infinite; */
}

.ai-explore-btn .btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-explore-btn .btn-content i {
    font-size: 1.1rem;
    color: #FF9FA1;
    transition: transform 0.4s ease;
}

.ai-explore-btn .btn-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 159, 161, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    z-index: 1;
}

.ai-explore-btn .btn-border {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 1.5px;
    background: linear-gradient(90deg, #FF9FA1, #4a90d9, #FF9FA1);
    background-size: 200% auto;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    animation: border-flow 3s linear infinite;
}

.ai-explore-btn:hover {
    background: rgba(255, 159, 161, 0.12);
    box-shadow: 0 0 25px rgba(255, 159, 161, 0.25), 0 0 0 1px rgba(255, 159, 161, 0.4);
    animation-play-state: paused;
}

.ai-explore-btn:hover .btn-glow {
    width: 300px;
    height: 300px;
    opacity: 1;
}

.ai-explore-btn:hover .btn-content i {
    transform: rotate(15deg) scale(1.1);
}

.ai-explore-btn:hover .btn-border {
    opacity: 1;
    animation-duration: 1.5s;
}

@keyframes button-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes border-flow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.ai-cloud-box-bottom {

    position: relative;
    padding-bottom: 5px;
    /* More space for the growth title */
    background: linear-gradient(180deg,
            #ffffff 0%,
            #fffafa 20%,
            #fff0f0 45%,
            #ffe6e6 85%,
            #FFF0F1 100%);
    margin-top: -2px;

}

/* ── AI Feature Card Enhancements (High-Tech HUD Style) ── */
.ai-feature-card {
    background: rgba(0, 15, 40, 0.75) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 159, 161, 0.2) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(255, 159, 161, 0.05) !important;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1) !important;
}

.ai-feature-card .feature-title {
    color: #fff !important;
    background: linear-gradient(135deg, #fff 0%, #FF9FA1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Inter", sans-serif;
    letter-spacing: -0.5px;
}

.ai-feature-card .feature-desc {
    color: rgba(200, 220, 255, 0.7) !important;
    font-weight: 300;
}

/* Disable the original wave effect spans and repurpose them as HUD corners */
.ai-feature-card span {
    position: absolute !important;
    width: 20px !important;
    height: 20px !important;
    background-color: transparent !important;
    border: 2px solid #FF9FA1 !important;
    border-radius: 0 !important;
    transform: none !important;
    opacity: 0.4;
    transition: all 0.4s ease !important;
    z-index: 2 !important;
}

.ai-feature-card span:nth-of-type(1) {
    top: 15px !important;
    left: 15px !important;
    border-right: none !important;
    border-bottom: none !important;
}

.ai-feature-card span:nth-of-type(2) {
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    border-left: none !important;
    border-bottom: none !important;
}

.ai-feature-card span:nth-of-type(3) {
    bottom: 15px !important;
    left: 15px !important;
    top: auto !important;
    border-right: none !important;
    border-top: none !important;
}

.ai-feature-card span:nth-of-type(4) {
    bottom: 15px !important;
    right: 15px !important;
    top: auto !important;
    left: auto !important;
    border-left: none !important;
    border-top: none !important;
}

/* ── AI Feature Card ADVANCED Hover (Scan Effect) ── */
.ai-feature-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(255, 112, 129, 0.05) 45%,
            rgba(255, 112, 129, 0.45) 50%,
            rgba(255, 112, 129, 0.05) 55%,
            transparent 100%);
    z-index: 2;
    pointer-events: none;
    transition: none;
}

.ai-feature-card:hover::before {
    animation: ai-scan-line 3.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes ai-scan-line {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

.ai-feature-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    background: rgba(0, 24, 60, 0.95) !important;
    border-color: rgba(255, 112, 129, 0.8) !important;
    box-shadow:
        0 25px 55px rgba(255, 112, 129, 0.2),
        inset 0 0 40px rgba(255, 112, 129, 0.15),
        0 0 15px rgba(255, 112, 129, 0.3) !important;
}

.ai-feature-card:hover .feature-title {
    background: linear-gradient(135deg, #fff 20%, #ff7081 80%, #4a90d9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(5px);
    transition: transform 0.4s ease, background 0.4s ease;
}

.ai-feature-card:hover .feature-desc {
    color: #fff !important;
    transform: translateX(5px);
    transition: transform 0.4s ease, color 0.4s ease;
}

.ai-feature-card:hover span {
    opacity: 1;
    background: linear-gradient(90deg, #FF9FA1, #4a90d9, #FF9FA1);
    background-size: 200% auto;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.6;
    animation: border-flow 3s linear infinite;
}

.ai-explore-btn:hover {
    background: rgba(255, 159, 161, 0.12);
    box-shadow: 0 0 25px rgba(255, 159, 161, 0.25), 0 0 0 1px rgba(255, 159, 161, 0.4);
    animation-play-state: paused;
}

.ai-explore-btn:hover .btn-glow {
    width: 300px;
    height: 300px;
    opacity: 1;
}

.ai-explore-btn:hover .btn-content i {
    transform: rotate(15deg) scale(1.1);
}

.ai-explore-btn:hover .btn-border {
    opacity: 1;
    animation-duration: 1.5s;
}

@keyframes button-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes border-flow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.ai-cloud-box-bottom {

    position: relative;
    padding-bottom: 5px;
    /* More space for the growth title */
    background: linear-gradient(180deg,
            #ffffff 0%,
            #fffafa 20%,
            #fff0f0 45%,
            #ffe6e6 85%,
            #FFF0F1 100%);
    margin-top: -2px;

}

/* ── AI Feature Card Enhancements (High-Tech HUD Style) ── */
.ai-feature-card {
    background: rgba(0, 15, 40, 0.75) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 159, 161, 0.2) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(255, 159, 161, 0.05) !important;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1) !important;
}

.ai-feature-card .feature-title {
    color: #fff !important;
    background: linear-gradient(135deg, #fff 0%, #FF9FA1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: "Inter", sans-serif;
    letter-spacing: -0.5px;
}

.ai-feature-card .feature-desc {
    color: rgba(200, 220, 255, 0.7) !important;
    font-weight: 300;
}

/* Disable the original wave effect spans and repurpose them as HUD corners */
.ai-feature-card span {
    position: absolute !important;
    width: 20px !important;
    height: 20px !important;
    background-color: transparent !important;
    border: 2px solid #FF9FA1 !important;
    border-radius: 0 !important;
    transform: none !important;
    opacity: 0.4;
    transition: all 0.4s ease !important;
    z-index: 2 !important;
}

.ai-feature-card span:nth-of-type(1) {
    top: 15px !important;
    left: 15px !important;
    border-right: none !important;
    border-bottom: none !important;
}

.ai-feature-card span:nth-of-type(2) {
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    border-left: none !important;
    border-bottom: none !important;
}

.ai-feature-card span:nth-of-type(3) {
    bottom: 15px !important;
    left: 15px !important;
    top: auto !important;
    border-right: none !important;
    border-top: none !important;
}

.ai-feature-card span:nth-of-type(4) {
    bottom: 15px !important;
    right: 15px !important;
    top: auto !important;
    left: auto !important;
    border-left: none !important;
    border-top: none !important;
}

/* ── AI Feature Card ADVANCED Hover (Scan Effect) ── */
.ai-feature-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            transparent 0%,
            rgba(255, 112, 129, 0.05) 45%,
            rgba(255, 112, 129, 0.45) 50%,
            rgba(255, 112, 129, 0.05) 55%,
            transparent 100%);
    z-index: 2;
    pointer-events: none;
    transition: none;
}

.ai-feature-card:hover::before {
    animation: ai-scan-line 3.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes ai-scan-line {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

.ai-feature-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    background: rgba(0, 24, 60, 0.95) !important;
    border-color: rgba(255, 112, 129, 0.8) !important;
    box-shadow:
        0 25px 55px rgba(255, 112, 129, 0.2),
        inset 0 0 40px rgba(255, 112, 129, 0.15),
        0 0 15px rgba(255, 112, 129, 0.3) !important;
}

.ai-feature-card:hover .feature-title {
    background: linear-gradient(135deg, #fff 20%, #ff7081 80%, #4a90d9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(5px);
    transition: transform 0.4s ease, background 0.4s ease;
}

.ai-feature-card:hover .feature-desc {
    color: #fff !important;
    transform: translateX(5px);
    transition: transform 0.4s ease, color 0.4s ease;
}

.ai-feature-card:hover span {
    opacity: 1;
    width: 35px !important;
    height: 35px !important;
    border-width: 3px !important;
    filter: drop-shadow(0 0 12px #FF7081) !important;
}

@media (max-width: 767px) {
    .ai-btn-wrap {
        margin-top: 30px;
    }

    .ai-explore-btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}

.marketing-img-col {
    container-type: inline-size;
}

/* Mobile Chat Overlay for Lead Image */
.mobile-chat-overlay {
    position: absolute;
    bottom: 18%;
    right: 14%;
    width: 17%;
    height: 32%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.2cqw;
    z-index: 10;
}

.mobile-chat-overlay-2 {
    position: absolute;
    bottom: 25%;
    right: 14%;
    width: 17%;
    height: 32%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.2cqw;
    z-index: 10;
}

.mobile-chat-overlay-3 {
    position: absolute;
    bottom: 18%;
    right: 14%;
    width: 17%;
    height: 32%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 1.2cqw;
    z-index: 10;
}

.chat-bubble {
    padding: 1cqw 1.5cqw;
    border-radius: 1.5cqw;
    font-size: 1.5cqw;
    line-height: 1.3;
    max-width: 90%;
    opacity: 0;
    box-shadow: 0 0.5cqw 2cqw rgba(0, 0, 0, 0.1);
    font-family: var(--font-inter), sans-serif;
}

.chat-bubble.chat-left {
    position: relative;
    background: #ffffff;
    color: #333333;
    align-self: flex-start;
    border-bottom-left-radius: 0.2cqw;
    animation: chatPopUp 6s infinite;
    right: -20px;
}

.chat-bubble.chat-right {
    position: relative;
    background: #4ada6e;
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 0.2cqw;
    animation: chatPopUp 6s infinite;
    right: -60px !important;
}

.chat-bubble:nth-child(1) {
    animation-delay: 0s;
}

.chat-bubble:nth-child(2) {
    animation-delay: 1.5s;
}

.chat-bubble:nth-child(3) {
    animation-delay: 3s;
}

@keyframes chatPopUp {
    0% {
        opacity: 0;
        transform: translateY(2cqw) scale(0.95);
    }

    10%,
    80% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-1.5cqw) scale(1);
    }
}

@media (max-width: 991px) {
    .mobile-chat-overlay {
        bottom: 18%;
        right: 14%;
        width: 17%;
        height: 32%;
        gap: 1.5cqw;
    }

    .mobile-chat-overlay-2 {
        bottom: 18%;
        right: 14%;
        width: 17%;
        height: 32%;
        gap: 1.5cqw;
    }

    .mobile-chat-overlay-3 {
        bottom: 18%;
        right: 14%;
        width: 17%;
        height: 32%;
        gap: 1.5cqw;
    }

    .chat-bubble {
        padding: 1.4cqw 2.2cqw;
        border-radius: 2.5cqw;
        font-size: 1.5cqw;
    }

    .chat-bubble.chat-left {
        right: -20px;
    }

    .chat-bubble.chat-right {
        right: -30px !important;
    }
}

@media (max-width: 767px) {
    .mobile-chat-overlay {
        bottom: 18%;
        right: 14%;
        width: 25%;
        height: 32%;
        gap: 1.5cqw;
    }

    .mobile-chat-overlay-2 {
        bottom: 18%;
        right: 14%;
        width: 25%;
        height: 32%;
        gap: 1.5cqw;
    }

    .mobile-chat-overlay-3 {
        bottom: 18%;
        right: 14%;
        width: 25%;
        height: 32%;
        gap: 1.5cqw;
    }

    .chat-bubble {
        padding: 1.4cqw 2.2cqw;
        border-radius: 2.5cqw;
        font-size: 1.5cqw;
    }

    .chat-bubble.chat-left {
        right: -20px;
    }

    .chat-bubble.chat-right {
        right: -30px !important;
    }
}

/* ================================================================
   AI SLIDER & REVEAL SYSTEM
   ================================================================ */
.ai-slider-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: #001838;
}

/* Blending transition to the next section */
.ai-slider-viewport::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(5, 17, 48, 0.8), #051130);
    z-index: 1000;
    pointer-events: none;
}

.ai-slider-container {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    width: 200%;
    /* For 2 sections */
}

.ai-slider-container .easy-ai-section {
    width: 50%;
    flex-shrink: 0;
    min-height: auto;
    position: relative;
}

/* Nav Buttons Overlay */
.ai-slide-nav {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 2000;
}

.ai-nav-btn {
    background: rgba(255, 159, 161, 0.15);
    border: 1px solid rgba(255, 159, 161, 0.4);
    color: #FF9FA1;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(8px);
}

.ai-nav-btn:hover {
    background: #FF9FA1;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 159, 161, 0.4);
}

/* Loader per-instance tweak */
.easy-ai-section .ai-page-loader {
    pointer-events: none;
    /* Let clicks pass to buttons if needed */
}

.easy-ai-section .ai-page-loader.hidden {
    display: none;
}

/* Scroll Slide Reveal Effect for the whole section wrapper */
.ai-slider-viewport {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ai-slider-viewport.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 991px) {
    .ai-slide-nav {
        bottom: 30px;
    }

    .ai-nav-btn {
        width: 44px;
        height: 44px;
    }
}