/* ==========================================================================
   WeboFollowers — Marketing site stylesheet
   ========================================================================== */

:root {
    --paper: #F3EFE3;
    --paper-deep: #E9E1CC;
    --ink: #18150F;
    --ink-soft: #6F6858;
    --red: #E3002B;
    --red-deep: #A8001F;
    --red-tint: #FBEAEA;
    --line: #D8CFB6;
    --white: #FFFFFF;
    --black: #131110;
    --green: #25D366;
    --font-display: 'Almarai', sans-serif;
    --font-body: 'IBM Plex Sans Arabic', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { 
    scroll-behavior: smooth; 
    overflow-x: hidden; 
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden; 
    width: 100%;
    position: relative;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.bg-dots { display: none; }

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--black);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
    transition: opacity .5s ease, visibility .5s ease;
}
#preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-logo { width: 60px; height: 60px; animation: preloaderPulse 1.4s ease-in-out infinite; }
@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(227,0,43,0)); }
    50% { transform: scale(1.12); filter: drop-shadow(0 0 18px rgba(227,0,43,.65)); }
}
.preloader-bar { width: 150px; height: 3px; background: rgba(255,255,255,.14); border-radius: 3px; overflow: hidden; }
.preloader-bar span { display: block; height: 100%; width: 0%; background: var(--red); border-radius: 3px; animation: preloaderFill 1s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes preloaderFill { to { width: 100%; } }
.preloader-text { font-family: var(--font-mono); font-size: .72rem; color: rgba(255,255,255,.5); letter-spacing: .5px; }

/* ==========================================================================
   Header — نضيف واحترافي، من غير خطوط متقطعة أو تأثيرات لزجة
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 500;
    background: #FFFFFF;
    border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 4px 16px -12px rgba(23,20,15,.18); }

.site-header .navbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 32px; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); }

/* 🟢 اللوجو: بيلف دورة كاملة، بيقف شوية وهو واقف صح، وبعدين يلف تاني — مش دوران مستمر من غير توقف */
.logo-spin {
    animation: logoSpinPause 6s linear infinite;
    transform-style: preserve-3d;
}
@keyframes logoSpinPause {
    0%   { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .logo-spin { animation: none; }
}

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 700; font-size: .92rem; position: relative; padding-bottom: 4px; transition: color .15s ease; }
.nav-links a::after { content: ''; position: absolute; right: 0; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width .2s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: 10px; font-weight: 700; font-size: .93rem;
    text-decoration: none; border: none; cursor: pointer; font-family: var(--font-body);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px -8px rgba(227,0,43,.55); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(227,0,43,.6); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

.burger { display: none; align-items: center; justify-content: center; width: 40px; height: 40px; background: none; border: 1px solid var(--line); border-radius: 9px; font-size: 1.05rem; cursor: pointer; color: var(--ink); transition: border-color .15s ease, color .15s ease; }
.burger:hover { border-color: var(--red); color: var(--red); }

/* ==========================================================================
   Dark Hero
   ========================================================================== */
.hero-dark {
    position: relative; overflow: hidden;
    background: radial-gradient(ellipse at 28% -10%, #350810 0%, #180708 45%, #0B0908 100%);
    padding-top: 40px;
}
.hero-dark::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(180deg, transparent 0%, rgba(227,0,43,.4) 35%, transparent 75%),
        linear-gradient(180deg, transparent 0%, rgba(255,255,255,.14) 30%, transparent 65%);
    background-size: 2px 160%, 2px 160%;
    background-repeat: no-repeat;
    background-position: 20% -30%, 76% -40%;
    filter: blur(1px);
    animation: streakDrift 9s ease-in-out infinite alternate;
    opacity: .85;
}
@keyframes streakDrift { from { background-position: 20% -30%, 76% -40%; } to { background-position: 24% 5%, 72% -5%; } }

.hero-dark .hero { position: relative; z-index: 1; color: #fff; }
.hero-dark .hero-eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.75); }
.hero-dark .hero-eyebrow .dot { box-shadow: 0 0 0 3px rgba(37,211,102,.35); }
.hero-dark h1 { color: #fff; }
.hero-dark p.lead { color: rgba(255,255,255,.62); }
.hero-dark .hero-note { color: rgba(255,255,255,.5); }
.hero-dark .floaty { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); backdrop-filter: blur(6px); }

.status-tower { position: relative; width: 300px; min-height: 400px; display: flex; align-items: flex-end; }
.status-line { position: absolute; right: 21px; top: 6px; bottom: 6px; border-right: 2px dashed rgba(255,255,255,.18); }
.status-stack { display: flex; flex-direction: column-reverse; gap: 16px; position: relative; z-index: 1; width: 100%; }
.status-card {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px);
    border-radius: 12px; padding: 13px 18px; display: flex; align-items: center; gap: 12px;
    opacity: 0; transform: translateY(26px); transition: opacity .5s ease, transform .5s ease;
}
.status-card.is-visible { opacity: 1; transform: translateY(0); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.status-card.st-confirm .status-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(37,211,102,.22); }
.status-card.st-cancel .status-dot { background: #FF5B5B; box-shadow: 0 0 0 4px rgba(255,91,91,.22); }
.status-card.st-ship .status-dot { background: #3EA6FF; box-shadow: 0 0 0 4px rgba(62,166,255,.22); }
.status-card.st-deliver .status-dot { background: #FFB020; box-shadow: 0 0 0 4px rgba(255,176,32,.22); }
.status-card .status-text { display: flex; flex-direction: column; }
.status-card .status-order { font-family: var(--font-mono); font-size: .68rem; color: rgba(255,255,255,.45); }
.status-card .status-label { font-size: .88rem; font-weight: 700; color: #fff; }

.hero { padding: 70px 0 40px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; position: relative; }
.hero-glow {
    position: absolute; top: -10%; left: 10%; width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(227,0,43,.16) 0%, transparent 70%);
    filter: blur(30px); z-index: -1; animation: driftGlow 12s ease-in-out infinite;
}
@keyframes driftGlow { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(30px,40px); } }

.floaty {
    position: absolute; width: 46px; height: 46px; border-radius: 14px; background: var(--white); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 1.1rem; box-shadow: 0 14px 26px -14px rgba(23,20,15,.35);
    animation: floatY 5s ease-in-out infinite;
}
.floaty-1 { top: 6%; right: 6%; animation-delay: 0s; }
.floaty-2 { top: 62%; right: -2%; animation-delay: .8s; color: var(--green); }
.floaty-3 { bottom: 4%; right: 30%; animation-delay: 1.6s; }
@keyframes floatY { 0%,100%{ transform: translateY(0) rotate(0deg); } 50%{ transform: translateY(-14px) rotate(-6deg); } }

.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .78rem; font-weight: 500;
    background: var(--white); border: 1px dashed var(--line); border-radius: 30px; padding: 6px 14px; margin-bottom: 22px; color: var(--ink-soft);
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(37,211,102,.25); }

.hero h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.28; margin-bottom: 22px; }
.hero h1 mark { background: none; color: var(--red); position: relative; display: inline-block; }
.hero h1 mark svg { position: absolute; right: -4%; bottom: -10px; width: 108%; z-index: -1; }
.hero p.lead { color: var(--ink-soft); font-size: 1.08rem; max-width: 480px; margin-bottom: 34px; }
.hero-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-note { font-size: .85rem; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.hero-note i { color: var(--red); }
.hero-visual { position: relative; display: flex; justify-content: center; perspective: 1300px; }

/* ==========================================================================
   Live ticker
   ========================================================================== */
.marquee { overflow: hidden; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); background: var(--white); padding: 16px 0; }
.marquee-track { display: flex; width: max-content; gap: 14px; animation: marqueeScroll 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.pill-order { display: flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--paper); border: 1px dashed var(--line); border-radius: 30px; padding: 8px 16px; font-size: .82rem; }
.pill-order i { color: var(--green); }
.pill-order b { font-family: var(--font-mono); color: var(--red); font-weight: 600; }

