.hero-cinematic {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-32) var(--section-padding-x) var(--space-20);
    overflow: hidden;
    background-color: #030014;
}

/* ─────────────────────────────────────────
   HERO BACKGROUND — Clear Grid System
   ───────────────────────────────────────── */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: #030014;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
    opacity: 0.75;
    /* High clarity as requested */
    z-index: 2;
}

/* ─────────────────────────────────────────
   MAJESTIC SIDE GLOWS — Left & Right
   ───────────────────────────────────────── */
.side-glow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45vw;
    height: 90vh;
    filter: blur(140px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

.side-glow-left {
    left: -15%;
    background: radial-gradient(ellipse at center, #8224E3, transparent 70%);
}

.side-glow-right {
    right: -15%;
    background: radial-gradient(ellipse at center, #14B8A6, transparent 70%);
}

/* ─────────────────────────────────────────
   HERO CONTENT — Superior Visibility
   ───────────────────────────────────────── */
.hero-content {
    position: relative;
    z-index: 10001;
    /* Highest Priority */
    /* Ensure content is definitely on top */
    max-width: 900px;
    margin: 0 auto;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1.0);
    }

    50% {
        transform: translate(30px, 30px) scale(1.1);
    }
}

/* ─────────────────────────────────────────
   BADGE ANIMATED
   ───────────────────────────────────────── */

.hero-badge-animated {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    animation: badgeFadeIn 1s ease-out 0.5s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px #22c55e;
}

@keyframes dotPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

@keyframes badgeFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─────────────────────────────────────────
   TITLE CINEMATIC
   ───────────────────────────────────────── */

.hero-title-cinematic {
    margin-bottom: var(--space-6);
    line-height: 1;
    animation: none !important;
    transform: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    gap: 0;
}

.title-line {
    display: block;
    margin: 0;
    padding: 0;
    line-height: 1.1;
    font-weight: 850;
    /* Mightier, bolder volume */
    letter-spacing: -0.02em;
    /* Tighter professional feel */
    /* Consistent tight line height */
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.title-line-1 {
    animation: none !important;
}

.title-line-2 {
    animation: none !important;
    font-size: 1.15em;
    /* Slightly larger for broader impact */
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animated Gradient Text */
.text-gradient-animated {
    background: linear-gradient(90deg,
            #8224E3 0%,
            #14B8A6 25%,
            #F59E0B 50%,
            #14B8A6 75%,
            #8224E3 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s linear infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* ─────────────────────────────────────────
   DESCRIPTION CINEMATIC
   ───────────────────────────────────────── */

.hero-description-cinematic {
    animation: descFadeIn 1s ease-out 1.3s both;
    max-width: 800px;
    position: relative;
    z-index: 10002;
    padding-top: 16px;
    /* Ensure text is clickable and top-most */
}

@keyframes descFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─────────────────────────────────────────
   BUTTONS GLOW
   ───────────────────────────────────────── */

.btn-glow {
    position: relative;
    animation: btnFadeIn 1s ease-out 1.5s both;
}

.btn-glow::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, #8224E3, #14B8A6, #8224E3);
    border-radius: inherit;
    z-index: -1;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-glow:hover::before {
    opacity: 0.7;
}

.btn-outline-glow {
    border-radius: 9999px;
    animation: btnFadeIn 1s ease-out 1.7s both;
}

@keyframes btnFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4);
    margin-top: var(--space-4);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
    width: fit-content;
}

.hero-actions .btn {
    min-width: 220px !important;
    width: auto !important;
    flex: 0 0 auto !important;
}

/* ─────────────────────────────────────────
   HERO STATS BAR
   ───────────────────────────────────────── */

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    margin-top: var(--space-12);
    padding: var(--space-6) var(--space-10);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    animation: statsFadeIn 1s ease-out 2s both;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}

.stat-number {
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    background: linear-gradient(135deg, #8224E3, #14B8A6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(130, 36, 227, 0.5), transparent);
}

@keyframes statsFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─────────────────────────────────────────
   SCROLL INDICATOR CINEMATIC
   ───────────────────────────────────────── */

.scroll-indicator-cinematic {
    animation: scrollFadeIn 1s ease-out 2.5s both;
}

@keyframes scrollFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ─────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────── */

@media (max-width: 1400px) {
    .hero-content {
        max-width: 95%;
        padding: 0 var(--space-4);
    }
}

@media (max-width: 1366px) {
    .hero-cinematic {
        padding-top: var(--space-24);
        padding-bottom: var(--space-12);
    }

    .hero-title-cinematic {
        font-size: 3.5rem;
        margin-bottom: var(--space-4);
    }

    .hero-description-cinematic {
        font-size: 1.125rem;
        margin-bottom: var(--space-6);
        max-width: 700px;
    }

    .hero-actions {
        margin-top: var(--space-4);
        width: auto;
        gap: var(--space-3);
    }

    .hero-actions .btn {
        min-width: 160px;
        width: auto;
        padding-left: 36px;
        padding-right: 36px;
    }
}

@media (max-width: 1200px) {
    .hero-shapes-left {
        left: 2%;
    }

    .hero-shapes-right {
        right: 2%;
    }
}

@media (max-width: 992px) {
    .hero-shapes {
        display: none;
    }

    .hero-stats {
        gap: var(--space-4);
        padding: var(--space-4) var(--space-6);
    }

    .hero-cinematic {
        padding: var(--space-24) var(--space-4) var(--space-12);
    }

    .hero-actions .btn {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-3);
    }

    .hero-stat-divider {
        display: none;
    }

    .stat-number {
        font-size: var(--text-xl);
    }

    .hero-cinematic {
        padding: var(--space-20) var(--space-4) var(--space-10);
        /* Increased top padding slightly for header clearance but reduced overall feel */
        min-height: auto;
        /* Remove min-height to let content dictate size */
    }

    .hero-title-cinematic,
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem) !important;
        margin-bottom: var(--space-4);
    }

    .hero-description-cinematic,
    .hero-description {
        font-size: 1.25rem !important;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: var(--space-10);
    }

    .title-line-2 {
        font-size: 1em;
    }

    .hero-badge-animated {
        font-size: 13px;
        padding: 8px 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .hero-actions .btn {
        min-width: unset;
        width: 100%;
        max-width: 450px;
    }
}

@media (max-width: 576px) {
    .hero-lines {
        display: none;
    }

    .hero-cinematic {
        padding: 80px var(--space-3) 40px;
        /* Compact padding for mobile */
        min-height: auto !important;
    }

    .hero-cinematic::before,
    .hero-cinematic::after {
        width: 60vw;
        filter: blur(80px);
        opacity: 0.5;
    }

    .hero-description-cinematic,
    .hero-description {
        font-size: 1.15rem !important;
        line-height: 1.6;
    }

    .scroll-indicator-cinematic {
        display: none;
    }

    .hero-actions .btn {
        max-width: 100%;
    }

}