/* ================================================
   ROOT VARIABLES
================================================ */
* { margin:0; padding:0; box-sizing:border-box; }

:root {
    --cyan:   #4FD1FF;
    --purple: #A855F7;
    --blue:   #3B82F6;
    --bg:     #F8F9FC;
    --dark:   #111111;
    --muted:  #666666;
    --white:  #ffffff;
    --sh-sm:  rgba(0,0,0,0.05);
}

html { scroll-behavior: smooth; }
body { font-family:'Cairo',sans-serif; background:var(--bg); color:var(--dark); overflow-x:hidden; }
a { text-decoration:none; color:inherit; }

 
.animated-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
}
.bg-orb-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(79,209,255,0.4), transparent 70%);
    top: -150px; right: -100px;
    animation: orbFloat1 12s ease-in-out infinite;
}
.bg-orb-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(168,85,247,0.35), transparent 70%);
    bottom: -100px; left: -80px;
    animation: orbFloat2 15s ease-in-out infinite;
}
.bg-orb-3 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 70%);
    top: 40%; left: 40%;
    animation: orbFloat3 10s ease-in-out infinite;
}
@keyframes orbFloat1 {
    0%,100% { transform: translate(0,0); }
    50%      { transform: translate(-40px,40px); }
}
@keyframes orbFloat2 {
    0%,100% { transform: translate(0,0); }
    50%      { transform: translate(30px,-30px); }
}
@keyframes orbFloat3 {
    0%,100% { transform: translate(0,0); }
    50%      { transform: translate(-20px,20px); }
}
.bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(79,209,255,0.08) 1px, transparent 1px);
    background-size: 40px 40px;
}
.bg-letters { position: absolute; inset: 0; }
.bgl {
    position: absolute;
    font-family: 'Amiri', serif;
    font-weight: 700;
    color: transparent;
    background: linear-gradient(135deg, rgba(79,209,255,0.07), rgba(168,85,247,0.07));
    -webkit-background-clip: text;
    background-clip: text;
    pointer-events: none;
    user-select: none;
}
.bgl-1 { font-size: clamp(120px,18vw,220px); top: 5%;  right: 5%;  animation: letterDrift 18s ease-in-out infinite; }
.bgl-2 { font-size: clamp(100px,14vw,180px); top: 55%; right: 20%; animation: letterDrift 22s ease-in-out infinite reverse; }
.bgl-3 { font-size: clamp(90px,12vw,160px);  top: 20%; left: 10%;  animation: letterDrift 16s ease-in-out infinite 2s; }
.bgl-4 { font-size: clamp(80px,10vw,140px);  top: 70%; left: 25%;  animation: letterDrift 20s ease-in-out infinite 4s; }
@keyframes letterDrift {
    0%,100% { transform: translate(0,0) rotate(0deg); opacity: 0.6; }
    33%      { transform: translate(15px,-20px) rotate(3deg); opacity: 1; }
    66%      { transform: translate(-10px,15px) rotate(-2deg); opacity: 0.7; }
}

