:root {
    --primary-color: #f79e1b;        /* أصفر/برتقالي الهوية */
    --primary-hover: #e08914;
    --brand-dark: #1b193f;           /* كحلي الهوية (الخلفية) */
    --brand-white: #ffffff;          /* اللون الأبيض القوي والمميز */
    --text-main: #1b193f;            /* النصوص الأساسية بنفس لون الخلفية للشعار */
    --text-muted: #5e5c7a;           /* نصوص باهتة متناسقة */
    --bg-main: #ffffff;              /* خلفية بيضاء ساطعة */
    --bg-light: #f7f8fb;             /* أبيض ثلجي ناعم מאוד للفصل */
    --card-bg: #ffffff;
    --border-color: #eae9f2;
    --shadow-sm: 0 1px 2px 0 rgba(27, 25, 63, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(27, 25, 63, 0.1), 0 2px 4px -1px rgba(27, 25, 63, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(27, 25, 63, 0.1), 0 10px 10px -5px rgba(27, 25, 63, 0.04);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1.05rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--brand-dark);
    box-shadow: 0 4px 15px rgba(247, 158, 27, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(247, 158, 27, 0.5);
    color: var(--brand-dark);
}

.btn-outline {
    background-color: rgba(247, 158, 27, 0.05);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--brand-dark);
    box-shadow: 0 4px 15px rgba(247, 158, 27, 0.2);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
    border-radius: 16px;
}

.glow-effect {
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(247, 158, 27, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(247, 158, 27, 0); }
    100% { box-shadow: 0 0 0 0 rgba(247, 158, 27, 0); }
}

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #f79e1b, #d97706);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.hero {
    background: var(--brand-white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(247, 158, 27, 0.08) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(27, 25, 63, 0.04) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h2 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--brand-dark);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.bot-mockup {
    background: var(--brand-white);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(27, 25, 63, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bot-icon {
    font-size: 4.5rem;
    display: block;
    margin-bottom: 25px;
    color: var(--primary-color);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); filter: drop-shadow(0 5px 15px rgba(247,158,27,0.2)); }
    50% { transform: translateY(-15px); filter: drop-shadow(0 15px 20px rgba(247,158,27,0.4)); }
    100% { transform: translateY(0); filter: drop-shadow(0 5px 15px rgba(247,158,27,0.2)); }
}

.mockup-chat {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 10px;
}

.chat-bubble {
    padding: 14px 20px;
    border-radius: 18px;
    max-width: 85%;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    width: fit-content;
    margin: 0;
}

.chat-bubble.user {
    background-color: var(--bg-light);
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-right-radius: 4px;
    border: 1px solid var(--border-color);
}

.chat-bubble.bot {
    background: var(--brand-dark);
    color: var(--brand-white);
    align-self: flex-end;
    border-bottom-left-radius: 4px;
}

.platforms {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--brand-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 25px;
}

.platform-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px 15px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(247, 158, 27, 0.4);
}

.icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

