
.hero-content {
    position: relative;
    z-index: 2; /* ليظهر فوق الفيديو والطبقة الشفافة */
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 5rem;
    color: var(--pure-white);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 87, 34, 0.5); /* إضاءة خفيفة خلف الكلمة */
}

.hero-content p {
    font-size: 1.3rem;
    color: #e2e8f0;
    margin-bottom: 30px;
    line-height: 1.8;
} 
/* =========================================
   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);
}

/* =========================================
   RESPONSIVE (الموبايل)
========================================= */
@media (max-width: 768px) {
    .cta-banner h2 { font-size: 2rem; }
}
 

/* =========================================CREATIVE PAGE HERO========================================= */
    .creative-floating-hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #050a14;
    overflow: hidden; /* عشان الصور ماتخرجش بره الشاشة */
}

/* طبقة تعتيم دائرية في النص عشان تبرز الكلام وتطفي الصور اللي وراه شوية */
.hero-fade-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(5, 10, 20, 0.4) 0%, rgba(5, 10, 20, 0.95) 80%);
    z-index: 2;
}

/* تنسيق الصور الطائرة */
.floating-gallery {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

.float-img {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    object-fit: cover;
    filter: brightness(0.7) contrast(1.2); /* تغميق خفيف عشان الشياكة */
    animation: floatImage ease-in-out infinite alternate;
}
 
.img-1 { width: 280px; height: 350px; top: 10%; right: 5%; animation-duration: 6s;  ; }
.img-2 { width: 220px; height: 220px; bottom: 15%; right: 20%; animation-duration: 8s; animation-delay: 1s;  ; filter: blur(2px) brightness(0.6); }
.img-3 { width: 300px; height: 400px; top: 15%; left: 8%; animation-duration: 7s; animation-delay: 0.5s;  }
.img-4 { width: 180px; height: 180px; bottom: 20%; left: 25%; animation-duration: 5s; animation-delay: 2s ; filter: blur(3px) brightness(0.5); }

/* تأثير الطفو */
@keyframes floatImage {
    0% { transform: translateY(0) rotate(var(--rotation, 0deg)); }
    100% { transform: translateY(-30px) rotate(calc(var(--rotation, 0deg) + 5deg)); }
}

/* نصوص الهيرو الإبداعية */
.creative-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 25px;
    border-radius: 50px;
    color: #e2e8f0;
    font-size: 1rem;
    margin-bottom: 25px;
}

.massive-text {
    font-size: 5.5rem; /* خط ضخم جداً */
    line-height: 1.1;
    font-weight: 900;
    color: var(--pure-white);
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.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;
}

.gradient-text {
    /* تدرج لوني ساحر (برتقالي في بينك في بنفسجي) مخصص لقسم الديزاين */
    background: linear-gradient(to right, #ff5722, #ff9800, #ff4081);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================
   INFINITE MARQUEE (الشريط المائل المتحرك)
========================================= */
/* =========================================
   INFINITE MARQUEE (الشريط المائل المتحرك) - المعدل
========================================= */
.creative-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    background: var(--bg-dark);
    margin-bottom: -40px;
    z-index: 1;
}

.creative-marquee {
    background: var(--accent-orange);
    color: #000;
    padding: 20px 0;
    transform: rotate(-3deg) scale(1.05); 
    /* box-shadow: 0 10px 30px rgba(255, 87, 34, 0.2); */
    display: flex;
    overflow: hidden;
}

/* التراك اللي بيلف (طوله بيكون على قد المجموعتين بالظبط) */
.marquee-track {
    display: flex;
    width: max-content; /* مهم جداً عشان التراك ياخد عرض الكلام كله */
    animation: scrollMarquee 20s linear infinite; /* سرعة 20 ثانية، لو عايزاه أسرع قللي الرقم */
}

/* تنسيق المجموعة الواحدة */
.marquee-content {
    display: flex;
    gap: 40px;
    padding-left: 40px; /* مسافة أمان عشان المجموعتين لما يلزقوا في بعض ميبقوش فوق بعض (RTL) */
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.marquee-content span {
    display: flex;
    align-items: center;
}

/* حركة الشريط السلسلة */
/* إحنا موقع عربي (RTL) فالحركة بتكون بالموجب (50%) عشان يلف لليمين بشكل طبيعي */
@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); } 
}

/* التجاوب مع الموبايل */
@media (max-width: 900px) {
    .creative-marquee { transform: rotate(-5deg) scale(1.1); padding: 15px 0; }
    .marquee-content { font-size: 1.8rem; gap: 20px; padding-left: 20px; }
    #showcase{
        padding: 20px 0px !important;
        margin: 50px 20px 0px!important;
         
    }
    .creative-bento-section{
        padding: 0 !important;
    }
} 
/* =========================================
   CREATIVE SHOWCASE (التخطيط المتداخل)
========================================= */
.showcase-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