/* ================================================
   SECTION BACKGROUNDS — خلفية مختلفة لكل قسم
================================================ */

 
.hero {
    background: linear-gradient(160deg, #f8f0ff 0%, #f3eeff 50%, #ede8ff 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(rgba(79,209,255,0.25), transparent 65%);
    top: -200px; right: -150px;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(rgba(168,85,247,0.18), transparent 65%);
    bottom: -120px; left: -100px;
    pointer-events: none;
}

 
.marquee-strip { display: none; }

 
.offering-section-wrap {
    background: linear-gradient(160deg, #f8f0ff 0%, #f3eeff 50%, #ede8ff 100%);
    position: relative;
    overflow: hidden;
}
.offering-section-wrap::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(rgba(168,85,247,0.15), transparent 65%);
    top: -180px; left: -100px;
    pointer-events: none;
    z-index: 0;
}

 
.stats-section-wrap {
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.stats-section-wrap::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(rgba(79,209,255,0.07) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
    z-index: 0;
}
.stats-section-wrap::after {
    content: '';
    position: absolute;
    width: 450px; height: 450px; border-radius: 50%;
    background: radial-gradient(rgba(59,130,246,0.1), transparent 65%);
    bottom: -150px; right: -100px;
    pointer-events: none;
}

 
.how-section-wrap {
    background: linear-gradient(160deg, #eef3ff 0%, #f0f7ff 50%, #e8f4ff 100%);
    position: relative;
    overflow: hidden;
}
.how-section-wrap::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(rgba(59,130,246,0.13), transparent 65%);
    top: -150px; left: -120px;
    pointer-events: none;
}
.how-section-wrap::after {
    content: '';
    position: absolute;
    width: 350px; height: 350px; border-radius: 50%;
    background: radial-gradient(rgba(79,209,255,0.12), transparent 65%);
    bottom: -100px; right: -80px;
    pointer-events: none;
}

 
.publish-section-wrap {
    background: linear-gradient(135deg, #e8fbff 0%, #f5eeff 100%);
    position: relative;
    overflow: hidden;
}
.publish-section-wrap::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(rgba(79,209,255,0.2), transparent 65%);
    top: -150px; right: -100px;
    pointer-events: none;
    z-index: 0;
}
.publish-section-wrap::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(rgba(168,85,247,0.15), transparent 65%);
    bottom: -120px; left: -80px;
    pointer-events: none;
    z-index: 0;
}

/* ================================================
   HEADER
================================================ */
.main-header {
    position: fixed; left: 0; right: 0; height: 80px;
    background: rgba(248,249,252,0.0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    padding: 0 24px;
    box-shadow: none;
    border-bottom: 1px solid transparent;
    z-index: 2000;
    transition: background 0.4s ease, backdrop-filter 0.4s ease,
                box-shadow 0.4s ease, border-color 0.4s ease;
}
.main-header.scrolled {
    background: rgba(248,249,252,0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 1px 0 rgba(79,209,255,0.12), 0 4px 24px rgba(79,209,255,0.06);
    border-bottom-color: rgba(79,209,255,0.1);
}
.logo {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo a { display:flex; align-items:center; text-decoration:none; justify-content: center; }
.logo img { height:46px; display:block; }
.logo-fallback { display:none; }

 
.logo-text {
    font-family: 'Cairo', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: 1px;
    display: inline-block;
    background: linear-gradient(135deg,
        #0ea5e9 0%,
        #4FD1FF 30%,
        #A855F7 65%,
        #7c3aed 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter:
        drop-shadow(0 0 8px rgba(79,209,255,0.5))
        drop-shadow(0 0 20px rgba(168,85,247,0.3));
    transition: filter 0.3s ease;
}
.logo a:hover .logo-text {
    filter:
        drop-shadow(0 0 12px rgba(79,209,255,0.8))
        drop-shadow(0 0 32px rgba(168,85,247,0.55));
}
.menu-btn {
    grid-column: 1;
    width:44px; height:44px;
    background: rgba(79,209,255,0.08);
    border: 1px solid rgba(79,209,255,0.2);
    border-radius: 12px;
    font-size: 20px; color:var(--cyan);
    cursor:pointer; transition: all 0.3s ease;
    display:flex; align-items:center; justify-content:center;
    flex-shrink: 0;
    justify-self: start;
}
.menu-btn:hover { color:var(--purple); background: rgba(168,85,247,0.1); border-color: rgba(168,85,247,0.3); transform:scale(1.05); }


 
.sidebar-logo__img {
    height: 44px;
    display: block;
    object-fit: contain;
}

 
.sidebar-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    justify-content: center;
}
.sidebar-social-link {
    width: 38px; height: 38px;
    border-radius: 11px;
    border: 1.5px solid transparent;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(.22,.68,0,1.2);
}
.sidebar-social-link--fb {
    background: rgba(24,119,242,0.08);
    border-color: rgba(24,119,242,0.2);
    color: #1877F2;
}
.sidebar-social-link--fb:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(24,119,242,0.35);
}
.sidebar-social-link--ig {
    background: rgba(225,48,108,0.08);
    border-color: rgba(225,48,108,0.2);
    color: #E1306C;
}
.sidebar-social-link--ig:hover {
    background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(225,48,108,0.35);
}
.sidebar-social-link--wa {
    background: rgba(37,211,102,0.08);
    border-color: rgba(37,211,102,0.2);
    color: #25D366;
}
.sidebar-social-link--wa:hover {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(37,211,102,0.35);
}

/* ================================================
   OVERLAY
================================================ */
.overlay {
    position: fixed; inset: 0;
    background: rgba(10,14,26,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 9000;
}
.overlay.active { opacity: 1; visibility: visible; }

/* ================================================
   SIDEBAR
================================================ */
.art-sidebar {
    position: fixed;
    top: 0; right: 0;
    width: 300px;
    height: 100vh;
    background: linear-gradient(160deg, rgba(248,249,252,0.97) 0%, rgba(240,245,255,0.97) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(79,209,255,0.15);
    box-shadow: -8px 0 40px rgba(79,209,255,0.08), -2px 0 12px rgba(0,0,0,0.06);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(.77,0,.18,1);
    z-index: 9001;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}
.art-sidebar.active { transform: translateX(0); }

 
.art-sidebar::before {
    content: '';
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(rgba(79,209,255,0.08), transparent 70%);
    top: -100px; right: -80px;
    pointer-events: none;
}
.art-sidebar::after {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(rgba(168,85,247,0.07), transparent 70%);
    bottom: -60px; left: -60px;
    pointer-events: none;
}

.close-btn {
    position: absolute;
    top: 24px; left: 16px;
    width: 32px; height: 32px;
    border-radius: 9px;
    border: 1px solid rgba(79,209,255,0.2);
    background: rgba(79,209,255,0.07);
    color: var(--muted);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
}
.close-btn:hover {
    background: rgba(168,85,247,0.1);
    border-color: rgba(168,85,247,0.3);
    color: var(--purple);
    transform: rotate(90deg);
}

 
.sidebar-logo {
    padding: 22px 28px 18px;
    border-bottom: 1px solid rgba(79,209,255,0.1);
    margin-bottom: 8px;
    position: relative; z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sidebar-logo a { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.sidebar-logo .logo-text { font-size: 2rem; }
.sidebar-logo__img { height: 52px; object-fit: contain; display: block; }

 
.menu-item {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10px;
    padding: 13px 20px;
    color: var(--dark);
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 0;
    margin: 0;
    text-decoration: none;
    position: relative; z-index: 1;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s, background 0.3s;
    background: transparent;
}
.menu-item:not(:last-of-type)::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 20px; left: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent);
    border-radius: 2px;
}
.menu-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    transition: color 0.3s;
}
.menu-item__text {
    flex: 1;
    text-align: right;
}

.menu-item::before {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 3px 0 0 3px;
    background: linear-gradient(180deg, var(--cyan), var(--purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.menu-item:hover {
    background: linear-gradient(90deg, rgba(79,209,255,0.04), rgba(168,85,247,0.06));
}
.menu-item:hover,
.menu-item:focus {
    background: linear-gradient(90deg, rgba(79,209,255,0.04), rgba(168,85,247,0.06));
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-text-fill-color: transparent;
}
.menu-item:hover svg,
.menu-item:focus svg {
    color: var(--cyan);
    -webkit-text-fill-color: unset;
}
.menu-item:hover::before { opacity: 1; }
.art-sidebar.active .menu-item { opacity: 1; transform: translateX(0); }
.art-sidebar.active .item1{transition-delay:0.08s;}
.art-sidebar.active .item2{transition-delay:0.14s;}
.art-sidebar.active .item3{transition-delay:0.20s;}
.art-sidebar.active .item4{transition-delay:0.26s;}
.art-sidebar.active .item5{transition-delay:0.32s;}
.art-sidebar.active .item6{transition-delay:0.38s;}
.art-sidebar.active .item7{transition-delay:0.44s;}
.art-sidebar.active .item8{transition-delay:0.50s;}

 
.sidebar-footer {
    margin-top: auto;
    padding: 16px 20px;
    border-top: 1px solid rgba(79,209,255,0.1);
    position: relative; z-index: 1;
}
.sidebar-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 20px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(79,209,255,0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(79,209,255,0.45);
}

/* ================================================
   MAIN WRAPPER
================================================ */
.home-page { position:relative; z-index:1; padding-top:85px; }

/* ================================================
   HERO
================================================ */
.hero {
    min-height:calc(100vh - 85px); display:flex; flex-direction:column;
    align-items:center; justify-content:center; text-align:center;
    padding:80px 24px 120px; position:relative; overflow:hidden;
}
.hero-big-letter {
    position:absolute; font-family:'Amiri',serif;
    font-size:clamp(220px,32vw,380px); font-weight:700;
    color:transparent;
    background:linear-gradient(135deg,rgba(79,209,255,0.06),rgba(168,85,247,0.06));
    -webkit-background-clip:text; background-clip:text;
    top:50%; left:50%; transform:translate(-50%,-55%);
    pointer-events:none; user-select:none; z-index:0;
}
.hero > *:not(.hero-big-letter) { position:relative; z-index:1; }
.hero-badge {
    display:inline-flex; align-items:center; gap:8px;
    background:rgba(79,209,255,0.1); border:1px solid rgba(79,209,255,0.35);
    color:#0284c7; padding:9px 24px; border-radius:100px;
    font-size:1rem; font-weight:700; margin-bottom:36px;
    animation:fadeUp 0.7s ease both;
}
.hero-badge::before { content:'✦'; font-size:0.7rem; }
.hero-title {
    font-family:'Amiri',serif; font-size:clamp(3.8rem,11vw,8rem); font-weight:700;
    line-height:1.15; margin-bottom:18px;
    background:linear-gradient(135deg,var(--cyan) 0%,var(--purple) 50%,var(--blue) 100%);
    -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
    animation:fadeUp 0.8s ease both; animation-delay:0.1s;
}
.hero-subtitle {
    font-family:'Amiri',serif; font-size:clamp(1.6rem,3.5vw,2.4rem); color:var(--muted);
    margin-bottom:22px; animation:fadeUp 0.8s ease both; animation-delay:0.2s;
}
.hero-desc {
    font-size:1.15rem; color:var(--muted); max-width:620px; line-height:2;
    margin-bottom:52px; animation:fadeUp 0.8s ease both; animation-delay:0.3s;
}
.hero-actions {
    display:flex; gap:18px; flex-wrap:wrap; justify-content:center;
    animation:fadeUp 0.8s ease both; animation-delay:0.4s;
}
@keyframes fadeUp {
    from { opacity:0; transform:translateY(28px); }
    to   { opacity:1; transform:translateY(0); }
}

/* ================================================
   BUTTONS
================================================ */
.btn-primary {
    display:inline-block;
    background:linear-gradient(135deg,var(--cyan),var(--purple));
    color:var(--white); padding:16px 44px; border-radius:50px;
    font-family:'Cairo',sans-serif; font-weight:700; font-size:1.1rem;
    border:none; cursor:pointer; transition:transform 0.3s,box-shadow 0.3s;
    box-shadow:0 8px 28px rgba(79,209,255,0.35);
}
.btn-primary:hover { transform:translateY(-4px); box-shadow:0 16px 40px rgba(79,209,255,0.45); }
.btn-outline {
    display:inline-block; background:transparent; color:var(--dark);
    padding:16px 44px; border-radius:50px;
    font-family:'Cairo',sans-serif; font-weight:700; font-size:1.1rem;
    border:2px solid rgba(79,209,255,0.45); cursor:pointer; transition:all 0.3s;
}
.btn-outline:hover { border-color:var(--cyan); background:rgba(79,209,255,0.06); transform:translateY(-4px); }

/* ================================================
   STATS — تصميم احترافي
================================================ */
.stats-section {
    padding: 70px 24px 90px;
    max-width: 1100px;
    margin: 0 auto;
}

 
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    background: linear-gradient(145deg, #0f0c1d 0%, #1a1035 50%, #0d1526 100%);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow:
        0 0 0 1px rgba(79,209,255,0.12),
        0 24px 64px rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.05);
    position: relative;
}
.stats-bar::before {
    content:'';
    position:absolute; top:0; left:0; right:0; height:1px;
    background: linear-gradient(90deg, transparent, rgba(79,209,255,0.5), rgba(168,85,247,0.5), transparent);
}
.sbar-item {
    padding: 36px 24px;
    text-align: center;
    position: relative;
    transition: background 0.3s;
}
.sbar-item:not(:last-child)::after {
    content:'';
    position:absolute; top:20%; left:0; height:60%;
    width:1px; background: rgba(255,255,255,0.06);
}
.sbar-item:hover { background: rgba(79,209,255,0.04); }

.sbar-num {
    display: inline;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #4FD1FF, #A855F7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}
.sbar-plus {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #4FD1FF, #A855F7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sbar-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.45);
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

 
.stats-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.sdetail-card {
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(79,209,255,0.16);
    border-radius: 20px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(79,209,255,0.07);
    transition: box-shadow 0.3s, transform 0.3s;
}
.sdetail-card:hover {
    box-shadow: 0 12px 40px rgba(79,209,255,0.12);
    transform: translateY(-3px);
}
.sdetail-card::before { display: none; }
.sdetail-card::after  { display: none; }
.sdetail-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.sdetail-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.sgeo-badge {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cyan);
    background: rgba(79,209,255,0.08);
    border: 1px solid rgba(79,209,255,0.2);
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

 
.donut-wrap {
    display: flex;
    align-items: center;
    gap: 28px;
}
.donut-svg {
    width: 140px; height: 140px;
    flex-shrink: 0;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 12px rgba(79,209,255,0.2));
}
.donut-ring { fill:none; stroke:rgba(0,0,0,0.06); stroke-width:13; }
.donut-seg  { fill:none; stroke-width:13; stroke-linecap:butt; }
.seg-1 { stroke:#4FD1FF; filter: drop-shadow(0 0 4px rgba(79,209,255,0.6)); }
.seg-2 { stroke:#A855F7; filter: drop-shadow(0 0 4px rgba(168,85,247,0.6)); }
.seg-3 { stroke:#3B82F6; }
.seg-4 { stroke:#06b6d4; }
.donut-num {
    fill: #1a1a2e;
    font-size: 15px; font-weight: 900;
    text-anchor: middle;
    transform: rotate(90deg) translate(0,-120px);
}
.donut-sub {
    fill: rgba(0,0,0,0.4);
    font-size: 8px; font-weight: 500;
    text-anchor: middle;
    transform: rotate(90deg) translate(0,-120px);
}
.donut-legend { display:flex; flex-direction:column; gap:12px; }
.dleg-item  { display:flex; align-items:center; gap:10px; }
.dleg-dot   { width:8px; height:8px; border-radius:2px; flex-shrink:0; }
.dot-1 { background:#4FD1FF; box-shadow:0 0 6px rgba(79,209,255,0.7); }
.dot-2 { background:#A855F7; box-shadow:0 0 6px rgba(168,85,247,0.7); }
.dot-3 { background:#3B82F6; }
.dot-4 { background:#06b6d4; }
.dleg-name { color:var(--muted); font-weight:500; font-size:0.85rem; flex:1; }
.dleg-pct  { color:var(--dark); font-weight:700; font-size:0.85rem; }

 
.geo-list { display:flex; flex-direction:column; gap:16px; }
.geo-item { display:flex; align-items:center; gap:12px; }
.geo-flag {
    font-size: 0.65rem; font-weight: 800;
    color: var(--cyan);
    background: rgba(79,209,255,0.08);
    border: 1px solid rgba(79,209,255,0.18);
    padding: 4px 8px; border-radius: 6px;
    flex-shrink: 0; letter-spacing: 1px;
    min-width: 36px; text-align:center;
}
.geo-name {
    font-size: 0.88rem; font-weight: 600;
    color: var(--dark);
    width: 64px; text-align: right; flex-shrink: 0;
}
.geo-bar-wrap {
    flex:1; height: 5px;
    background: rgba(79,209,255,0.1);
    border-radius: 10px; overflow:hidden;
}
.geo-bar {
    height: 100%; border-radius: 10px;
    background: linear-gradient(90deg, #A855F7, #4FD1FF);
    box-shadow: 0 0 8px rgba(79,209,255,0.3);
    transition: width 1s cubic-bezier(.4,0,.2,1);
}
.geo-pct {
    font-size: 0.78rem; font-weight: 700;
    color: var(--muted);
    width: 32px; text-align: left; flex-shrink: 0;
}

/* ================================================
   SHARED SVG ICON MASKS
================================================ */
[class*="ti-"]::before, [class*="hstat-icon"]::before, [class*="smet-icon"]::before {
    content: '';
    display: block;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-size: contain; mask-size: contain;
}
.ti-users::before, .hstat-icon.ti-users::before, .smet-icon.ti-users::before {
    width: 20px; height: 20px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}
.ti-read::before {
    width: 20px; height: 20px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}
.ti-book::before {
    width: 20px; height: 20px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
}
.ti-star::before {
    width: 20px; height: 20px;
    background: linear-gradient(135deg, #f59e0b, #fde68a);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E");
}
.ti-pen::before {
    width: 20px; height: 20px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E");
}
.ti-house::before {
    width: 20px; height: 20px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3Cline x1='12' y1='12' x2='12' y2='16'/%3E%3Cline x1='10' y1='14' x2='14' y2='14'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='20' height='14' rx='2'/%3E%3Cpath d='M16 7V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2'/%3E%3Cline x1='12' y1='12' x2='12' y2='16'/%3E%3Cline x1='10' y1='14' x2='14' y2='14'/%3E%3C/svg%3E");
}

/* ================================================
   STATS SECTION
================================================ */
.stats-section {
    padding: 60px 20px 80px;
    max-width: 1080px;
    margin: 0 auto;
}

/* ================================================
   MARQUEE STRIP
================================================ */
.marquee-strip {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(79,209,255,0.04) 0%, rgba(168,85,247,0.04) 100%);
    border-top: 1px solid rgba(79,209,255,0.13);
    border-bottom: 1px solid rgba(168,85,247,0.1);
    padding: 18px 0;
    position: relative;
    direction: ltr;
}
.marquee-strip::before,
.marquee-strip::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.marquee-strip::before {
    left: 0;
    background: linear-gradient(to right, #F8F9FC 30%, transparent);
}
.marquee-strip::after {
    right: 0;
    background: linear-gradient(to left, #F8F9FC 30%, transparent);
}
.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marqueeScroll 60s linear infinite;
    will-change: transform;
    direction: ltr;
}
.marquee-strip:hover .marquee-track {
    animation-play-state: paused;
}
@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-item {
    font-size: 1.05rem;
    font-weight: 700;
    color: #6b7896;
    white-space: nowrap;
    padding: 0 28px;
    display: inline-block;
    direction: rtl;
}
.marquee-item:hover {
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: default;
}
.marquee-sep {
    font-size: 0.6rem;
    color: rgba(79,209,255,0.55);
    display: inline-block;
    flex-shrink: 0;
    padding: 0 4px;
}

/* ================================================
   OFFERING SECTION — ماذا تقدم حروف
================================================ */
.offering-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 70px 20px 60px;
}

.offering-header {
    text-align: center;
    margin-bottom: 60px;
}
.offering-eyebrow {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}
.offering-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 14px;
    line-height: 1.4;
}
.offering-sub {
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.8;
}

 
.offering-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1160px;
    margin: 0 auto;
}
.offering-box {
    background: transparent;
    border-radius: 28px;
    padding: 40px 44px;
    box-shadow: 0 4px 24px rgba(79,209,255,0.06);
    transition: box-shadow 0.3s, transform 0.3s;
    position: relative;
    isolation: isolate;
    border: none;
}
 
.offering-box::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 30px;
    background: conic-gradient(
        from var(--angle, 0deg),
        rgba(79,209,255,0)    0%,
        rgba(79,209,255,0.5)  15%,
        rgba(168,85,247,0.6)  30%,
        rgba(79,209,255,0.4)  45%,
        rgba(79,209,255,0)    60%,
        rgba(79,209,255,0)   100%
    );
    z-index: -1;
    animation: rotateBorder 5s linear infinite;
    opacity: 0.55;
}
 
.offering-box::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 27px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(16px);
    z-index: -1;
}
 
.offering-box .offering-noise {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj4KICA8ZmlsdGVyIGlkPSJub2lzZSI+CiAgICA8ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC44NSIgbnVtT2N0YXZlcz0iNCIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPgogICAgPGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPgogICAgPGZlQmxlbmQgaW49IlNvdXJjZUdyYXBoaWMiIG1vZGU9Im92ZXJsYXkiLz4KICA8L2ZpbHRlcj4KICA8cmVjdCB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCIgZmlsdGVyPSJ1cmwoI25vaXNlKSIgb3BhY2l0eT0iMC4wMzUiLz4KPC9zdmc+");
    background-repeat: repeat;
    background-size: 200px 200px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes rotateBorder {
    from { --angle: 0deg; }
    to   { --angle: 360deg; }
}
.offering-box:hover {
    box-shadow: 0 14px 40px rgba(79,209,255,0.15);
    transform: translateY(-3px);
}
.offering-box:hover::before {
    opacity: 0.75;
}

 
.offering-col-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(79,209,255,0.12);
}
.offering-col-icon {
    width: 44px; height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(79,209,255,0.1), rgba(168,85,247,0.1));
    flex-shrink: 0;
    position: relative;
    display: flex; align-items: center; justify-content: center;
}
.offering-col-icon::before {
    content: '';
    display: block;
    width: 22px; height: 22px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-size: contain; mask-size: contain;
}
.oi-writers::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z'/%3E%3C/svg%3E");
}
.oi-publishers::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E");
}
.offering-col-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--dark);
}

 
.offering-list {
    list-style: none;
    padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 36px;
}

 
.offering-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 14px;
    border-radius: 14px;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    cursor: default;
}
.offering-item:hover {
    transform: translateY(-3px);
    background: rgba(79,209,255,0.04);
    box-shadow: 0 6px 20px rgba(79,209,255,0.08);
}
.offering-item:hover .oi-check {
    transform: scale(1.15);
    border-color: rgba(79,209,255,0.55);
    box-shadow: 0 0 8px rgba(79,209,255,0.3);
}

 
.offering-item--featured {
    border: 1px solid rgba(79,209,255,0.18);
    background: rgba(79,209,255,0.04);
    position: relative;
}
.offering-item--featured::after {
    content: 'الأكثر استخداماً';
    position: absolute;
    top: -10px; left: 14px;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border: 1px solid rgba(79,209,255,0.25);
    background-color: white;
    background-image: none;
    color: var(--cyan);
    -webkit-text-fill-color: unset;
    padding: 2px 8px;
    border-radius: 20px;
}

 
.oi-check {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(79,209,255,0.15), rgba(168,85,247,0.15));
    border: 1.5px solid rgba(79,209,255,0.28);
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    display: inline-block;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.oi-check::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 11px; height: 11px;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-position: center; mask-position: center;
}

 
.offering-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}
.offering-item p {
    font-size: 0.78rem;
    font-weight: 400;
    color: #aaa;
    line-height: 1.65;
    margin: 0;
}

 
@media (max-width: 900px) {
    .offering-list { grid-template-columns: repeat(2, 1fr); gap: 18px 24px; }
}
@media (max-width: 560px) {
    .offering-list { grid-template-columns: 1fr; gap: 16px; }
    .offering-box { padding: 24px 18px; }
    .marquee-strip { padding: 12px 0; }
    .marquee-item { font-size: 0.88rem; padding: 0 16px; }
    .marquee-strip::before,
    .marquee-strip::after { width: 40px; }
}
@media (max-width: 480px) {
    .offering-section { padding: 50px 14px 40px; }
    .offering-title { font-size: 1.4rem; }
}

/* ================================================
   STATS INTRO
================================================ */
.stats-intro {
    text-align: center;
    margin-bottom: 28px;
}
.stats-intro-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--muted);
    line-height: 2;
    max-width: 800px;
    margin: 0 auto;
}
.stats-intro-text strong {
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ================================================
   PRIMARY STATS — 6 كاردات بعرض الـ analytics
================================================ */
.primary-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

/* ================================================
   ANALYTICS + ACTIVITY ROW
================================================ */
.analytics-activity-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: start;
}
.stats-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.activity-stats-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 180px;
}

 
.stat-card--live {
    position: relative;
    padding-top: 28px !important;
}
.live-dot-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 9px; height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}
.live-dot--cyan   { background: var(--cyan);   animation: livePulse 2s infinite; }
.live-dot--purple { background: var(--purple); animation: livePulse 2.4s infinite; }
@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(79,209,255,0.5); }
    70%  { box-shadow: 0 0 0 7px rgba(79,209,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(79,209,255,0); }
}

