

:root {
    /* ============================================================
    — Design Tokens Reference
       ============================================================ */

    /* ── الألوان الأساسية ─────────────────────────────────────── */

    --primary-cyan: #00C6FF;
    --primary-green: #00E676;
    --primary-orange: #FF8F00;
    --primary-purple: #8A2BE2;

    --bg-dark: #0D1B2A;
    --bg-dark-card: #111E2E;
    --bg-dark-alt: #0B1523;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-input: rgba(255, 255, 255, 0.05);

    /* ── ألوان النصوص ─────────────────────────────────────────── */

    --text-white: #FFFFFF;
    --text-light: #e8f4ff;
    --text-muted: #AAAAAA;
    --text-dim: #888888;
    --text-dark: #0D1B2A;

    /* ── التدرجات اللونية ─────────────────────────────────────── */

    --grad-primary: linear-gradient(135deg, var(--primary-cyan), var(--primary-green));
    --grad-gold: linear-gradient(135deg, var(--primary-orange), #FFB300);

    /* ── الظلال ───────────────────────────────────────────────── */

    --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 20px 40px rgba(0, 198, 255, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 198, 255, 0.25);
    --shadow-glow: 0 0 30px rgba(0, 198, 255, 0.15);

    /* ── نصف الأقطار ──────────────────────────────────────────── */

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* ── الخطوط ───────────────────────────────────────────────── */

    --font-cairo: 'Cairo', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;

    /* ── أحجام الخطوط  ────────────────────────── */

    --text-xs: clamp(0.7rem, 1.5vw, 0.85rem);
    --text-sm: clamp(0.8rem, 2vw, 1rem);
    --text-base: clamp(0.9rem, 2.5vw, 1.1rem);
    --text-md: clamp(1rem, 3vw, 1.25rem);
    --text-lg: clamp(1.2rem, 4vw, 1.8rem);
    --text-xl: clamp(1.8rem, 6vw, 3rem);
    --text-2xl: clamp(2.5rem, 8vw, 4.5rem);

    /* ── المسافات ─────────────────────────────────────────────── */

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;

    /* ── ثقل الخط ─────────────────────────────────────────────── */

    --fw-normal: 400;
    --fw-medium: 600;
    --fw-bold: 700;
    --fw-black: 900;
}

/* ============================================================ */
/*  2. RESET & BASE                                             */
/* ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 80px;
}

body {
    min-height: 100vh;
    background: var(--bg-dark);
    font-family: var(--font-cairo);
    font-weight: var(--fw-normal);
    color: var(--text-muted);
    line-height: 1.7;
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
    padding: 0;
}

/* ============================================================ */
/*  3. LOADING SCREEN                                           */
/* ============================================================ */

.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-logo {
    font-size: var(--text-2xl);
    font-weight: var(--fw-black);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse-logo 1.5s ease-in-out infinite;
}

@keyframes pulse-logo {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 198, 255, 0.2);
    border-top: 3px solid var(--primary-cyan);
    border-right: 3px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-top: var(--space-lg);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    margin-top: var(--space-md);
    color: var(--primary-cyan);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    letter-spacing: 2px;
}

/* ============================================================ */
/*  4. HEADER                                      */
/* ============================================================ */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 27, 42, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 198, 255, 0.15);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.header-logo {
    font-size: var(--text-lg);
    font-weight: var(--fw-black);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

/* ── برجر منيو ── */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--primary-cyan);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ── القائمة ── */
.main-nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.main-nav a {
    color: var(--text-muted);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.main-nav a:hover {
    color: var(--primary-cyan);
}

.main-nav a:hover::after {
    width: 100%;
}

.header-cta {
    background: var(--grad-primary);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: var(--fw-bold);
    font-size: var(--text-sm);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
}

.header-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: var(--shadow-md);
}

/* ============================================================ */
/*  5. HERO SECTION                                             */
/* ============================================================ */

.hero {
    padding: 120px 24px 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 0%, rgba(0, 198, 255, 0.15) 0%, transparent 70%);
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-logo {
    max-width: 200px;
    margin: 0 auto var(--space-lg);
    border-radius: var(--radius-md);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-logo:hover {
    transform: scale(1.08);
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 198, 255, 0.12);
    border: 1px solid rgba(0, 198, 255, 0.3);
    color: var(--primary-cyan);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: var(--text-2xl);
    color: var(--text-white);
    line-height: 1.2;
}

