/* ================================================================
   LOMCOS — Hero  ·  Corporate Light Theme
   ================================================================ */

/* ---------------------------------------------------------------
   1. HERO SHELL — pure white, always readable
   --------------------------------------------------------------- */
.hero-v4 {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #FFFFFF;
    padding: 120px 24px 80px;
}

/* Radial centre-glow — white at centre, barely-tinted at edges */
.hero-v4::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 72% 58% at 50% 42%,
            #FFFFFF 0%,
            rgba(239, 246, 255, .88) 55%,
            rgba(219, 234, 254, .40) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Feather-light dot grid — 10% opacity, never distracting */
.hero-v4::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(37, 99, 235, .10) 1px, transparent 1px);
    background-size: 44px 44px;
    z-index: 0;
    pointer-events: none;
}

/* ---------------------------------------------------------------
   2. MESH — two faint blobs only, no hex, no scanline
   --------------------------------------------------------------- */
.hero-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-mesh::before,
.hero-mesh::after {
    display: none;
}

.mesh-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0;
    animation: blobDrift 22s ease-in-out infinite;
}

/* Top-left: faint blue accent */
.blob-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(37, 99, 235, .06), transparent 70%);
    top: -220px;
    left: -160px;
    animation-delay: 0s;
}

/* Bottom-right: faint violet accent */
.blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, .05), transparent 70%);
    bottom: -150px;
    right: -120px;
    animation-delay: 8s;
}

.blob-3,
.blob-4 {
    display: none;
}

@keyframes blobDrift {
    0% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }

    18% {
        opacity: 1;
    }

    50% {
        transform: translateY(-30px) scale(1.04);
    }

    82% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }
}

/* Corner ornaments — removed for clean look */
.hero-corner,
.hero-corner svg,
.hero-corner.tl,
.hero-corner.tr,
.hero-corner.bl,
.hero-corner.br {
    display: none;
}

/* ---------------------------------------------------------------
   3. HERO BADGE (top)
   --------------------------------------------------------------- */
.hero-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(37, 99, 235, .2);
    border-radius: 50px;
    padding: 7px 18px 7px 10px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #1D4ED8;
    margin-bottom: 36px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 16px rgba(37, 99, 235, .1);
    opacity: 0;
    animation: riseUp .55s .1s cubic-bezier(.16, 1, .3, 1) forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2563EB;
    flex-shrink: 0;
    animation: glowPulse 2s ease infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, .5);
    }

    55% {
        box-shadow: 0 0 0 7px rgba(37, 99, 235, 0);
    }
}

/* ---------------------------------------------------------------
   4. HEADLINE — giant, centered
   --------------------------------------------------------------- */
.hero-headline {
    position: relative;
    z-index: 2;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(3rem, 7.5vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: #0F172A;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 28px;
    opacity: 0;
    transform: translateY(20px);
    animation: riseUp .75s .22s cubic-bezier(.16, 1, .3, 1) forwards;
}

/* Cycling gradient word */
.hero-headline .rotate-word {
    display: inline-block;
    position: relative;
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: opacity .35s ease, transform .35s ease;
    min-width: 2px;
}

.hero-headline .rotate-word.fade-out {
    opacity: 0;
    transform: translateY(-8px);
}

.hero-headline .rotate-word.fade-in {
    opacity: 0;
    transform: translateY(14px);
    animation: wordFadeIn .45s ease forwards;
}

@keyframes wordFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------------------------------------------------------------
   5. SUBHEADING
   --------------------------------------------------------------- */
.hero-sub {
    position: relative;
    z-index: 2;
    font-size: clamp(.98rem, 1.6vw, 1.14rem);
    color: #64748B;
    line-height: 1.85;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 44px;
    opacity: 0;
    transform: translateY(14px);
    animation: riseUp .6s .42s cubic-bezier(.16, 1, .3, 1) forwards;
}

/* ---------------------------------------------------------------
   6. CTA BUTTONS
   --------------------------------------------------------------- */
.hero-cta-group {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 72px;
    opacity: 0;
    transform: translateY(12px);
    animation: riseUp .55s .58s cubic-bezier(.16, 1, .3, 1) forwards;
}

.btn-h4-dark {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #0F172A;
    color: #fff;
    padding: 16px 32px;
    border-radius: 52px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: .96rem;
    text-decoration: none;
    transition: all .22s ease;
    box-shadow: 0 4px 24px rgba(15, 23, 42, .22);
    position: relative;
    overflow: hidden;
}

.btn-h4-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e3a8a, #2563EB);
    opacity: 0;
    transition: opacity .22s;
}