.stat-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(79,209,255,0.13);
    border-radius: 20px;
    padding: 26px 12px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 18px rgba(79,209,255,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(79,209,255,0.35), rgba(168,85,247,0.35), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(79,209,255,0.12);
    border-color: rgba(79,209,255,0.26);
}
.stat-card:hover::before { opacity: 1; }

.stat-card--star:hover {
    box-shadow: 0 14px 36px rgba(245,158,11,0.12);
    border-color: rgba(245,158,11,0.26);
}

.stat-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(79,209,255,0.1), rgba(168,85,247,0.1));
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s;
}
.stat-card:hover .stat-icon { transform: scale(1.1); }
.stat-card--star .stat-icon {
    background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(253,230,138,0.08));
}

.stat-numwrap {
    display: flex; align-items: baseline; gap: 1px;
    margin-bottom: 8px;
}
.stat-num {
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #4FD1FF, #A855F7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-card--star .stat-num {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-plus {
    font-size: 0.8rem; font-weight: 900;
    background: linear-gradient(135deg, #4FD1FF, #A855F7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-denom {
    font-size: 0.85rem; font-weight: 700;
    color: #f59e0b;
    -webkit-text-fill-color: #f59e0b;
}
.stat-label {
    font-size: 0.88rem; font-weight: 600;
    color: #999;
    line-height: 1.45;
    max-width: 90px;
    text-align: center;
}


 
.stat-card--featured {
    border-color: rgba(245,158,11,0.2);
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,248,235,0.6));
    box-shadow: 0 6px 28px rgba(245,158,11,0.1);
}
.stat-card--featured .stat-num {
    font-size: 2.2rem;
}
.stat-card--featured .stat-denom {
    font-size: 1.1rem;
}
.stat-card--featured .stat-label {
    font-size: 0.9rem;
    color: #b45309;
}
.stat-card--featured:hover {
    box-shadow: 0 16px 40px rgba(245,158,11,0.18);
    border-color: rgba(245,158,11,0.35);
}