/* الألوان الحقيقية للأيقونات بشكل دائم */
.platform-card .fa-tiktok { color: #000000; filter: drop-shadow(2px 2px 0px #ff0050) drop-shadow(-2px -2px 0px #00f2fe); }
.platform-card .fa-snapchat { color: #FFFC00; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.platform-card .fa-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.platform-card .fa-youtube { color: #FF0000; }
.platform-card .fa-x-twitter { color: #000000; }
.platform-card .fa-threads { color: #000000; }
.platform-card .fa-facebook { color: #1877F2; }
.platform-card .fa-soundcloud { color: #ff5500; }
.platform-card .fa-pinterest { color: #E60023; }
.platform-card .fa-heart { background: linear-gradient(135deg, #a724ff 0%, #ff276e 35%, #ff8c00 70%, #ffdb00 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } /* لايكي */
.platform-card .fa-video { color: #FF8c00; } /* كواي */

.platform-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--brand-dark);
}

.platform-card span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.features {
    padding: 100px 0;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    padding: 40px 30px;
    border-radius: 24px;
    background-color: var(--brand-white);
    border: 1px solid var(--border-color);
    text-align: right;
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(27, 25, 63, 0.1);
}

.feat-icon {
    font-size: 3rem;
    display: inline-block;
    margin-bottom: 20px;
    width: 70px;
    height: 70px;
    line-height: 70px;
    text-align: center;
    border-radius: 20px;
}

.feature-item h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--brand-dark);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

.how-it-works {
    padding: 100px 0;
}

.steps-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-top: 50px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 40px 20px;
    background: var(--brand-white);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(247, 158, 27, 0.3);
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--brand-dark);
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 50%;
    line-height: 60px;
    margin: -70px auto 25px auto;
    box-shadow: 0 10px 20px rgba(247, 158, 27, 0.3);
}

.faq-item {
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(27, 25, 63, 0.2) !important;
}

.seo-content {
    padding: 80px 20px;
}

.seo-box {
    background-color: var(--brand-white);
    border-radius: 20px;
    padding: 50px;
    border: 1px dashed rgba(27, 25, 63, 0.2);
}

.footer {
    background-color: var(--brand-dark);
    color: var(--brand-white);
    text-align: center;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--brand-dark), var(--primary-color), var(--brand-dark));
}

.footer-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 35px;
    color: var(--brand-white);
}

@media (max-width: 768px) {
    .hero-layout { grid-template-columns: 1fr; text-align: center; }
    .hero-text h2 { font-size: 2.2rem; }
    .bot-mockup { margin-top: 30px; }
    .steps-wrapper { flex-direction: column; gap: 50px; }
    .section-title { font-size: 2rem; }
    .platforms, .features, .how-it-works { padding: 60px 0; }
    .hero { padding: 60px 0; }
}

@media (max-width: 480px) {
    /* Header Fixes for Mobile */
    .header-content {
        flex-wrap: wrap; /* Prevent awkward squishing */
        gap: 15px;
        justify-content: center;
    }
    .brand a {
        justify-content: center;
        width: 100%;
        gap: 10px;
    }
    .site-logo {
        width: 35px;
        height: 35px;
    }
    .logo {
        font-size: 1.4rem;
        text-align: center;
    }
    .header-content > .btn {
        width: auto;
        padding: 12px 26px;
        font-size: 1.05rem;
        justify-content: center;
        margin: 0 auto;
    }
    
    /* Hero Fixes */
    .hero-text h2 { font-size: 1.8rem; }
    .hero-text p { font-size: 1rem; }
    
    /* Container Padding */
    .container { padding: 0 15px; }
    
    /* Platforms Grid Fixes */
    .platform-grid {
        grid-template-columns: repeat(2, 1fr); /* Lock to 2 columns */
        gap: 12px; /* Smaller gap on mobile */
    }
    .platform-card {
        padding: 20px 10px;
    }
    .icon {
        font-size: 2.8rem;
        margin-bottom: 10px;
    }
    .platform-card h3 {
        font-size: 1rem;
    }
    .platform-card span {
        font-size: 0.8rem;
    }
    
    /* Features Mobile Adjustments */
    .feature-item {
        padding: 25px 20px;
    }
    .feat-icon {
        width: 55px;
        height: 55px;
        line-height: 55px;
        font-size: 2.2rem;
    }
}

/* FAQ Accordion Styling */
.faq-item {
    cursor: pointer;
    overflow: hidden;
}
.faq-item h3 {
    position: relative;
    padding-left: 30px;
}
.faq-item h3::after {
    content: '+';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: var(--transition);
}
.faq-item.active h3::after {
    content: '−';
    color: var(--primary-color);
}
.faq-item p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin: 0;
}
.faq-item.active p {
    margin-top: 15px;
}

/* Animations */
.platform-card, .feature-item, .step {
    opacity: 0;
    transform: translateY(30px);
}
.animate-up {
    animation: slideUpFade 0.6s ease forwards;
}
@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تحسينات الهوية البصرية النهائية (Premium Touches) */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero {
    /* نمط شبكي (Grid Pattern) يعطي طابع تكنولوجي فخم */
    background-image: 
        linear-gradient(rgba(247, 158, 27, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 158, 27, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: -15px -15px;
}

.platform-card {
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.platform-card::after {
    /* إضاءة زجاجية ناعمة عند المرور على الكروت */
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top left, rgba(247,158,27,0.08), transparent 70%);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}
.platform-card:hover::after {
    opacity: 1;
}

/* PageSpeed optimizations for Layout Shifts */
img.site-logo {
    aspect-ratio: 1/1;
    display: block;
}

@media (max-width: 480px) {
    .status-badge { display: none !important; } /* إخفاء الشارة في الهواتف لتوفير المساحة */
}

/* Force Font-Display Swap on Font Awesome for 100/100 Lighthouse Performance LCP Fix */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.1/webfonts/fa-solid-900.woff2") format("woff2");
}
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.1/webfonts/fa-regular-400.woff2") format("woff2");
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.1/webfonts/fa-brands-400.woff2") format("woff2");
}


/* Testimonial Marquee Slider */
.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    display: flex;
    gap: 20px;
    padding: 20px 0;
    direction: ltr;
}
.marquee-wrapper::before, .marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
}
.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-main) 0%, transparent 100%);
}
.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-main) 0%, transparent 100%);
}
.marquee-content {
    display: flex;
    flex-shrink: 0;
    gap: 20px;
    min-width: 100%;
    animation: scrollRTL 25s linear infinite;
}
.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}
.testimonial-card {
    background: var(--bg-light); 
    padding: 30px 20px; 
    border-radius: 12px; 
    border: 1px solid var(--border-color); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.02); 
    text-align: center;
    width: 320px;
    flex-shrink: 0;
    white-space: normal;
    display: inline-block;
    direction: rtl;
}

