/* =========================================================
   Home Hero
   ========================================================= */
.hero {
    position: relative;
    overflow: hidden;
    padding: 110px 0 96px;
    background:
        radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.18), transparent 25%),
        radial-gradient(circle at 80% 10%, rgba(20, 184, 166, 0.15), transparent 22%),
        linear-gradient(135deg, #0f172a 0%, #162a46 50%, #1f4f8f 100%);
    color: var(--color-white);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.06), transparent 28%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    max-width: 900px;
    margin-bottom: 18px;
    color: var(--color-white);
}

.hero p {
    max-width: 820px;
    margin: 0;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

/* =========================================================
   Home Hero - Animated Variant
   ========================================================= */
.hero.hero--animated {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 72px 0 52px;
    background: linear-gradient(135deg, #081120 0%, #0f2340 45%, #1f4f8f 100%);
}

.hero--animated::before {
    content: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 36px;
    align-items: center;
}

.hero-copy {
    max-width: 760px;
}

.hero-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(219, 234, 254, 0.95);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero--animated h1 {
    max-width: 860px;
    margin-bottom: 18px;
    font-size: clamp(2.35rem, 4.6vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #ffffff;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.hero--animated p {
    max-width: 700px;
    margin: 0 0 24px;
    font-size: 1.06rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.84);
}

.hero--animated .hero-actions {
    gap: 12px;
    margin-top: 0;
}

.hero-aurora {
    position: absolute;
    inset: -18%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 30%, rgba(37, 99, 235, 0.36), transparent 24%),
        radial-gradient(circle at 78% 18%, rgba(20, 184, 166, 0.20), transparent 20%),
        radial-gradient(circle at 72% 74%, rgba(56, 189, 248, 0.18), transparent 24%),
        radial-gradient(circle at 32% 76%, rgba(96, 165, 250, 0.14), transparent 22%);
    filter: blur(34px);
    animation: heroAuroraMove 16s ease-in-out infinite alternate;
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.12));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.12));
}

.hero-blob {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(12px);
}

.hero-blob--one {
    top: 8%;
    left: 4%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.28), transparent 70%);
    animation: floatBlob1 11s ease-in-out infinite;
}

.hero-blob--two {
    top: 12%;
    right: 8%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.26), transparent 72%);
    animation: floatBlob2 14s ease-in-out infinite;
}

.hero-blob--three {
    right: 22%;
    bottom: 6%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.16), transparent 72%);
    animation: floatBlob3 12s ease-in-out infinite;
}

.hero-spotlight {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        radial-gradient(
            460px circle at var(--spot-x, 72%) var(--spot-y, 35%),
            rgba(255, 255, 255, 0.10),
            transparent 48%
        );
}

.hero-visual {
    position: relative;
    min-height: 300px;
    max-width: 460px;
    margin-left: auto;
}

.hero-float-card {
    position: relative;
    min-width: 210px;
    max-width: 250px;
    padding: 16px 16px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.hero-card-label {
    display: inline-block;
    margin-bottom: 6px;
    color: rgba(191, 219, 254, 0.94);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.hero-float-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
    line-height: 1.4;
}

.hero-float-card small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    line-height: 1.5;
}

.hero-float-card--1 {
    top: 0px;
    right: 50px;
    animation: floatCardA 6s ease-in-out infinite;
}

.hero-float-card--2 {
    top: 50px;
    right: 5px;
    animation: floatCardB 7.2s ease-in-out infinite;
}

.hero-float-card--3 {
    top: 75px;
    right: 95px;
    animation: floatCardC 6.5s ease-in-out infinite;
}

.hero-reveal {
    opacity: 0;
    transform: translateY(26px);
    animation: heroReveal 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-reveal-delay {
    animation-delay: 0.22s;
}

.hero-copy .hero-kicker,
.hero-copy h1,
.hero-copy p,
.hero-copy .hero-actions {
    opacity: 0;
    transform: translateY(16px);
    animation: heroItemReveal 0.75s ease forwards;
}

.hero-copy .hero-kicker {
    animation-delay: 0.04s;
}

.hero-copy h1 {
    animation-delay: 0.12s;
}

.hero-copy p {
    animation-delay: 0.24s;
}

.hero-copy .hero-actions {
    animation-delay: 0.36s;
}

/* =========================================================
   Clients Section
   ========================================================= */
.clients-section {
    padding: 72px 0;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.05), transparent 28%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    overflow: hidden;
}

.clients-head {
    margin-bottom: 28px;
    text-align: center;
}

.clients-head h2 {
    margin-bottom: 10px;
}

.clients-head p {
    max-width: 760px;
    margin: 0 auto;
    color: #64748b;
}

.clients-marquee {
    position: relative;
    width: 100%;
    margin-top: 30px;
    overflow: hidden;
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 22px;
    width: max-content;
    will-change: transform;
    transition: transform 0.45s ease;
}

.clients-marquee::before,
.clients-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-marquee::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 100%);
}

.clients-marquee::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 10%, rgba(255, 255, 255, 0) 100%);
}

.client-card {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 100px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.client-card__link,
.client-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 14px 18px;
    box-sizing: border-box;
}

.client-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 52px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}

.client-card:hover .client-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}