/* ================================================
   LINE CHART
================================================ */
.linechart-wrap {
    display: flex;
    gap: 8px;
    width: 100%;
    height: 100%;
    align-items: flex-end;
}
.linechart-yaxis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 180px;
    padding-bottom: 24px;
    flex-shrink: 0;
}
.linechart-yaxis span {
    font-size: 0.7rem;
    font-weight: 600;
    color: #bbb;
    text-align: left;
    line-height: 1;
}
.linechart-area {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.linechart-svg {
    width: 100%;
    height: 180px;
    overflow: visible;
}
.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 1.8s ease forwards 0.3s;
}
@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}
.chart-fill {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 1.5s;
}
.chart-dot {
    opacity: 0;
    animation: fadeIn 0.4s ease forwards;
}
.chart-dot:nth-child(4)  { animation-delay: 0.5s; }
.chart-dot:nth-child(5)  { animation-delay: 0.7s; }
.chart-dot:nth-child(6)  { animation-delay: 0.9s; }
.chart-dot:nth-child(7)  { animation-delay: 1.1s; }
.chart-dot:nth-child(8)  { animation-delay: 1.3s; }
.chart-dot:nth-child(9)  { animation-delay: 1.5s; }
.chart-dot:nth-child(10) { animation-delay: 1.7s; }
@keyframes fadeIn {
    to { opacity: 1; }
}
.linechart-xaxis {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}
.linechart-xaxis span {
    font-size: 0.68rem;
    font-weight: 600;
    color: #bbb;
    text-align: center;
}

 
@media (max-width: 1100px) {
    .primary-stats-grid { grid-template-columns: 1fr 1fr 1.4fr 1fr 1fr; }
    .analytics-activity-row { grid-template-columns: 1fr; }
    .activity-stats-col { flex-direction: row; width: 100%; }
    .activity-stats-col .stat-card { flex: 1; }
}
@media (max-width: 780px) {
    .primary-stats-grid { grid-template-columns: 1fr 1fr 1.4fr 1fr 1fr; }
    .stats-details-grid { grid-template-columns: 1fr; }
    .donut-wrap { flex-direction: column; align-items: center; }
    .donut-svg { width: 160px; height: 160px; }
    .stats-intro-text { font-size: 0.95rem; }
    .activity-stats-col { flex-direction: row; width: 100%; }
}
@media (max-width: 600px) {
     
    .primary-stats-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 10px;
    }
     
    .primary-stats-grid .stat-card:nth-child(1) { grid-column: 1; grid-row: 1; }
    .primary-stats-grid .stat-card:nth-child(2) { grid-column: 2; grid-row: 1; }
     
    .primary-stats-grid .stat-card--featured    { grid-column: 1 / -1; grid-row: 2; }
     
    .primary-stats-grid .stat-card:nth-child(4) { grid-column: 1; grid-row: 3; }
    .primary-stats-grid .stat-card:nth-child(5) { grid-column: 2; grid-row: 3; }

    .stat-card { padding: 20px 10px 16px; }
    .stat-num { font-size: 1.3rem; }
    .stat-card--featured .stat-num { font-size: 2rem; }
    .stat-label { font-size: 0.78rem; }
    .stats-section { padding: 36px 12px 50px; }
    .donut-svg { width: 130px; height: 130px; }
    .geo-list { gap: 12px; }
    .sdetail-card { padding: 24px 18px; }
    .stats-intro-text { font-size: 0.88rem; }
    .activity-stats-col { flex-direction: column; }
    .analytics-activity-row { grid-template-columns: 1fr; }
}

