/* --- إعدادات عامة ومتغيرات --- */
:root {
    --bg-color: #050505; /* أسود حالك */
    --primary: #00f3ff; /* سيان ساطع (لون الهاكر) */
    --primary-dark: #00a8b3;
    --secondary: #0066ff; /* أزرق كهربائي */
    --text: #e0e0e0; /* أبيض مائل للرمادي */
    --text-muted: #808080;
    --glass-bg: rgba(20, 20, 30, 0.65); /* خلفية زجاجية داكنة */
    --glass-border: rgba(0, 243, 255, 0.15); /* حدود متوهجة خفيفة */
    --glow-shadow: 0 0 15px rgba(0, 243, 255, 0.4); /* ظل التوهج */
    --section-gap: 100px;
    --container-width: 1200px;
    --border-radius: 16px;
}
  
/* --- إعادة تعيين وتنسيق أساسي --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- الخلفيات والمؤثرات --- */
.bg-grid {
    position: fixed; inset: 0; z-index: -2;
    background-image:
      linear-gradient(to right, rgba(0, 243, 255, 0.05) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}
.bg-glow {
    position: fixed; top: -20%; left: -20%; width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2), transparent 60%);
    filter: blur(150px); z-index: -1; animation: pulse-bg 15s infinite alternate;
}
.bg-particles {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
}

/* --- التخطيط والحاويات --- */
.container {
    width: 90%; max-width: var(--container-width); margin: 0 auto;
}
.section {
    padding: var(--section-gap) 0;
    position: relative;
}
.section--alt {
    background: rgba(0, 0, 0, 0.2); /* لون خلفية مختلف قليلاً للأقسام البديلة */
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

/* --- العناصر الزجاجية والمتوهجة --- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.pad { padding: 40px; }

.glow-effect {
    box-shadow: 0 0 5px rgba(0, 243, 255, 0.2);
    border-color: rgba(0, 243, 255, 0.3);
}
.glow-effect:hover {
    box-shadow: var(--glow-shadow);
    border-color: var(--primary);
}
.glow-border {
    border-color: rgba(0, 243, 255, 0.2);
    box-shadow: inset 0 0 20px rgba(0, 243, 255, 0.05);
}
.glow-hover:hover {
    border-color: var(--primary);
    box-shadow: var(--glow-shadow), inset 0 0 10px rgba(0, 243, 255, 0.1);
    transform: translateY(-5px);
}
.title__glow {
    color: var(--primary);
    text-shadow: 0 0 15px rgba(0, 243, 255, 0.6);
}

/* --- الهيدر والقائمة --- */
.nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    padding: 15px 0; border-radius: 0 0 var(--border-radius) var(--border-radius);
    border-top: none;
}
.nav__inner {
    display: flex; justify-content: space-between; align-items: center;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 50px; height: auto; filter: drop-shadow(0 0 5px var(--primary)); }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-weight: 900; font-size: 1.2rem; color: #fff; letter-spacing: 0.5px; }
.brand__sub { font-size: 0.8rem; color: var(--primary); letter-spacing: 1px; text-transform: uppercase; font-weight: 700; }

.menu { display: flex; gap: 30px; align-items: center; }
.menu a:not(.btn) { font-weight: 700; font-size: 1.05rem; position: relative; }
.menu a:not(.btn)::after {
    content: ''; position: absolute; bottom: -5px; right: 0; width: 0; height: 2px;
    background: var(--primary); transition: 0.3s; box-shadow: 0 0 5px var(--primary);
}
.menu a:not(.btn):hover::after { width: 100%; }
.menu a:hover { color: var(--primary); text-shadow: 0 0 5px var(--primary); }

/* --- قائمة الجوال --- */
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
.burger span { display: block; width: 30px; height: 3px; background: var(--text); transition: 0.3s; border-radius: 3px; }
.burger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); background: var(--primary); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); background: var(--primary); }
.mobile {
    position: fixed; top: 80px; left: 0; width: 100%;
    flex-direction: column; padding: 30px; gap: 20px;
    transform: translateY(-150%); transition: 0.4s; z-index: 99;
    display: flex; align-items: center; border-radius: 0; border-left: none; border-right: none;
}
.mobile.active { transform: translateY(0); }
.mobile a { font-size: 1.2rem; font-weight: 700; }

