/* =====================================================
   INSIGN TECHNOLOGY PVT. LTD.
   Premium futuristic corporate theme — Light mode only
   ===================================================== */

:root {
    --blue: #0b8ed0;
    --blue-dark: #0a6ea3;
    --blue-deep: #073b5c;
    --blue-light: #e6f4fc;
    --blue-soft: #c9e7f8;
    --ink: #10202b;
    --ink-2: #46606f;
    --white: #ffffff;
    --bg-2: #f7f9fc;
    --line: #e6ecf3;
    --radius: 20px;
    --shadow-sm: 0 2px 10px rgba(11, 142, 208, .06);
    --shadow: 0 18px 45px -22px rgba(9, 60, 92, .35);
    --shadow-lg: 0 40px 80px -40px rgba(9, 60, 92, .45);
    --glass: rgba(255, 255, 255, .72);
    --grad: linear-gradient(120deg, #0b8ed0 0%, #35b6ea 55%, #0a6ea3 100%);
    --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* {
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

/* Lenis drives its own smoothing via rAF — once it takes over, the native
   CSS smooth-scroll must be disabled or the two animation curves fight
   each other, producing the stutter/overshoot "scroll glitch". Lenis adds
   these classes to <html> automatically once initialized. */
html.lenis,
html.lenis body {
    height: auto;
}

html.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

html.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

html.lenis.lenis-stopped {
    overflow: hidden;
}

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--ink);
    overflow-x: hidden;
    line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
.display {
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.1;
    color: var(--ink);
}

h1 {
    font-size: clamp(2.3rem, 4.6vw, 4rem);
}

/* Hero title: smaller + typed line reserved so section height never jumps */
.hero-title {
    font-size: clamp(1.55rem, 2.7vw, 2.35rem);
    line-height: 1.22;
}

h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
}

h3 {
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
}

p {
    color: var(--ink-2);
}

a {
    text-decoration: none;
    color: var(--blue);
}

section {
    position: relative;
}

.text-blue {
    color: var(--blue) !important;
}

.bg-soft {
    background: var(--bg-2);
}

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section {
    padding: clamp(70px, 9vw, 130px) 0;
}

.lead-2 {
    font-size: 1.06rem;
    color: var(--ink-2);
    max-width: 640px;
}

.container {
    max-width: 1220px;
}

/* ---------- Eyebrow / pills ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-light);
    border: 1px solid var(--blue-soft);
    border-radius: 100px;
    padding: .4rem 1rem;
    margin-bottom: 1.1rem;
}

.eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(11, 142, 208, .5);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(11, 142, 208, 0);
    }
}

/* ---------- Scroll progress + cursor glow ---------- */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--grad);
    z-index: 3000;
    transition: width .12s linear;
}

#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: .55;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(11, 142, 208, .16) 0%, rgba(11, 142, 208, 0) 65%);
    transition: opacity .4s ease;
}

@media (max-width: 991px) {
    #cursor-glow {
        display: none;
    }
}

/* ---------- Navbar ---------- */
.nav-wrap {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1200;
    transition: background .45s ease, box-shadow .45s ease, padding .45s ease, backdrop-filter .45s;
    padding: 18px 0;
    background: transparent;
}

.nav-wrap.scrolled {
    background: rgba(255, 255, 255, .78);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    box-shadow: 0 10px 30px -22px rgba(9, 60, 92, .5);
    padding: 10px 0;
    border-bottom: 1px solid rgba(230, 236, 243, .9);
}

.navbar-brand img {
    height: 52px;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}

.navbar-brand:hover img {
    transform: scale(1.04);
}

.nav-link {
    position: relative;
    font-weight: 600;
    font-size: .95rem;
    color: var(--ink) !important;
    padding: .5rem .95rem !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: .95rem;
    right: .95rem;
    bottom: .18rem;
    height: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: right;
    border-radius: 2px;
    transition: transform .38s cubic-bezier(.2, .8, .2, 1);
}

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

.nav-link.active {
    color: var(--blue) !important;
}

.has-drop {
    position: relative;
}

.drop {
    position: absolute;
    top: 130%;
    left: 0;
    min-width: 250px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: .55rem;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .35s cubic-bezier(.2, .8, .2, 1);
}

