/* ═══════════════════════════════════════════════════════════════
   ABL Site Hero — Northern lights canvas + responsive layout
   ═══════════════════════════════════════════════════════════════ */

.abl-site-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0ED9B4 0%, #7B61FF 50%, #FF5FA0 100%);
    padding-top: 64px; /* navbar height */
}

/* ── Canvas (desktop only) ── */
.abl-site-hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    z-index: 1;
}

/* ── Content overlay ── */
.abl-site-hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 3rem 0;
}


/* ── Grid: single col mobile, 2-col desktop ── */
.abl-site-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

/* ── Content ── */
.abl-site-hero-content {
    text-align: center;
}

.abl-site-hero-headline {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.abl-site-hero-headline-line {
    display: block;
}

.abl-site-hero-headline-line:nth-child(2) {
    opacity: 0.9;
}

.abl-site-hero-headline-line:nth-child(3) {
    opacity: 0.8;
}

.abl-site-hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 540px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.abl-site-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.abl-site-hero-actions .abl-site-btn--primary {
    background: rgba(255, 255, 255, 0.95);
    color: #111827;
    border: none;
}

.abl-site-hero-actions .abl-site-btn--primary:hover {
    background: #ffffff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.abl-site-hero-actions .abl-site-btn--ghost {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
}

.abl-site-hero-actions .abl-site-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* ── Floating badges (hidden on mobile) ── */
.abl-site-hero-badges {
    display: none;
}

.abl-site-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 1.5rem 0.3rem 0.85rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    animation: abl-site-float 4s ease-in-out infinite;
    white-space: nowrap;
}

/* Vary float speed per badge for organic movement */
.abl-site-hero-badge:nth-child(odd)  { animation-duration: 3.5s; }
.abl-site-hero-badge:nth-child(even) { animation-duration: 4.5s; }
.abl-site-hero-badge:nth-child(3n)   { animation-duration: 5s; }

.abl-site-hero-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ffffff;
    /* Organic blob — asymmetric border-radius */
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    line-height: 1;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));
}

.abl-site-hero-badge-icon svg {
    shape-rendering: geometricPrecision;
}

/* Boost stroke weight on hero badge icons for crispness at small sizes */
.abl-site-hero-badge-icon svg [stroke] {
    stroke-width: 2.8;
}

/* ── Scroll indicator (removed) ── */
.abl-site-hero-scroll {
    display: none;
}

/* ── Mobile: CSS gradient fallback, no canvas ── */
@media (max-width: 767px) {
    .abl-site-hero-canvas {
        display: none;
    }

    .abl-site-hero-section {
        min-height: 85vh;
        background: linear-gradient(135deg, #0ED9B4 0%, #7B61FF 50%, #FF5FA0 100%);
        background-size: 200% 200%;
        animation: abl-site-hero-gradient-drift 12s ease infinite;
    }
}

/* ── Tablet ── */
@media (min-width: 768px) {
    .abl-site-hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 3rem;
    }

    .abl-site-hero-content {
        text-align: left;
    }

    .abl-site-hero-subtitle {
        margin: 0 0 2rem;
    }

    .abl-site-hero-actions {
        justify-content: flex-start;
    }

    .abl-site-hero-badges {
        display: block;
        position: relative;
        min-height: 480px;
    }

    .abl-site-hero-badge {
        position: absolute;
    }

    /* Scattered — wide horizontal spread */
    .abl-site-hero-badge:nth-child(1) { top: 3%;   right: 0%;  left: auto; }
    .abl-site-hero-badge:nth-child(2) { top: 12%;  right: 55%; left: auto; }
    .abl-site-hero-badge:nth-child(3) { top: 28%;  right: 5%;  left: auto; }
    .abl-site-hero-badge:nth-child(4) { top: 40%;  right: 50%; left: auto; }
    .abl-site-hero-badge:nth-child(5) { top: 56%;  right: 10%; left: auto; }
    .abl-site-hero-badge:nth-child(6) { top: 70%;  right: 55%; left: auto; }
    .abl-site-hero-badge:nth-child(7) { top: 86%;  right: 2%;  left: auto; }
}

/* ── Desktop ── */
@media (min-width: 1200px) {
    .abl-site-hero-headline {
        font-size: 3.25rem;
    }

    .abl-site-hero-badges {
        min-height: 600px;
    }

    .abl-site-hero-badge:nth-child(1) { top: 3%;   right: 0%;  }
    .abl-site-hero-badge:nth-child(2) { top: 12%;  right: 55%; }
    .abl-site-hero-badge:nth-child(3) { top: 28%;  right: 3%;  }
    .abl-site-hero-badge:nth-child(4) { top: 42%;  right: 48%; }
    .abl-site-hero-badge:nth-child(5) { top: 56%;  right: 8%;  }
    .abl-site-hero-badge:nth-child(6) { top: 70%;  right: 52%; }
    .abl-site-hero-badge:nth-child(7) { top: 86%;  right: 0%;  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .abl-site-hero-section {
        animation: none !important;
    }

    .abl-site-hero-canvas {
        display: none;
    }

    .abl-site-hero-badge {
        animation: none;
    }

    .abl-site-hero-scroll-line {
        animation: none;
        opacity: 0.6;
    }
}