/* --- الأزرار --- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 28px; border-radius: 50px; font-weight: 800;
    font-size: 1rem; transition: 0.3s; cursor: pointer; border: none;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #000; box-shadow: 0 5px 15px rgba(0, 243, 255, 0.3);
}
.btn--primary:hover {
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.6); transform: scale(1.05);
}
.btn--ghost {
    background: transparent; border: 2px solid var(--primary); color: var(--primary);
}
.btn--ghost:hover {
    background: var(--primary); color: #000; box-shadow: 0 0 20px var(--primary);
}
.btn--block { width: 100%; }

/* --- قسم البداية (Hero) --- */
.hero { padding-top: 160px; min-height: 90vh; display: flex; align-items: center; }
.hero__inner { display: flex; align-items: center; justify-content: space-between; }
.hero__left { flex: 1.2; }
.hero__right { flex: 1; display: flex; justify-content: center; position: relative; }

.pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; border-radius: 30px; font-size: 0.9rem;
    font-weight: 700; color: var(--primary); margin-bottom: 25px;
}
.dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }

.title {
    font-size: 3.5rem; font-weight: 900; line-height: 1.2; margin-bottom: 25px;
}
.block { display: block; }
.subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 40px; max-width: 600px; }
.cta { display: flex; gap: 20px; margin-bottom: 50px; }

.stats { display: flex; gap: 25px; }
.stat { padding: 15px 25px; display: flex; align-items: center; gap: 15px; }
.stat__icon { font-size: 2rem; }
.stat__num { font-size: 1.4rem; font-weight: 900; color: var(--primary); }
.stat__label { font-size: 0.9rem; color: var(--text-muted); font-weight: 700; }

.orb {
    width: 400px; height: 400px; border-radius: 50%;
    position: relative; display: flex; justify-content: center; align-items: center;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.1), transparent 70%);
    border: 1px solid rgba(0, 243, 255, 0.2);
}
.orb__logo { width: 60%; height: auto; z-index: 2; filter: drop-shadow(0 0 30px var(--primary)); }
.orb__ring {
    position: absolute; inset: -20px; border-radius: 50%;
    border: 2px dashed var(--primary); opacity: 0.3;
    animation: spin 30s linear infinite;
}
.orb__scan {
    position: absolute; width: 100%; height: 5px; background: var(--primary);
    opacity: 0.6; filter: blur(5px); top: 50%;
    animation: scan 3s ease-in-out infinite alternate;
}
.badges { position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; }
.badge {
    position: absolute; padding: 8px 15px; font-size: 0.9rem; font-weight: 700;
    color: var(--primary); white-space: nowrap;
}
.badge:nth-child(1) { top: 10%; left: 0; }
.badge:nth-child(2) { top: 50%; right: -10%; }
.badge:nth-child(3) { bottom: 15%; left: 10%; }

/* --- قسم الخدمات والبطاقات --- */
.section__head { text-align: center; margin-bottom: 60px; max-width: 700px; margin-inline: auto; }
.section__head h2 { font-size: 2.8rem; font-weight: 900; margin-bottom: 15px; }
.section__head p { font-size: 1.2rem; color: var(--text-muted); }

.card { padding: 35px; display: flex; flex-direction: column; height: 100%; }
.card__icon { font-size: 3rem; margin-bottom: 25px; color: var(--primary); text-shadow: 0 0 10px var(--primary); }
.card h3 { font-size: 1.6rem; margin-bottom: 20px; font-weight: 800; }
.card ul { margin-bottom: 30px; flex-grow: 1; }
.card li {
    margin-bottom: 12px; display: flex; align-items: center;
    color: var(--text-muted); font-weight: 600;
}
.card li::before {
    content: '▹'; color: var(--primary); margin-left: 10px; font-size: 1.2rem;
    text-shadow: 0 0 5px var(--primary);
}