.has-drop:hover .drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.drop a {
    display: block;
    padding: .6rem .85rem;
    border-radius: 10px;
    color: var(--ink);
    font-size: .9rem;
    font-weight: 600;
    transition: .25s;
}

.drop a:hover {
    background: var(--blue-light);
    color: var(--blue);
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .nav-wrap {
        background: rgba(255, 255, 255, .9);
        backdrop-filter: blur(18px);
    }

    .navbar-collapse {
        background: #fff;
        margin-top: 12px;
        border-radius: 18px;
        padding: 1rem;
        box-shadow: var(--shadow);
        border: 1px solid var(--line);
    }

    .drop {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: .5rem;
    }
}

/* ---------- Buttons ---------- */
.btn-ins {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 100px;
    padding: .85rem 1.7rem;
    font-weight: 700;
    font-size: .93rem;
    letter-spacing: -.01em;
    background: var(--grad);
    color: #fff;
    box-shadow: 0 14px 30px -14px rgba(11, 142, 208, .85);
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    will-change: transform;
}

.btn-ins:hover {
    color: #fff;
    box-shadow: 0 22px 45px -14px rgba(11, 142, 208, .95);
}

.btn-ins .arw {
    transition: transform .35s;
}

.btn-ins:hover .arw {
    transform: translateX(5px);
}

.btn-ghost {
    border-radius: 100px;
    padding: .85rem 1.7rem;
    font-weight: 700;
    font-size: .93rem;
    background: rgba(255, 255, 255, .7);
    color: var(--ink);
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    transition: all .35s cubic-bezier(.2, .8, .2, 1);
    position: relative;
    overflow: hidden;
}

.btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255, 255, 255, .55);
    animation: rippleFx .65s linear;
    pointer-events: none;
}

.btn-ghost .ripple {
    background: rgba(11, 142, 208, .22);
}

@keyframes rippleFx {
    to {
        transform: scale(3.2);
        opacity: 0;
    }
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    background:
        radial-gradient(1000px 620px at 78% 18%, rgba(11, 142, 208, .14), transparent 62%),
        radial-gradient(700px 520px at 8% 82%, rgba(53, 182, 234, .13), transparent 60%),
        #fff;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 62px 62px;
    opacity: .5;
    mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
}

.hero>.container {
    position: relative;
    z-index: 3;
}

.hero-mesh {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
    opacity: .55;
    animation: meshFloat 16s ease-in-out infinite;
}

.mesh-a {
    width: 420px;
    height: 420px;
    background: rgba(11, 142, 208, .35);
    top: -80px;
    right: 6%;
}

.mesh-b {
    width: 340px;
    height: 340px;
    background: rgba(53, 182, 234, .28);
    bottom: -60px;
    left: -60px;
    animation-delay: -6s;
}

@keyframes meshFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(30px, -40px, 0) scale(1.12);
    }
}

.type-wrap {
    display: block;
    height: 1.28em;
    min-height: 1.28em;
    margin-top: .06em;
    overflow: hidden;
    white-space: nowrap;
    font-size: .92em;
}

.hero-title .typed-cursor {
    font-weight: 400;
    opacity: .55;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: 1.6rem;
}

.hero-tags span {
    font-size: .78rem;
    font-weight: 700;
    color: var(--ink-2);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: .35rem .85rem;
    box-shadow: var(--shadow-sm);
    transition: .3s;
}

.hero-tags span:hover {
    color: var(--blue);
    border-color: var(--blue-soft);
    transform: translateY(-3px);
}

/* 3D canvas stage */
.stage-3d {
    position: relative;
    width: 100%;
    height: clamp(420px, 46vw, 620px);
}

.stage-3d canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Floating glass chips over 3D */
.float-chip {
    position: absolute;
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 16px;
    padding: .7rem .95rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: .65rem;
    z-index: 4;
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}

.float-chip i {
    color: var(--blue);
    font-size: 1.05rem;
}

.float-chip small {
    display: block;
    font-weight: 600;
    color: var(--ink-2);
    font-size: .7rem;
}

