/**
 * Landing page — الصفحة الرئيسية: حركات خفيفة وأزرار أوضح (مع احترام prefers-reduced-motion).
 */
@keyframes landing-soft-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes landing-glow-pulse {
    0%,
    100% {
        opacity: 0.45;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.04);
    }
}

.landing-hero-blob {
    animation: landing-glow-pulse 8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .landing-hero-blob {
        animation: none;
        opacity: 0.55;
    }

    .landing-card-hover,
    .landing-btn-primary-lg,
    .landing-btn-secondary-lg {
        transition: none !important;
    }

    .landing-soft-rise {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.landing-soft-rise {
    animation: landing-soft-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.landing-soft-rise--delay-1 {
    animation-delay: 0.08s;
}

.landing-soft-rise--delay-2 {
    animation-delay: 0.16s;
}

.landing-soft-rise--delay-3 {
    animation-delay: 0.24s;
}

.landing-card-hover {
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        border-color 0.25s ease;
}

.landing-card-hover:hover {
    transform: translateY(-4px);
    box-shadow:
        0 20px 40px -12px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(34, 211, 238, 0.12);
}

.landing-btn-primary-lg {
    transition:
        transform 0.2s ease,
        box-shadow 0.25s ease,
        filter 0.2s ease;
}

.landing-btn-primary-lg:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow:
        0 12px 32px -8px rgba(34, 211, 238, 0.55),
        0 4px 14px rgba(8, 47, 73, 0.2);
}

.landing-btn-primary-lg:active {
    transform: translateY(0);
}

.landing-btn-secondary-lg {
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.landing-btn-secondary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px -10px rgba(15, 23, 42, 0.18);
}

.landing-section-heading-line {
    height: 3px;
    width: 3rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, rgb(34 211 238), rgb(6 182 212));
    margin-inline: auto;
}

.landing-trust-pill {
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.landing-trust-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -8px rgba(15, 23, 42, 0.12);
}

/* —— تحويل الصفحة الرئيسية: هيرو، خطوات، شهادات —— */
.home-hero-trust-line .text-brand {
    color: rgb(6 182 212);
}

.home-hero-primary-cta {
    box-shadow:
        0 16px 40px -12px rgba(34, 211, 238, 0.45),
        0 4px 16px rgba(8, 47, 73, 0.22);
}

.home-hero-dot {
    height: 0.5rem;
    width: 0.5rem;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 9999px;
    border: none;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.38);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.home-hero-dot:hover {
    background-color: rgba(255, 255, 255, 0.62);
}

.home-hero-dot--active {
    background-color: rgb(34 211 238);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
    transform: scale(1.35);
}

.home-step-card {
    transition:
        transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease,
        border-color 0.25s ease;
}

.home-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px -14px rgba(15, 23, 42, 0.14);
    border-color: rgba(34, 211, 238, 0.35);
}

.home-service-card--featured {
    position: relative;
}

.home-testimonials-section::before {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(34, 211, 238, 0.35),
        transparent
    );
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .home-step-card,
    .home-step-card:hover {
        transition: none !important;
        transform: none !important;
    }

    .home-hero-dot,
    .home-hero-dot--active {
        transition: none !important;
        transform: none !important;
    }

    .home-hero-dot--active {
        transform: scale(1.2);
    }

    .home-cta-banner__mesh,
    .home-cta-banner__orb--a,
    .home-cta-banner__orb--b,
    .home-cta-banner__orb--c {
        animation: none !important;
    }
}

/* —— بانر «جاهز لطلب الصيانة؟» —— */
@keyframes home-cta-mesh-drift {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-1.5%, 1.2%, 0) scale(1.02);
    }
    100% {
        transform: translate3d(1%, -0.8%, 0) scale(1.01);
    }
}

@keyframes home-cta-orb-float {
    0%,
    100% {
        opacity: 0.55;
        transform: translate3d(0, 0, 0);
    }
    50% {
        opacity: 0.85;
        transform: translate3d(2%, -3%, 0);
    }
}

@keyframes home-cta-orb-drift-center {
    0%,
    100% {
        opacity: 0.48;
        transform: translate(-50%, -50%) translate3d(0, 0, 0);
    }
    50% {
        opacity: 0.76;
        transform: translate(-50%, -50%) translate3d(2%, -2%, 0);
    }
}

.home-cta-banner {
    isolation: isolate;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
    background:
        linear-gradient(168deg, #050a14 0%, #0c1a32 28%, #082f33 58%, #071018 100%);
}

.home-cta-banner__effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.home-cta-banner__mesh {
    position: absolute;
    inset: -25%;
    animation: home-cta-mesh-drift 22s ease-in-out infinite alternate;
    background:
        radial-gradient(ellipse 55% 42% at 12% 18%, rgba(34, 211, 238, 0.28), transparent 58%),
        radial-gradient(ellipse 48% 38% at 88% 72%, rgba(20, 184, 166, 0.22), transparent 52%),
        radial-gradient(ellipse 45% 40% at 52% 105%, rgba(6, 182, 212, 0.14), transparent 58%),
        radial-gradient(ellipse 35% 30% at 70% 12%, rgba(59, 130, 246, 0.12), transparent 55%);
}

.home-cta-banner__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
}

.home-cta-banner__orb--a {
    width: min(72vw, 520px);
    height: min(72vw, 520px);
    top: -18%;
    inset-inline-start: -12%;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.35) 0%, transparent 68%);
    animation: home-cta-orb-float 14s ease-in-out infinite;
}

.home-cta-banner__orb--b {
    width: min(58vw, 420px);
    height: min(58vw, 420px);
    bottom: -22%;
    inset-inline-end: -8%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.32) 0%, transparent 70%);
    animation: home-cta-orb-float 18s ease-in-out infinite reverse;
}

.home-cta-banner__orb--c {
    width: min(42vw, 320px);
    height: min(42vw, 320px);
    top: 38%;
    inset-inline-start: 42%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(6, 182, 212, 0.18) 0%, transparent 72%);
    animation: home-cta-orb-drift-center 16s ease-in-out infinite;
    animation-delay: -4s;
}

.home-cta-banner__grid {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 92% 72% at 50% 42%, #000 18%, transparent 72%);
}

.home-cta-banner__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 95% 85% at 50% 48%, transparent 35%, rgba(2, 6, 14, 0.72) 100%);
}

.home-cta-banner__accent-line {
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(34, 211, 238, 0.45) 22%,
        rgba(20, 184, 166, 0.35) 50%,
        rgba(34, 211, 238, 0.45) 78%,
        transparent
    );
    opacity: 0.95;
}

.home-cta-banner__title {
    text-shadow:
        0 2px 24px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(34, 211, 238, 0.08);
}

.home-cta-banner__inner p {
    text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.home-cta-banner__figure {
    margin: 0;
}

@keyframes home-cta-img-rise {
    from {
        opacity: 0.82;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-cta-banner__img {
    display: block;
    filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.42));
    animation: home-cta-img-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    .home-cta-banner__img {
        animation: none !important;
    }
}

/* —— قسم «من نحن» على الصفحة الرئيسية —— */
.home-about-card__figure {
    margin: 0;
}

.home-about-card__img {
    display: block;
    filter: drop-shadow(0 18px 36px rgba(15, 23, 42, 0.1));
}
