/* ========================================
   PREMIUM HERO V1
   الهيرو السينمائي الأول لنظام VibraPeak
   First cinematic hero block for VibraPeak
======================================== */

/* Base Section / أساس السكشن */

.vp-premium-hero {
    min-height: 100vh;
    --ai-section-padding: 140px;
    padding-inline: 80px;
}

/* Light Depth Overlay / طبقة العمق والإضاءة */
.vp-premium-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(143, 92, 255, 0.22), transparent 32%),
        radial-gradient(circle at 80% 70%, rgba(0, 208, 255, 0.16), transparent 34%),
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45));
}

/* Interactive Mouse Light / ضوء تفاعلي يتحرك مع الماوس */
.vp-premium-hero__mouse-light {
    position: absolute;
    left: var(--mouse-x, 50%);
    top: var(--mouse-y, 50%);
    z-index: 2;

    width: 520px;
    height: 520px;

    transform: translate(-50%, -50%);
    pointer-events: none;

    background:
        radial-gradient(circle,
            rgba(184, 146, 255, 0.18),
            rgba(0, 208, 255, 0.08) 32%,
            transparent 68%);

    filter: blur(18px);
    opacity: 0;

    transition:
        opacity 0.35s ease,
        left 0.12s ease-out,
        top 0.12s ease-out;
}

.vp-premium-hero:hover .vp-premium-hero__mouse-light {
    opacity: 1;
}

/* Cinematic Scan Lines / خطوط المسح السينمائية */
.vp-premium-hero__inner::before {
    content: "";
    position: absolute;
    inset: -20%;
    z-index: -1;
    pointer-events: none;

    background:
        linear-gradient(110deg,
            transparent 0%,
            transparent 42%,
            rgba(184, 146, 255, 0.14) 48%,
            rgba(0, 208, 255, 0.10) 50%,
            transparent 56%,
            transparent 100%);

    transform: translateX(-45%);
    opacity: 0.45;

    animation: vpHeroScan 7s ease-in-out infinite;
}

/* Animated Background Glows / توهجات الخلفية المتحركة */

.vp-premium-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.vp-premium-hero__bg span {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.18;
    animation: vpGlowFloat 12s ease-in-out infinite alternate;
}

.vp-premium-hero__bg span:nth-child(1) {
    top: -120px;
    left: -120px;
    background: #7b61ff;
}

.vp-premium-hero__bg span:nth-child(2) {
    bottom: -180px;
    right: -120px;
    background: #3d7eff;
    animation-delay: 2s;
}

.vp-premium-hero__bg span:nth-child(3) {
    top: 30%;
    left: 42%;
    background: #00d0ff;
    animation-delay: 4s;
}

/* Particle Atmosphere / جسيمات طاقة خفيفة */
.vp-premium-hero__particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.vp-premium-hero__particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: rgba(184, 146, 255, 0.78);
    box-shadow:
        0 0 12px rgba(184, 146, 255, 0.8),
        0 0 24px rgba(0, 208, 255, 0.25);
    opacity: 0.55;
    animation: vpParticleFloat var(--particle-speed, 9s) ease-in-out infinite;
}

/* Main Layout / توزيع المحتوى والفيجوال */
.vp-premium-hero__inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.vp-premium-hero__content {
    max-width: 680px;
}

/* Content Typography / تنسيقات النصوص */
.vp-premium-hero__kicker {
    gap: 10px;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    letter-spacing: 2.4px;
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.035);
}

.vp-premium-hero__title {
    position: relative;
    margin: 0 0 32px;
    isolation: isolate;
}

.vp-premium-hero__title::before {
    content: "";

    position: absolute;

    inset: -10%;

    z-index: -1;

    background:
        radial-gradient(circle at center,
            rgba(143, 92, 255, 0.22),
            transparent 68%);

    filter: blur(50px);

    opacity: 0.75;

    animation:
        vpTitleGlow 4.5s ease-in-out infinite;
}