.hero-title span {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-desc {
    font-size: var(--text-base);
    max-width: 700px;
    margin: var(--space-md) auto var(--space-xl);
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: var(--fw-bold);
    font-size: var(--text-base);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    border: 2px solid var(--primary-cyan);
    color: var(--primary-cyan);
}

.btn-secondary:hover {
    transform: translateY(-6px);
    background: rgba(0, 198, 255, 0.08);
    box-shadow: var(--shadow-glow);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 8vw, 60px);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: var(--text-xl);
    font-weight: var(--fw-black);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-mono);
}

.stat-label {
    font-size: var(--text-xs);
    color: var(--text-dim);
}

/* ============================================================ */
/*  6. SECTION COMMON (عناصر مشتركة)                           */
/* ============================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 198, 255, 0.08);
    border: 1px solid rgba(0, 198, 255, 0.2);
    color: var(--primary-cyan);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-family: var(--font-mono);
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: var(--text-xl);
    color: var(--text-white);
    margin-bottom: var(--space-md);
}

.section-title span {
    background: var(--grad-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-sub {
    color: var(--text-dim);
    font-size: var(--text-base);
    margin-bottom: var(--space-2xl);
}

/* ============================================================ */
/*  7. WHO — من نحن                                             */
/* ============================================================ */

.who {
    background: var(--bg-dark-card);
    padding: 80px 0;
    text-align: center;
}

.who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: right;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .who-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.who-company h3,
.who-team h3 {
    color: var(--text-white);
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
}

.who-company p {
    font-size: var(--text-base);
    color: var(--text-muted);
}

.who-highlight {
    background: rgba(0, 198, 255, 0.06);
    border: 1px solid rgba(0, 198, 255, 0.15);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
    font-size: var(--text-base);
}

.team-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-glow);
}

.team-card.featured {
    background: rgba(0, 198, 255, 0.08);
    border-color: var(--primary-orange);
}

.team-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-xs);
}

.team-badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.team-card.featured .team-badge {
    background: var(--primary-orange);
    color: var(--text-dark);
    font-weight: var(--fw-bold);
}

.team-header h4 {
    color: var(--text-white);
    font-size: var(--text-md);
    margin: 0;
}

.team-role {
    background: var(--grad-primary);
    color: var(--text-dark);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    margin-right: auto;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.team-card:hover .team-role {
    transform: rotate(360deg);
}

.team-desc {
    color: var(--text-dim);
    font-size: var(--text-sm);
}

.team-founder {
    margin-top: 40px;
}

.founder-img {
    max-width: 280px;
    width: 90%;
    margin: 0 auto;
    border-radius: var(--radius-md);
    border: 2px solid var(--primary-orange);
    box-shadow: var(--shadow-md);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.founder-img:hover {
    transform: scale(1.04);
}

.founder-name {
    color: var(--primary-cyan);
    font-size: var(--text-lg);
    margin-top: var(--space-md);
}

/* ============================================================ */
/*  8. SERVICES — الخدمات                                      */
/* ============================================================ */

.services {
    background: var(--bg-dark);
    padding: 80px 0;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-lg);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-cyan);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.service-card h4 {
    color: var(--text-white);
    font-size: var(--text-md);
    margin-bottom: var(--space-xs);
}

.service-card p {
    font-size: var(--text-sm);
    color: var(--text-dim);
}

/* ============================================================ */
/*  9. PROJECTS — المشاريع (شبكة مرنة جداً)                    */
/* ============================================================ */

.projects {
    background: var(--bg-dark-alt);
    padding: 80px 0;
    text-align: center;
}

.projects-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.pstat-num {
    font-size: var(--text-xl);
    font-weight: var(--fw-black);
    font-family: var(--font-mono);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pstat-lbl {
    font-size: var(--text-xs);
    color: var(--text-dim);
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1px;
    background: rgba(0, 198, 255, 0.08);
    border: 1px solid rgba(0, 198, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.project-card {
    background: var(--bg-dark-alt);
    padding: 24px 20px;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background 0.3s;
}

.project-card:hover {
    background: #0a1420;
}

.project-card.in-dev {
    background: rgba(0, 198, 255, 0.03);
}

.project-num {
    font-size: var(--text-xs);
    font-family: var(--font-mono);
    color: rgba(0, 198, 255, 0.35);
    letter-spacing: 1px;
}

.project-card h3 {
    color: var(--text-light);
    font-size: var(--text-md);
    font-weight: var(--fw-bold);
}

.project-card p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    flex: 1;
}

.project-link {
    background: rgba(0, 198, 255, 0.05);
    border: 1px solid rgba(0, 198, 255, 0.15);
    color: var(--primary-cyan);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    transition: all 0.3s;
    text-align: center;
}

.project-link:hover {
    background: rgba(0, 198, 255, 0.12);
    border-color: var(--primary-cyan);
    transform: scale(1.02);
}

.project-building {
    padding: 10px 14px;
    background: rgba(255, 143, 0, 0.06);
    border: 1px solid rgba(255, 143, 0, 0.2);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    font-family: var(--font-mono);
    color: rgba(255, 143, 0, 0.7);
}

.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-sm);
    flex-wrap: wrap;
}

.project-status {
    font-size: var(--text-xs);
    font-weight: var(--fw-bold);
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

.project-status.live {
    color: var(--primary-green);
}

.project-status.live::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-green);
    margin-left: 6px;
    animation: blink 1.6s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }
}

