:root {
    --bg-white: #fcf9fe;
    /* Very light lilac white */
    --bg-offwhite: #f5f0f7;
    /* Slightly darker lilac for contrast */
    --bg-glass: rgba(255, 255, 255, 0.65);
    --text-black: #0a0a0a;
    --text-grey: #666;
    --primary-purple: #b02dfd;
    --glow-purple: rgba(176, 45, 253, 0.5);
    --chrome-gradient: linear-gradient(135deg, #f0f0f0 0%, #ffffff 50%, #dcdcdc 100%);
    --chrome-border: 1px solid rgba(0, 0, 0, 0.15);
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: url('../images/chain-cursor.svg') 12 12, auto !important;
}

html,
body {
    cursor: url('../images/chain-cursor.svg') 12 12, auto !important;
}

body {
    background-color: var(--bg-white);
    color: var(--text-black);
    font-family: var(--font-main);
    overflow: hidden;
    /* Hide default scrollbar */
}

/* SCROLL SNAP CONTAINER */
.scroller {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    position: relative;
    padding-top: 80px;
    /* Offset for fixed navbar */
}

/* SECTION COMMON */
.section {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    z-index: 2;
}

.content-wrapper {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    /* Centers the wrapper horizontally */
    padding: 0 2rem;
    /* Prevents content from touching edges */
}

.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
    font-weight: 800;
    /* Ultra Bold */
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #1e0b24;
    /* Deep Purple Black */
}

/* Hero Title Image Replacement */
.hero-title-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    object-fit: contain;
    margin-bottom: 2rem;
    mix-blend-mode: multiply;
    /* Blends white background into lilac */
}

h1 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 2rem;
    /* Removed text gradient to strictly follow deep purple-black request */
}

h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

p {
    color: var(--text-grey);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* WATERMARK BACKGROUND */
.watermark-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70vw;
    z-index: 0;
    opacity: 0.08;
    pointer-events: none;
    filter: blur(15px);
}

.watermark-container img {
    width: 100%;
    height: auto;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo-img {
    height: 45px;
    width: auto;
}

/* ---- NAVBAR PARTNER MARQUEE ---- */
.nav-marquee-container {
    flex: 1;
    overflow: hidden;
    position: relative;
    margin: 0 1.5rem;
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%);
}

.nav-marquee-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    animation: nav-scroll 25s linear infinite;
    width: max-content;
}

.nav-partner-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-partner-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.nav-partner-logo.nav-partner-logo-lg {
    height: 45px;
}

.nav-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes nav-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause marquee on hover */
.nav-marquee-container:hover .nav-marquee-track {
    animation-play-state: paused;
}

.nav-links {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}


/* PROCESS NAVIGATION (New) */
.process-nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: relative;
    width: 100%;
    margin-top: 3rem;
}

/* Connecting Line */
.process-line-bg {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.process-card {
    background: white;
    /* Clean white card as requested */
    width: 200px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    /* Rounded cards */
    text-decoration: none;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    /* Subtle shadow per specs */
    transition: all 0.4s ease;
}

.process-card-title {
    font-weight: 800;
    font-size: 1rem;
    color: #1e0b24;
    /* Deep purple black */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hover Effects: Scale + Glow */
.process-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(176, 45, 253, 0.2);
    /* Soft purple glow */
    border-color: rgba(176, 45, 253, 0.3);
}

/* PROCESS DETAIL SECTIONS */
.process-detail-section {
    background: white;
    text-align: left;
    /* Reset text align for details */
}

/* Two-column layout for details */
.detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    margin-top: 3rem;
    width: 100%;
}

.detail-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}

.section-tag {
    font-size: 3rem;
    font-weight: 900;
    color: #f0f0f0;
    /* Very subtle grey for numbering */
    line-height: 1;
}

.detail-text p {
    margin-bottom: 1.5rem;
    color: var(--text-grey);
}

.detail-text strong {
    color: #1e0b24;
    font-weight: 700;
}

.detail-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.detail-text li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-grey);
}