/* ==========================================================================
   Section shell & Section Titles Styling
   ========================================================================== */
.section { padding: 90px 0; position: relative; }
.section-alt { background: var(--paper-deep); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-tag { font-family: var(--font-mono); font-size: .78rem; color: var(--red); font-weight: 600; letter-spacing: .5px; display: block; margin-bottom: 10px; }

/* ستايل العناوين الشيك اللي طلبتها */
.section-head h2 { 
    font-family: var(--font-display); 
    font-weight: 900; 
    font-size: clamp(1.8rem, 3.5vw, 2.5rem); 
    margin-bottom: 15px; 
    color: var(--ink); /* لون أساسي أسود */
    line-height: 1.4;
}

/* ستايل الكلمة اللي بتميزها في العنوان */
.section-head h2 .highlight {
    color: var(--red); /* لون أحمر */
    position: relative;
    display: inline-block;
    padding: 0 5px;
    z-index: 1;
}

/* لمسة جمالية (ظل خفيف ورا الكلمة الحمرا) */
.section-head h2 .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 10px;
    background-color: var(--red-tint);
    z-index: -1;
    border-radius: 4px;
}

.section-head p { color: var(--ink-soft); font-size: 1.05rem; }
.tear { height: 22px; background-image: radial-gradient(circle at 14px 0, transparent 12px, var(--paper) 12.5px); background-size: 28px 24px; background-repeat: repeat-x; }
.section-alt + .section .tear, .section + .section-alt .tear { display: none; }
.ticket { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ticket-notch { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); transform: translateY(-50%); box-shadow: inset 0 0 0 1px var(--line); }
.section-alt .ticket-notch { background: var(--paper-deep); }
.ticket-notch.right { right: -11px; }
.ticket-notch.left { left: -11px; }

