/* 
 * digitalmarketing PAGE STYLES
 * This file is only loaded when users visit the Degital Marketing (templates/page-digitalmarketing.php)
 * This is a great place to style your Contact Form 7 classes!
 */


.marketing-radar-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #050a14;
    overflow: hidden;
    border-bottom: 1px solid #1e293b;
    margin-bottom: 40px;
}

/* رسم الرادار */
.radar-bg {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 800px;
    opacity: 0.6;
    pointer-events: none;
}

.radar-circle {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 87, 34, 0.2);
    border-radius: 50%;
    box-shadow: inset 0 0 40px rgba(255, 87, 34, 0.05);
}

.rc-1 { width: 300px; height: 300px; }
.rc-2 { width: 550px; height: 550px; }
.rc-3 { width: 689px; height: 689px; border-color: rgba(255, 87, 34, 0.1); }

/* خط الماسح اللي بيلف */
/* خط الماسح اللي بيلف (معدل ومظبوط 100%) */
.radar-scanner {
    position: absolute;
    top: 50%; 
    left: 50%;
    width: 800px; /* نفس حجم أكبر دايرة في الرادار */
    height: 800px;
    /* التدرج اللوني بياخد ربع الدايرة بس والياقي شفاف */
    background: conic-gradient(from 0deg, transparent 75%, rgba(255, 87, 34, 0.4) 100%);
    border-radius: 50%; /* دايرة كاملة بدل ربع دايرة */
    animation: radarSpin 4s linear infinite;
}

/* دمجنا الـ Translate مع الـ Rotate عشان الدوران يكون من السنتر بالظبط */
@keyframes radarSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/* محتوى الهيرو وشارة الـ ROI */
.marketing-radar-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.roi-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(13, 20, 36, 0.8);
    border: 1px solid var(--accent-orange);
    padding: 10px 25px;
    border-radius: 50px;
    color: #cbd5e1;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.2);
    backdrop-filter: blur(10px);
    animation: floatBadge 3s ease-in-out infinite;
}