.btn-h4-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(15, 23, 42, .28);
    color: #fff;
}

.btn-h4-dark:hover::before {
    opacity: 1;
}

.btn-h4-dark span {
    position: relative;
    z-index: 1;
}

.btn-h4-dark svg {
    position: relative;
    z-index: 1;
    width: 17px;
    height: 17px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.2;
    transition: transform .18s ease;
}

.btn-h4-dark:hover svg {
    transform: translateX(4px);
}

.btn-h4-ring {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, .8);
    color: #334155;
    padding: 15px 28px;
    border-radius: 52px;
    border: 1.5px solid #CBD5E1;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: .96rem;
    text-decoration: none;
    transition: all .22s ease;
    backdrop-filter: blur(8px);
}

.btn-h4-ring:hover {
    border-color: #2563EB;
    color: #2563EB;
    background: #EFF6FF;
    transform: translateY(-2px);
}

.btn-h4-ring svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ---------------------------------------------------------------
   7. FLOATING METRIC CARDS  (orbit around center)
   --------------------------------------------------------------- */
.hero-metrics {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 80px;
    opacity: 0;
    animation: riseUp .55s .72s ease forwards;
}

.metric-card {
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 18px;
    padding: 16px 22px;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(15, 23, 42, .07);
    transition: all .25s ease;
    min-width: 120px;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(15, 23, 42, .11);
}

.mc-num {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 4px;
}

.mc-num sup {
    font-size: 55%;
    font-weight: 700;
    color: #2563EB;
}

.mc-label {
    font-size: .72rem;
    color: #94A3B8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.metric-sep {
    width: 1px;
    height: 56px;
    background: #E2E8F0;
    flex-shrink: 0;
}

/* ---------------------------------------------------------------
   8. FEATURE SHOWCASE — horizontal scrolling card row
   --------------------------------------------------------------- */
.hero-features {
    position: relative;
    z-index: 2;
    width: 100%;
    opacity: 0;
    animation: riseUp .55s .88s ease forwards;
}

.features-track-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.features-track {
    display: flex;
    gap: 16px;
    animation: featureScroll 28s linear infinite;
    width: max-content;
    padding: 8px 0 16px;
}

.features-track:hover {
    animation-play-state: paused;
}

@keyframes featureScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.feat-card {
    flex-shrink: 0;
    width: 220px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    padding: 22px 20px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 16px rgba(15, 23, 42, .06);
    transition: all .22s ease;
    cursor: default;
}

.feat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .1);
    border-color: #BFDBFE;
}

.feat-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.feat-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.feat-icon.blue {
    background: #EFF6FF;
    color: #2563EB;
}

.feat-icon.green {
    background: #F0FDF4;
    color: #22C55E;
}

.feat-icon.violet {
    background: #F5F3FF;
    color: #7C3AED;
}

.feat-icon.amber {
    background: #FFFBEB;
    color: #D97706;
}

.feat-icon.rose {
    background: #FFF1F2;
    color: #E11D48;
}

.feat-icon.teal {
    background: #F0FDFA;
    color: #0D9488;
}

.feat-card h5 {
    font-size: .88rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 5px;
}

.feat-card p {
    font-size: .76rem;
    color: #94A3B8;
    line-height: 1.55;
    margin: 0;
}

/* ---------------------------------------------------------------
   9. SCROLL INDICATOR
   --------------------------------------------------------------- */
.hero-scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #CBD5E1;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: 0;
    animation: riseUp .4s 1.2s ease forwards;
}

.scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid #CBD5E1;
    border-radius: 11px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 5px;
}