.detail-text li::before {
    content: '•';
    color: var(--primary-purple);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Detail Boxes (Sidebar) */
.detail-boxes {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-box {
    background: var(--bg-offwhite);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-box h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1e0b24;
}

.detail-box ul {
    list-style: none;
    padding: 0;
}

.detail-box li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #555;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.5rem;
}

.outcome-box {
    background: linear-gradient(135deg, #fdfbfd 0%, #ffffff 100%);
    border: 1px solid rgba(176, 45, 253, 0.1);
    border-left: 4px solid var(--primary-purple);
}

/* Mobile Responsiveness for New sections */
@media (max-width: 768px) {
    .process-nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .process-line-bg {
        display: none;
    }

    .process-card {
        width: 100%;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-tag {
        font-size: 2rem;
        margin-top: 1rem;
    }
}

.nav-btn {
    text-decoration: none;
    color: var(--text-black);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: transparent;
    transition: var(--transition);
    border: 1px solid transparent;
}

.nav-btn:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    color: var(--primary-purple);
}

/* HERO BUTTONS */
.hero-buttons {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.btn {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.btn-primary {
    background: white;
    color: black;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 40px var(--glow-purple);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px var(--glow-purple);
    border-color: var(--primary-purple);
}

.btn-secondary {
    background: var(--chrome-gradient);
    color: #333;
    border: 1px solid #ccc;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    filter: brightness(1.05);
}

.btn-demo {
    background: #1e0b24;
    /* Dark Purple/Black */
    color: white;
    border: 1px solid var(--primary-purple);
    box-shadow: 0 5px 20px rgba(176, 45, 253, 0.3);
}

.btn-demo:hover {
    transform: translateY(-5px);
    background: var(--primary-purple);
    box-shadow: 0 10px 30px rgba(176, 45, 253, 0.6);
}

/* SERVICES GRID */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 3rem 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Chrome shine effect */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

/* PARTNER MARQUEE */
.partner-section {
    background: #fafafa;
    padding: 2rem 0;
    border-top: 1px solid #eee;
    overflow: hidden;
    position: relative;
    width: 100vw;
    scroll-snap-align: end;
}

.marquee-title {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    animation: scroll 30s linear infinite;
    gap: 4rem;
    padding-left: 4rem;
    /* Initial offset */
}

/* Pause on hover optional */
/* .marquee-track:hover {
    animation-play-state: paused;
} */

.partner-logo-img {
    height: 40px;
    /* Consistent height for logos */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo-img.partner-logo-large {
    height: 75px;
    /* Larger size for specific partners */
}

.partner-logo-img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ccc;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    /* Fix alignment if mixed */
    align-items: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Adjust based on content width duplications */
    }
}

/* Partner Footer with Admin Link */
.partner-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.partner-footer .copyright {
    font-size: 0.75rem;
    color: #999;
}

.admin-login-link {
    font-size: 0.7rem;
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.admin-login-link:hover {
    color: #7c3aed;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(176, 45, 253, 0.15);
    /* Purple shadow */
    border-color: var(--primary-purple);
}

.service-card-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(176, 45, 253, 0.2));
    /* Purple shadow on image */
    transition: var(--transition);
}

.glass-card:hover .service-card-img {
    transform: scale(1.1);
}

.glass-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* PROCESS FLOW */
.process-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    margin-top: 4rem;
}

.process-step {
    flex: 1;
    background: var(--chrome-gradient);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    letter-spacing: 1px;
    border: 1px solid #ccc;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    z-index: 2;
    margin: 0 1rem;
    transition: var(--transition);
    cursor: url('../images/chain-cursor.svg') 12 12, auto !important;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

/* Connector line */
.process-line {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #ccc;
    z-index: 1;
    transform: translateY(-50%);
}

/* CTA SECTION & ANIMATED BG */
.cta-section {
    position: relative;
    overflow: hidden;
    /* Ensure background stays within */
    background: #0a0a0a;
    /* Fallback */
}

.animated-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(176, 45, 253, 0.4), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(50, 20, 80, 0.8), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(100, 30, 255, 0.3), transparent 40%),
        linear-gradient(135deg, #050505 0%, #1e0b24 100%);
    filter: blur(60px);
    animation: moveMesh 15s ease-in-out infinite alternate;
    z-index: 1;
}

/* Ensure content stays on top of background */
.cta-section .content-wrapper {
    z-index: 2;
    position: relative;
}

/* Green Pulse Button */
.cta-section .btn-primary {
    animation: pulse-green 3s infinite ease-in-out;
    position: relative;
    z-index: 10;
    border: 1px solid #00ff88;
    /* Subtle green border */
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
        border-color: rgba(0, 255, 136, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 10px rgba(0, 255, 136, 0.2);
        /* Wide soft green glow */
        border-color: rgba(0, 255, 136, 1);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
        border-color: rgba(0, 255, 136, 0.4);
    }
}

/* Update text colors for dark background */
.cta-section h2,
.cta-section p,
.cta-section span {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.social-btn:hover {
    background: white;
    color: var(--primary-purple);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(176, 45, 253, 0.4);
}


@keyframes moveMesh {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-10%, -10%) rotate(5deg);
    }

    100% {
        transform: translate(10%, 10%) rotate(-5deg);
    }
}