/* ==========================================================================
   Features Layout (Fixed Flexbox - No absolute positioning)
   ========================================================================== */
.features-circular-container {
    display: flex;
    flex-direction: row; 
    align-items: center;
    justify-content: center;
    gap: 80px; 
    max-width: 1050px;
    margin: 60px auto;
    position: relative;
}

.features-center-circle {
    position: relative;
    width: 300px;
    height: 300px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(23, 20, 15, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    z-index: 10;
    border: 1px solid var(--line);
}

.dashed-border {
    position: absolute;
    top: -25px; right: -25px; bottom: -25px; left: -25px;
    border: 2px dashed rgba(227, 0, 43, 0.5);
    border-radius: 50%;
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-center-logo { width: 100px; margin-bottom: 10px; }
.features-center-title { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); margin:0;}
.features-center-subtitle { color: var(--red); font-size: 1rem; font-weight: bold; }

.features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-grow: 1;
    max-width: 550px;
    position: relative;
    z-index: 5;
}

.feature-item-circular {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 15px 20px;
    box-shadow: 0 5px 15px rgba(23, 20, 15, 0.04);
    opacity: 0.5;
    transform: translateX(0);
    transition: all 0.4s ease;
    cursor: pointer;
}

.feature-item-circular.active {
    opacity: 1;
    transform: translateX(-15px); 
    border-color: var(--red);
    box-shadow: 0 12px 25px rgba(227, 0, 43, 0.12);
    z-index: 10;
}

.feature-item-circular::before {
    content: '';
    position: absolute;
    right: -80px; 
    top: 50%;
    width: 80px;
    height: 1px;
    background: var(--line);
    z-index: -1;
    transition: all 0.4s ease;
}

.feature-item-circular.active::before { background: var(--red); height: 2px; }