.scroll-wheel {
    width: 3px;
    height: 7px;
    background: #CBD5E1;
    border-radius: 2px;
    animation: scrollWheel 1.6s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    80% {
        transform: translateY(10px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

/* ---------------------------------------------------------------
   10. MARQUEE — Trusted by
   --------------------------------------------------------------- */
.marquee-section {
    padding: 22px 0 26px;
    background: #fff;
    border-top: 1px solid #F1F5F9;
    border-bottom: 1px solid #F1F5F9;
    overflow: hidden;
}

.mq-label {
    text-align: center;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #CBD5E1;
    margin-bottom: 16px;
}

.mq-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.mq-track {
    display: flex;
    align-items: center;
    gap: 28px;
    animation: mqScroll 24s linear infinite;
    white-space: nowrap;
    will-change: transform;
}

@keyframes mqScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.mq-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 30px;
    background: #F8FAFC;
    font-size: .76rem;
    font-weight: 600;
    color: #64748B;
    flex-shrink: 0;
    transition: all .18s ease;
}

.mq-item:hover {
    background: #EFF6FF;
    border-color: #BFDBFE;
    color: #1D4ED8;
}

.mq-item svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

/* ---------------------------------------------------------------
   11. BELOW-HERO SECTION STYLES
   --------------------------------------------------------------- */
.section-pad {
    padding: 90px 0;
}

/* Bento service grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: 16px;
}

.bento-cell {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 22px;
    padding: 32px 28px;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
}

.bento-cell::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 22px 22px 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.bento-cell:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, .09);
}

.bento-cell:hover::after {
    transform: scaleX(1);
}

.bento-cell.bc-blue::after {
    background: linear-gradient(90deg, #2563EB, #60A5FA);
}

.bento-cell.bc-green::after {
    background: linear-gradient(90deg, #22C55E, #86EFAC);
}

.bento-cell.bc-violet::after {
    background: linear-gradient(90deg, #7C3AED, #C4B5FD);
}

.bento-cell.bc-amber::after {
    background: linear-gradient(90deg, #F59E0B, #FDE68A);
}

.bento-cell.bc-rose::after {
    background: linear-gradient(90deg, #E11D48, #FDA4AF);
}

/* span helpers */
.col-4 {
    grid-column: span 4;
}

.col-8 {
    grid-column: span 8;
}

.col-6 {
    grid-column: span 6;
}

.col-3 {
    grid-column: span 3;
}

.col-12 {
    grid-column: span 12;
}

.bento-cell.dark-cell {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 100%);
    border-color: transparent;
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.bento-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.bento-icon.bi-blue {
    background: #EFF6FF;
    color: #2563EB;
}

.bento-icon.bi-green {
    background: #F0FDF4;
    color: #22C55E;
}

.bento-icon.bi-violet {
    background: #F5F3FF;
    color: #7C3AED;
}

.bento-icon.bi-amber {
    background: #FFFBEB;
    color: #D97706;
}

.bento-icon.bi-rose {
    background: #FFF1F2;
    color: #E11D48;
}

.bento-icon.bi-dark {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.bento-cell h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 10px;
}

.bento-cell p {
    font-size: .86rem;
    color: #64748B;
    line-height: 1.7;
    margin: 0 0 16px;
}

.bento-cell .svc-link {
    font-size: .82rem;
    font-weight: 600;
    color: #2563EB;
    text-decoration: none;
}

.bento-cell .svc-link:hover {
    text-decoration: underline;
}

.dark-cell h3 {
    color: #fff;
}

.dark-cell p {
    color: #94A3B8;
}

.dark-cell .svc-link {
    color: #60A5FA;
}

/* Big featured cell extras */
.bento-cell.featured {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-stat-group {
    display: flex;
    gap: 24px;
    margin-top: 20px;
}

.bsg-item {}

.bsg-num {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1;
}

.bsg-label {
    font-size: .72rem;
    color: #94A3B8;
    font-weight: 500;
    margin-top: 2px;
}

/* Progress bars inside bento */
.bento-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.bb-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bb-label-row {
    display: flex;
    justify-content: space-between;
    font-size: .74rem;
    color: #64748B;
    font-weight: 500;
}

.bb-track {
    height: 6px;
    background: #F1F5F9;
    border-radius: 3px;
    overflow: hidden;
}

.bb-fill {
    height: 100%;
    border-radius: 3px;
    transform: scaleX(0);
    transform-origin: left;
    animation: growBar .8s ease forwards;
}

.bb-fill.b {
    background: linear-gradient(90deg, #2563EB, #60A5FA);
    animation-delay: .5s;
}

.bb-fill.g {
    background: linear-gradient(90deg, #22C55E, #86EFAC);
    animation-delay: .7s;
}

.bb-fill.v {
    background: linear-gradient(90deg, #7C3AED, #C4B5FD);
    animation-delay: .9s;
}

@keyframes growBar {
    to {
        transform: scaleX(1);
    }
}

/* Process timeline */
.process-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 56px;
}

.process-row::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(12.5%);
    width: 75%;
    height: 2px;
    background: linear-gradient(90deg, #2563EB 0%, #7C3AED 50%, #22C55E 100%);
    z-index: 0;
}

.proc-step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 16px;
}

.proc-dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    border: 3px solid #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .1);
}

.proc-step h5 {
    font-size: .9rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 6px;
}

.proc-step p {
    font-size: .78rem;
    color: #94A3B8;
    line-height: 1.6;
}

/* CTA Banner */
.cta-section {
    padding: 0 0 90px;
}

.cta-inner {
    background: linear-gradient(135deg, #0F172A 0%, #1e3a8a 55%, #2563EB 100%);
    border-radius: 28px;
    padding: 72px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, .25), transparent 70%);
    top: -120px;
    right: -60px;
    pointer-events: none;
}

.cta-inner::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 197, 94, .15), transparent 70%);
    bottom: -80px;
    left: 10%;
    pointer-events: none;
}