.project-status.coming {
    color: var(--primary-orange);
}

.project-tag {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.2);
    font-family: var(--font-mono);
}

/* ============================================================ */
/*  10. SKILLS — المهارات وخارطة الطريق                        */
/* ============================================================ */

.skills {
    background: var(--bg-dark);
    padding: 80px 0;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: right;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-cyan);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.skill-header h4 {
    color: var(--text-white);
    font-size: var(--text-md);
    margin: 0;
}

.skill-header svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.skill-card:hover svg {
    transform: scale(1.1) rotate(-4deg);
}

.skill-level {
    margin-right: auto;
    font-size: var(--text-xs);
    color: var(--text-dim);
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar.full::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: var(--grad-primary);
    border-radius: var(--radius-full);
    animation: fillBar 1.2s ease-out;
}

.progress-bar.half::after {
    content: '';
    display: block;
    width: 55%;
    height: 100%;
    background: var(--grad-primary);
    border-radius: var(--radius-full);
    animation: fillBar 1.2s ease-out;
}

.progress-bar.empty::after {
    content: '';
    display: block;
    width: 10%;
    height: 100%;
    background: rgba(255, 143, 0, 0.5);
    border-radius: var(--radius-full);
    animation: fillBar 1.2s ease-out;
}

@keyframes fillBar {
    from {
        width: 0;
    }

    to {
        width: inherit;
    }
}

.roadmap {
    background: rgba(0, 198, 255, 0.04);
    border: 1px solid rgba(0, 198, 255, 0.12);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

.roadmap-title {
    color: var(--primary-cyan);
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    margin-bottom: var(--space-md);
}

.roadmap-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.step {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--fw-medium);
}

.step.done {
    background: rgba(0, 230, 118, 0.15);
    color: var(--primary-green);
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.step.active {
    background: rgba(0, 198, 255, 0.15);
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 198, 255, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 198, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 198, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 198, 255, 0);
    }
}

.step.next {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-dim);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.step-arrow {
    color: #444;
    font-size: var(--text-md);
}

/* ============================================================ */
/*  11. HOW — طريقة العمل                                      */
/* ============================================================ */

.how {
    background: var(--bg-dark-card);
    padding: 80px 0;
    text-align: center;
}

.how-steps {
    max-width: 700px;
    margin: 0 auto var(--space-xl);
    text-align: right;
    counter-reset: step;
}

.how-steps li {
    counter-increment: step;
    padding-right: 55px;
    position: relative;
    margin-bottom: var(--space-lg);
    font-size: var(--text-base);
    color: var(--text-muted);
    transition: all 0.3s;
}

.how-steps li::before {
    content: counter(step);
    position: absolute;
    right: 0;
    top: 0;
    width: 38px;
    height: 38px;
    background: var(--grad-primary);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-bold);
    font-size: var(--text-md);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.how-steps li:hover::before {
    transform: scale(1.1);
}

.step-label {
    display: block;
    color: var(--text-white);
    font-size: var(--text-lg);
    font-weight: var(--fw-bold);
    font-family: var(--font-mono);
}

.ai-note {
    background: rgba(255, 143, 0, 0.06);
    border: 1px solid rgba(255, 143, 0, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: var(--text-base);
}

.ai-note span {
    color: var(--primary-orange);
    font-weight: var(--fw-bold);
}

/* ============================================================ */
/*  12. WHY — لماذا نحن                                        */
/* ============================================================ */

.why {
    background: var(--bg-dark);
    padding: 80px 0;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.why-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 198, 255, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: right;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-orange);
}

.why-icon {
    font-size: 1.8rem;
    display: block;
    margin-bottom: var(--space-xs);
}

.why-card h4 {
    color: var(--primary-cyan);
    font-size: var(--text-md);
    margin-bottom: 4px;
}

.why-card p {
    font-size: var(--text-sm);
    color: var(--text-dim);
}

/* ============================================================ */
/*  13. CONTACT — التواصل                                      */
/* ============================================================ */