.feature-item-circular::after {
    content: '';
    position: absolute;
    right: -85px; 
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 2px solid var(--line);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.4s ease;
}

.feature-item-circular.active::after {
    border-color: var(--red);
    background: var(--red);
    box-shadow: 0 0 10px rgba(227, 0, 43, 0.4);
}

.feature-circular-icon {
    width: 50px;
    height: 50px;
    background: var(--paper);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    color: var(--ink-soft);
    margin-left: 20px;
    flex-shrink: 0;
    border: 1px solid var(--line);
    transition: all 0.4s ease;
}

.feature-item-circular.active .feature-circular-icon {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    box-shadow: 0 4px 15px rgba(227, 0, 43, 0.3);
}

.feature-circular-content h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; margin-bottom: 4px; color: var(--ink); }
.feature-circular-content p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.4; margin: 0; }

.feature-number {
    position: absolute;
    top: -12px;
    right: 20px;
    width: 26px;
    height: 26px;
    background: var(--ink);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.75rem;
    font-weight: bold;
    font-family: var(--font-mono);
    border: 2px solid var(--white);
    transition: all 0.4s ease;
}
.feature-item-circular.active .feature-number { background: var(--red); }

@media (max-width: 900px) {
    .features-circular-container { flex-direction: column; gap: 40px; }
    .feature-item-circular::before, .feature-item-circular::after { display: none; }
    .feature-item-circular { transform: none !important; }
}

/* ==========================================================================
   How it works (Laser Timeline Animation)
   ========================================================================== */
.timeline-container { 
    display: flex; 
    align-items: center;
    justify-content: center;
    position: relative; 
    max-width: 900px;
    margin: 40px auto;
}

/* الخط المنقط الأساسي (الخلفية) */
.timeline-line {
    position: absolute;
    top: 36px;
    right: 15%;
    left: 15%;
    height: 2px;
    background-image: linear-gradient(90deg, transparent, transparent 50%, rgba(111, 104, 88, 0.3) 50%, rgba(111, 104, 88, 0.3) 100%);
    background-size: 15px 2px;
    z-index: 0;
}

/* شعاع الليزر المنور اللي بيمشي على الخط */
.timeline-beam {
    position: absolute;
    top: 35px; /* نفس مستوى الخط */
    right: 15%; /* بيبدأ من اليمين عشان الموقع عربي */
    width: 0; 
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--red) 80%, #ff4d6d);
    box-shadow: 0 0 15px rgba(227, 0, 43, 0.8), 0 0 5px rgba(227, 0, 43, 0.5);
    border-radius: 4px;
    z-index: 1;
    opacity: 0;
}

/* حركة الشعاع بتبدأ لما السيكشن يظهر */
.timeline-container.is-visible .timeline-beam {
    animation: beamTravel 5s linear infinite;
}

/* أنيميشن حركة الشعاع من اليمين للشمال */
@keyframes beamTravel {
    0% { width: 0; right: 15%; opacity: 0; }
    5% { opacity: 1; width: 60px; }
    95% { width: 60px; right: calc(85% - 60px); opacity: 1; }
    100% { width: 0; right: 85%; opacity: 0; }
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}

.timeline-step { 
    text-align: center; 
    width: 30%;
    position: relative; 
}

/* تصميم الدايرة (الخطوة) الأساسي */
.step-circle {
    width: 70px; height: 70px; border-radius: 50%; 
    background: var(--paper); /* نفس لون الخلفية */
    border: 4px solid rgba(111, 104, 88, 0.2); /* لون رمادي مطفي */
    color: var(--ink-soft); 
    font-family: var(--font-mono); font-weight: 700; font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
    transition: all 0.3s ease;
    position: relative;
}

/* دايرة داخلية صغيرة للديكور */
.step-circle::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px dashed rgba(111, 104, 88, 0.3);
    transition: all 0.3s ease;
}