.cta-inner h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-inner p {
    color: #94A3B8;
    font-size: 1.02rem;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff;
    color: #0F172A;
    padding: 15px 30px;
    border-radius: 52px;
    font-weight: 700;
    font-size: .94rem;
    text-decoration: none;
    transition: all .2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}

.btn-cta-white:hover {
    background: #EFF6FF;
    color: #1D4ED8;
    transform: translateY(-2px);
}

.btn-cta-white svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    color: #fff;
    padding: 14px 28px;
    border-radius: 52px;
    border: 1.5px solid rgba(255, 255, 255, .3);
    font-weight: 600;
    font-size: .94rem;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-cta-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.btn-cta-outline svg {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

/* ---------------------------------------------------------------
   12. KEYFRAMES
   --------------------------------------------------------------- */
@keyframes riseUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------------------------------------------------------------
   13. RESPONSIVE
   --------------------------------------------------------------- */
@media (max-width: 1199px) {
    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .col-4 {
        grid-column: span 3;
    }

    .col-8 {
        grid-column: span 6;
    }

    .col-6 {
        grid-column: span 3;
    }

    .col-3 {
        grid-column: span 3;
    }
}

@media (max-width: 991px) {
    .hero-v4 {
        padding: 110px 20px 60px;
    }

    .process-row {
        grid-template-columns: 1fr 1fr;
    }

    .process-row::before {
        display: none;
    }

    .metric-sep {
        display: none;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .col-4,
    .col-8,
    .col-6,
    .col-3,
    .col-12 {
        grid-column: span 1;
    }

    .col-8.featured {
        grid-column: span 2;
    }

    .bento-stat-group {
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .hero-headline {
        font-size: clamp(2.4rem, 8vw, 3.4rem);
    }

    .hero-metrics {
        gap: 8px;
    }

    .metric-card {
        padding: 12px 16px;
        min-width: 90px;
    }

    .mc-num {
        font-size: 1.4rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-h4-dark,
    .btn-h4-ring {
        justify-content: center;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .col-8.featured {
        grid-column: span 1;
    }

    .process-row {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        padding: 44px 24px;
    }

    .cta-btns {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-v4 {
        padding: 100px 16px 50px;
    }

    .hero-headline {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .feat-card {
        width: 180px;
    }
}

/* ================================================================
   ANIMATED ICON SYSTEM — hero feature cards
   Each .feat-icon svg gets a unique micro-animation
   ================================================================ */

/* ── Base: all feat-icons scale on card hover ── */
.feat-card:hover .feat-icon svg {
    animation-play-state: running !important;
}

/* ── 1. AI / ML — rotating sun-ray spokes ── */
.feat-icon.anim-ai svg {
    animation: aiSpin 4s linear infinite;
    transform-origin: center;
}

@keyframes aiSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Inner circle pulses */
.feat-icon.anim-ai svg circle {
    animation: aiPulse 2s ease-in-out infinite;
}

@keyframes aiPulse {

    0%,
    100% {
        r: 3;
        opacity: 1;
    }

    50% {
        r: 4;
        opacity: .7;
    }
}

/* ── 2. Software / Code — brackets slide in ── */
.feat-icon.anim-code svg .bracket-left {
    animation: bracketLeft 2.2s ease-in-out infinite;
}

.feat-icon.anim-code svg .bracket-right {
    animation: bracketRight 2.2s ease-in-out infinite;
}

@keyframes bracketLeft {

    0%,
    40%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-3px);
    }
}

@keyframes bracketRight {

    0%,
    40%,
    100% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(3px);
    }
}

/* ── 3. Cloud — float up & down ── */
.feat-icon.anim-cloud svg {
    animation: cloudFloat 3s ease-in-out infinite;
}

@keyframes cloudFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

/* ── 4. Security / Shield — heartbeat scale ── */
.feat-icon.anim-shield svg {
    animation: shieldBeat 2.4s ease-in-out infinite;
}

@keyframes shieldBeat {

    0%,
    60%,
    100% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.12);
    }
}

/* ── 5. Analytics / Wave — bars grow alternately ── */
.feat-icon.anim-wave svg {
    animation: waveShift 2s ease-in-out infinite;
}

@keyframes waveShift {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(.85);
    }
}

.feat-icon.anim-wave svg polyline {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: drawLine 1.5s ease forwards, waveLoop 2.5s 1.5s ease-in-out infinite;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes waveLoop {

    0%,
    100% {
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dashoffset: 8;
    }
}

/* ── 6. SaaS / Monitor — screen flash ── */
.feat-icon.anim-monitor svg {
    animation: monitorGlow 3s ease-in-out infinite;
}

@keyframes monitorGlow {

    0%,
    80%,
    100% {
        filter: none;
    }

    40% {
        filter: drop-shadow(0 0 4px currentColor);
    }
}

.feat-icon.anim-monitor svg rect:first-child {
    animation: screenBlink 3s ease-in-out infinite;
}

@keyframes screenBlink {

    0%,
    70%,
    100% {
        opacity: 1;
    }

    35% {
        opacity: .6;
    }
}

/* ── 7. Team / Users — people bob ── */
.feat-icon.anim-team svg {
    animation: teamBob 2.8s ease-in-out infinite;
}

@keyframes teamBob {

    0%,
    100% {
        transform: translateY(0);
    }

    33% {
        transform: translateY(-3px);
    }

    66% {
        transform: translateY(1px);
    }
}

/* ── 8. Compliance / Lock — shackle lifts ── */
.feat-icon.anim-lock svg {
    animation: lockJiggle 3s ease-in-out infinite;
}

.feat-icon.anim-lock svg path {
    animation: shackleLift 3s ease-in-out infinite;
}

@keyframes shackleLift {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-3px);
    }
}