/* Orbital channel badges (real Bootstrap Icons, projected from 3D) */
.orbit-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.orbit-badge {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: .7rem;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(230, 236, 243, .95);
    border-radius: 18px;
    padding: .65rem .9rem .65rem .65rem;
    box-shadow: 0 18px 40px -22px rgba(9, 60, 92, .45);
    white-space: nowrap;
    will-change: transform, opacity;
    transition: opacity .25s ease;
}

.orbit-badge .orbit-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 18px -10px rgba(9, 60, 92, .55);
}

.orbit-badge b {
    display: block;
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
    line-height: 1.15;
}

.orbit-badge small {
    display: block;
    font-size: .7rem;
    font-weight: 600;
    color: var(--ink-2);
    margin-top: .1rem;
}

@media (max-width: 575px) {
    .orbit-badge {
        padding: .5rem .7rem .5rem .5rem;
        border-radius: 14px;
        gap: .5rem;
    }

    .orbit-badge .orbit-ico {
        width: 34px;
        height: 34px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .orbit-badge b {
        font-size: .78rem;
    }
}

.f-1 {
    top: 8%;
    left: -2%;
    animation: floaty 7s ease-in-out infinite;
}

.f-2 {
    top: 38%;
    right: -3%;
    animation: floaty 9s ease-in-out infinite -2s;
}

.f-3 {
    bottom: 10%;
    left: 6%;
    animation: floaty 8s ease-in-out infinite -4s;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-16px);
    }
}

/* ---------- Marquee / Clients ---------- */
.clients-section {
    padding: 4.5rem 0 5rem;
}

.clients-label {
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: .92rem;
    font-weight: 700;
    color: #8ea3b3;
    margin-bottom: 2.25rem;
}

.marquee {
    overflow: hidden;
    position: relative;
    padding: .75rem 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    gap: 4.5rem;
    width: max-content;
    align-items: center;
    animation: slideX 36s linear infinite;
}

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

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

.logo-item {
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #b3c2ce;
    filter: grayscale(1);
    opacity: .78;
    transition: .35s;
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}

.logo-item img {
    height: 72px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

.logo-item-text {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -.03em;
    white-space: nowrap;
    line-height: 72px;
    height: 72px;
}

.logo-item:hover {
    filter: grayscale(0);
    opacity: 1;
    color: var(--blue);
    transform: scale(1.06);
}

@media (max-width: 767.98px) {
    .clients-section {
        padding: 3.25rem 0 3.75rem;
    }

    .clients-label {
        font-size: .8rem;
        margin-bottom: 1.5rem;
    }

    .marquee-track {
        gap: 2.75rem;
    }

    .logo-item img {
        height: 52px;
        max-width: 160px;
    }

    .logo-item-text {
        font-size: 1.15rem;
        height: 52px;
        line-height: 52px;
    }
}

/* ---------- Brand logos & store badges ---------- */
.brand-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 18px;
    display: block;
    margin-bottom: 1rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(11, 142, 208, .12);
}

.brand-card .brand-logo {
    margin-bottom: 1.1rem;
}

.store-links {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .9rem .55rem .75rem;
    border-radius: 12px;
    background: #0f172a;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1.05;
    transition: transform .25s, background .25s, box-shadow .25s;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .18);
}

.store-badge i {
    font-size: 1.45rem;
    line-height: 1;
}

.store-badge span {
    display: flex;
    flex-direction: column;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.store-badge small {
    font-size: .58rem;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .75;
}

.store-badge:hover {
    transform: translateY(-2px);
    background: #1e293b;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .28);
}

/* ---------- Cards ---------- */
.glass-card {
    position: relative;
    background: rgba(255, 255, 255, .75);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
    overflow: hidden;
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s, border-color .45s;
    transform-style: preserve-3d;
    will-change: transform;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .45s;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(11, 142, 208, .16), transparent 70%);
    top: -110px;
    right: -110px;
    opacity: 0;
    transition: opacity .5s;
}

.glass-card:hover::after {
    opacity: 1;
}

.card-ico {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 1.35rem;
    margin-bottom: 1.1rem;
    transition: transform .55s cubic-bezier(.2, .8, .2, 1), background .4s, color .4s;
}

.glass-card:hover .card-ico {
    transform: rotateY(180deg) scale(1.06);
    background: var(--grad);
    color: #fff;
}

.card-more {
    font-weight: 700;
    font-size: .85rem;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .9rem;
}

