/* ================================================================
   HERO SECTION – Premium Upgraded Styles
   ================================================================ */

/* --- Gradient Mesh Background --- */
.hero-mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.mesh-blob {
    position: absolute;
    filter: blur(60px);
}

.mesh-blob-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -80px;
    animation: meshFloat1 12s ease-in-out infinite;
}

.mesh-blob-2 {
    width: 350px;
    height: 350px;
    bottom: -50px;
    left: -60px;
    animation: meshFloat2 15s ease-in-out infinite;
}

.mesh-blob-3 {
    width: 400px;
    height: 400px;
    top: 40%;
    left: 30%;
    animation: meshFloat3 18s ease-in-out infinite;
}

@keyframes meshFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-30px, 20px) scale(1.05);
    }

    66% {
        transform: translate(20px, -15px) scale(0.95);
    }
}

@keyframes meshFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(25px, -20px) scale(1.08);
    }
}

@keyframes meshFloat3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(15px, 20px) scale(1.03);
    }

    66% {
        transform: translate(-20px, -10px) scale(0.97);
    }
}

/* --- Orbital Rings --- */
.hero-orbitals {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.orbital {
    position: absolute;
}

.orbital-1 {
    width: 600px;
    height: 600px;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    animation: orbitSpin 25s linear infinite;
}

.orbital-2 {
    width: 450px;
    height: 450px;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    animation: orbitSpin 35s linear infinite reverse;
}

@keyframes orbitSpin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* --- Glowing Orbs --- */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    top: 25%;
    right: 15%;
    box-shadow: 0 0 20px 6px rgba(91, 101, 174, 0.4);
    animation: orbPulse 3s ease-in-out infinite, orbDrift1 10s ease-in-out infinite;
}

.orb-2 {
    width: 5px;
    height: 5px;
    background: #8b5cf6;
    top: 60%;
    right: 35%;
    box-shadow: 0 0 16px 5px rgba(139, 92, 246, 0.3);
    animation: orbPulse 4s ease-in-out infinite 1s, orbDrift2 12s ease-in-out infinite;
}

.orb-3 {
    width: 6px;
    height: 6px;
    background: #6366f1;
    bottom: 20%;
    left: 10%;
    box-shadow: 0 0 18px 6px rgba(99, 102, 241, 0.35);
    animation: orbPulse 3.5s ease-in-out infinite 0.5s, orbDrift3 14s ease-in-out infinite;
}

@keyframes orbPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

@keyframes orbDrift1 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-15px, 10px);
    }

    50% {
        transform: translate(10px, -20px);
    }

    75% {
        transform: translate(-8px, -5px);
    }
}

@keyframes orbDrift2 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(12px, -8px);
    }

    66% {
        transform: translate(-10px, 15px);
    }
}

@keyframes orbDrift3 {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(18px, -12px);
    }
}

/* --- Hero Headline --- */
.hero-headline {
    font-size: var(--text-display-xl);
    font-weight: 900;
    line-height: 1.3;
    overflow: visible;
    padding-top: 0.15em;
}

.hero-headline-line {
    display: block;
}

.hero-gradient-text {
    background: linear-gradient(135deg, #5B65AE 0%, #8b5cf6 40%, #6366f1 70%, #5B65AE 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

/* --- Accent Line --- */
.hero-accent-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(to left, var(--color-primary), #8b5cf6);
    border-radius: 3px;
    margin-bottom: var(--space-2);
}

/* --- Glowing CTA Button --- */
.btn-glow {
    box-shadow: 0 0 0 0 rgba(91, 101, 174, 0.4);
    animation: btnGlow 2.5s ease-in-out infinite;
}

@keyframes btnGlow {

    0%,
    100% {
        box-shadow: 0 4px 16px rgba(91, 101, 174, 0.25);
    }

    50% {
        box-shadow: 0 4px 32px rgba(91, 101, 174, 0.45), 0 0 60px rgba(91, 101, 174, 0.12);
    }
}

/* --- Mini Stats --- */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(91, 101, 174, 0.1);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.hero-stat-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--color-primary);
    display: inline;
}

.hero-stat-plus {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.5;
}

.hero-stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-text-light);
    white-space: nowrap;
}

.hero-stat-sep {
    width: 1px;
    height: 36px;
    background: rgba(91, 101, 174, 0.12);
}

/* --- Rotating Ring --- */
.hero-ring {
    position: absolute;
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    animation: ringRotate 30s linear infinite;
    z-index: -1;
}

@keyframes ringRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Third Badge --- */
.badge-3 {
    top: 50%;
    right: -25px;
    animation-delay: 4s;
}

/* --- Scroll Line Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-primary), transparent);
    animation: scrollLineAnim 2s ease-in-out infinite;
}

@keyframes scrollLineAnim {
    0% {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top;
    }

    50% {
        opacity: 0.3;
        transform: scaleY(0.4);
        transform-origin: top;
    }

    100% {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top;
    }
}

/* --- Responsive Hero --- */
@media (max-width: 768px) {
    .mesh-blob {
        display: none;
    }

    .hero-orbitals {
        display: none;
    }

    .hero-orb {
        display: none;
    }

    .hero-ring {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-2);
    }

    .hero-stat-sep {
        width: 40px;
        height: 1px;
    }

    .hero-accent-line {
        margin-inline: auto;
    }

    .scroll-indicator {
        display: none;
    }
}