.roi-badge i { color: #27c93f; margin-left: 10px; font-size: 1.3rem; }
.roi-badge span { color: #27c93f; margin-left: 8px; font-size: 1.2rem; }

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =========================================
   SALES FUNNEL SECTION (قمع المبيعات)
========================================= */
.funnel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.funnel-step {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.funnel-step:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* خطوة التحويل الأخيرة (مميزة) */
.convert-step {
    background: linear-gradient(145deg, rgba(255, 87, 34, 0.1), rgba(13, 20, 36, 0.8));
    border-color: rgba(255, 87, 34, 0.3);
}
.convert-step:hover {
    box-shadow: 0 15px 40px rgba(255, 87, 34, 0.2);
    border-color: var(--accent-orange);
}

.step-icon {
    width: 70px; height: 70px;
    margin: 0 auto 20px;
    background: rgba(255, 87, 34, 0.1);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 2rem; color: var(--accent-orange);
    transition: transform 0.4s ease;
}
.funnel-step:hover .step-icon { transform: scale(1.15) rotate(5deg); }

.funnel-step h3 { color: var(--pure-white); font-size: 1.4rem; margin-bottom: 10px; }
.funnel-step p { color: #a0aec0; font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* أسهم الربط بين الخطوات */
.funnel-arrow {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
    animation: pulseArrow 2s infinite;
}

@keyframes pulseArrow {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 1; color: var(--accent-orange); transform: translateX(-10px); } /* لليسار عشان RTL */
}

/* التجاوب مع الموبايل للرادار والقمع */
@media (max-width: 900px) {
    .radar-bg { width: 400px; height: 400px; }
    .rc-1 { width: 150px; height: 150px; }
    .rc-2 { width: 280px; height: 280px; }
    .rc-3 { width: 400px; height: 400px; }
    .radar-scanner { width: 200px; height: 200px; }
    
    .funnel-container { flex-direction: column; gap: 30px; }
    .funnel-arrow { transform: rotate(90deg) !important; margin: 10px 0; }
    @keyframes pulseArrow {
        50% { opacity: 1; color: var(--accent-orange); transform: translateY(10px) rotate(90deg); }
    }
}

.detailed-services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px; /* مسافة بين كل خدمة والتانية */
    max-width: 1100px;
    margin: 0 auto;
}

.detailed-card {
    display: flex;
    align-items: center;
    background: rgba(13, 20, 36, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* إضاءة جانبية عند الوقوف بالماوس */
.detailed-card::before {
    content: '';
    position: absolute;
    right: 0; /* خط على اليمين */
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--accent-orange);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.detailed-card:hover {
    transform: translateX(-10px); /* يتحرك لليسار بخفة */
    border-color: rgba(255, 87, 34, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    background: rgba(13, 20, 36, 0.8);
}

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

/* قسم الأيقونة الجانبية */
.detailed-icon {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: rgba(255, 87, 34, 0.1);
    border: 1px solid rgba(255, 87, 34, 0.2);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 40px; /* مسافة بين الأيقونة والنص */
    box-shadow: inset 0 0 20px rgba(255, 87, 34, 0.05);
    transition: all 0.4s ease;
}

.detailed-icon i {
    font-size: 3.5rem;
    color: var(--accent-orange);
    transition: transform 0.4s ease;
}

.detailed-card:hover .detailed-icon {
    background: var(--accent-orange);
    box-shadow: 0 0 30px rgba(255, 87, 34, 0.4);
}

.detailed-card:hover .detailed-icon i {
    color: var(--pure-white);
    transform: scale(1.1);
}

/* محتوى الخدمة (النصوص) */
.detailed-content {
    flex-grow: 1;
}

.detailed-content h3 {
    font-size: 1.8rem;
    color: var(--pure-white);
    margin-bottom: 15px;
    font-weight: 800;
}

.service-desc {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* قائمة مميزات كل خدمة */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* تقسيم النقط لعمودين */
    gap: 15px;
}

 /* =========================================
   NEW TECH BULLET POINTS (مؤشرات النيون الجديدة)
========================================= */

/* تنسيق القائمة نفسها */
.service-features {
    list-style: none; /* إلغاء النقاط الافتراضية */
    padding: 0;
    margin: 20px 0 0 0;
    display: grid;
    /* جعلناها عمود واحد في الموبايل وعمودين في الشاشات الأكبر */
    grid-template-columns: 1fr; 
    gap: 15px;
}

@media (min-width: 768px) {
    .service-features {
        grid-template-columns: repeat(2, 1fr); /* عمودين في الشاشات الكبيرة */
    }
}

/* تنسيق العنصر الواحد في القائمة */
.service-features li {
    position: relative; /* مهم جداً عشان المؤشر */
    padding-right: 30px; /* مساحة فاضية على اليمين عشان نحط فيها المؤشر */
    color: #cbd5e1; /* لون النص العادي */
    font-size: 1.05rem;
    line-height: 1.7;
    transition: all 0.3s ease;
    display: flex; /* لضمان محاذاة النص بشكل سليم */
    align-items: flex-start;
}

/* رسم مؤشر النيون باستخدام الـ CSS (بدل الأيقونة) */
.service-features li::before {
    content: ''; /* عنصر فارغ */
    position: absolute;
    right: 0; /* تثبيته في بداية السطر (يمين) */
    top: 10px; /* محاذاة رأسية مع أول سطر نص */
    width: 12px;
    height: 12px;
    background: var(--accent-orange); /* اللون البرتقالي الأساسي */
    
    /* السحر هنا: تحويل المربع لشكل ماسي وتدوير الحواف */
    transform: rotate(45deg); 
    border-radius: 3px; 
    
    /* تأثير التوهج النيون */
    box-shadow: 0 0 10px var(--accent-orange), 
                0 0 20px rgba(255, 87, 34, 0.5);
                
    /* أنيميشن نبض خفيف للمؤشر */
    animation: techPulse 2s infinite alternate;
    transition: all 0.3s ease;
}

/* تأثير عند مرور الماوس على النقطة */
.service-features li:hover {
    color: var(--pure-white); /* النص يبيض */
    transform: translateX(-5px); /* حركة خفيفة لليسار */
}

/* المؤشر ينور أكتر لما نقف على النقطة */
.service-features li:hover::before {
    background: #fff; /* قلب المؤشر يبقى أبيض */
    box-shadow: 0 0 15px var(--accent-orange), 
                0 0 30px var(--accent-orange),
                0 0 45px var(--accent-orange); /* توهج أقوى */
}

/* تعريف أنيميشن النبض (لو مش موجود عندك في الملف) */
@keyframes techPulse {
    0% { opacity: 0.8; transform: rotate(45deg) scale(1); }
    100% { opacity: 1; transform: rotate(45deg) scale(1.15); }
}
/* =========================================
   RESPONSIVE لصفحة التسويق (الموبايل)
========================================= */
@media (max-width: 900px) {
    .detailed-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .detailed-icon {
        margin-left: 0;
        margin-bottom: 25px;
    }

    .service-features {
        grid-template-columns: 1fr; /* عمود واحد في الموبايل */
        text-align: right; /* نرجع النقط يمين حتى لو الكارت وسطي */
    }
    
    .detailed-card:hover {
        transform: translateY(-10px); /* في الموبايل نخليه يطلع لفوق بدل ما يروح شمال */
    }
     .cta-banner h2 { font-size: 2rem; }
}


/* =========================================
   CTA BANNER (نهاية الصفحة)
========================================= */
.cta-banner {
    /* background: linear-gradient(135deg, var(--accent-orange), #d84315); */
    /* border-radius: 20px; */
    border: 1px solid #d84315;
    border-radius: 101px 0px 100px 0px;
    -webkit-border-radius: 101px 0px 100px 0px;
    -moz-border-radius: 101px 0px 100px 0px;
    padding: 60px 40px;
    text-align: center;
    color: var(--pure-white);
    margin-bottom: 80px;
    /* box-shadow: 0 20px 50px var(--accent-glow); */
    width: 1200px;
    margin: 0 auto 80px;
}

.cta-banner h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px #d84315;
    color: #d84315;
}

.cta-banner p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 30px;
    /* color: #d84315; */
    color: rgba(255, 255, 255, 0.9);
}

/* تعديل الزرار ليناسب الخلفية البرتقالية */
.cta-banner .btn-primary {
    background: #d84315;
    color: var(--pure-white);
    box-shadow: 0 10px 20px #d84315;
}

.cta-banner .btn-primary:hover {
    background: var(--pure-white);
    color: var(--accent-orange);
}

 
 .btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-orange);
    color: var(--pure-white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 10px 20px var(--accent-glow);
    transition: 0.3s;
}