/* عكس الاتجاه في الصفوف الزوجية */
.showcase-row.reverse-row {
    flex-direction: row-reverse;
}

/* الجزء الخاص بالصورة */
.showcase-image {
    flex: 1;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    /* تأثير الطفو الخفيف للصورة بأكملها */
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-row:hover .showcase-image {
    transform: translateY(-15px);
}

.showcase-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.8s ease;
    display: block;
}

.showcase-row:hover .showcase-image img {
    transform: scale(1.08); /* زووم داخلي للصورة */
}

/* إضاءة نيون ورا الصورة */
.image-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 80%;
    background: var(--accent-orange);
    filter: blur(100px);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.6s ease;
}

.showcase-row:hover .image-glow {
    opacity: 0.3; /* ينور لما نقف على السيكشن */
}

/* الجزء الخاص بالنصوص */
.showcase-text {
    flex: 1;
}

.creative-icon {
    width: 70px; height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex; justify-content: center; align-items: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.creative-icon i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--accent-orange), #ffb74d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showcase-row:hover .creative-icon {
    background: rgba(255, 87, 34, 0.1);
    border-color: var(--accent-orange);
    transform: rotate(10deg);
}

.showcase-text h2 {
    font-size: 2.5rem;
    color: var(--pure-white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.creative-desc {
    color: #cbd5e1;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 30px;
    padding-right: 15px;
    border-right: 3px solid var(--accent-orange); /* خط برتقالي أنيق جنب النص */
}

/* التجاوب مع الموبايل (Responsive) */
@media (max-width: 992px) {
    .showcase-row, .showcase-row.reverse-row {
        flex-direction: column; /* كله تحت بعضه في الموبايل */
        gap: 30px;
        margin-bottom: 80px;
    }
    
    .showcase-image img {
        height: 300px; /* تصغير الصورة في الموبايل */
    }

    .showcase-text h2 {
        font-size: 2rem;
    }
} 
 
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    
    /* السر هنا: خلينا الارتفاع مرن، أقل حاجة 280 بيكسل ولو الكلام كتير يكبر أوتوماتيك مع الحفاظ على التساوي */
    grid-template-rows: repeat(2, minmax(280px, 1fr)); 
    
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.bento-card {
    position: relative;
    background: rgba(13, 20, 36, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px; 
    padding: 35px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    
    /* تظبيط المحتوى الداخلي عشان يتوسطن بالطول وشكله يبقى أشيك */
    display: flex;
    flex-direction: column;
    justify-content: center; /* بيخلي الأيقونة والكلام في نص الكارت بالظبط */
    align-items: flex-start;
}

/* الكارت العريض (بياخد مساحة عمودين) */
.bento-wide {
    grid-column: span 2;
}

/* الكارت الطويل (بياخد مساحة صفين) */
.bento-tall {
    grid-row: span 2;
    background: linear-gradient(180deg, rgba(13, 20, 36, 0.6) 0%, rgba(255, 87, 34, 0.05) 100%);
}

/* تأثير الـ Hover على البينتو كارد */
.bento-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 87, 34, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* الإضاءة المخفية في الكارت */
.bento-glow {
    position: absolute;
    top: -50px; right: -50px;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(255,87,34,0.15) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.bento-card:hover .bento-glow {
    transform: scale(1.5);
    background: radial-gradient(circle, rgba(255,87,34,0.25) 0%, transparent 70%);
}

.bento-icon {
    font-size: 2.2rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.bento-card:hover .bento-icon {
    transform: scale(1.1) rotate(5deg);
}

.bento-card h3 {
    color: var(--pure-white);
    font-size: 1.5rem;
    margin-bottom: 15px;
    z-index: 2;
}

.bento-card p {
    color: #a0aec0;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    z-index: 2;
}

/* التجاوب مع الموبايل والتابلت للـ Bento Box */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr; /* عمود واحد في الموبايل */
        grid-template-rows: auto; /* الارتفاع أوتوماتيك */
        margin: 0 20px;
    }
    .bento-wide, .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    .tools-section{
        padding: 0px !important;
    }
 
}

/* =========================================
   TOOLS DOCK (شريط الأدوات الزجاجي)
========================================= */
.tools-glass-dock {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 50px;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.tool-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    color: #e2e8f0;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: default;
}

.tool-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.tool-pill i {
    font-size: 1.3rem;
}
