/* ==============================================================================
   TAYYAR HERO HEADER & EXECUTIVE GLASS CTA SYSTEM (PROPORTIONATE & HIGH-CONTRAST)
   ============================================================================== */

.hero-wrap {
    position: relative;
    overflow: hidden;
    padding-block-start: calc(var(--header-height) + 26px);
    padding-block-end: 24px;
    text-align: center;
    z-index: var(--z-base);
}

/* 1. High-Contrast Ambient Spotlight, Masked Grid & Laser Horizon */
.hero-ambient-aura {
    position: absolute;
    inset-block-start: -20px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    width: min(1240px, 100%);
    height: 460px;
    background:
        radial-gradient(ellipse 52% 46% at 50% 28%, rgba(6, 182, 212, 0.24) 0%, rgba(14, 165, 233, 0.14) 44%, transparent 74%),
        radial-gradient(ellipse 36% 28% at 50% 18%, rgba(34, 211, 238, 0.18) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

[dir="rtl"] .hero-ambient-aura {
    transform: translateX(50%);
}

.hero-geo-grid {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    width: min(1160px, 100%);
    height: 420px;
    background-image:
        linear-gradient(to right, rgba(34, 211, 238, 0.13) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(14, 165, 233, 0.11) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(ellipse 64% 58% at 50% 32%, #000000 22%, rgba(0, 0, 0, 0.5) 55%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 64% 58% at 50% 32%, #000000 22%, rgba(0, 0, 0, 0.5) 55%, transparent 80%);
    pointer-events: none;
    z-index: 0;
}

[dir="rtl"] .hero-geo-grid {
    transform: translateX(50%);
}

/* Top Precision Laser Horizon Line */
.hero-geo-grid::after {
    content: "";
    position: absolute;
    inset-block-start: 0;
    inset-inline: 18%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(14, 165, 233, 0.55) 35%,
            rgba(34, 211, 238, 0.88) 50%,
            rgba(14, 165, 233, 0.55) 65%,
            transparent 100%);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.45);
}

.hero-header-stage {
    position: relative;
    z-index: 2;
    max-width: 840px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 2. Live Telemetry Status Pill */
.hero-telemetry-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-block: 6px;
    padding-inline: 15px;
    border-radius: var(--radius-full);
    background: linear-gradient(180deg, rgba(12, 24, 42, 0.86) 0%, rgba(7, 15, 28, 0.92) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(34, 211, 238, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(103, 232, 249, 0.35),
        0 8px 24px rgba(0, 0, 0, 0.5),
        0 0 24px rgba(6, 182, 212, 0.2);
    color: #f0f9ff;
    font-size: 0.76rem;
    font-weight: 700;
}

.hero-dual-pulse {
    position: relative;
    width: 10px;
    height: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-dual-pulse::before,
.hero-dual-pulse::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.hero-dual-pulse::before {
    width: 7px;
    height: 7px;
    background: #22d3ee;
    box-shadow: 0 0 10px #06b6d4;
}

.hero-dual-pulse::after {
    width: 14px;
    height: 14px;
    border: 1.5px solid rgba(34, 211, 238, 0.8);
    animation: hero-telemetry-ripple 2.1s infinite ease-out;
}

@keyframes hero-telemetry-ripple {
    0% {
        transform: scale(0.55);
        opacity: 0.95;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.hero-ver-mono {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 800;
    color: #67e8f9;
    padding-block: 1px;
    padding-inline: 7px;
    border-radius: var(--radius-xs);
    background: rgba(6, 182, 212, 0.2);
    border: 1px solid rgba(34, 211, 238, 0.38);
}

.hero-badge-sep {
    color: rgba(103, 232, 249, 0.65);
}

/* 3. Proportionate Executive Typography */
.hero-title {
    font-size: clamp(1.7rem, 2.4vw, 2.3rem);
    line-height: 1.28;
    letter-spacing: -0.015em;
    margin-block-start: 14px;
    margin-block-end: 12px;
    color: var(--text-primary);
}

.hero-highlight-metallic {
    display: inline-block;
    padding-inline: 6px;
    background: linear-gradient(115deg,
            #22d3ee 0%,
            #0ea5e9 32%,
            #67e8f9 50%,
            #38bdf8 72%,
            #22d3ee 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.34));
    animation: hero-metallic-sheen 6s linear infinite;
}

@keyframes hero-metallic-sheen {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 220% center;
    }
}

.hero-sub {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-slate);
    opacity: 0.88;
    max-width: 680px;
    margin-inline: auto;
    margin-block-end: 20px;
}

/* 4. Executive Glass CTA Pair */
.hero-cta-pair {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 46px;
    padding-inline: 22px;
    border-radius: 13px;
    font-size: 0.88rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    transition:
        transform 0.22s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.hero-cta-primary {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.32), rgba(2, 132, 199, 0.54));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(34, 211, 238, 0.78);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        0 10px 28px rgba(2, 132, 199, 0.48),
        0 0 26px rgba(6, 182, 212, 0.24);
    color: #ffffff;
}

.hero-cta-primary::after {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: -110%;
    width: 65%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-22deg);
    transition: inset-inline-start 0.65s ease;
    pointer-events: none;
}

.hero-cta-primary:hover::after {
    inset-inline-start: 150%;
}

.hero-cta-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.46), rgba(2, 132, 199, 0.68));
    border-color: #67e8f9;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        0 14px 34px rgba(6, 182, 212, 0.38);
}

.hero-cta-secondary {
    background: linear-gradient(180deg, rgba(20, 32, 54, 0.72) 0%, rgba(11, 19, 34, 0.82) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 10px 26px rgba(0, 0, 0, 0.42);
    color: var(--text-primary);
}

.hero-cta-secondary svg {
    transition: transform 0.24s ease, color 0.24s ease;
    color: #38bdf8;
}

.hero-cta-secondary:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(24, 40, 66, 0.88) 0%, rgba(13, 24, 42, 0.92) 100%);
    border-color: rgba(34, 211, 238, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(103, 232, 249, 0.26),
        0 12px 30px rgba(6, 182, 212, 0.24);
    color: #f0f9ff;
}

.hero-cta-secondary:hover svg {
    color: #22d3ee;
    transform: translateX(4px);
}

[dir="rtl"] .hero-cta-secondary:hover svg {
    transform: translateX(-4px);
}

/* 5. Micro-Spec Glass Badges */
.hero-micro-specs {
    margin-block-start: 14px;
    margin-block-end: 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.hero-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-block: 5px;
    padding-inline: 12px;
    border-radius: var(--radius-full);
    background: rgba(12, 22, 38, 0.68);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    color: var(--text-slate);
    font-size: 0.75rem;
    font-weight: 600;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hero-spec-pill:hover {
    transform: translateY(-1px);
    background: rgba(16, 30, 50, 0.85);
    border-color: rgba(34, 211, 238, 0.45);
}

.hero-spec-pill svg {
    width: 13px;
    height: 13px;
    color: #38bdf8;
    flex-shrink: 0;
}

.hero-spec-pill--emerald svg {
    color: #22d3ee;
}

.hero-spec-mono {
    font-family: var(--font-mono);
    font-size: 0.73rem;
    font-weight: 700;
    color: #ffffff;
}

@media (max-width: 600px) {
    .hero-cta-pair {
        width: 100%;
        flex-direction: column;
    }

    .hero-cta-btn {
        width: 100%;
    }
}

@media (max-width: 440px) {
    .hero-wrap {
        padding-block-start: calc(var(--header-height) + 16px);
        padding-block-end: 18px;
    }

    .hero-telemetry-pill {
        flex-wrap: wrap;
        gap: 5px 7px;
        padding-block: 6px;
        padding-inline: 12px;
        border-radius: 14px;
        font-size: 0.68rem;
        line-height: 1.3;
        max-width: 100%;
    }

    .hero-ver-mono {
        font-size: 0.67rem;
        padding-inline: 6px;
    }

    .hero-title {
        font-size: 1.38rem;
        line-height: 1.34;
        margin-block-start: 12px;
        margin-block-end: 10px;
    }

    .hero-highlight-metallic {
        padding-inline: 3px;
    }

    .hero-sub {
        font-size: 0.84rem;
        line-height: 1.62;
        margin-block-end: 16px;
    }

    .hero-cta-btn {
        height: 42px;
        font-size: 0.82rem;
        border-radius: 11px;
    }

    .hero-micro-specs {
        gap: 6px;
        margin-block-start: 12px;
    }

    .hero-spec-pill {
        font-size: 0.68rem;
        padding-block: 4px;
        padding-inline: 9px;
    }
}