/* أنيميشن إضاءة الدايرة لما الشعاع يوصلها */
.timeline-container.is-visible .timeline-step:nth-child(1) .step-circle { animation: pulseTimelineStep 5s infinite 0.2s; } 
.timeline-container.is-visible .timeline-step:nth-child(2) .step-circle { animation: pulseTimelineStep 5s infinite 2.2s; } 
.timeline-container.is-visible .timeline-step:nth-child(3) .step-circle { animation: pulseTimelineStep 5s infinite 4.2s; } 

/* شكل الإضاءة (بتحمر وتنور) */
@keyframes pulseTimelineStep {
    0%, 20%, 100% { 
        border-color: rgba(111, 104, 88, 0.2); 
        color: var(--ink-soft); 
        background: var(--paper); 
        box-shadow: none; 
        transform: scale(1);
    }
    2%, 18% { 
        border-color: var(--red); 
        color: var(--white); 
        background: var(--red); 
        box-shadow: 0 0 25px rgba(227, 0, 43, 0.5); 
        transform: scale(1.15);
    }
}

/* تلوين الدايرة الداخلية مع الأنيميشن */
@keyframes pulseTimelineInner {
    0%, 20%, 100% { border-color: rgba(111, 104, 88, 0.3); }
    2%, 18% { border-color: rgba(255, 255, 255, 0.5); transform: rotate(45deg); }
}
.timeline-container.is-visible .timeline-step:nth-child(1) .step-circle::after { animation: pulseTimelineInner 5s infinite 0.2s; }
.timeline-container.is-visible .timeline-step:nth-child(2) .step-circle::after { animation: pulseTimelineInner 5s infinite 2.2s; }
.timeline-container.is-visible .timeline-step:nth-child(3) .step-circle::after { animation: pulseTimelineInner 5s infinite 4.2s; }

.step-content h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; margin-bottom: 8px; color: var(--ink); }
.step-content p { color: var(--ink-soft); font-size: .9rem; max-width: 260px; margin: 0 auto; }

/* تظبيط الموبايل (عشان الخط بيتلغي في الموبايل وبتبقى تحت بعض) */
@media (max-width: 900px) {
    .timeline-container { flex-direction: column; }
    .timeline-steps { flex-direction: column; gap: 40px; align-items: center; }
    .timeline-step { width: 100%; }
    .timeline-line, .timeline-beam { display: none; }
    .timeline-container.is-visible .step-circle { 
        border-color: var(--red); 
        color: var(--red); 
        box-shadow: 0 0 0 5px rgba(227,0,43,.1);
        animation: none;
    }
    .timeline-container.is-visible .step-circle::after {
        border-color: var(--red);
        animation: none;
    }
}

