/* --- CORE RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
    font-family: var(--font-body);
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
}

/* --- TYPOGRAPHY (The WOW Balance) --- */
.mega-title {
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    text-align: center;
}

.spanning-gradient-text {
    background: linear-gradient(90deg,
            #00f2ff 0%,
            /* Cyan - سيان مشع */
            #ff007a 25%,
            /* Pink - وردي ناري */
            #ff7a00 50%,
            /* Orange - برتقالي كهربائي */
            #9d00ff 75%,
            /* Purple - بنفسجي عميق */
            #00ffd5 100%
            /* Emerald - سيان أخضر */
        );
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(0, 242, 255, 0.4)) drop-shadow(0 0 25px rgba(255, 0, 122, 0.2));
    animation: gradient-flow 4s linear infinite;
}

.spanning-subtitle-text {
    background: linear-gradient(90deg,
            #ff7a00 0%,
            /* Orange - بداية مبهجة */
            #00f2ff 100%
            /* Cyan - نهاية تقنية */
        );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

@keyframes gradient-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.section-title {
    font-size: clamp(1.8rem, 6vw, 3.2rem);
    font-weight: 900;
    text-align: center;
    background: var(--grad-hyper);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(157, 0, 255, 0.3));
    margin-bottom: 4rem;
}

/* --- SECTION TITLE GRADIENTS (كل عنوان بتدرج واضح) --- */
#about .section-title {
    background: linear-gradient(90deg, #00f2ff 0%, #ff007a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 242, 255, 0.5));
}

#products .section-title {
    background: linear-gradient(90deg, #00ffd5 0%, #9d00ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(0, 255, 213, 0.5));
}

#packages .section-title {
    background: linear-gradient(90deg, #ff007a 0%, #ff7a00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 0, 122, 0.5));
}

#roadmap .section-title {
    background: linear-gradient(90deg, #9d00ff 0%, #00f2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(157, 0, 255, 0.5));
}

#sales-contact .mega-title {
    background: linear-gradient(90deg, #00f2ff 0%, #ff007a 50%, #ff7a00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 0 25px rgba(255, 0, 122, 0.6));
}

/* --- SECTION ISOLATION --- */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 5%;
    position: relative;
    width: 100%;
}

.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 1s var(--ease-luxury);
}

/* Animation only when scrolling INTO view (not on page load) */
.reveal.animate-on-scroll {
    opacity: 0;
    transform: translateY(60px);
}

.reveal.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- ATMOSPHERIC --- */
.cyber-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image: linear-gradient(rgba(0, 242, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 242, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
}

#canvas-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

#ui-layer {
    position: relative;
    z-index: 10;
}

/* --- MOBILE LUXURY FIX --- */
@media (max-width: 900px) {
    .mega-title {
        font-size: 3.5rem !important;
        /* عودة الضخامة والجمال للشاشة الرئيسية */
        line-height: 1.1;
        margin-top: 80px;
        text-align: center;
        letter-spacing: -1px;
        padding: 0 5%;
    }

    .hero-subtitle-colored {
        font-size: 1.4rem !important;
        /* تكبير النص الفرعي كما طلب المستخدم */
        padding: 0 10%;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    #hero {
        padding-top: 160px;
        justify-content: flex-start;
        min-height: 80vh;
    }
}