/* ================================================
   4. ANALYTICS GRID
================================================ */
.stats-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.sdetail-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(79,209,255,0.14);
    border-radius: 22px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(79,209,255,0.06);
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sdetail-card:hover {
    box-shadow: 0 14px 40px rgba(79,209,255,0.11);
    transform: translateY(-3px);
}
.sdetail-card::before { display: none; }
.sdetail-card::after  { display: none; }
.sdetail-title {
    font-size: 1rem; font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
}
.sdetail-head {
    display: flex; align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.sgeo-badge {
    font-size: 0.72rem; font-weight: 700;
    color: var(--cyan);
    background: rgba(79,209,255,0.08);
    border: 1px solid rgba(79,209,255,0.2);
    padding: 4px 12px; border-radius: 50px;
}

 
.donut-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }
.donut-svg {
    width: 200px; height: 200px; flex-shrink: 0;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 6px rgba(79,209,255,0.1));
}
.donut-ring { fill: none; stroke: rgba(0,0,0,0.06); stroke-width: 13; }
.donut-seg  { fill: none; stroke-width: 13; stroke-linecap: butt; }
.seg-1 { stroke: #4FD1FF; }
.seg-2 { stroke: #A855F7; }
.seg-3 { stroke: #3B82F6; }
.seg-4 { stroke: #06b6d4; }
.donut-num {
    fill: var(--dark); font-size: 18px; font-weight: 900;
    text-anchor: middle;
    transform: rotate(90deg) translate(0,-120px);
}
.donut-sub {
    fill: var(--muted); font-size: 9px; font-weight: 500;
    text-anchor: middle;
    transform: rotate(90deg) translate(0,-120px);
}
.donut-legend { display: flex; flex-direction: column; gap: 12px; }
.dleg-item  { display: flex; align-items: center; gap: 10px; }
.dleg-dot   { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.dot-1 { background: #4FD1FF; }
.dot-2 { background: #A855F7; }
.dot-3 { background: #3B82F6; }
.dot-4 { background: #06b6d4; }
.dleg-name { color: var(--muted); font-weight: 500; font-size: 0.85rem; flex: 1; }
.dleg-pct  { color: var(--dark); font-weight: 700; font-size: 0.85rem; }

 
.geo-list { display: flex; flex-direction: column; gap: 18px; }
.geo-item { display: flex; align-items: center; gap: 12px; }
.geo-flag {
    font-size: 0.65rem; font-weight: 800;
    color: var(--cyan);
    background: rgba(79,209,255,0.08);
    border: 1px solid rgba(79,209,255,0.18);
    padding: 4px 8px; border-radius: 6px;
    flex-shrink: 0; letter-spacing: 1px;
    min-width: 36px; text-align: center;
}
.geo-name {
    font-size: 0.88rem; font-weight: 600;
    color: var(--dark);
    width: 64px; text-align: right; flex-shrink: 0;
}
.geo-bar-wrap {
    flex: 1; height: 6px;
    background: rgba(79,209,255,0.08);
    border-radius: 10px; overflow: hidden;
}
.geo-bar {
    height: 100%; border-radius: 10px;
    background: linear-gradient(90deg, #A855F7, #4FD1FF);
    transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.geo-pct {
    font-size: 0.78rem; font-weight: 700;
    color: var(--muted);
    width: 34px; text-align: left; flex-shrink: 0;
}

 
@media (max-width: 1024px) {
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .sec-metrics-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 780px) {
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .sec-metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-details-grid { grid-template-columns: 1fr; }
    .live-strip { border-radius: 20px; padding: 14px 20px; }
    .live-divider { display: none; }
    .live-item { padding: 6px 12px; }
}
@media (max-width: 480px) {
    .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .hstat-card { padding: 26px 16px 22px; }
    .sec-metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .donut-wrap { flex-direction: column; }
    .stats-section { padding: 40px 14px 60px; }
}

/* ================================================
   SECTION TITLE
================================================ */
.section-title-wrap { text-align:center; margin-bottom:56px; }
.section-eyebrow {
    display:inline-block; font-size:0.9rem; font-weight:700; color:var(--cyan);
    letter-spacing:3px; text-transform:uppercase; margin-bottom:14px;
}
.section-divider {
    width:80px; height:3px;
    background:linear-gradient(90deg,var(--cyan),var(--purple));
    border-radius:10px; margin:0 auto 18px;
}
.section-heading {
    font-family:'Amiri',serif; font-size:clamp(2.2rem,4vw,3.4rem);
    font-weight:700; color:var(--dark); margin-bottom:16px;
}
.section-desc { font-size:1.05rem; color:var(--muted); max-width:580px; margin:0 auto; line-height:1.9; }

/* ================================================
   FEATURES GRID
================================================ */
.features-section { padding:100px 24px; max-width:1200px; margin:0 auto; }
.features-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.feature-card {
    background:rgba(255,255,255,0.88); backdrop-filter:blur(12px);
    border:1px solid rgba(79,209,255,0.14); border-radius:28px; padding:52px 44px;
    box-shadow:0 4px 28px var(--sh-sm); position:relative; overflow:hidden;
    transition:transform 0.4s,box-shadow 0.4s,border-color 0.4s;
}
.feature-card::after {
    content:''; position:absolute; inset:0;
    background:linear-gradient(135deg,rgba(79,209,255,0.04),rgba(168,85,247,0.04));
    opacity:0; transition:opacity 0.35s;
}
.feature-card:hover::after { opacity:1; }
.feature-card:hover { transform:translateY(-10px); box-shadow:0 28px 64px rgba(79,209,255,0.16); border-color:rgba(79,209,255,0.32); }
.feature-icon-wrap {
    width:78px; height:78px; border-radius:22px;
    background:linear-gradient(135deg,rgba(79,209,255,0.13),rgba(168,85,247,0.13));
    display:flex; align-items:center; justify-content:center;
    margin-bottom:26px; font-size:2.1rem; transition:background 0.3s,transform 0.3s;
}
.feature-card:hover .feature-icon-wrap {
    background:linear-gradient(135deg,rgba(79,209,255,0.25),rgba(168,85,247,0.25));
    transform:scale(1.08);
}
.feature-title { font-size:1.55rem; font-weight:700; color:var(--dark); margin-bottom:12px; }
.feature-desc  { font-size:1rem; color:var(--muted); line-height:1.9; margin-bottom:26px; }
.feature-link  { display:inline-flex; align-items:center; gap:6px; color:var(--cyan); font-weight:700; font-size:1rem; transition:gap 0.3s; }
.feature-card:hover .feature-link { gap:12px; }

/* ================================================
   HOW IT WORKS — 3 خطوات
================================================ */
.how-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 20px 80px;
}
.section-subtext {
    font-size: 1rem;
    color: var(--muted);
    text-align: center;
    margin-top: 8px;
    font-weight: 500;
}
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    position: relative;
}
 
.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    right: calc(16.66% + 12px);
    left: calc(16.66% + 12px);
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    opacity: 0.2;
    z-index: 0;
}

.step-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(79,209,255,0.12);
    border-radius: 24px;
    padding: 32px 28px 28px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(79,209,255,0.12);
    border-color: rgba(79,209,255,0.22);
}

.step-card-top {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}
.step-connector {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(79,209,255,0.15), transparent);
    position: absolute;
    left: -28px;
    right: 50%;
    display: none;
}

 
.step-badge {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 6px 20px rgba(79,209,255,0.3);
}
.step-badge-2 { background: linear-gradient(135deg, #6366F1, var(--purple)); box-shadow: 0 6px 20px rgba(99,102,241,0.3); }
.step-badge-3 { background: linear-gradient(135deg, var(--purple), #ec4899); box-shadow: 0 6px 20px rgba(168,85,247,0.3); }

.step-num-ar {
    font-size: 1.4rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

 
.step-icon-wrap {
    width: 56px; height: 56px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
}
.step-icon-1 { background: rgba(79,209,255,0.1); color: var(--cyan); }
.step-icon-2 { background: rgba(99,102,241,0.1); color: #6366F1; }
.step-icon-3 { background: rgba(168,85,247,0.1); color: var(--purple); }

.step-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}
.step-desc {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 20px;
}
.step-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(79,209,255,0.08);
    color: var(--cyan);
    border: 1px solid rgba(79,209,255,0.2);
}
.step-tag-2 { background: rgba(99,102,241,0.08); color: #6366F1; border-color: rgba(99,102,241,0.2); }
.step-tag-3 { background: rgba(168,85,247,0.08); color: var(--purple); border-color: rgba(168,85,247,0.2); }

@media (max-width: 780px) {
    .steps-grid { grid-template-columns: 1fr; gap: 16px; }
    .steps-grid::before { display: none; }
}

/* ================================================
   CTA / PUBLISH — Vibrant Light Theme
================================================ */
.publish-section { padding: 80px 24px; max-width: 1080px; margin: 0 auto; position: relative; z-index: 1; }
.offering-section { position: relative; z-index: 1; }
.how-section { position: relative; z-index: 1; }
.stats-section { position: relative; z-index: 1; }

.publish-card {
    background: linear-gradient(135deg, rgba(79,209,255,0.1) 0%, rgba(168,85,247,0.1) 50%, rgba(59,130,246,0.08) 100%);
    border: 2px solid rgba(79,209,255,0.35);
    border-radius: 40px;
    padding: 52px 56px 44px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(79,209,255,0.12), 0 6px 24px rgba(168,85,247,0.1);
}

.publish-card > * { position: relative; }

.publish-card h2 {
    font-family: 'Amiri', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
}
.publish-card p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 540px;
    margin: 0 auto 28px;
}

 
.publish-types { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.pub-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--dark);
    background: rgba(255,255,255,0.85);
    border: 1.5px solid rgba(79,209,255,0.3);
    box-shadow: 0 4px 14px rgba(79,209,255,0.1);
    backdrop-filter: blur(6px);
    transition: background 0.25s, border-color 0.25s, transform 0.2s, box-shadow 0.2s;
    cursor: default;
}
.pub-tag:hover {
    background: rgba(79,209,255,0.12);
    border-color: rgba(79,209,255,0.55);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79,209,255,0.18);
}
.pub-tag svg { color: var(--cyan); opacity: 0.85; flex-shrink: 0; }
.publish-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ================================================
   CTA APPLY BUTTONS — Bold Light Cards
================================================ */
.cta-apply-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 580px;
    margin: 0 auto 20px;
}
.cta-apply-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 22px;
    border-radius: 22px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

 
.cta-apply-writer {
    background: linear-gradient(135deg, rgba(79,209,255,0.14), rgba(59,130,246,0.1));
    border-color: rgba(79,209,255,0.4);
    box-shadow: 0 6px 22px rgba(79,209,255,0.15);
}
.cta-apply-writer:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(79,209,255,0.22), rgba(59,130,246,0.18));
    box-shadow: 0 14px 36px rgba(79,209,255,0.25);
    border-color: rgba(79,209,255,0.65);
}

 
.cta-apply-publisher {
    background: linear-gradient(135deg, rgba(168,85,247,0.14), rgba(236,72,153,0.1));
    border-color: rgba(168,85,247,0.4);
    box-shadow: 0 6px 22px rgba(168,85,247,0.15);
}
.cta-apply-publisher:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(168,85,247,0.22), rgba(236,72,153,0.18));
    box-shadow: 0 14px 36px rgba(168,85,247,0.25);
    border-color: rgba(168,85,247,0.65);
}

.cta-apply-icon {
    width: 46px; height: 46px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cta-apply-writer .cta-apply-icon {
    background: rgba(79,209,255,0.18);
    color: #0284c7;
    box-shadow: 0 4px 14px rgba(79,209,255,0.25);
}
.cta-apply-publisher .cta-apply-icon {
    background: rgba(168,85,247,0.18);
    color: var(--purple);
    box-shadow: 0 4px 14px rgba(168,85,247,0.25);
}
.cta-apply-text { flex: 1; text-align: right; }
.cta-apply-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}
.cta-apply-text span { font-size: 0.74rem; font-weight: 500; color: var(--muted); }
.cta-apply-arrow {
    flex-shrink: 0;
    color: #ccc;
    transition: color 0.2s, transform 0.2s;
}
.cta-apply-writer:hover .cta-apply-arrow { color: var(--cyan); transform: translateX(-4px); }
.cta-apply-publisher:hover .cta-apply-arrow { color: var(--purple); transform: translateX(-4px); }

.cta-contact-link {
    display: block;
    text-align: center;
    font-size: 0.83rem;
    font-weight: 600;
    color: #bbb;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.2s;
}
.cta-contact-link:hover { color: var(--cyan); }

@media (max-width: 520px) {
    .cta-apply-btns { grid-template-columns: 1fr; }
    .publish-card { padding: 52px 24px; }
}

/* ================================================
   FOOTER
================================================ */
/* ================================================
   FOOTER — Premium Dark
================================================ */
.site-footer {
    background: linear-gradient(160deg, #edf6ff 0%, #f3eeff 50%, #eef3ff 100%);
    border-top: 1px solid rgba(79,209,255,0.15);
    position: relative;
    overflow: hidden;
    z-index: 10;
}
.site-footer::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(rgba(79,209,255,0.1), transparent 70%);
    top: -180px; right: -100px;
    pointer-events: none;
}
.site-footer::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(rgba(168,85,247,0.08), transparent 70%);
    bottom: -120px; left: -80px;
    pointer-events: none;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 70px 32px 0;
    position: relative; z-index: 1;
}

 
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(79,209,255,0.15);
}

 
.footer-brand { }
.footer-brand .logo-text { font-size: 1.7rem; }
.footer-brand-tagline {
    font-family: 'Amiri', serif;
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.9;
    margin: 14px 0 24px;
    max-width: 260px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social-link {
    width: 40px; height: 40px;
    border-radius: 12px;
    border: 1.5px solid transparent;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(.22,.68,0,1.2);
}
 
.footer-social-link--fb {
    background: rgba(24,119,242,0.1);
    border-color: rgba(24,119,242,0.2);
    color: #1877F2;
}
.footer-social-link--fb:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(24,119,242,0.35);
}
 
.footer-social-link--ig {
    background: rgba(225,48,108,0.08);
    border-color: rgba(225,48,108,0.2);
    color: #E1306C;
}
.footer-social-link--ig:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(225,48,108,0.35);
}
 