@keyframes lockJiggle {

    0%,
    30%,
    60%,
    100% {
        transform: rotate(0);
    }

    15% {
        transform: rotate(-5deg);
    }

    45% {
        transform: rotate(5deg);
    }
}

/* ── 9. Data / Layers — stack shift ── */
.feat-icon.anim-layers svg {
    animation: layersFloat 2.5s ease-in-out infinite;
}

.feat-icon.anim-layers svg polyline:nth-child(1) {
    animation: layerUp 2.5s .0s ease-in-out infinite;
}

.feat-icon.anim-layers svg polyline:nth-child(2) {
    animation: layerMid 2.5s .2s ease-in-out infinite;
}

.feat-icon.anim-layers svg polyline:nth-child(3) {
    animation: layerDown 2.5s .4s ease-in-out infinite;
}

@keyframes layerUp {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-3px)
    }
}

@keyframes layerMid {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-1.5px)
    }
}

@keyframes layerDown {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(0px)
    }
}

/* ── 10. Strategy / Target — rings pulse outward ── */
.feat-icon.anim-target svg {
    animation: targetPulse 2s ease-in-out infinite;
}

.feat-icon.anim-target svg circle:nth-child(1) {
    animation: ringPulse 2s 0s ease-in-out infinite;
}

.feat-icon.anim-target svg circle:nth-child(2) {
    animation: ringPulse 2s .3s ease-in-out infinite;
}

@keyframes ringPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: .7;
    }
}

/* ── Feat-card icon wrapper lifts on hover ── */
.feat-card:hover .feat-icon {
    transform: scale(1.08);
    transition: transform .22s ease;
}

.feat-icon {
    transition: transform .22s ease;
}

/* ── Badge icon spin ── */
.badge-dot {
    animation: glowPulse 2s ease infinite, badgeSpin 0s;
    /* keep pulse */
}

/* ── Hero metric cards — number count shimmer on hover ── */
.metric-card:hover .mc-num {
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all .22s ease;
}

/* ── Scroll mouse enhanced ── */
.hero-scroll-hint .scroll-mouse {
    animation: mouseJiggle 3s ease-in-out infinite;
}

@keyframes mouseJiggle {

    0%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(4px);
    }
}