/* ==========================================================================
   Pricing (3D Coverflow)
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pricing-carousel { display: flex; flex-direction: column; align-items: center; padding: 40px 0 20px; position: relative; }
.carousel-row { position: relative; width: 100%; max-width: 1000px; height: 600px; display: flex; align-items: center; justify-content: center; perspective: 1200px; }
.carousel-viewport { width: 100%; height: 100%; position: absolute; overflow: visible; }
.carousel-track { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; }
.carousel-slide { position: absolute; top: 0; left: 50%; width: 320px; margin-left: -160px; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, filter 0.6s ease; cursor: pointer; }
.carousel-slide .price-card { width: 100%; pointer-events: none; transition: box-shadow 0.4s ease, border-color 0.4s ease; }
.carousel-slide.is-active .price-card { pointer-events: auto; box-shadow: 0 25px 50px -15px rgba(227,0,43,.3); border-color: var(--red); }

.carousel-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 100; width: 48px; height: 48px; border-radius: 50%;
    background: var(--white); border: 1px solid var(--line); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.carousel-arrow:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-50%) scale(1.1); }
.carousel-arrow.next { left: -10px; } 
.carousel-arrow.prev { right: -10px; } 

.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 10px; position: relative; z-index: 50; }
.carousel-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); border: none; padding: 0; cursor: pointer; transition: background .2s ease, transform .2s ease, width .2s ease; }
.carousel-dot.is-active { background: var(--red); width: 26px; border-radius: 5px; }

@media (max-width: 768px) { .carousel-slide { width: 280px; margin-left: -140px; } .carousel-row { height: 550px; } }
@media (max-width: 480px) { .carousel-arrow { display: none; } }

.price-card { padding: 32px 26px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.price-badge { position: absolute; top: -13px; right: 50%; transform: translateX(50%) rotate(-2deg); background: var(--red); color: #fff; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; padding: 4px 14px; border-radius: 20px; z-index: 10; }
.price-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin-bottom: 12px; }
.price-amount { font-family: var(--font-mono); font-weight: 700; font-size: 2rem; margin-bottom: 4px; }
.price-amount span { font-size: .85rem; color: var(--ink-soft); font-weight: 400; }
.price-meta { font-size: .8rem; color: var(--ink-soft); margin-bottom: 20px; }
.price-dash { border-top: 1px dashed var(--line); margin-bottom: 20px; }
.price-features { list-style: none; margin-bottom: 6px; flex: 1; }
.price-features li { font-size: .88rem; color: var(--ink); margin-bottom: 12px; display: flex; gap: 8px; align-items: flex-start; }
.price-features li i { color: var(--green); margin-top: 3px; font-size: .8rem; }
.price-features li.is-hidden { display: none; }
.price-toggle { background: none; border: none; color: var(--red); font-family: var(--font-body); font-weight: 700; font-size: .82rem; cursor: pointer; padding: 4px 0; margin-bottom: 20px; text-align: right; display: flex; align-items: center; gap: 6px; }
.price-toggle i { font-size: .7rem; transition: transform .2s ease; }
.price-toggle.is-collapsed i { transform: rotate(180deg); }

/* ==========================================================================
   Trust strip & CTA
   ========================================================================== */
.trust-strip { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { text-align: center; }
.trust-item .num { font-family: var(--font-mono); font-weight: 700; font-size: 1.9rem; color: var(--red); }
.trust-item .lbl { font-size: .85rem; color: var(--ink-soft); }

.cta-band {
    background: radial-gradient(ellipse at 50% -20%, rgba(227,0,43,.4), transparent 62%), var(--black);
    color: var(--white); border-radius: 26px;
    padding: 84px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; }
.cta-band::after { content: ''; position: absolute; top: 0; bottom: 0; width: 140px; background: linear-gradient(100deg, transparent, rgba(255,255,255,.1), transparent); transform: translateX(-160%); animation: ctaSweep 5s ease-in-out infinite; }
@keyframes ctaSweep { 0% { transform: translateX(-160%); } 55% { transform: translateX(260%); } 100% { transform: translateX(260%); } }
.cta-band h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 16px; position: relative; }
.cta-band p { color: rgba(255,255,255,.65); margin-bottom: 34px; position: relative; font-size: 1.05rem; }
.cta-band .btn-primary { position: relative; animation: ctaPulse 2.2s ease-out infinite; }
@keyframes ctaPulse { 0% { box-shadow: 0 0 0 0 rgba(227,0,43,.55), 0 6px 0 var(--red-deep); } 70% { box-shadow: 0 0 0 20px rgba(227,0,43,0), 0 6px 0 var(--red-deep); } 100% { box-shadow: 0 0 0 0 rgba(227,0,43,0), 0 6px 0 var(--red-deep); } }

/* ==========================================================================
   Footer
   ========================================================================== */