.vp-premium-hero__title::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -14px;

    width: 140px;
    height: 2px;

    background:
        linear-gradient(90deg,
            rgba(184, 146, 255, 0.9),
            rgba(0, 208, 255, 0.12));

    box-shadow:
        0 0 18px rgba(184, 146, 255, 0.55);

    animation:
        vpTitleLine 3.5s ease-in-out infinite;
}

.vp-premium-hero__text {
    margin: 0 0 44px;
    max-width: 590px;
}

/* Hero Actions / أزرار الهيرو */
.vp-premium-hero__actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.vp-premium-hero__btn {
    min-height: 60px;
    padding: 0 32px;
    border-radius: 18px;
    font-weight: 700;
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}


.vp-premium-hero__btn.primary {
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28), transparent 28%),
        linear-gradient(135deg, #8f5cff, #5f8bff 55%, #00d0ff);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.vp-premium-hero__btn.primary::after {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(184, 146, 255, 0.8), rgba(0, 208, 255, 0.55));
    filter: blur(18px);
    opacity: 0.45;
    transition: opacity 0.35s ease, filter 0.35s ease;
}

.vp-premium-hero__btn.primary:hover::after {
    opacity: 0.85;
    filter: blur(24px);
}

.vp-premium-hero__btn.secondary {
    box-shadow:
        inset 0 0 24px rgba(255, 255, 255, 0.035),
        0 0 40px rgba(143, 92, 255, 0.08);
}

.vp-premium-hero__btn.secondary::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(184, 146, 255, 0.18);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.vp-premium-hero__btn.secondary:hover::after {
    opacity: 1;
}

/* Visual System / النظام البصري المتحرك */
/* AI Network Atmosphere / شبكة الذكاء الاصطناعي حول الفيجوال */
.vp-premium-hero__visual::before,
.vp-premium-hero__visual::after {
    content: "";
    position: absolute;
    inset: 50%;
    z-index: 1;
    width: 620px;
    height: 620px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.vp-premium-hero__visual::before {
    background:
        radial-gradient(circle at 50% 50%, rgba(184, 146, 255, 0.25) 0 2px, transparent 3px),
        radial-gradient(circle at 30% 25%, rgba(0, 208, 255, 0.35) 0 2px, transparent 3px),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.22) 0 1px, transparent 3px),
        radial-gradient(circle at 25% 70%, rgba(184, 146, 255, 0.32) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 72%, rgba(0, 208, 255, 0.32) 0 2px, transparent 3px);
    opacity: 0.9;
    filter: drop-shadow(0 0 18px rgba(184, 146, 255, 0.35));
    animation: vpNetworkPulse 4.5s ease-in-out infinite;
}

.vp-premium-hero__visual::after {
    width: 760px;
    height: 760px;
    background:
        linear-gradient(35deg, transparent 43%, rgba(184, 146, 255, 0.18) 44%, transparent 45%),
        linear-gradient(115deg, transparent 46%, rgba(0, 208, 255, 0.16) 47%, transparent 48%),
        linear-gradient(155deg, transparent 48%, rgba(255, 255, 255, 0.08) 49%, transparent 50%);
    opacity: 0.55;
    animation: vpNetworkRotate 32s linear infinite;
}

.vp-premium-hero__visual {
    position: relative;
    height: 720px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease-out;
    will-change: transform;
}

