/* ================================================
   LINK AI AGENCY - HERO HEADER REDESIGN
   Premium, Centered Overlay on Video Background
   ================================================ */

/* ---- HERO SECTION ---- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* ---- HIDE CANVAS (not needed for this design) ---- */
#hero-bg-canvas {
    display: none;
}

/* ---- HERO CONTAINER: Centered Overlay ---- */
.hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    max-width: 900px;
}

/* ---- REMOVE RIGHT COLUMN ---- */
.hero-right {
    display: none !important;
}

/* ---- LEFT COLUMN: Now Full Width Centered ---- */
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* ---- BRAND LABEL ---- */
.hero-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.35em;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

/* ---- MAIN HEADLINE: 3D Premium Typography ---- */
.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;

    /* Base color: Very light lavender/white */
    color: #f8f6ff;

    /* 3D Depth Effect */
    text-shadow:
        /* Inner highlight (top-left bevel) */
        -1px -1px 0 rgba(255, 255, 255, 0.4),
        /* Depth shadow (bottom-right) */
        2px 2px 4px rgba(0, 0, 0, 0.3),
        3px 3px 6px rgba(0, 0, 0, 0.2),
        /* Purple ambient glow */
        0 0 40px rgba(139, 92, 246, 0.4),
        0 0 80px rgba(139, 92, 246, 0.2),
        0 0 120px rgba(139, 92, 246, 0.1);
}

.hero-title span {
    display: block;
}

.hero-title span:first-child {
    /* Slight glow enhancement on first line */
    text-shadow:
        -1px -1px 0 rgba(255, 255, 255, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.3),
        3px 3px 6px rgba(0, 0, 0, 0.2),
        0 0 50px rgba(139, 92, 246, 0.5),
        0 0 100px rgba(139, 92, 246, 0.25);
}

/* ---- SUPPORTING TEXT ---- */
.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* ---- BUTTONS CONTAINER ---- */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- BUTTON BASE ---- */
/* ---- UNIFIED HERO BUTTONS (Services & Process) ---- */
.hero-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: url('../images/chain-cursor.svg') 12 12, pointer;
    position: relative;
    overflow: hidden;
    margin: 0.5rem;
    /* Add spacing */

    /* Lighter Glowing Purple Style - Forced for Mobile */
    background: rgba(139, 92, 246, 0.25) !important;
    border: 1px solid rgba(167, 139, 250, 0.5) !important;
    color: #fff !important;
    backdrop-filter: blur(10px);
    box-shadow:
        0 4px 20px rgba(124, 58, 237, 0.25),
        0 0 15px rgba(139, 92, 246, 0.15),
        inset 0 0 20px rgba(167, 139, 250, 0.1) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-btn:hover {
    transform: translateY(-3px);
    background: rgba(139, 92, 246, 0.45) !important;
    border-color: rgba(167, 139, 250, 0.8) !important;
    box-shadow:
        0 8px 30px rgba(124, 58, 237, 0.45),
        0 0 25px rgba(139, 92, 246, 0.3),
        inset 0 0 20px rgba(167, 139, 250, 0.3) !important;
    color: #fff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Remove old specific child overrides */
.hero-btn:first-child,
.hero-btn:last-child {
    background: inherit;
    color: inherit;
    box-shadow: inherit;
    border: inherit;
}

.hero-btn:first-child::before {
    display: none;
}

/* ================================================
   RESPONSIVE ADJUSTMENTS
   ================================================ */

@media (max-width: 768px) {
    .hero-container {
        padding: 0 1.5rem;
    }

    .hero-label {
        font-size: 0.75rem;
        letter-spacing: 0.25em;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 0.75rem 1.8rem;
        font-size: 0.9rem;
        /* Ensure styles persist on mobile */
        background: rgba(139, 92, 246, 0.25) !important;
        border: 1px solid rgba(167, 139, 250, 0.5) !important;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-btn {
        width: 100%;
        max-width: 220px;
        /* Force styling again for smallest screens */
        background: rgba(139, 92, 246, 0.25) !important;
        border: 1px solid rgba(167, 139, 250, 0.5) !important;
    }

    .hero-container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.2;
    }

    .hero-title span {
        margin-bottom: 0.25rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .hero-label {
        font-size: 0.6rem;
        letter-spacing: 0.2em;
        margin-bottom: 1rem;
    }
}