/* --- قسم من نحن --- */
.lead { font-size: 1.3rem; line-height: 1.8; margin-bottom: 25px; }
.lead b { color: var(--primary); }
.chips { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 30px; }
.chip {
    padding: 8px 20px; font-size: 0.9rem; font-weight: 700;
    border-radius: 30px; color: var(--primary);
}
.check-list li {
    margin-bottom: 15px; display: flex; align-items: center; font-size: 1.1rem;
}
.check-list li::before {
    content: '✓'; display: inline-flex; justify-content: center; align-items: center;
    width: 25px; height: 25px; background: rgba(0, 243, 255, 0.2); color: var(--primary);
    border-radius: 50%; margin-left: 15px; font-weight: bold; border: 1px solid var(--primary);
}

/* --- قسم الفريق --- */
.grid--team { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.member { display: flex; align-items: center; gap: 25px; padding: 30px; }
.avatar {
    width: 90px; height: 90px; background: rgba(0, 243, 255, 0.1); border-radius: 50%;
    display: flex; justify-content: center; align-items: center; font-size: 2.5rem;
    border: 2px solid var(--primary);
}
.member__name { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; color: #fff; }
.member__role { font-size: 0.95rem; color: var(--primary); font-weight: 600; }

/* --- قسم التواصل والنموذج --- */
.form { display: flex; flex-direction: column; gap: 20px; }
.row { display: flex; gap: 20px; }
.input {
    width: 100%; padding: 18px 25px; background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border); border-radius: 12px;
    color: var(--text); font-family: inherit; font-size: 1rem;
    transition: 0.3s; outline: none;
}
.input:focus {
    border-color: var(--primary); box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
}
.input::placeholder { color: rgba(255, 255, 255, 0.5); }
textarea.input { resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300f3ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: left 20px center; background-size: 20px; cursor: pointer; }
select.input option { background-color: #1a1a2e; color: var(--text); padding: 15px; }

.info { display: flex; flex-direction: column; gap: 25px; margin-bottom: 40px; }
.info__item { display: flex; align-items: center; gap: 20px; font-size: 1.15rem; }
.info__icon {
    width: 50px; height: 50px; background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--primary); border-radius: 12px;
    display: flex; justify-content: center; align-items: center; font-size: 1.5rem;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

.footerline { height: 1px; background: var(--glass-border); margin: 30px 0; box-shadow: 0 0 10px var(--glass-border); }
.copy { text-align: center; font-size: 0.95rem; color: var(--text-muted); }

/* --- Animations --- */
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.pulse { animation: pulse 2s infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scan { 0% { top: 0%; } 100% { top: 100%; } }
@keyframes pulse-bg { 0% { opacity: 0.3; } 100% { opacity: 0.7; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
.floating { animation: float 4s ease-in-out infinite; }

/* --- Scroll Reveal & Text Reveal --- */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal-text {
    opacity: 0; transform: translateX(20px); display: inline-block;
    transition: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.active .reveal-text, .reveal-text.active { opacity: 1; transform: translateX(0); }

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .title { font-size: 2.8rem; }
    .hero__inner { flex-direction: column; text-align: center; gap: 60px; }
    .hero__right { width: 100%; }
    .orb { width: 300px; height: 300px; }
    .cta, .stats { justify-content: center; }
    .two { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav { padding: 15px 0; }
    .menu { display: none; }
    .burger { display: flex; }
    .title { font-size: 2.2rem; }
    .subtitle { font-size: 1.1rem; }
    .cta { flex-direction: column; }
    .btn--block-mobile { width: 100%; }
    .stats { flex-direction: column; gap: 15px; }
    .stat { justify-content: center; }
    .section__head h2 { font-size: 2.2rem; }
    .row { flex-direction: column; }
    .pad { padding: 30px 20px; }
}