footer.site-footer { background: var(--black); color: rgba(255,255,255,.7); padding: 0 0 26px; margin-top: 90px; }
.footer-tear { height: 24px; background: var(--black); clip-path: polygon(0% 100%, 100% 100%, 100% 35%, 93% 5%, 86% 35%, 79% 5%, 72% 35%, 65% 5%, 58% 35%, 51% 5%, 44% 35%, 37% 5%, 30% 35%, 23% 5%, 16% 35%, 9% 5%, 2% 35%, 0% 5%); }
.footer-inner { padding-top: 46px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 46px; }
.footer-brand .brand-name, .footer-brand .brand img { filter: none; }
.footer-brand p { color: rgba(255,255,255,.55); font-size: .9rem; max-width: 300px; margin: 14px 0 20px; }
.socials a { color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); width: 34px; height: 34px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; margin-left: 8px; text-decoration: none; transition: background .2s; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.footer-links h4 { font-family: var(--font-display); color: #fff; margin-bottom: 18px; font-size: 1rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 11px; font-size: .9rem; }
.footer-links a { text-decoration: none; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: var(--red); }
.footer-links li i { color: var(--red); margin-left: 6px; width: 14px; text-align: center; }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px dashed rgba(255,255,255,.12); font-size: .85rem; color: rgba(255,255,255,.45); }

/* ==========================================================================
   الويدجت العايم: واتساب + اتصال (قابل للطي بالسهم)
   ========================================================================== */