.footer-social-link--wa {
    background: rgba(37,211,102,0.08);
    border-color: rgba(37,211,102,0.2);
    color: #25D366;
}
.footer-social-link--wa:hover {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(37,211,102,0.35);
}

 
.footer-col-title {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--dark);
    opacity: 0.45;
    margin-bottom: 22px;
    text-transform: uppercase;
}
.footer-col-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col-links a {
    color: var(--muted);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-col-links a::before {
    content: '';
    width: 0; height: 1px;
    background: var(--cyan);
    transition: width 0.25s ease;
    flex-shrink: 0;
}
.footer-col-links a:hover {
    color: var(--cyan);
}
.footer-col-links a:hover::before { width: 12px; }

 
.footer-bottom {
    padding: 22px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; z-index: 1;
}
.footer-copy {
    font-size: 0.88rem;
    color: var(--muted);
    opacity: 0.7;
    font-weight: 500;
    width: 100%;
    text-align: center;
}
.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    font-size: 0.75rem;
    color: var(--muted);
    opacity: 0.6;
    text-decoration: none;
    transition: color 0.25s, opacity 0.25s;
}
.footer-bottom-links a:hover { color: var(--cyan); opacity: 1; }

 
.footer-glow-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,209,255,0.25), rgba(168,85,247,0.25), transparent);
    position: relative; z-index: 1;
}

 
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand-tagline { max-width: 100%; }
}
@media (max-width: 560px) {
    .footer-inner { padding: 44px 20px 0; }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    .footer-brand-tagline { max-width: 100%; }
    .footer-social { justify-content: center; }
    .footer-col-title { font-size: 0.68rem; }
    .footer-col-links a { font-size: 0.82rem; }
    .footer-bottom {
        padding: 18px 20px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    .footer-bottom-links { justify-content: center; }
    .footer-copy { font-size: 0.72rem; }
}

 
.footer-logo-wrap { margin-bottom:18px; }
.footer-tagline { font-family:'Amiri',serif; font-size:1.05rem; color:var(--muted); margin-bottom:24px; }
.footer-links { display:flex; gap:28px; justify-content:center; flex-wrap:wrap; margin-bottom:24px; }
.footer-links a { color:var(--muted); font-size:0.95rem; font-weight:600; transition:color 0.3s; }
.footer-links a:hover { color:var(--cyan); }

/* ================================================
   SCROLL TO TOP
================================================ */
.scroll-top {
    position:fixed; bottom:32px; left:32px; width:48px; height:48px; border-radius:50%;
    background:linear-gradient(135deg,var(--cyan),var(--purple)); color:var(--white);
    border:none; cursor:pointer; font-size:1.3rem;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 6px 22px rgba(79,209,255,0.35); transition:all 0.3s;
    opacity:0; pointer-events:none; z-index:999;
}
.scroll-top.visible { opacity:1; pointer-events:all; }
.scroll-top:hover   { transform:translateY(-4px); }

/* ================================================
   RESPONSIVE
================================================ */
@media (max-width:900px) {
    .features-grid { grid-template-columns:1fr; }
    .stats-grid    { grid-template-columns:repeat(2,1fr); }
    .publish-card  { padding:52px 32px; }
}
@media (max-width:600px) {
    .hero-actions { flex-direction:column; align-items:center; }
    .steps-list::before { display:none; }
    .feature-card { padding:38px 28px; }
    .publish-card { padding:44px 24px; }
}
@media (prefers-reduced-motion:reduce) {
    *,*::before,*::after { animation-duration:0.01ms !important; transition-duration:0.01ms !important; }
}
/* ================================================
   TESTIMONIALS SECTION
================================================ */
.testi-section-wrap {
    background: linear-gradient(160deg, #f8f0ff 0%, #edf6ff 50%, #f0fbff 100%);
    position: relative;
    overflow: hidden;
}
.testi-section-wrap::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(rgba(79,209,255,0.09), transparent 68%);
    top: -180px; right: -150px;
    pointer-events: none; z-index: 0;
}
.testi-section-wrap::after {
    content: '';
    position: absolute;
    width: 450px; height: 450px; border-radius: 50%;
    background: radial-gradient(rgba(168,85,247,0.08), transparent 68%);
    bottom: -120px; left: -80px;
    pointer-events: none; z-index: 0;
}
.testi-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 90px 24px 100px;
    position: relative;
    z-index: 1;
}
.testi-section__inner { position: relative; }

 
.testi-section__head {
    text-align: center;
    margin-bottom: 60px;
}
.testi-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79,209,255,0.10);
    border: 1px solid rgba(79,209,255,0.22);
    color: #0891b2;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.testi-section__eyebrow-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    animation: testiPulse 2.2s ease-in-out infinite;
}
@keyframes testiPulse {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:.4; transform:scale(1.7); }
}
.testi-section__title {
    font-family: 'Amiri', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 14px;
}
.testi-section__sub {
    font-size: 0.98rem;
    color: var(--muted);
    max-width: 460px;
    margin: 0 auto;
    line-height: 1.85;
    font-weight: 500;
}

 
.testi-slider {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    margin-bottom: 36px;
}
.testi-slider__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.testi-slider__slide {
    min-width: 100%;
    padding: 4px 2px 8px;
    box-sizing: border-box;
}

 
.testi-slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 48px;
}
.testi-slider__btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(79,209,255,0.28);
    background: rgba(255,255,255,0.85);
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(79,209,255,0.08);
}
.testi-slider__btn:hover {
    background: rgba(79,209,255,0.1);
    border-color: var(--cyan);
    color: var(--dark);
    transform: scale(1.08);
    box-shadow: 0 4px 18px rgba(79,209,255,0.2);
}
.testi-slider__dots {
    display: flex;
    gap: 8px;
    align-items: center;
}
.testi-slider__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(79,209,255,0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.testi-slider__dot.is-active {
    width: 24px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    box-shadow: 0 2px 8px rgba(79,209,255,0.4);
}

 
.testi-card {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(79,209,255,0.13);
    border-radius: 26px;
    padding: 32px 26px 26px;
    position: relative;
    box-shadow: 0 2px 12px rgba(79,209,255,0.05);
    transition: transform 0.32s cubic-bezier(.22,.68,0,1.2),
                box-shadow 0.32s ease,
                border-color 0.32s ease;
     
    opacity: 0;
    transform: translateY(30px);
}
.testi-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.testi-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 48px rgba(79,209,255,0.13), 0 4px 16px rgba(168,85,247,0.08);
    border-color: rgba(79,209,255,0.38);
}
.testi-card::before {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: 27px;
    background: linear-gradient(135deg, rgba(79,209,255,0), rgba(168,85,247,0));
    transition: background 0.32s ease;
    z-index: -1;
    pointer-events: none;
}
.testi-card:hover::before {
    background: linear-gradient(135deg, rgba(79,209,255,0.18), rgba(168,85,247,0.12));
}


 
.testi-card__quote-mark {
    position: absolute;
    top: 18px; left: 22px;
    font-family: 'Amiri', serif;
    font-size: 4.5rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.11;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.3s;
}
.testi-card:hover .testi-card__quote-mark { opacity: 0.2; }

 
.testi-card__author {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 18px;
}
.testi-card__avatar {
    width: 50px; height: 50px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; font-weight: 900; color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.14);
    position: relative;
    transition: box-shadow 0.3s;
}
.testi-card:hover .testi-card__avatar {
    box-shadow: 0 6px 20px rgba(79,209,255,0.3);
}
.testi-card__info { flex: 1; text-align: right; }
.testi-card__name {
    font-size: 0.93rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
}
.testi-card__role {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}
.testi-card__role--writer {
    background: rgba(79,209,255,0.10);
    color: #0891b2;
    border: 1px solid rgba(79,209,255,0.2);
}
.testi-card__role--publisher {
    background: rgba(168,85,247,0.10);
    color: #7c3aed;
    border: 1px solid rgba(168,85,247,0.2);
}

 
.testi-card__stars {
    display: flex;
    gap: 2px;
    margin-bottom: 14px;
    justify-content: flex-start;
}
.testi-card__star {
    font-size: 0.88rem;
    color: #FBBF24;
    animation: starShine 3s ease-in-out infinite;
}
.testi-card__star:nth-child(1){animation-delay:0.0s}
.testi-card__star:nth-child(2){animation-delay:0.15s}
.testi-card__star:nth-child(3){animation-delay:0.3s}
.testi-card__star:nth-child(4){animation-delay:0.45s}
.testi-card__star:nth-child(5){animation-delay:0.6s}
@keyframes starShine {
    0%,75%,100%{ filter:brightness(1); }
    80%         { filter:brightness(1.8) drop-shadow(0 0 4px #FBBF24); }
}

 
.testi-card__text {
    font-size: 0.86rem;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.9;
    text-align: right;
    position: relative;
    z-index: 1;
}

 
.testi-card__footer {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid rgba(79,209,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.testi-card__platform {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--muted);
    opacity: 0.6;
}
.testi-card__platform-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    flex-shrink: 0;
}
.testi-card__date {
    font-size: 0.68rem;
    color: var(--muted);
    opacity: 0.5;
}

 
.testi-section__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}
.testi-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
}
.testi-trust-item__icon {
    width: 30px; height: 30px;
    border-radius: 9px;
    background: rgba(79,209,255,0.09);
    border: 1px solid rgba(79,209,255,0.16);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
}

 
@media (max-width: 580px) {
    .testi-section { padding: 64px 16px 72px; }
    .testi-section__head { margin-bottom: 40px; }
    .testi-section__trust { gap: 14px; }
    .testi-slider__btn { width: 38px; height: 38px; }
}
/* ================================================
   SEARCH BUTTON — HEADER
================================================ */
.search-btn {
    grid-column: 3;
    width: 44px; height: 44px;
    background: rgba(79,209,255,0.08);
    border: 1px solid rgba(79,209,255,0.2);
    border-radius: 12px;
    font-size: 20px; color: var(--cyan);
    cursor: pointer; transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    justify-self: end;
}
.search-btn:hover { color: var(--purple); background: rgba(168,85,247,0.1); border-color: rgba(168,85,247,0.3); transform: scale(1.05); }