/* Central Core Card / البطاقة المركزية */
.vp-premium-hero__core {
    position: relative;
    z-index: 5;
    width: 380px;
    height: 380px;
    border-radius: 42px;
    background:
        radial-gradient(circle at top, rgba(143, 92, 255, 0.42), rgba(255, 255, 255, 0.035) 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow:
        0 0 120px rgba(143, 92, 255, 0.18),
        inset 0 0 40px rgba(255, 255, 255, 0.04);
    animation: vpCoreFloat 6s ease-in-out infinite;
    overflow: hidden;
}


/* AI Engine Energy Layers / طبقات طاقة النواة */

.vp-premium-hero__core::before,
.vp-premium-hero__core::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.vp-premium-hero__core::before {
    background:
        radial-gradient(circle at center,
            rgba(255, 255, 255, 0.16),
            transparent 58%);

    mix-blend-mode: screen;

    animation:
        vpCoreBreath 4s ease-in-out infinite;
}

.vp-premium-hero__core::after {
    inset: -30%;

    background:
        conic-gradient(from 0deg,
            transparent,
            rgba(184, 146, 255, 0.45),
            transparent,
            rgba(0, 208, 255, 0.28),
            transparent);

    opacity: 0.7;

    filter: blur(28px);

    animation:
        vpCoreRotate 12s linear infinite;
}

.vp-premium-hero__core small {
    display: block;
    margin-bottom: 18px;
    color: #b892ff;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    font-size: 12px;
}

.vp-premium-hero__core strong {
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.12;
    max-width: 260px;
    font-weight: 650;
}

.vp-premium-hero__nodes {
    display: flex;
    gap: 12px;
    margin-top: 34px;
}

.vp-premium-hero__nodes i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #b892ff;
    box-shadow: 0 0 22px #b892ff;
    animation: vpNodePulse 1.8s ease-in-out infinite;
}

.vp-premium-hero__nodes i:nth-child(2) {
    animation-delay: 0.15s;
}

.vp-premium-hero__nodes i:nth-child(3) {
    animation-delay: 0.3s;
}

.vp-premium-hero__nodes i:nth-child(4) {
    animation-delay: 0.45s;
}

.vp-premium-hero__nodes i:nth-child(5) {
    animation-delay: 0.6s;
}

.vp-premium-hero__frame {
    position: absolute;
    width: 540px;
    height: 540px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 46px;
    pointer-events: none;
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.02);
}

.vp-premium-hero__frame span {
    position: absolute;
    top: 26px;
    left: 26px;
    font-size: 12px;
    letter-spacing: 2.2px;
    color: rgba(255, 255, 255, 0.55);
}

.frame-a {
    transform: rotate(-12deg) translateY(-12px);
    animation: vpFrameA 9s ease-in-out infinite;
}

.frame-b {
    transform: rotate(12deg) translateY(12px);
    animation: vpFrameB 10s ease-in-out infinite;
}

.vp-premium-hero__line {
    position: absolute;
    inset: 42px;
    border: 1px dashed rgba(255, 255, 255, 0.07);
    border-radius: 32px;
}

/* Orbital Rings / الحلقات المدارية */
.vp-premium-hero__orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(143, 92, 255, 0.18);
    box-shadow: 0 0 90px rgba(143, 92, 255, 0.08);
}

.orbit-one {
    width: 600px;
    height: 600px;
    animation: vpOrbitRotate 28s linear infinite;
}

.orbit-two {
    width: 780px;
    height: 780px;
    border-color: rgba(0, 208, 255, 0.12);
    animation: vpOrbitRotate 42s linear infinite reverse;
}

/* Motion Keyframes / حركات CSS الأساسية */

@keyframes vpParticleFloat {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(0.8);
        opacity: 0.22;
    }

    50% {
        transform: translate3d(18px, -28px, 0) scale(1.25);
        opacity: 0.85;
    }
}

@keyframes vpTitleGlow {

    0%,
    100% {
        opacity: 0.45;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }

}

@keyframes vpTitleLine {

    0%,
    100% {
        width: 120px;
        opacity: 0.55;
    }

    50% {
        width: 180px;
        opacity: 1;
    }

}

@keyframes vpHeroScan {
    0% {
        transform: translateX(-55%) rotate(0deg);
        opacity: 0;
    }

    18% {
        opacity: 0.45;
    }

    55% {
        opacity: 0.28;
    }

    100% {
        transform: translateX(55%) rotate(0deg);
        opacity: 0;
    }
}

@keyframes vpCoreBreath {

    0%,
    100% {
        opacity: 0.45;
        transform: scale(0.96);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }

}

@keyframes vpCoreRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

@keyframes vpNetworkPulse {

    0%,
    100% {
        opacity: 0.45;
        transform: translate(-50%, -50%) scale(0.96);
    }

    50% {
        opacity: 0.95;
        transform: translate(-50%, -50%) scale(1.04);
    }
}