.card-more i {
    transition: transform .35s;
}

.glass-card:hover .card-more i {
    transform: translateX(6px);
}

/* Bento */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.15rem;
}

.bento>* {
    grid-column: span 2;
}

.bento .wide {
    grid-column: span 3;
}

.bento .tall {
    grid-column: span 3;
}

@media (max-width: 991px) {
    .bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento>*,
    .bento .wide,
    .bento .tall {
        grid-column: span 1;
    }
}

@media (max-width: 575px) {
    .bento {
        grid-template-columns: 1fr;
    }
}

/* ---------- Dashboard mockup ---------- */
.mock {
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform-style: preserve-3d;
}

.mock-bar {
    display: flex;
    gap: 7px;
    padding: .8rem 1rem;
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}

.mock-bar span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #dfe7ef;
}

.mock-bar span:first-child {
    background: #ffb4ab;
}

.mock-bar span:nth-child(2) {
    background: #ffdf9e;
}

.mock-bar span:nth-child(3) {
    background: #a9e6bd;
}

.bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 170px;
}

.bars i {
    flex: 1;
    background: var(--grad);
    border-radius: 8px 8px 3px 3px;
    display: block;
    height: 12%;
    transition: height 1.2s cubic-bezier(.2, .8, .2, 1);
}

.spark {
    stroke: var(--blue);
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
}

.kpi {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .9rem 1rem;
    background: #fff;
}

.kpi b {
    font-size: 1.4rem;
    display: block;
    letter-spacing: -.03em;
}

.kpi small {
    color: var(--ink-2);
    font-size: .74rem;
    font-weight: 600;
}

/* ---------- Workflow ---------- */
.flow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    position: relative;
}

.flow::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-soft), var(--blue), var(--blue-soft));
    background-size: 200% 100%;
    animation: flowLine 3.5s linear infinite;
}

@keyframes flowLine {
    to {
        background-position: 200% 0;
    }
}

.flow-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.flow-num {
    width: 68px;
    height: 68px;
    margin: 0 auto .9rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 2px solid var(--blue-soft);
    color: var(--blue);
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: var(--shadow-sm);
    transition: all .45s cubic-bezier(.2, .8, .2, 1);
}

.flow-step:hover .flow-num {
    background: var(--grad);
    color: #fff;
    border-color: transparent;
    transform: translateY(-8px) scale(1.08);
}

@media (max-width: 991px) {
    .flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow::before {
        display: none;
    }
}

/* ---------- Flip cards ---------- */
.flip {
    perspective: 1400px;
    height: 200px;
}

.flip-in {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .8s cubic-bezier(.2, .8, .2, 1);
    transform-style: preserve-3d;
}

.flip:hover .flip-in {
    transform: rotateY(180deg);
}

.flip-f,
.flip-b {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.2rem;
}

.flip-f {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.flip-f i {
    font-size: 1.9rem;
    color: var(--blue);
    margin-bottom: .7rem;
}

.flip-b {
    background: var(--grad);
    color: #fff;
    transform: rotateY(180deg);
    box-shadow: var(--shadow);
}

.flip-b p,
.flip-b h3 {
    color: #fff;
}

.flip-b p {
    font-size: .86rem;
    opacity: .92;
}

/* ---------- Stats ---------- */
.stat-band {
    background: linear-gradient(120deg, #073b5c, #0b8ed0 60%, #0a6ea3);
    position: relative;
    overflow: hidden;
}

.stat-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 400px at 15% 20%, rgba(255, 255, 255, .16), transparent 60%),
        radial-gradient(600px 400px at 85% 90%, rgba(255, 255, 255, .12), transparent 60%);
    animation: meshFloat 18s ease-in-out infinite;
}

.stat-band .container {
    position: relative;
    z-index: 2;
}

.stat-band h2,
.stat-band p,
.stat-band .counter {
    color: #fff;
}