.contact {
    background: var(--bg-dark-card);
    padding: 80px 0;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: right;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

.contact-form h3 {
    color: var(--text-white);
    font-size: var(--text-lg);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-dim);
    margin-bottom: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: var(--font-cairo);
    font-size: var(--text-base);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.15);
    outline: none;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.form-group select option {
    background: var(--bg-dark);
}

.btn-wa {
    width: 100%;
    padding: 14px;
    background: var(--grad-primary);
    border: none;
    border-radius: var(--radius-full);
    color: var(--text-dark);
    font-weight: var(--fw-bold);
    font-size: var(--text-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-wa:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.info-card:hover {
    transform: translateX(-6px);
    border-color: var(--primary-cyan);
    background: rgba(0, 198, 255, 0.04);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 198, 255, 0.08);
    border: 1px solid rgba(0, 198, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-label {
    font-size: var(--text-xs);
    color: var(--primary-orange);
    font-weight: var(--fw-bold);
    letter-spacing: 1px;
}

.info-value {
    color: var(--text-white);
    font-size: var(--text-base);
    font-weight: var(--fw-medium);
}

.info-badge {
    margin-right: auto;
    font-size: var(--text-xs);
    color: var(--primary-cyan);
    background: rgba(0, 198, 255, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    transition: all 0.3s;
}

.info-card:hover .info-badge {
    background: rgba(0, 198, 255, 0.2);
}

/* ============================================================ */
/*  14. FOOTER                                                  */
/* ============================================================ */

.main-footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(0, 198, 255, 0.08);
    padding: 50px 24px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col {
    text-align: right;
}

.footer-logo {
    font-size: var(--text-lg);
    font-weight: var(--fw-black);
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.footer-desc {
    font-size: var(--text-sm);
    color: var(--text-dim);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.footer-social a:hover {
    transform: translateY(-4px);
    border-color: var(--primary-cyan);
    background: rgba(0, 198, 255, 0.1);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: var(--text-md);
    margin-bottom: var(--space-md);
    position: relative;
}

.footer-col h4::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--grad-primary);
    position: absolute;
    bottom: -6px;
    right: 0;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--text-muted);
    font-size: var(--text-sm);
    transition: all 0.3s;
}

.footer-links a:hover {
    color: var(--primary-cyan);
    padding-right: 6px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    margin-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
    font-size: var(--text-xs);
    color: var(--text-dim);
}

.footer-bottom a {
    color: var(--primary-cyan);
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--primary-green);
}

/* ============================================================ */
/*  15. SCROLL TOP BUTTON                                       */
/* ============================================================ */

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-primary);
    color: var(--text-dark);
    border: none;
    font-size: var(--text-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
    box-shadow: var(--shadow-sm);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ============================================================ */
/*  16. FADE EFFECTS (ظهور الأقسام)                            */
/* ============================================================ */

.fade-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1),
        transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================ */
/*  17. MEDIA QUERIE              */
/* ============================================================ */

/* شاشات صغيرة جداً (320 - 480) */
@media (max-width: 480px) {
    .main-header {
        padding: 12px 16px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 68px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 68px);
        background: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 30px 20px;
        gap: var(--space-md);
        transition: left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        border-left: 1px solid rgba(0, 198, 255, 0.15);
        overflow-y: auto;
        align-items: flex-start;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav a {
        font-size: var(--text-md);
        width: 100%;
    }

    .header-cta {
        display: none;
    }

    .hero {
        padding: 100px 16px 60px;
    }

    .hero-logo {
        max-width: 140px;
    }

    .hero-title {
        font-size: var(--text-xl);
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: var(--text-sm);
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .who-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-social {
        justify-content: center;
    }

    .roadmap-steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .info-card {
        flex-direction: column;
        text-align: center;
    }

    .info-badge {
        margin-right: 0;
    }
}

/* موبايل متوسط (481 - 768) */
@media (min-width: 481px) and (max-width: 768px) {
    .main-header {
        padding: 14px 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 60%;
        height: calc(100vh - 72px);
        background: rgba(13, 27, 42, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 30px 20px;
        gap: var(--space-md);
        transition: left 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        border-left: 1px solid rgba(0, 198, 255, 0.15);
        overflow-y: auto;
        align-items: flex-start;
    }

    .main-nav.active {
        left: 0;
    }

    .header-cta {
        display: none;
    }

    .who-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* تابلت (769 - 1024) */
@media (min-width: 769px) and (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* شاشات كبيرة جداً (1440+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .hero {
        padding: 150px 40px 100px;
    }

    .hero-logo {
        max-width: 250px;
    }
}