@keyframes scrollRTL {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 20px)); }
}

/* Premium Stars Styling RTL */
.rating-stars {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    direction: rtl;
    color: #ffb400;
    font-size: 1.25rem;
    margin-top: 10px;
}
.rating-stars i {
    filter: drop-shadow(0px 2px 4px rgba(255, 180, 0, 0.4));
    transition: transform 0.2s ease;
}
.rating-stars i:hover {
    transform: scale(1.15);
}


/* Shared Platform Sections & Components */
.stats-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; background: var(--bg-light); padding: 30px 20px; border-radius: 12px; border: 1px solid var(--border-color); margin-bottom: 40px; border-bottom: 3px solid var(--theme-color, #4F46E5); }
.stat-item { text-align: center; flex: 1; min-width: 150px; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--theme-color, #4F46E5); margin-bottom: 5px; }
.stat-label { font-size: 1.05rem; color: var(--text-main); font-weight: 600; }

.compare-table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); }
.compare-table th, .compare-table td { padding: 18px 20px; text-align: center; border-bottom: 1px solid var(--border-color); }
.compare-table th { background: var(--bg-light); font-weight: 800; color: var(--text-main); font-size: 1.1rem; border-bottom: 2px solid var(--border-color); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover { background: rgba(0,0,0,0.01); }
.td-us { background: rgba(37, 211, 102, 0.05); color: #1a9e4b; font-weight: bold; border-right: 2px solid #25d366; border-left: 2px solid #25d366; }
.th-us { background: rgba(37, 211, 102, 0.1) !important; color: var(--text-main) !important; border-top-left-radius: 12px; border-top-right-radius: 12px; border-right: 2px solid #25d366; border-left: 2px solid #25d366; border-top: 2px solid #25d366; }
.compare-table tr:last-child .td-us { border-bottom: 2px solid #25d366; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
.td-them { color: #e53935; }

.use-cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; margin-bottom: 40px;}
.use-card { background: var(--bg-light); padding: 25px; border-radius: 12px; border: 1px solid var(--border-color); text-align: center; transition: transform 0.3s ease; }
.use-card:hover { transform: translateY(-5px); border-bottom: 3px solid var(--theme-color, #4F46E5); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.use-icon { font-size: 2.5rem; color: var(--theme-color, #4F46E5); margin-bottom: 15px; transition: transform 0.3s ease; }
.use-card:hover .use-icon { transform: scale(1.1); }

.privacy-box { display: flex; align-items: center; gap: 20px; background: var(--bg-light); padding: 25px; border-radius: 12px; border-right: 4px solid var(--theme-color, #4F46E5); margin: 40px 0; border: 1px solid var(--border-color); box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.privacy-icon { font-size: 3rem; color: var(--theme-color, #4F46E5); }
@media (max-width: 768px) { .privacy-box { flex-direction: column; text-align: center; border-right: none; border-top: 4px solid var(--theme-color, #4F46E5); } }

/* Platform Grid style */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; margin-bottom: 50px; }
.platform-card { background: var(--bg-light); border: 1px solid var(--border-color); border-radius: 12px; padding: 25px 10px; text-align: center; transition: all 0.3s ease; cursor: pointer; text-decoration: none; color: var(--text-main); display: block; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.platform-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.05); border-color: var(--theme-color, #4F46E5); }
.platform-card i { font-size: 2.5rem; margin-bottom: 15px; color: var(--brand-dark); transition: all 0.3s ease; display: inline-block; }
.platform-card h3 { font-size: 1.1rem; margin-bottom: 5px; font-weight: 700; color: var(--text-main);}
.platform-card span { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.platform-card:hover i { transform: scale(1.1); color: var(--theme-color, #4F46E5); }

.logo { font-weight: 900; font-size: 1.6rem; color: var(--brand-dark); letter-spacing: -0.5px; }

