/* ======================================================================
   SENSTECH — GLOBAL GREEN TECH HERO
   Shared hero styling for homepage and all internal pages.

   Brand direction : Deep Emerald · Teal Glow · Electric Lime
   Typography      : Plus Jakarta Sans · Inter

   IMPORTANT:
   - Keep the existing Blade / Livewire markup and class names.
   - Load this file AFTER style.css and senstech-green-header-hero-v3.css.
   - Every page using .senstech-hero will inherit the same visual system.
   ====================================================================== */

:root {
    --st-hero-deep: #052F25;
    --st-hero-dark: #063D2E;
    --st-hero-green: #0F6A4A;
    --st-hero-teal: #14B8A6;
    --st-hero-lime: #A3E635;
    --st-hero-white: #F7FFF9;
    --st-hero-copy: rgba(240, 253, 244, 0.80);
    --st-hero-muted: rgba(240, 253, 244, 0.68);
}


/* ======================================================================
   1. SHARED HERO CANVAS
   ====================================================================== */

.senstech-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;

    /* Extra top clearance keeps the eyebrow away from the header logo. */
    padding: clamp(158px, 18vh, 188px) 0 84px;

    color: var(--st-hero-white);
    background:
        linear-gradient(
            118deg,
            var(--st-hero-deep) 0%,
            #064B36 48%,
            var(--st-hero-green) 100%
        );
}

/* Keep all real hero content above the decorative layers. */
.senstech-hero > * {
    position: relative;
    z-index: 1;
}


/* ======================================================================
   2. AMBIENT LIGHTING
   ====================================================================== */

.senstech-hero::before {
    position: absolute;
    z-index: 0;
    inset: -16%;
    content: "";

    background:
        radial-gradient(
            ellipse 38% 48% at 78% 23%,
            rgba(20, 184, 166, 0.25) 0%,
            rgba(20, 184, 166, 0.09) 44%,
            transparent 100%
        ),
        radial-gradient(
            ellipse 30% 38% at 88% 78%,
            rgba(163, 230, 53, 0.15) 0%,
            rgba(163, 230, 53, 0.045) 48%,
            transparent 100%
        ),
        radial-gradient(
            ellipse 42% 42% at 22% 18%,
            rgba(52, 211, 153, 0.12) 0%,
            transparent 100%
        );

    filter: blur(30px);
    transform: scale(1.04);
    pointer-events: none;
    user-select: none;
}


/* ======================================================================
   3. SUBTLE TECHNOLOGY GRID
   ====================================================================== */