.counter {
    font-size: clamp(2.1rem, 3.6vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.stat-lab {
    color: rgba(255, 255, 255, .78);
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* ---------- Testimonials ---------- */
.swiper {
    padding-bottom: 3.2rem !important;
}

.swiper-slide {
    height: auto;
}

.swiper-pagination-bullet {
    background: var(--blue);
    opacity: .25;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 5px;
}

.stars i {
    color: #f5a623;
    animation: starPop .6s backwards;
}

@keyframes starPop {
    from {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
}

.t-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--grad);
    color: #fff;
    font-weight: 800;
}

/* ---------- Forms ---------- */
.field {
    position: relative;
    margin-bottom: 1.15rem;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    padding: 1.35rem 1rem .55rem;
    font-size: .95rem;
    color: var(--ink);
    outline: none;
    transition: border-color .3s, box-shadow .3s;
}

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

.field label {
    position: absolute;
    left: 1rem;
    top: .95rem;
    font-size: .93rem;
    color: var(--ink-2);
    pointer-events: none;
    transition: all .28s cubic-bezier(.2, .8, .2, 1);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(11, 142, 208, .13);
}

.field input:focus+label,
.field textarea:focus+label,
.field input:not(:placeholder-shown)+label,
.field textarea:not(:placeholder-shown)+label {
    top: .35rem;
    font-size: .7rem;
    color: var(--blue);
    font-weight: 700;
}

.map-frame {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    height: 100%;
    min-height: 340px;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(.4) contrast(1.05);
    transition: filter .5s;
}

.map-frame:hover iframe {
    filter: none;
}

/* ---------- Opt-in consent ---------- */
.optin-box {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.1rem 1.15rem 1.15rem;
    background: #f7fbfe;
    margin-bottom: .5rem;
}

.optin-title {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0;
}

.optin-channels {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.optin-chip {
    position: relative;
    display: inline-flex;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.optin-chip input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.optin-chip span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .85rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: .88rem;
    font-weight: 600;
    color: var(--muted);
    transition: .25s;
    pointer-events: none;
}

.optin-chip input:checked + span {
    border-color: var(--blue);
    background: rgba(11, 142, 208, .12);
    color: var(--blue);
    box-shadow: inset 0 0 0 1px var(--blue);
}

.optin-chip input:focus-visible + span {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.optin-consent {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    margin: 0;
    font-size: .86rem;
    line-height: 1.55;
    color: var(--muted);
}

.optin-consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin: .15rem 0 0;
    border: 2px solid #9ab4c5;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.optin-consent input[type="checkbox"]:hover {
    border-color: var(--blue);
}

.optin-consent input[type="checkbox"]:checked {
    background: var(--blue);
    border-color: var(--blue);
}

.optin-consent input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.optin-consent input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
}

.optin-consent > label {
    cursor: pointer;
    margin: 0;
    font-weight: 500;
    color: var(--muted);
}

.optin-consent a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.optin-consent a:hover {
    text-decoration: underline;
}

.optin-consent.is-invalid input[type="checkbox"] {
    border-color: #e35d6a;
    box-shadow: 0 0 0 3px rgba(227, 93, 106, .2);
}

.optin-consent.is-invalid {
    outline: 2px solid #e35d6a;
    outline-offset: 6px;
    border-radius: 10px;
}

/* ---------- Pricing ---------- */
.price-card.featured {
    border-color: var(--blue-soft);
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.price-card .amt {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -.04em;
}

.price-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
}

.price-list li {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    padding: .4rem 0;
    font-size: .9rem;
    color: var(--ink-2);
    font-weight: 500;
}

.price-list i {
    color: var(--blue);
    margin-top: .28rem;
}

.badge-top {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    background: var(--grad);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    padding: .3rem .7rem;
    border-radius: 100px;
}

/* ---------- Blog ---------- */
.post-img {
    height: 190px;
    overflow: hidden;
    border-radius: 14px;
    margin: -.5rem -.5rem 1.1rem;
    background: var(--grad);
    position: relative;
}

.post-img-lg {
    height: 280px;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.post-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, .18));
    pointer-events: none;
    transition: opacity .4s;
}

.glass-card:hover .post-img img {
    transform: scale(1.06);
}

.glass-card:hover .post-img::after {
    opacity: .85;
}

.post-meta {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--blue);
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    background: linear-gradient(150deg, #062f49, #0a5c8a 55%, #073b5c);
    color: #fff;
    padding: 120px 0 30px;
    overflow: hidden;
}