.floating-contact {
    position: fixed;
    left: 16px;
    top: 55%;
    transform: translateY(-50%);
    z-index: 600;
    display: flex;
    align-items: center;
}
.floating-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 60px;
    overflow: hidden;
    transition: max-width .25s ease, opacity .2s ease;
}
.floating-contact.collapsed .floating-contact-buttons {
    max-width: 0;
    opacity: 0;
    pointer-events: none;
}
.floating-contact-btn {
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.25rem; text-decoration: none;
    box-shadow: 0 6px 16px -4px rgba(0,0,0,.3);
    flex-shrink: 0;
    transition: transform .15s ease;
}
.floating-contact-btn:hover { transform: scale(1.06); }
.floating-contact-btn.wa { background: #25D366; }
.floating-contact-btn.call { background: #2E7BF5; }

.floating-contact-toggle {
    width: 22px; height: 44px;
    border-radius: 0 8px 8px 0;
    background: #fff;
    border: 1px solid var(--line);
    border-left: none;
    display: flex; align-items: center; justify-content: center;
    color: var(--red);
    cursor: pointer;
    box-shadow: 0 4px 10px -4px rgba(0,0,0,.2);
    transition: transform .25s ease;
}
.floating-contact.collapsed .floating-contact-toggle { transform: rotate(180deg); }

@media (max-width: 640px) {
    .floating-contact { left: 10px; }
    .floating-contact-btn { width: 42px; height: 42px; font-size: 1.1rem; }
}


[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

.mobile-nav { display: none; position: fixed; inset: 65px 0 0 0; z-index: 400; background: #FFFFFF; padding: 10px 24px 30px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; overflow-y: auto; }
.mobile-nav.open { display: block; opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav ul { list-style: none; display: flex; flex-direction: column; margin-bottom: 22px; }
.mobile-nav a { text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.mobile-nav .nav-actions { flex-direction: column; align-items: stretch; }
.mobile-nav .btn { width: 100%; }

/* ==========================================================================
   Mobile adjustments
   ========================================================================== */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
    .hero p.lead { margin: 0 auto 30px; }
    .hero-cta-row { justify-content: center; }
    .hero-visual { margin-top: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    /* Mobile Infographic Fixes */
    .features-circular-container { flex-direction: column; align-items: center; padding-left: 0; min-height: auto; }
    .features-center-circle { position: relative; left: auto; transform: none; margin-bottom: 40px; }
    .features-center-circle::before, .feature-item-circular::before, .feature-item-circular::after { display: none; }
    .features-list { width: 100%; }
    .feature-item-circular { transform: none !important; border-radius: 16px; }
}

@media (max-width: 640px) {
    .nav-links, .nav-actions .btn-outline { display: none; }
    .burger { display: flex; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 14px auto 20px; }
}
/* تنسيق قسم الشرح والفيديوهات */
.video-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.video-card {
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.video-header {
    background: #1a1a1a;
    padding: 15px 20px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.video-header i { color: #E3002B; }
.responsive-video {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none; /* لمنع ظهور أدوات التحكم عند الضغط */
}

/* تنسيق المميزات المصغرة */
.mini-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.mini-feature-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.mini-feature-card:hover { transform: translateY(-5px); }
.mini-video-wrap {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #f8f9fa;
}
.mini-video-wrap video {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.mini-feature-card h4 { color: #111; margin-bottom: 5px; font-weight: 700; }
.mini-feature-card p { color: #666; font-size: 0.9rem; margin: 0; }

/* تنسيق زر التحميل الضخم */
.download-banner {
    background: linear-gradient(135deg, #1a1a1a, #000);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid rgba(227, 0, 43, 0.2);
}
.download-info h3 { color: #fff; margin-bottom: 10px; font-size: 1.5rem; }
.download-info p { color: #aaa; margin: 0; }
.btn-massive-download {
    display: flex;
    align-items: center;
    background: #E3002B;
    color: #fff;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 12px;
    transition: all 0.3s ease;
    gap: 15px;
    box-shadow: 0 8px 25px rgba(227, 0, 43, 0.3);
}
.btn-massive-download:hover {
    background: #c20025;
    transform: translateY(-3px);
    color: #fff;
}
.btn-massive-download .dl-icon { font-size: 1.8rem; }
.btn-massive-download .wp-icon { font-size: 2rem; opacity: 0.5; border-right: 1px solid rgba(255,255,255,0.2); padding-right: 15px; }
.btn-massive-download .dl-text { display: flex; flex-direction: column; text-align: right; }
.btn-massive-download .dl-text strong { font-size: 1.1rem; }
.btn-massive-download .dl-text small { font-size: 0.8rem; opacity: 0.8; }

/* للموبايل */
@media (max-width: 768px) {
    .download-banner { flex-direction: column; text-align: center; }
    .btn-massive-download { width: 100%; justify-content: center; }
    .btn-massive-download .wp-icon { border-right: none; border-left: 1px solid rgba(255,255,255,0.2); padding-left: 15px; padding-right: 0; }
}
/* =========================================
   1. الفيديوهات الأساسية (ووكومرس وإيزي أوردر)
========================================= */
.video-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: #111;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10; /* لضمان عدم اختفاء أزرار التحكم تحت أي عنصر آخر */
}

.video-header {
    background: #1a1a1a;
    padding: 15px 20px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.video-header i { color: #E3002B; }

.responsive-video {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain !important; /* يحافظ على أبعاد الفيديو الأصلية بدون أي قص أو زووم */
    display: block;
    pointer-events: auto !important; /* إجبار تفعيل الضغط لتكبير الشاشة أو الإيقاف */
    background: #000;
}

/* =========================================
   2. الفيديوهات المصغرة الـ 3 (OTP, السلة, الإعلانات)
========================================= */
.mini-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.mini-feature-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 10;
}

.mini-feature-card:hover { 
    transform: translateY(-5px); 
}

.mini-video-wrap {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    background: #000; /* خلفية سوداء تمنع ظهور مساحات بيضاء حول الفيديو */
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-video-wrap video {
    max-width: 100%; /* تمنع تمدد الفيديو بشكل أكبر من جودته الأصلية */
    height: auto;
    max-height: 220px;
    object-fit: contain !important; /* تعرض الفيديو بجودته الأصلية بالكامل */
    pointer-events: auto !important;
    display: block;
}

.mini-feature-card h4 { color: #111; margin-bottom: 5px; font-weight: 700; }
.mini-feature-card p { color: #666; font-size: 0.9rem; margin: 0; }