/* ANIMATIONS */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE */
@media(max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-container {
        flex-direction: column;
        gap: 2rem;
    }

    .process-line {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Fix navbar for mobile */
    .navbar {
        padding: 0.5rem 1rem;
        gap: 0.5rem;
        z-index: 1000;
    }

    .nav-logo-img {
        height: 35px;
    }

    /* Hide partner marquee on mobile to prevent overlap */
    .nav-marquee-container {
        display: none;
    }

    /* CRITICAL: Disable scroll-snap on mobile to prevent section bleeding */
    .scroller {
        scroll-snap-type: none !important;
        padding-top: 60px;
        overflow-y: auto;
    }

    /* Disable scroll-snap-align on all sections */
    .section {
        scroll-snap-align: none !important;
        min-height: auto;
        height: auto;
        padding: 2rem 1rem;
        overflow: visible;
        position: relative;
    }

    /* Hero section - must have solid background and proper z-index */
    .hero-section {
        min-height: 100vh;
        height: 100vh;
        overflow: hidden;
        position: relative;
        z-index: 1;
        background: #1a0a2e;
        /* Solid dark purple fallback */
    }

    /* Video background on mobile */
    #hero-video-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }

    /* Hero content above video */
    .hero-container {
        position: relative;
        z-index: 10;
    }

    /* Services section - CRITICAL: Force it BELOW the hero completely */
    #services {
        background: var(--bg-white) !important;
        position: relative;
        z-index: 10;
        min-height: auto;
        padding-top: 3rem;
        padding-bottom: 3rem;
        margin-top: 0 !important;
        /* Force services to start AFTER hero by adding space equal to hero height */
    }

    /* Ensure services content wrapper starts cleanly */
    #services .content-wrapper {
        position: relative;
        z-index: 11;
        background: var(--bg-white);
        padding-top: 2rem;
    }

    /* Hide the "Our Expertise" h2 - make it much smaller and contained */
    #services h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
        position: relative;
        z-index: 11;
        background: var(--bg-white);
        padding: 1rem 0;
    }

    /* Service cards solid background */
    .svc-card {
        background: rgba(255, 255, 255, 0.98) !important;
        position: relative;
        z-index: 11;
        backdrop-filter: blur(0) !important;
    }

    /* Process section solid background */
    .proc {
        background: #0a0a0a !important;
        position: relative;
        z-index: 10;
    }

    /* Final/Contact section */
    .final {
        background: linear-gradient(180deg, #1e0b24 0%, #0a0a0a 100%) !important;
        position: relative;
        z-index: 10;
    }

    /* Partner section */
    .partner-section {
        background: #fafafa !important;
        position: relative;
        z-index: 10;
    }

    /* Watermark hidden on mobile */
    .watermark-container {
        display: none;
    }

    /* Content wrapper in services needs solid background */
    #services .centered {
        background: var(--bg-white);
        position: relative;
        z-index: 12;
    }
}

/* Extra small mobile */
@media(max-width: 480px) {
    .navbar {
        padding: 0.5rem 0.75rem;
    }

    .nav-logo-img {
        height: 30px;
    }

    .scroller {
        padding-top: 50px;
    }

    .section {
        padding: 0.75rem;
    }

    /* Services section adjustments */
    #services {
        padding-top: 2rem;
    }

    #services h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    /* Hero title smaller on mobile */
    .hero-title {
        font-size: 1.6rem !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
    }

    .hero-label {
        font-size: 0.65rem;
    }
}

/* DETAIL PAGE STYLES (Services & Process) */
.detail-page-body {
    overflow-y: auto;
}

.detail-scroller {
    overflow-y: auto;
    scroll-snap-type: none;
    height: auto;
    min-height: 100vh;
}

.detail-section {
    height: auto;
    min-height: 80vh;
    padding-top: 8rem;
    padding-bottom: 5rem;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.back-link {
    position: fixed;
    top: 100px;
    left: 3rem;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    z-index: 10;
    transition: color 0.3s;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.back-link:hover {
    color: var(--primary-purple);
}

.detail-hero-img {
    height: 150px;
    margin-bottom: 2rem;
    width: auto;
    object-fit: contain;
}

.detail-grid-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    text-align: left;
    max-width: 900px;
    width: 100%;
    margin-top: 3rem;
}

.detail-grid-services h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-purple);
}