.footer .wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.footer h5 {
    color: #fff;
    font-size: .95rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.footer a,
.footer p,
.footer li {
    color: rgba(255, 255, 255, .72);
    font-size: .92rem;
}

.footer a {
    transition: .3s;
    /* display: inline-block; */
}

.footer a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer .particles-f {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.footer .particles-f i {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    animation: rise linear infinite;
}

@keyframes rise {
    from {
        transform: translateY(0);
        opacity: 0;
    }

    20% {
        opacity: .7;
    }

    to {
        transform: translateY(-380px);
        opacity: 0;
    }
}

.soc {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    text-decoration: none;
    line-height: 1;
    transition: all .4s cubic-bezier(.2, .8, .2, 1);
}

.soc i {
    font-size: 1.15rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.soc:hover {
    background: #fff;
    color: var(--blue);
    transform: translateY(-6px) rotate(8deg);
}

.news-input {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    border-radius: 100px;
    padding: .8rem 1.2rem;
    width: 100%;
    outline: none;
    transition: .3s;
}

.news-input::placeholder {
    color: rgba(255, 255, 255, .55);
}

.news-input:focus {
    background: rgba(255, 255, 255, .18);
    border-color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    margin-top: 3rem;
    padding-top: 1.4rem;
    font-size: .85rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    padding: 190px 0 90px;
    background:
        radial-gradient(800px 420px at 80% 10%, rgba(11, 142, 208, .16), transparent 60%),
        linear-gradient(180deg, #f7f9fc, #ffffff);
    overflow: hidden;
    position: relative;
}

.crumb {
    font-size: .85rem;
    color: var(--ink-2);
    font-weight: 600;
}

.crumb a {
    color: var(--blue);
}

/* ---------- AI orb ---------- */
.orb {
    position: relative;
    width: min(420px, 90%);
    aspect-ratio: 1;
    margin: 0 auto;
}

.orb-core {
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 0 90px rgba(11, 142, 208, .45);
    animation: breathe 5s ease-in-out infinite;
}

.orb-core::after {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .8), transparent 55%);
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.07);
    }
}

.ring {
    position: absolute;
    inset: 0;
    border: 1px dashed var(--blue-soft);
    border-radius: 50%;
    animation: spin 22s linear infinite;
}

.ring:nth-child(2) {
    inset: 9%;
    border-style: solid;
    border-color: rgba(11, 142, 208, .22);
    animation-duration: 15s;
    animation-direction: reverse;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.orb-node {
    position: absolute;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #fff;
    box-shadow: var(--shadow);
    color: var(--blue);
    border: 1px solid var(--line);
    animation: floaty 6s ease-in-out infinite;
}

/* ---------- Reveal (AOS fallback + text reveal) ---------- */
.reveal-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(22px);
}

.reveal-text.in span {
    animation: wordUp .7s cubic-bezier(.2, .8, .2, 1) forwards;
}

@keyframes wordUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tilt {
    transform-style: preserve-3d;
}

.zoom-img {
    overflow: hidden;
    border-radius: var(--radius);
}

.zoom-img img {
    transition: transform 1s cubic-bezier(.2, .8, .2, 1);
    width: 100%;
    display: block;
}

.zoom-img:hover img {
    transform: scale(1.09);
}

/* ---------- Legal pages ---------- */
.legal-nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: .92rem;
    font-weight: 600;
    transition: color .2s;
}

.legal-nav a:hover {
    color: var(--blue);
}

.legal-prose h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
    margin-bottom: .85rem;
    scroll-margin-top: 6rem;
}

.legal-prose h2:first-of-type {
    margin-top: 0;
}

.legal-prose p,
.legal-prose li {
    color: var(--muted);
    line-height: 1.75;
}

.legal-prose ul,
.legal-prose ol {
    padding-left: 1.2rem;
    margin-bottom: 1.1rem;
}

.legal-prose li {
    margin-bottom: .4rem;
}

.legal-prose a {
    color: var(--blue);
    font-weight: 600;
    text-decoration: none;
}

.legal-prose a:hover {
    text-decoration: underline;
}

.footer-bottom a {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    font-size: .88rem;
}

.footer-bottom a:hover {
    color: #fff;
}

/* 404 */
.four {
    font-size: clamp(6rem, 20vw, 14rem);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: .9;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}