@keyframes vpNetworkRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes vpGlowFloat {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(40px, -30px, 0) scale(1.12);
    }
}

@keyframes vpCoreFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes vpNodePulse {

    0%,
    100% {
        opacity: 0.35;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

@keyframes vpFrameA {

    0%,
    100% {
        transform: rotate(-12deg) translateY(-12px);
    }

    50% {
        transform: rotate(-9deg) translateY(-26px);
    }
}

@keyframes vpFrameB {

    0%,
    100% {
        transform: rotate(12deg) translateY(12px);
    }

    50% {
        transform: rotate(9deg) translateY(28px);
    }
}

@keyframes vpOrbitRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive Tablet / تجاوب التابلت */
@media (max-width: 1100px) {
    .vp-premium-hero {
        padding: 110px 30px;
    }

    .vp-premium-hero__inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .vp-premium-hero__visual {
        height: 540px;
    }

    .vp-premium-hero__core {
        width: 290px;
        height: 290px;
    }

    /* Floating Frames / الإطارات الطافية */
    .vp-premium-hero__frame {
        width: 400px;
        height: 400px;
    }

    .orbit-one {
        width: 460px;
        height: 460px;
    }

    .orbit-two {
        width: 580px;
        height: 580px;
    }
}

/* Responsive Mobile / تجاوب الموبايل */
@media (max-width: 640px) {
    .vp-premium-hero {
        min-height: auto;
        padding: 90px 20px 70px;
    }

    .vp-premium-hero__inner {
        gap: 44px;
    }

    .vp-premium-hero__content {
        max-width: 100%;
    }

    .vp-premium-hero__kicker {
        font-size: 10px;
        letter-spacing: 1.6px;
        margin-bottom: 20px;
    }

    .vp-premium-hero__title {
        font-size: clamp(42px, 13vw, 64px);
        line-height: 0.98;
        letter-spacing: -2px;
        margin-bottom: 24px;
    }

    .vp-premium-hero__title::after {
        width: 90px;
        bottom: -10px;
    }

    .vp-premium-hero__text {
        font-size: 16px;
        line-height: 1.65;
        margin-bottom: 34px;
    }

    .vp-premium-hero__actions {
        flex-direction: column;
        gap: 14px;
    }

    .vp-premium-hero__btn {
        width: 100%;
        min-height: 56px;
    }

    .vp-premium-hero__visual {
        height: 430px;
    }

    .vp-premium-hero__visual::before,
    .vp-premium-hero__visual::after {
        width: 420px;
        height: 420px;
    }

    .vp-premium-hero__core {
        width: 245px;
        height: 245px;
        border-radius: 32px;
    }

    .vp-premium-hero__core strong {
        font-size: 26px;
        max-width: 190px;
    }

    .vp-premium-hero__core small {
        font-size: 10px;
        letter-spacing: 1.6px;
    }

    .vp-premium-hero__nodes {
        margin-top: 22px;
    }

    .vp-premium-hero__frame {
        width: 320px;
        height: 320px;
        border-radius: 34px;
    }

    .vp-premium-hero__frame span {
        top: 18px;
        left: 18px;
        font-size: 10px;
    }

    .vp-premium-hero__line {
        inset: 28px;
    }

    .orbit-one {
        width: 360px;
        height: 360px;
    }

    .orbit-two {
        width: 450px;
        height: 450px;
    }

    .vp-premium-hero__mouse-light {
        display: none;
    }

    .vp-premium-hero__particle {
        opacity: 0.32;
    }
}

/* Reveal Animation / حركة الدخول */
.vp-premium-hero__kicker,
.vp-premium-hero__title,
.vp-premium-hero__text,
.vp-premium-hero__actions,
.vp-premium-hero__visual {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
}

.vp-premium-hero.is-ready .vp-premium-hero__kicker {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.vp-premium-hero.is-ready .vp-premium-hero__title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.22s;
}

.vp-premium-hero.is-ready .vp-premium-hero__text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.36s;
}

.vp-premium-hero.is-ready .vp-premium-hero__actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.vp-premium-hero.is-ready .vp-premium-hero__visual {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.34s;
}