/* ================================================
   SEARCH OVERLAY & MODAL
================================================ */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5,5,16,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 4000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 80px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.search-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}
.search-modal {
    width: 100%;
    max-width: 640px;
    margin: 0 16px;
    background: rgba(15,15,35,0.98);
    border: 1px solid rgba(79,209,255,0.2);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(79,209,255,0.05);
    transform: translateY(-16px);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.search-overlay.is-open .search-modal {
    transform: translateY(0);
}

 
.search-modal__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(79,209,255,0.15);
    border-radius: 12px;
    padding: 0 14px;
    transition: border-color 0.2s;
}
.search-input-wrap:focus-within {
    border-color: rgba(79,209,255,0.4);
    box-shadow: 0 0 0 3px rgba(79,209,255,0.08);
}
.search-modal__icon { color: var(--cyan); flex-shrink: 0; opacity: 0.7; }
.search-modal__input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    padding: 12px 0;
    text-align: right;
}
.search-modal__input::placeholder { color: rgba(255,255,255,0.3); }
.search-modal__clear {
    background: none; border: none; color: rgba(255,255,255,0.4);
    cursor: pointer; font-size: 14px; padding: 4px; line-height: 1;
    transition: color 0.2s;
}
.search-modal__clear:hover { color: #fff; }
.search-modal__close {
    background: none; border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; color: rgba(255,255,255,0.5);
    font-family: 'Cairo', sans-serif; font-size: 13px;
    padding: 6px 12px; cursor: pointer; white-space: nowrap;
    transition: all 0.2s;
}
.search-modal__close:hover { color: #fff; border-color: rgba(255,255,255,0.3); }

 
.search-results {
    max-height: 420px;
    overflow-y: auto;
    padding: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(79,209,255,0.2) transparent;
}
.search-hint {
    display: flex; flex-direction: column; align-items: center;
    gap: 12px; padding: 40px 20px; color: rgba(255,255,255,0.4);
    font-family: 'Cairo', sans-serif; font-size: 14px; text-align: center;
}

 
.search-result-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px; border-radius: 12px;
    cursor: pointer; transition: background 0.15s, transform 0.15s;
    text-decoration: none; color: inherit;
}
.search-result-item:hover { background: rgba(79,209,255,0.08); transform: translateX(-2px); }
.search-result-icon {
    width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 16px;
}
.search-result-icon--page { background: rgba(79,209,255,0.12); color: var(--cyan); }
.search-result-icon--book { background: rgba(168,85,247,0.12); color: #A855F7; }
.search-result-icon--author { background: rgba(16,185,129,0.12); color: #10B981; }
.search-result-body { flex: 1; min-width: 0; text-align: right; }
.search-result-title {
    font-family: 'Cairo', sans-serif; font-size: 14px; font-weight: 600;
    color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.search-result-title mark {
    background: rgba(79,209,255,0.25); color: var(--cyan);
    border-radius: 3px; padding: 0 2px;
}
.search-result-meta {
    font-family: 'Cairo', sans-serif; font-size: 12px;
    color: rgba(255,255,255,0.4); margin-top: 2px;
}
.search-result-badge {
    font-family: 'Cairo', sans-serif; font-size: 11px;
    padding: 2px 8px; border-radius: 20px; white-space: nowrap;
}
.search-result-badge--page { background: rgba(79,209,255,0.1); color: var(--cyan); }
.search-result-badge--book { background: rgba(168,85,247,0.1); color: #A855F7; }
.search-result-badge--author { background: rgba(16,185,129,0.1); color: #10B981; }
.search-result-badge--publisher { background: rgba(168,85,247,0.1); color: #A855F7; }
.search-result-icon--publisher  { background: rgba(168,85,247,0.12); color: #A855F7; }
 
.search-empty {
    padding: 32px 20px; text-align: center;
    font-family: 'Cairo', sans-serif; font-size: 14px;
    color: rgba(255,255,255,0.35);
}
.search-section-label {
    font-family: 'Cairo', sans-serif; font-size: 11px; font-weight: 600;
    color: rgba(255,255,255,0.25); text-transform: uppercase;
    letter-spacing: 0.05em; padding: 8px 14px 4px;
    text-align: right;
}
/* ================================================
   ██████╗ ███████╗███████╗██████╗  ██████╗ ███╗   ██╗███████╗██╗██╗   ██╗███████╗
   RESPONSIVE — FULL OVERHAUL
   Breakpoints:
     1200px  →  Large tablet / small desktop
      900px  →  Tablet landscape
      768px  →  Tablet portrait
      600px  →  Large phone
      480px  →  Medium phone
      360px  →  Small phone
================================================ */

/* ────────────────────────────────────────────────
   1. BASE — applies everywhere (تصحيح شامل)
──────────────────────────────────────────────── */
img, svg { max-width: 100%; }
.home-page { overflow-x: hidden; }

/* ────────────────────────────────────────────────
   2. LARGE TABLET  ≤ 1200px
──────────────────────────────────────────────── */
@media (max-width: 1200px) {
    .offering-list { grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }
    .offering-box  { padding: 36px 36px; }
    .primary-stats-grid { grid-template-columns: 1fr 1fr 1.3fr 1fr 1fr; gap: 10px; }
    .stats-section { padding: 60px 20px 80px; }
    .publish-card  { padding: 48px 44px; }
    .cta-apply-btns { max-width: 520px; }
    .how-section   { padding: 60px 20px 70px; }
    .testi-section { padding: 80px 20px 90px; }
    .footer-inner  { padding: 60px 24px 0; }
}

/* ────────────────────────────────────────────────
   3. TABLET LANDSCAPE  ≤ 900px
──────────────────────────────────────────────── */
@media (max-width: 900px) {
     
    .main-header {
        grid-template-columns: 44px 1fr 44px;
        padding: 0 16px;
    }

     
    .hero { padding: 60px 20px 90px; }
    .hero-title    { font-size: clamp(3rem, 9vw, 5.5rem); }
    .hero-subtitle { font-size: clamp(1.3rem, 3vw, 1.8rem); }
    .hero-desc     { font-size: 1rem; }
    .btn-primary, .btn-outline { padding: 14px 36px; font-size: 1rem; }

     
    .offering-section { padding: 60px 16px 50px; }
    .offering-box     { padding: 32px 28px; }
    .offering-title   { font-size: 1.7rem; }

     
    .stats-section { padding: 50px 16px 70px; }
    .stats-details-grid { grid-template-columns: 1fr; gap: 16px; }
    .sdetail-card  { padding: 28px 24px; }

     
    .how-section { padding: 50px 16px 60px; }
    .steps-grid  {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .steps-grid::before { display: none; }

     
    .publish-section { padding: 60px 16px; }
    .publish-card    { padding: 44px 32px; border-radius: 30px; }
    .publish-card h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
    .cta-apply-btns  { grid-template-columns: 1fr; max-width: 380px; }

     
    .testi-section { padding: 64px 16px 72px; }
    .testi-section__head { margin-bottom: 44px; }

     
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .footer-brand { grid-column: 1 / -1; }

     
    .art-sidebar { width: 280px; }
}

/* ────────────────────────────────────────────────
   4. TABLET PORTRAIT  ≤ 768px
──────────────────────────────────────────────── */
@media (max-width: 768px) {
     
    .hero { 
        min-height: calc(100svh - 114px) !important;
        height: calc(100svh - 114px);
        padding: 0 18px !important;
    }
    .hero-badge    { font-size: 0.85rem; padding: 7px 18px; margin-bottom: 28px; }
    .hero-title    { font-size: clamp(2.8rem, 10vw, 4.5rem); margin-bottom: 14px; }
    .hero-subtitle { font-size: clamp(1.2rem, 3.5vw, 1.6rem); margin-bottom: 18px; }
    .hero-desc     { font-size: 0.95rem; margin-bottom: 40px; }
    .hero-actions  { flex-direction: column; align-items: center; gap: 12px; }
    .btn-primary, .btn-outline { width: 100%; max-width: 280px; text-align: center; }

     
    .offering-header { margin-bottom: 40px; }
    .offering-col-title { font-size: 1.3rem; }
    .offering-list { grid-template-columns: 1fr; gap: 14px; }
    .offering-item { padding: 12px 10px; }
    .offering-item strong { font-size: 0.92rem; }
    .offering-item p      { font-size: 0.75rem; }

     
    .stats-intro-text { font-size: 0.9rem; }
    .primary-stats-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 10px;
    }
    .primary-stats-grid .stat-card:nth-child(1) { grid-column: 1; grid-row: 1; }
    .primary-stats-grid .stat-card:nth-child(2) { grid-column: 2; grid-row: 1; }
    .primary-stats-grid .stat-card--featured    { grid-column: 1 / -1; grid-row: 2; }
    .primary-stats-grid .stat-card:nth-child(4) { grid-column: 1; grid-row: 3; }
    .primary-stats-grid .stat-card:nth-child(5) { grid-column: 2; grid-row: 3; }
    .stat-num { font-size: 1.3rem; }
    .stat-card--featured .stat-num { font-size: 2rem; }
    .stat-label { font-size: 0.78rem; }

     
    .linechart-yaxis { display: none; }
    .linechart-wrap  { gap: 0; }
    .linechart-xaxis span { font-size: 0.6rem; }

     
    .steps-grid { max-width: 420px; }
    .step-card  { padding: 28px 22px 24px; }
    .step-title { font-size: 1.05rem; }
    .step-desc  { font-size: 0.82rem; }

     
    .publish-card { padding: 40px 24px; border-radius: 26px; }
    .pub-tag      { font-size: 0.8rem; padding: 8px 16px; }

     
    .testi-card { padding: 26px 20px 22px; }
    .testi-section__title { font-size: clamp(1.5rem, 4vw, 2rem); }

     
    .footer-inner  { padding: 48px 18px 0; }
    .footer-grid   { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
    .footer-brand  { grid-column: 1 / -1; text-align: center; }
    .footer-social { justify-content: center; }
    .footer-brand-tagline { max-width: 100%; text-align: center; }

     
    .scroll-top { bottom: 20px; left: 20px; width: 42px; height: 42px; font-size: 1.1rem; }
}

/* ────────────────────────────────────────────────
   5. LARGE PHONE  ≤ 600px
──────────────────────────────────────────────── */
@media (max-width: 600px) {
     
    .main-header {
        height: 72px;
        padding: 0 14px;
        grid-template-columns: 40px 1fr 40px;
    }
    .menu-btn, .search-btn { width: 40px; height: 40px; }
    .logo img { height: 42px; }
    .logo-text { font-size: 1.5rem !important; }

     
    .hero { padding: 40px 16px 70px; }
    .hero-big-letter { font-size: clamp(160px, 60vw, 260px); }
    .hero-title    { font-size: clamp(2.5rem, 12vw, 3.8rem); }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-desc     { font-size: 0.88rem; line-height: 1.85; }

     
    .marquee-item { font-size: 0.82rem; padding: 0 14px; }
    .marquee-strip { padding: 10px 0; }
    .marquee-strip::before,
    .marquee-strip::after { width: 30px; }

     
    .offering-section { padding: 44px 14px 36px; }
    .offering-title   { font-size: 1.3rem; }
    .offering-sub     { font-size: 0.88rem; }
    .offering-box     { padding: 24px 18px; border-radius: 20px; }
    .offering-col-header { gap: 10px; margin-bottom: 24px; }
    .offering-col-title  { font-size: 1.2rem; }

     
    .stats-section { padding: 36px 12px 48px; }
    .stats-intro-text { font-size: 0.85rem; }
    .stat-card { padding: 18px 8px 16px; border-radius: 16px; }
    .stat-num  { font-size: 1.2rem; }
    .stat-card--featured .stat-num { font-size: 1.85rem; }
    .stat-label { font-size: 0.72rem; max-width: 80px; }
    .sdetail-card { padding: 22px 16px; border-radius: 18px; }
    .geo-list  { gap: 10px; }
    .geo-name  { font-size: 0.78rem; width: 52px; }
    .sgeo-badge { font-size: 0.65rem; }

     
    .how-section { padding: 40px 14px 50px; }
    .section-heading { font-size: clamp(1.7rem, 6vw, 2.4rem); }
    .section-eyebrow { font-size: 0.75rem; letter-spacing: 2px; }
    .steps-grid { max-width: 100%; }
    .step-badge { width: 44px; height: 44px; }
    .step-num-ar { font-size: 1.2rem; }
    .step-icon-wrap { width: 48px; height: 48px; }

     
    .publish-section { padding: 40px 14px; }
    .publish-card    { padding: 36px 18px 32px; border-radius: 22px; }
    .publish-card h2 { font-size: 1.7rem; }
    .publish-card p  { font-size: 0.88rem; }
    .publish-types   { gap: 8px; }
    .pub-tag         { font-size: 0.75rem; padding: 7px 14px; }
    .cta-apply-btns  { grid-template-columns: 1fr; max-width: 100%; gap: 12px; }
    .cta-apply-btn   { padding: 16px 18px; border-radius: 18px; }
    .cta-apply-icon  { width: 40px; height: 40px; border-radius: 12px; }
    .cta-apply-text strong { font-size: 0.88rem; }
    .cta-apply-text span   { font-size: 0.7rem; }

     
    .testi-section     { padding: 52px 14px 60px; }
    .testi-card        { padding: 22px 16px 20px; border-radius: 20px; }
    .testi-card__name  { font-size: 0.85rem; }
    .testi-card__text  { font-size: 0.82rem; }
    .testi-card__quote-mark { font-size: 3.5rem; }
    .testi-slider__btn { width: 38px; height: 38px; }

     
    .footer-grid       { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
    .footer-brand .logo-text { font-size: 1.4rem !important; }
    .footer-brand-tagline { font-size: 0.9rem; }
    .footer-col-links a { font-size: 0.8rem; }
    .footer-bottom { padding: 16px 18px; }
    .footer-copy   { font-size: 0.7rem; }

     
    .search-overlay {
        padding-top: 0;
        align-items: flex-start;
    }
    .search-modal {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0 0 20px 20px;
        border-top: none;
        border-left: none;
        border-right: none;
    }
    .search-modal__head {
        padding-top: max(14px, env(safe-area-inset-top, 14px));
        padding-left: 14px;
        padding-right: 14px;
    }
    .search-results { max-height: 60vh; }

     
    .art-sidebar { width: 100%; max-width: 300px; }
}

/* ────────────────────────────────────────────────
   6. MEDIUM PHONE  ≤ 480px
──────────────────────────────────────────────── */
@media (max-width: 480px) {
     
    .hero-title    { font-size: clamp(2.2rem, 13vw, 3.2rem); }
    .hero-subtitle { font-size: 1rem; }
    .hero-badge    { font-size: 0.78rem; padding: 6px 14px; }
    .btn-primary, .btn-outline { padding: 13px 28px; font-size: 0.95rem; max-width: 240px; }

     
    .offering-col-icon { width: 38px; height: 38px; }
    .offering-item { gap: 10px; }
    .oi-check { width: 20px; height: 20px; }

     
    .primary-stats-grid { gap: 8px; }
    .stat-card { border-radius: 14px; }

     
    .section-heading { font-size: clamp(1.5rem, 7vw, 2rem); }
    .section-desc { font-size: 0.88rem; }

     
    .step-card  { padding: 24px 18px 20px; border-radius: 20px; }
    .step-badge { width: 40px; height: 40px; }

     
    .testi-section__title { font-size: clamp(1.3rem, 6vw, 1.8rem); }
    .testi-section__sub   { font-size: 0.85rem; }
    .testi-card__avatar   { width: 42px; height: 42px; font-size: 1rem; }

     
    .footer-inner { padding: 40px 16px 0; }
    .footer-grid  { gap: 20px 14px; }
    .footer-col-links a { font-size: 0.78rem; }

     
    .scroll-top { bottom: 16px; left: 16px; width: 38px; height: 38px; font-size: 1rem; }
}

/* ────────────────────────────────────────────────
   7. SMALL PHONE  ≤ 360px
──────────────────────────────────────────────── */
@media (max-width: 360px) {
     
    .main-header { padding: 0 10px; }
    .logo img    { height: 38px; }
    .logo-text   { font-size: 1.3rem !important; }

     
    .hero { padding: 32px 12px 60px; }
    .hero-title    { font-size: clamp(2rem, 14vw, 2.8rem); }
    .hero-desc     { font-size: 0.82rem; }

     
    .offering-box   { padding: 20px 14px; }
    .offering-title { font-size: 1.2rem; }

     
    .stat-num  { font-size: 1.1rem; }
    .stat-card--featured .stat-num { font-size: 1.6rem; }
    .stat-label { font-size: 0.68rem; }

     
    .step-title { font-size: 1rem; }
    .step-desc  { font-size: 0.78rem; }

     
    .publish-card { padding: 28px 14px 24px; }
    .publish-card h2 { font-size: 1.5rem; }
    .cta-apply-btn   { padding: 14px 14px; }

     
    .testi-card { padding: 18px 14px 16px; }
    .testi-card__text { font-size: 0.78rem; }


}
/* ================================================
   MARQUEE TOP BAR — يظهر ويختفي فوق الهيدر
================================================ */
.marquee-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 40px;
    z-index: 3000;
    overflow: hidden;
    background: linear-gradient(135deg, #0ea5e9 0%, #4FD1FF 40%, #A855F7 100%);
    border-bottom: none;
    direction: ltr;
    animation: topbarPulse 22s ease-in-out infinite;
}

.marquee-topbar::before,
.marquee-topbar::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; width: 50px; z-index: 2; pointer-events: none;
}
.marquee-topbar::before {
    left: 0;
    background: linear-gradient(to right, #0ea5e9 10%, transparent);
}
.marquee-topbar::after {
    right: 0;
    background: linear-gradient(to left, #A855F7 10%, transparent);
}
.marquee-topbar .marquee-track {
    display: flex;
    align-items: center;
    height: 100%;
    width: max-content;
    animation: marqueeScroll 35s linear infinite;
    will-change: transform;
}
.marquee-topbar .marquee-item {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    padding: 0 20px;
    display: inline-block;
    direction: rtl;
}
.marquee-topbar .marquee-sep {
    font-size: 0.5rem;
    color: rgba(255,255,255,0.6);
    flex-shrink: 0;
}


@keyframes topbarPulse {
    0%   { opacity: 0; transform: translateY(-100%); }
    22%  { opacity: 0; transform: translateY(-100%); }
    27%  { opacity: 1; transform: translateY(0); }
    82%  { opacity: 1; transform: translateY(0); }
    87%  { opacity: 0; transform: translateY(-100%); }
    100% { opacity: 0; transform: translateY(-100%); }
}


.main-header {
    transition: background 0.4s ease,
                backdrop-filter 0.4s ease, box-shadow 0.4s ease,
                border-color 0.4s ease;
    animation: headerOffset 22s linear infinite;
}
@keyframes headerOffset {
    0%   { top: 0px; }
    22%  { top: 0px; }
    27%  { top: 40px; }
    82%  { top: 40px; }
    87%  { top: 0px; }
    100% { top: 0px; }
}

.home-page {
    animation: pageOffset 22s linear infinite;
}
@keyframes pageOffset {
    0%   { padding-top: 85px; }
    22%  { padding-top: 85px; }
    27%  { padding-top: 125px; }
    82%  { padding-top: 125px; }
    87%  { padding-top: 85px; }
    100% { padding-top: 85px; }
}

/* ================================================
   HERO — كامل الشاشة دايماً + محتوى متوسط
================================================ */
.hero {
    min-height: calc(100svh - 108px) !important;
    height: calc(100svh - 108px);
    padding: 0 24px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box;
    overflow: hidden;
}

 
@media (max-width: 600px) {
    .marquee-topbar { height: 44px; }
    .marquee-topbar .marquee-item { font-size: 0.92rem; padding: 0 16px; }

    @keyframes headerOffset {
        0%   { top: 0px; }
        22%  { top: 0px; }
        24%  { top: 44px; }
        83%  { top: 44px; }
        85%  { top: 0px; }
        100% { top: 0px; }
    }
    @keyframes pageOffset {
        0%   { padding-top: 72px; }
        22%  { padding-top: 72px; }
        24%  { padding-top: 116px; }
        83%  { padding-top: 116px; }
        85%  { padding-top: 72px; }
        100% { padding-top: 72px; }
    }
    .hero {
        min-height: calc(100svh - 116px) !important;
        height: calc(100svh - 116px);
        padding: 0 16px !important;
    }
}

@media (max-width: 480px) {
    .marquee-topbar { height: 40px; }
    .marquee-topbar .marquee-item { font-size: 0.85rem; }
    .hero {
        min-height: calc(100svh - 104px) !important;
        height: calc(100svh - 104px);
        padding: 0 14px !important;
    }
    .hero-desc { max-width: 100%; }
    .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
    .btn-primary, .btn-outline { width: 100%; max-width: 260px; }
}
/* ================================================
   SECTION TRANSITIONS — تداخل سلس بين الأقسام
   كل قسم عنده fade من فوق ومن تحت
================================================ */

 
.hero {
    padding-bottom: 0 !important;
}


 
.stats-section-wrap {
    margin-top: -80px;
    padding-top: 80px;
    background: linear-gradient(180deg,
        #ede8ff 0%,
        #f5f0ff 8%,
        #ffffff 20%,
        #ffffff 100%
    );
}

 
.testi-section-wrap {
    margin-top: -80px;
    padding-top: 80px;
    background: linear-gradient(180deg,
        #ffffff 0%,
        #f5f0ff 10%,
        #f0f7ff 50%,
        #edf6ff 100%
    );
}

 
.how-section-wrap {
    margin-top: -80px;
    padding-top: 80px;
    background: linear-gradient(180deg,
        #edf6ff 0%,
        #eef3ff 15%,
        #f0f7ff 60%,
        #e8f4ff 100%
    );
}

 
.publish-section-wrap {

    background: linear-gradient(180deg,
        #e8f4ff 0%,
        #ecf5ff 8%,
        #edfbff 30%,
        #f0eeff 100%
    );
}

 
.site-footer {

    background: linear-gradient(180deg,
        #f0eeff 0%,
        #edf6ff 10%,
        #edf6ff 100%
    );
    border-top: none;
}

 
@media (max-width:768px){

.main-header{
height:70px;
padding:0 16px;
}

.marquee-topbar{
height:44px;
line-height:44px;
}

}