.senstech-hero::after {
    display: block;
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";

    background-image:
        linear-gradient(rgba(235, 255, 244, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(235, 255, 244, 0.055) 1px, transparent 1px);
    background-size: 58px 58px;

    opacity: 0.34;
    -webkit-mask-image: radial-gradient(ellipse at 68% 48%, #000 0%, transparent 78%);
    mask-image: radial-gradient(ellipse at 68% 48%, #000 0%, transparent 78%);

    pointer-events: none;
    user-select: none;
}


/* ======================================================================
   4. CONTAINER & CONTENT WIDTH
   ====================================================================== */

.senstech-hero__container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
}

.senstech-hero__content {
    width: 100%;
    /*max-width: 920px; */
}


/* ======================================================================
   5. EYEBROW / SECTION LABEL
   ====================================================================== */

.senstech-hero__eyebrow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;

    margin: 0 0 28px;

    color: var(--st-hero-lime);
    font-family: var(--st-font-body, 'Inter', sans-serif);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.senstech-hero__separator {
    color: var(--st-hero-teal);
    font-size: 1rem;
}


/* ======================================================================
   6. MAIN HEADLINE
   ====================================================================== */

.senstech-hero__title {
    margin: 0 0 26px;

    color: #FFFFFF;
    font-family: var(--st-font-heading, 'Plus Jakarta Sans', sans-serif);
    font-size: clamp(3.2rem, 6.5vw, 5.75rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.055em;
    text-transform: none;
    text-wrap: balance;
}

.senstech-hero__title > span {
    display: block;
}

.senstech-hero__title-accent {
    color: var(--st-hero-lime);
}


/* ======================================================================
   7. DESCRIPTION / SUPPORTING COPY
   ====================================================================== */

.senstech-hero__description {
    max-width: 730px;
    margin: 0;

    color: var(--st-hero-copy);
    font-family: var(--st-font-body, 'Inter', sans-serif);
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    font-weight: 400;
    line-height: 1.85;
}


/* ======================================================================
   8. CALL-TO-ACTION BUTTONS
   ====================================================================== */

.senstech-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.senstech-hero__actions .st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 54px;
    padding: 14px 22px;
    border-radius: 10px;

    font-family: var(--st-font-body, 'Inter', sans-serif);
    font-size: 0.925rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    white-space: normal;

    transition:
        background-color 180ms ease,
        color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

/* Primary action — lime solid. */
.senstech-hero__actions .st-btn-primary {
    border: 1px solid var(--st-hero-lime);
    background: var(--st-hero-lime);
    color: #123322;
    box-shadow: 0 9px 24px rgba(163, 230, 53, 0.16);
}

.senstech-hero__actions .st-btn-primary:hover,
.senstech-hero__actions .st-btn-primary:focus-visible {
    border-color: #BEF264;
    background: #BEF264;
    color: #0B2E20;
    box-shadow: 0 13px 28px rgba(163, 230, 53, 0.22);
    transform: translateY(-2px);
}

/* Secondary action — transparent glass. */
.senstech-hero__actions .st-btn-outline {
    border: 1px solid rgba(235, 255, 244, 0.45);
    background: rgba(255, 255, 255, 0.055);
    color: var(--st-hero-white);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.senstech-hero__actions .st-btn-outline:hover,
.senstech-hero__actions .st-btn-outline:focus-visible {
    border-color: rgba(190, 242, 100, 0.78);
    background: rgba(163, 230, 53, 0.10);
    color: var(--st-hero-lime);
    transform: translateY(-2px);
}

.senstech-hero__actions .st-btn i {
    flex-shrink: 0;
    font-size: 0.8rem;
}

.senstech-hero__actions .st-btn:focus-visible {
    outline: 3px solid rgba(190, 242, 100, 0.72);
    outline-offset: 4px;
}


/* ======================================================================
   9. SUPPORTING TAGLINE
   ====================================================================== */

.senstech-hero__tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30px 0 0;

    color: var(--st-hero-muted);
    font-family: var(--st-font-body, 'Inter', sans-serif);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.7;
}

.senstech-hero__tagline-dot {
    display: inline-block;
    flex: 0 0 7px;
    width: 7px;
    height: 7px;

    background: var(--st-hero-lime);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(163, 230, 53, 0.55);
}


/* Compact desktop / laptop width: header uses the compact nav layout. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .senstech-hero {
        padding-top: 154px;
    }
}


/* ======================================================================
   10. TABLET
   ====================================================================== */

@media (max-width: 991.98px) {
    .senstech-hero {
        min-height: auto;
        padding: 138px 0 76px;
    }

    .senstech-hero__content {
        max-width: 800px;
    }

    .senstech-hero__title {
        font-size: clamp(3rem, 7vw, 4.5rem);
    }

    .senstech-hero::before {
        inset: -18%;
        filter: blur(28px);
        transform: none;
    }
}


/* ======================================================================
   11. MOBILE
   ====================================================================== */

@media (max-width: 575.98px) {
    .senstech-hero {
        min-height: auto;
        padding: 124px 0 60px;
    }

    .senstech-hero__eyebrow {
        gap: 7px;
        margin-bottom: 22px;
        font-size: 0.67rem;
        letter-spacing: 0.075em;
    }

    .senstech-hero__title {
        margin-bottom: 20px;
        font-size: clamp(2.65rem, 10.5vw, 3.6rem);
        line-height: 1.07;
        letter-spacing: -0.05em;
    }

    .senstech-hero__description {
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .senstech-hero__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-top: 28px;
    }

    .senstech-hero__actions .st-btn {
        width: 100%;
        min-height: 52px;
        padding: 13px 16px;
    }

    .senstech-hero__tagline {
        align-items: flex-start;
        margin-top: 24px;
        font-size: 0.8rem;
    }

    .senstech-hero__tagline-dot {
        margin-top: 7px;
    }

    .senstech-hero::before {
        inset: -22%;
        filter: blur(25px);
        transform: none;
    }

    .senstech-hero::after {
        background-size: 42px 42px;
        opacity: 0.25;
    }
}


/* ======================================================================
   12. REDUCED MOTION
   ====================================================================== */

@media (prefers-reduced-motion: reduce) {
    .senstech-hero *,
    .senstech-hero *::before,
    .senstech-hero *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
