/*
Theme Name: Future Digital Pro
Theme URI: https://example.com/future-digital-pro
Author: AI Expert Developer
Description: قالب ووردبريس احترافي ومتطور بتصميم مستقبلي مظلم (Futuristic Cyberpunk/Sci-Fi Dark) مخصص لعرض الخدمات الرقمية، والوكالات التقنية، وحلول الذكاء الاصطناعي. يتضمن لوحة تحكم كاملة للتخصيص الفوري.
Version: 1.1.0
Text Domain: future-digital-pro
Requires at least: 5.6
Tested up to: 6.4
Requires PHP: 7.4
*/

/* --- لوحة الألوان والأسلوب المستقبلي --- */
:root {
    --bg-main: #04040d;
    --bg-surface: #0a0a1f;
    --bg-card: rgba(16, 16, 38, 0.7);
    --accent-cyan: #00f0ff;
    --accent-pink: #ff007f;
    --accent-purple: #7000ff;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --cyber-glow-cyan: 0 0 15px rgba(0, 240, 255, 0.4);
    --cyber-glow-pink: 0 0 15px rgba(255, 0, 127, 0.4);
    --glass-border: 1px solid rgba(0, 240, 255, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- التنسيقات الأساسية --- */
* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(112, 0, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.08) 0%, transparent 40%);
    background-attachment: fixed;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition-smooth);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 0;
}

/* --- الهيدر الاحترافي (المثبت) --- */
.site-header {
    background: rgba(4, 4, 13, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: var(--transition-smooth);
}

.logo-wrapper h1 {
    font-size: 22px;
    margin: 0;
    background: linear-gradient(to left, var(--text-primary), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* --- أزرار السايبربانك السيبرانية --- */
.btn-cyberpunk {
    background: transparent;
    border: 1px solid var(--accent-cyan);
    padding: 12px 28px;
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--cyber-glow-cyan);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cyberpunk::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-cyberpunk:hover::before {
    left: 100%;
}

.btn-cyberpunk:hover {
    background: var(--accent-cyan);
    color: var(--bg-main);
    box-shadow: 0 0 30px var(--accent-cyan);
    transform: translateY(-2px);
}

.btn-cyberpunk-secondary {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
    box-shadow: var(--cyber-glow-pink);
    margin-right: 15px;
}

.btn-cyberpunk-secondary:hover {
    background: var(--accent-pink);
    color: #fff;
    box-shadow: 0 0 30px var(--accent-pink);
}

/* --- القسم الرئيسي (Hero Section) --- */
.hero-section {
    min-height: 100vh;
    padding: 180px 6% 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero-badge {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.3);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    color: var(--accent-cyan);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.1);
    animation: pulseGlow 3s infinite alternate;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.2;
    margin-bottom: 25px;
    max-width: 900px;
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 60%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 45px;
    line-height: 1.8;
}

/* --- قسم الخدمات الاحترافي --- */
.services-section {
    padding: 100px 6%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    color: var(--accent-pink);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 20px;
}

.section-title span {
    background: linear-gradient(to left, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: var(--glass-border);
    padding: 45px 35px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 240, 255, 0.08), inset 0 0 15px rgba(0, 240, 255, 0.05);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(112, 0, 255, 0.1);
    border: 1px solid rgba(112, 0, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--accent-cyan);
    font-size: 24px;
    box-shadow: 0 0 15px rgba(112, 0, 255, 0.2);
}

.service-card:nth-child(2) .service-icon-box {
    background: rgba(255, 0, 127, 0.1);
    border-color: rgba(255, 0, 127, 0.3);
    color: var(--accent-pink);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: var(--transition-smooth);
}

.service-card:hover h3 {
    color: var(--accent-cyan);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
    margin: 0;
}

/* --- قسم ميزات الأداء الإضافي (الجاذبية الاحترافية) --- */
.stats-section {
    padding: 60px 6%;
    background: rgba(6, 6, 20, 0.5);
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h4 {
    font-size: 3rem;
    margin: 0 0 10px;
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
    text-transform: uppercase;
}

/* --- الفوتر الاحترافي --- */
.site-footer {
    background: #020207;
    padding: 50px 6% 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

/* --- حركات الأنيميشن --- */
@keyframes pulseGlow {
    0% { box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.1), 0 0 10px rgba(0, 240, 255, 0.1); }
    100% { box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.2), 0 0 20px rgba(0, 240, 255, 0.3); }
}

/* الشاشات الصغيرة */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .site-header { padding: 15px 20px; }
    .nav-container { gap: 15px; }
    .btn-cyberpunk { padding: 10px 20px; font-size: 13px; }
}
