/* =========================================================
   HERO NEO — CLEAN, STABLE, SINGLE SOURCE
   ========================================================= */

.hero {
    display: none !important;
}
.hero-neo .py-8 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ---- HERO ROOT ---- */
.hero-neo {
    position: relative;
    min-height: calc(100svh - 88px);
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    z-index: 5;

    background:
            radial-gradient(900px 600px at 75% 35%, rgba(11,18,32,0.08), transparent 55%),
            linear-gradient(180deg, #f6f7fb, #ffffff);
}

/* ---- AMBIENT GRADIENT DRIFT ---- */
.hero-neo::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
            radial-gradient(40% 40% at 20% 20%, rgba(225,95,0,0.18), transparent 60%),
            radial-gradient(35% 35% at 80% 30%, rgba(255,122,26,0.12), transparent 60%),
            radial-gradient(45% 45% at 50% 80%, rgba(225,95,0,0.10), transparent 60%);
    animation: heroGradientDrift 22s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes heroGradientDrift {
    0%   { transform: translate(0,0); }
    50%  { transform: translate(-24px,-18px); }
    100% { transform: translate(0,0); }
}

/* ---- HERO CONTENT GRID ---- */
.hero-neo-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.25rem;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
}

/* ---- LEFT CONTENT ---- */
.hero-neo-content {
    max-width: 560px;
}

/* ---- IMAGE ---- */
.hero-neo-visual {
    display: flex;
    justify-content: center;
}

.hero-image-frame {
    width: min(420px, 90%);
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    overflow: hidden;
    background: #000;
    box-shadow:
            0 30px 70px rgba(11,18,32,0.35),
            0 0 0 1px rgba(0,0,0,0.04);
    transition: transform 800ms cubic-bezier(.2,.8,.2,1);
}

.hero-neo:hover .hero-image-frame {
    transform: translateY(-6px);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- GLOWS ---- */
.hero-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: floatGlow 18s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.glow-orange {
    background: rgba(225,95,0,0.45);
    top: 10%;
    left: 6%;
}

.glow-blue {
    background: rgba(59,130,246,0.35);
    bottom: 12%;
    right: 8%;
    animation-delay: -9s;
}

@keyframes floatGlow {
    0%   { transform: translate(0,0); }
    50%  { transform: translate(28px,-36px); }
    100% { transform: translate(0,0); }
}

/* ---- PARTICLES VISIBILITY BOOST (SHARED SYSTEM) ---- */
.hero-neo .square-particles span {
    opacity: calc(var(--opacity) * 1.2);
}
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;              /* behind content */
    pointer-events: none;
}

.hero-neo {
    position: relative;
    overflow: hidden;
}

/* make hero content above particles */
.hero-neo-inner,
.hero-glow {
    position: relative;
    z-index: 2;
}

/* ---- MOBILE ---- */
@media (max-width: 900px) {
    .hero-neo-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3.5rem 1rem;
    }

    .hero-neo-visual {
        margin-top: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-neo::before,
    .hero-glow {
        animation: none !important;
    }
}
/* ================= HERO WORDING (RESTORED STYLE) ================= */

.hero-eyebrow {
    display: inline-block;

    font-size: 1.25rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(11,18,32,0.55);
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.3rem, 3.4vw, 3.15rem);
    line-height: 1.08;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
    margin-top: 0.2rem;
}

.hero-title .accent {
    color: var(--accent);
    position: relative;
}

.hero-description {
    font-size: 1.02rem;
    line-height: 1.7;
    color: rgba(11,18,32,0.65);
    margin-top: 0.6rem;
    max-width: 54ch;
}

/* subtle caret for typing */
.hero-eyebrow .caret {
    display: inline-block;
    width: 1px;
    height: 1em;
    background: currentColor;
    margin-left: 4px;
    animation: caretBlink 1.1s steps(1) infinite;
}

@keyframes caretBlink {
    50% { opacity: 0; }
}
/* ================= HERO META PILLS ================= */

.hero-meta {
    margin-top: 1.6rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.hero-typing {
    font-size: 20rem;
}

.hero-meta span {
    position: relative;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;

    font-size: 0.78rem;
    font-weight: 500;

    background: rgba(255,255,255,0.85);
    color: rgba(11,18,32,0.7);

    border: 1px solid rgba(225,95,0,0.18);
    backdrop-filter: blur(10px);

    box-shadow:
            0 6px 16px rgba(11,18,32,0.08),
            inset 0 0 0 1px rgba(255,255,255,0.35);

    transition:
            transform .3s cubic-bezier(.2,.8,.2,1),
            box-shadow .3s ease,
            color .2s ease;
}

.hero-meta span:hover {
    transform: translateY(-3px);
    color: var(--accent);

    box-shadow:
            0 14px 30px rgba(225,95,0,0.35),
            inset 0 0 0 1px rgba(255,255,255,0.6);
}
