/* افتتاحية العلامة + بطل الصفحة (مستوحى من تجربة عالمية فاخرة) */
.nebras-brand-intro[hidden] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.nebras-brand-intro {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #050508;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.nebras-brand-intro.is-leaving {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nebras-brand-intro-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(196, 30, 58, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(30, 90, 140, 0.18) 0%, transparent 50%),
        linear-gradient(165deg, #0a0a12 0%, #12121c 45%, #050508 100%);
    animation: nebrasIntroPulse 4s ease-in-out infinite alternate;
}

@keyframes nebrasIntroPulse {
    from { opacity: 0.92; transform: scale(1); }
    to { opacity: 1; transform: scale(1.03); }
}

.nebras-brand-intro-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px 20px 48px;
    max-width: min(92vw, 640px);
}

.nebras-brand-intro-logo-wrap,
.nebras-brand-intro-logo-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin: 0 auto 20px;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
}

.nebras-brand-intro-logo {
    width: 108px;
    height: 108px;
    object-fit: contain;
    filter: drop-shadow(0 6px 28px rgba(26, 143, 168, 0.45));
}

.nebras-brand-intro-eyebrow {
    font-size: 0.82rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 10px;
    animation: nebrasFadeUp 0.8s ease 0.2s both;
}

.nebras-brand-intro-title {
    font-size: clamp(1.35rem, 4.8vw, 2.35rem);
    font-weight: 800;
    line-height: 1.45;
    margin: 0 0 12px;
    color: #fff;
    text-shadow: 0 4px 32px rgba(196, 30, 58, 0.35);
    animation: nebrasFadeUp 0.9s ease 0.35s both;
    font-family: 'Cairo', sans-serif;
    letter-spacing: 0;
    word-spacing: normal;
    unicode-bidi: plaintext;
}

@keyframes nebrasFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.nebras-brand-intro-tagline {
    font-size: clamp(0.95rem, 2.2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 28px;
    line-height: 1.65;
    animation: nebrasFadeUp 0.8s ease 0.9s both;
}

.nebras-brand-intro-progress {
    width: 120px;
    height: 3px;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 99px;
    overflow: hidden;
    animation: nebrasFadeUp 0.6s ease 1.1s both;
}

.nebras-brand-intro-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #c41e3a, #f0a030);
    border-radius: inherit;
    animation: nebrasProgress 2.4s ease-in-out 0.5s forwards;
}

@keyframes nebrasProgress {
    to { width: 100%; }
}

.nebras-brand-intro--with-welcome .nebras-brand-intro-progress span {
    animation: nebrasWelcomeProgress 22s linear 0.2s forwards;
}

@keyframes nebrasWelcomeProgress {
    from { width: 0; }
    to { width: 100%; }
}

.nebras-brand-intro-audio {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.nebras-brand-intro-skip {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 22px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    animation: nebrasFadeUp 0.6s ease 1.3s both;
}

.nebras-brand-intro-skip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #fff;
    color: #fff;
}

html.nebras-first-visit body {
    overflow: hidden;
}

body.nebras-intro-active {
    overflow: hidden;
}

body.nebras-ready:not(.nebras-intro-active):not(.nebras-workspace-active) {
    overflow-y: auto;
    overflow-x: hidden;
}

body.nebras-intro-active #nebras-storefront,
body.nebras-intro-active header,
body.nebras-intro-active .top-contact-bar,
body.nebras-intro-active .company-legal-bar,
body.nebras-intro-active #site-celebration-overlay,
body.nebras-intro-active .nebras-mobile-commerce-bar,
body.nebras-intro-active .fab-cart,
body.nebras-intro-active .fab-send-channel-group,
body.nebras-intro-active .admin-dashboard {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.nebras-site-reveal #nebras-storefront,
body.nebras-site-reveal header,
body.nebras-site-reveal .top-contact-bar,
body.nebras-site-reveal .company-legal-bar,
body.nebras-site-reveal .nebras-mobile-commerce-bar,
body.nebras-site-reveal .fab-cart,
body.nebras-site-reveal .fab-send-channel-group {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.42s ease;
}

body.nebras-ready #nebras-storefront,
body.nebras-ready header,
body.nebras-ready .top-contact-bar {
    visibility: visible;
}

/* بطل الصفحة — نص وCTA فوق الصورة */
.hero.hero-real .hero-content-wrap {
    pointer-events: auto;
}

.hero-copy {
    max-width: min(540px, 92vw);
    margin-inline-start: auto;
    margin-inline-end: clamp(2%, 4vw, 6%);
    margin-bottom: clamp(4%, 8vh, 10%);
    text-align: start;
    animation: nebrasFadeUp 0.9s ease 0.15s both;
}

.hero-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 8px;
}

.hero-headline {
    font-size: clamp(1.5rem, 3.8vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 10px;
    color: #fff;
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.85);
}

.hero-tagline {
    font-size: clamp(0.92rem, 1.8vw, 1.1rem);
    line-height: 1.6;
    margin: 0 0 20px;
    color: #e8eef4;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.hero-cta {
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.hero-cta--primary {
    background: linear-gradient(135deg, #c41e3a, #a01830);
    color: #fff;
    box-shadow: 0 8px 24px rgba(196, 30, 58, 0.45);
}

.hero-cta--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(196, 30, 58, 0.55);
}

.hero-cta--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.75);
}

.hero-cta--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 28px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
    min-width: 90px;
}

.hero-stat strong {
    display: block;
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    color: #fff;
    font-weight: 800;
}

.hero-stat span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 640px) {
    .hero-copy {
        margin-inline: 4%;
        margin-bottom: 72px;
    }
    .hero-stats {
        gap: 14px 18px;
    }
}