@media (max-width: 768px) {
    .detail-grid-services {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .back-link {
        top: 90px;
        left: 1rem;
        font-size: 0.9rem;
    }
}

/* ===== ANIMATED HEADER (Option B: Image) ===== */
:root {
    --ink: #1a1029;
    --p1: #7c3aed;
    --p2: #a78bfa;
}

/* ===== OPTION A: Real text header (Reserved) ===== */
.la-head {
    margin: 0;
    text-align: center;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    font-weight: 950;
    letter-spacing: -0.03em;
    line-height: .92;
    font-size: clamp(46px, 6.2vw, 92px);
    color: var(--ink);
    position: relative;
    display: inline-block;
    text-shadow: 0 18px 46px rgba(26, 16, 41, .12);
    transform: translateZ(0);
}

.la-head::after {
    content: "";
    position: absolute;
    inset: -18% -22%;
    background: linear-gradient(115deg,
            transparent 30%,
            rgba(255, 255, 255, .35) 45%,
            rgba(167, 139, 250, .18) 50%,
            rgba(255, 255, 255, .14) 55%,
            transparent 70%);
    transform: translateX(-34%);
    opacity: .0;
    mix-blend-mode: screen;
    pointer-events: none;
    animation: la-shine 2.8s ease-in-out infinite;
}

@keyframes la-shine {
    0% {
        opacity: 0;
        transform: translateX(-34%);
    }

    18% {
        opacity: .85;
    }

    55% {
        opacity: .22;
    }

    100% {
        opacity: 0;
        transform: translateX(34%);
    }
}

.la-head::before {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    top: 42%;
    height: 34px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 50%, rgba(124, 58, 237, .26), transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(167, 139, 250, .18), transparent 60%);
    filter: blur(18px);
    opacity: .9;
    animation: la-glow 3.6s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes la-glow {

    0%,
    100% {
        transform: scaleX(.92);
        opacity: .55;
    }

    50% {
        transform: scaleX(1.06);
        opacity: .95;
    }
}

.la-head span {
    background: linear-gradient(90deg, var(--p1), var(--p2), var(--p1));
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 16px 40px rgba(124, 58, 237, .18));
    animation: la-aiGradient 2.4s ease-in-out infinite;
}

@keyframes la-aiGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* underline “energy bar” */
.la-headEnergy {
    width: min(760px, 86vw);
    height: 10px;
    border-radius: 999px;
    margin: 16px auto 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(124, 58, 237, .28),
            rgba(167, 139, 250, .22),
            rgba(124, 58, 237, .28),
            transparent);
    box-shadow: 0 18px 70px rgba(124, 58, 237, .12);
    position: relative;
    overflow: hidden;
}

.la-headEnergy::after {
    content: "";
    position: absolute;
    inset: -40% -40%;
    background: linear-gradient(115deg,
            transparent 30%,
            rgba(255, 255, 255, .40) 45%,
            rgba(167, 139, 250, .22) 50%,
            rgba(255, 255, 255, .16) 55%,
            transparent 70%);
    transform: translateX(-34%);
    animation: la-shine 2.8s ease-in-out infinite;
}

/* ===== OPTION B: Image Header ===== */
.la-headImgWrap {
    width: min(980px, 92vw);
    margin: 0 auto;
    position: relative;
    border-radius: 28px;
    overflow: visible;
    /* Changed from hidden to avoid clipping glow/shadow if needed, but glow is pseudo */
    transform: translateZ(0);
}

.la-headImg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 26px 80px rgba(26, 16, 41, .14));
    transform-origin: center;
    animation: la-imgFloat 4.2s ease-in-out infinite;
    mix-blend-mode: multiply;
    /* Ensuring white bg blends */
}

@keyframes la-imgFloat {

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

    50% {
        transform: translateY(-10px) scale(1.01);
    }
}

.la-headImgWrap::after {
    content: "";
    position: absolute;
    inset: -25% -25%;
    background: linear-gradient(115deg,
            transparent 30%,
            rgba(255, 255, 255, .40) 45%,
            rgba(167, 139, 250, .18) 50%,
            rgba(255, 255, 255, .14) 55%,
            transparent 70%);
    transform: translateX(-34%);
    opacity: .0;
    mix-blend-mode: screen;
    pointer-events: none;
    animation: la-shine 2.8s ease-in-out infinite;
}

.la-headImgWrap::before {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    top: 60%;
    height: 46px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 50%, rgba(124, 58, 237, .26), transparent 60%),
        radial-gradient(circle at 70% 50%, rgba(167, 139, 250, .18), transparent 60%);
    filter: blur(22px);
    opacity: .8;
    animation: la-glow 3.6s ease-in-out infinite;
    pointer-events: none;
}

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

    .la-head::after,
    .la-head::before,
    .la-head span,
    .la-headEnergy::after,
    .la-headImg,
    .la-headImgWrap::after,
    .la-headImgWrap::before {
        animation: none !important;
    }
}