/* ============================================================
   ELKHODARY MEDIA - MAIN STYLESHEET
   Version: 10.0 (The Stable Build)
   Developer: Hady Salah
   ============================================================ */

/* ------------------------------------------------
   1. GLOBAL VARIABLES & RESET
------------------------------------------------ */
:root {
    /* الألوان الرئيسية */
    --bg-dark: #050505;
    --bg-card: #121212;
    --primary: #f59e0b;       /* ذهبي */
    --primary-dark: #d97706;
    --primary-glow: rgba(245, 158, 11, 0.5);
    
    /* النصوص */
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    
    /* الزجاج */
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --sidebar-bg: #0a0a0a;
    
    /* براندات */
    --tiktok-cyan: #00f2ea;
    --tiktok-pink: #ff0050;
    --success-green: #00c851;
    --error-red: #ff4444;
    --ticker-bg: linear-gradient(90deg, #991b1b, #7f1d1d);
}

* {
    margin: 0; padding: 0; box-sizing: border-box; 
    scroll-behavior: smooth; 
    -webkit-tap-highlight-color: transparent; 
    outline: none;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
    direction: rtl;
}

/* ترتيب الطبقات (Z-Index Fix) */
section { position: relative; z-index: 10; }
.section-bg { background-color: var(--bg-dark); }
section.hero { background-color: transparent; z-index: 5; }

a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; }
button { font-family: 'Cairo', sans-serif; cursor: pointer; transition: 0.3s ease; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }
.section-padding { padding: 80px 0; }


/* ------------------------------------------------
   2. ANIMATIONS
------------------------------------------------ */
@keyframes fadeInUp { 
    from { opacity: 0; transform: translateY(40px); } 
    to { opacity: 1; transform: translateY(0); } 
}
@keyframes float { 
    0%, 100% { transform: translateY(0); } 
    50% { transform: translateY(-15px); } 
}
@keyframes pulse { 
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); } 
    70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } 
}
@keyframes shimmer { 
    0% { filter: brightness(1); } 
    50% { filter: brightness(1.2); } 
    100% { filter: brightness(1); } 
}

/* التحميل التدريجي للعناصر */
header { animation: fadeInUp 0.8s ease-out backwards; }
.hero { animation: fadeInUp 0.8s ease-out 0.2s backwards; }
.payment-strip { animation: fadeInUp 0.8s ease-out 0.4s backwards; }


/* ------------------------------------------------
   3. BACKGROUND FX
------------------------------------------------ */
.background-glows { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: hidden; }
.glow { position: absolute; border-radius: 50%; filter: blur(150px); opacity: 0.12; }
.glow-1 { top: -20%; left: -10%; width: 600px; height: 600px; background: var(--tiktok-pink); }
.glow-2 { bottom: -20%; right: -10%; width: 700px; height: 700px; background: var(--tiktok-cyan); }

.falling-coins { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.coin { position: absolute; color: rgba(255, 255, 255, 0.03); font-size: 2rem; animation: fall linear infinite; }
@keyframes fall { 
    0% { transform: translateY(-100px) rotate(0deg); opacity: 0; } 
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; } 
}
.c1 { left: 10%; animation-duration: 12s; font-size: 3rem; } 
.c2 { left: 50%; animation-duration: 15s; font-size: 4rem; } 
.c3 { left: 80%; animation-duration: 10s; font-size: 2.5rem; }


/* ------------------------------------------------
   4. UI COMPONENTS (Ticker & Alerts)
------------------------------------------------ */
/* شريط الأخبار */
.ticker-wrap { 
    position: fixed; top: 0; left: 0; width: 100%; height: 35px; 
    background: var(--ticker-bg); z-index: 2000; 
    display: flex; align-items: center; overflow: hidden; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.ticker { display: inline-block; white-space: nowrap; animation: ticker 40s linear infinite; padding-right: 100%; }
.ticker-item { display: inline-block; padding: 0 2rem; color: #fff; font-size: 0.85rem; font-weight: bold; }
@keyframes ticker { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(100%, 0, 0); } }

/* التنبيهات */
.modern-alert { 
    background: rgba(30, 30, 30, 0.95); padding: 15px 20px; 
    border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.6); 
    display: flex; align-items: center; gap: 15px; 
    border: 1px solid var(--glass-border); color: #fff; 
    animation: slideInDown 0.4s ease; 
}
.modern-alert.error { border-right: 4px solid var(--error-red); } 
.modern-alert.error .alert-icon { color: var(--error-red); font-size: 1.4rem; }
@keyframes slideInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeOutUp { to { opacity: 0; transform: translateY(-20px); } }


/* ------------------------------------------------
   5. HEADER & NAVIGATION
------------------------------------------------ */
header { 
    position: fixed; top: 35px; width: 100%; z-index: 1000; 
    transition: 0.4s ease; padding: 15px 0; height: 80px;
}
header.scrolled { 
    background: rgba(5, 5, 5, 0.9); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); 
    border-bottom: 1px solid var(--glass-border); padding: 5px 0; height: 70px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.navbar { display: flex; justify-content: space-between; align-items: center; height: 100%; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img-wrapper { width: 45px; height: 45px; border-radius: 50%; border: 2px solid var(--primary); box-shadow: 0 0 10px var(--primary-glow); background: #000; padding: 2px; }
.logo-img-wrapper img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { font-size: 1.2rem; font-weight: 800; } .logo-text span { color: var(--primary); }

.nav-links { display: flex; gap: 25px; }
.nav-links a { font-weight: 700; color: #ddd; font-size: 1rem; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; right: 0; width: 0; height: 2px; background: var(--primary); transition: 0.3s; }
.nav-links a:hover::after { width: 100%; }

.btn-primary { 
    background: linear-gradient(45deg, var(--primary), var(--primary-dark)); 
    color: #000; padding: 10px 25px; border-radius: 50px; 
    font-weight: 800; display: inline-flex; align-items: center; gap: 8px; 
    border: none; box-shadow: 0 4px 15px var(--primary-glow); 
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px var(--primary-glow); }

.btn-secondary-sm { 
    background: rgba(255,255,255,0.08); color: #fff; padding: 8px 18px; 
    border-radius: 8px; border: 1px solid transparent; 
    font-size: 0.9rem; display: flex; align-items: center; gap: 5px; 
}
.btn-secondary-sm:hover { background: rgba(255,255,255,0.15); border-color: var(--primary); }

.menu-toggle { display: none; font-size: 1.8rem; color: #fff; cursor: pointer; }

/* Mobile Sidebar */
.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 2000; opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(5px); }
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-sidebar { 
    position: fixed; top: 0; right: -300px; width: 280px; height: 100%; 
    background: var(--sidebar-bg); border-left: 1px solid var(--glass-border); 
    z-index: 2001; transition: 0.4s; padding: 20px; display: flex; flex-direction: column; 
    box-shadow: -10px 0 30px rgba(0,0,0,0.9);
}
.mobile-sidebar.active { right: 0; }
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 1px solid var(--glass-border); }
.close-btn { background: rgba(255,255,255,0.1); border: none; color: #fff; width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.sidebar-links { display: flex; flex-direction: column; gap: 15px; }
.sidebar-link { font-size: 1.1rem; color: #ccc; padding: 12px; border-radius: 10px; display: flex; align-items: center; gap: 10px; transition: 0.3s; }
.sidebar-link.active, .sidebar-link:hover { background: rgba(255,255,255,0.05); color: var(--primary); padding-right: 15px; }


/* ------------------------------------------------
   6. HERO SECTION
------------------------------------------------ */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 140px; padding-bottom: 60px; }
.hero-container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }

.hero-content { text-align: right; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.3); padding: 8px 20px; border-radius: 30px; font-size: 0.9rem; margin-bottom: 25px; color: #22c55e; font-weight: 700; }
h1 { font-size: 3.8rem; line-height: 1.2; margin-bottom: 25px; font-weight: 900; }
.gradient-text { background: linear-gradient(to right, var(--primary), #fcd34d); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; color: var(--text-gray); margin-bottom: 40px; max-width: 90%; line-height: 1.8; }

.hero-btns { display: flex; gap: 15px; }
.btn-lg { padding: 12px 40px; font-size: 1.1rem; }
.btn-secondary { background: transparent; border: 2px solid rgba(255,255,255,0.2); color: #fff; padding: 12px 35px; border-radius: 50px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: 0.3s; }
.btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

.image-wrapper { 
    position: relative; width: 100%; max-width: 450px; margin: 0 auto; aspect-ratio: 1/1; 
    background: var(--glass); border-radius: 50px; display: flex; align-items: center; justify-content: center; 
    border: 2px solid rgba(245, 158, 11, 0.5); box-shadow: 0 0 50px rgba(245, 158, 11, 0.2); 
    animation: led-pulse 3s infinite; 
}
.image-wrapper img { width: 80%; object-fit: contain; animation: float 6s ease-in-out infinite; }
.hero-led-glow { animation: led-pulse 3s infinite ease-in-out; }
@keyframes led-pulse { 0% { box-shadow: 0 0 25px var(--primary); border-color: rgba(245, 158, 11, 0.5); } 50% { box-shadow: 0 0 45px var(--primary); border-color: #fff; } 100% { box-shadow: 0 0 25px var(--primary); border-color: rgba(245, 158, 11, 0.5); } }
.float-card { position: absolute; background: #1a1a1a; border: 1px solid var(--glass-border); padding: 12px 18px; border-radius: 18px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 10; animation: float 5s infinite 1s; }
.card-2 { bottom: 40px; left: -30px; }
.floating-coin-hero { position: absolute; width: 80px; top: -30px; right: -30px; animation: float 6s ease-in-out infinite; z-index: 11; }


/* ------------------------------------------------
   7. PAYMENT STRIP (Infinite Scroll Loop)
------------------------------------------------ */
.payment-strip { 
    background: rgba(255,255,255,0.02); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); 
    padding: 40px 0; overflow: hidden; white-space: nowrap; direction: ltr; position: relative;
}
.payment-track { display: flex; width: max-content; gap: 30px; animation: scroll 30s linear infinite; }
/* يتحرك 33.33% بس عشان عندنا 3 مجموعات من الصور */
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-33.33% - 15px)); } }

.pay-logo-card { 
    background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; 
    height: 85px; width: 170px; padding: 15px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); flex-shrink: 0; transition: 0.3s;
}
.pay-logo-card:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4); }
.pay-logo-card img { height: 100%; width: 100%; object-fit: contain; filter: grayscale(0); }


/* ------------------------------------------------
   8. DASHBOARD & PRICING
------------------------------------------------ */
.category-tabs { display: flex; gap: 15px; justify-content: center; margin: 0 0 50px; }
.cat-tab { background: transparent; border: 1px solid var(--glass-border); color: #aaa; padding: 14px 35px; border-radius: 50px; font-weight: 700; transition: 0.3s; font-size: 1.1rem; }
.cat-tab.active, .cat-tab:hover { background: var(--primary); color: #000; border-color: var(--primary); box-shadow: 0 5px 20px var(--primary-glow); transform: translateY(-2px); }

.dashboard-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }

.custom-panel { 
    background: #111; border: 1px solid var(--glass-border); border-radius: 30px; 
    padding: 35px; position: sticky; top: 130px; /* مسافة كافية من الهيدر */
    border-top: 5px solid var(--primary); text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.input-wrapper { background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); border-radius: 15px; margin-top: 15px; position: relative; transition: 0.3s; }
.input-wrapper:focus-within { border-color: var(--primary); box-shadow: 0 0 15px rgba(245, 158, 11, 0.15); }
.input-wrapper input { width: 100%; background: transparent; border: none; padding: 18px; color: #fff; text-align: center; font-size: 1.3rem; font-weight: 800; }
.input-wrapper .icon { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: #888; }

.price-display { background: rgba(245, 158, 11, 0.05); border: 1px solid rgba(245, 158, 11, 0.3); padding: 20px; border-radius: 15px; margin: 25px 0; }
.price-value { font-size: 2.2rem; font-weight: 900; color: var(--primary); display: block; }

.packages-grid-wide { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 25px; }
.package-card-wide { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 20px; padding: 30px 20px; text-align: center; transition: 0.3s; position: relative; overflow: visible; }
.package-card-wide:hover { transform: translateY(-8px); border-color: var(--primary); background: rgba(255,255,255,0.05); box-shadow: 0 15px 40px rgba(0,0,0,0.6); }

/* Premium Popular Badge */
.package-card-wide.popular { border: 2px solid var(--primary); box-shadow: 0 0 30px rgba(245, 158, 11, 0.15); transform: scale(1.03); z-index: 2; margin-top: -10px; background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(255,255,255,0.03) 100%); }
.package-card-wide.popular::before { content: 'الأكثر مبيعاً 🔥'; position: absolute; top: -16px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--primary), #fbbf24); color: #000; padding: 6px 30px; border-radius: 50px; font-weight: 800; font-size: 0.9rem; border: 2px solid #000; box-shadow: 0 5px 15px rgba(0,0,0,0.5); z-index: 3; white-space: nowrap; animation: shimmer 3s infinite ease-in-out; }
.package-card-wide.popular .btn-outline { background: var(--primary); color: #000; border: none; }

.pkg-coin-large { font-size: 1.8rem; font-weight: 900; color: #fff; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.pkg-price-large { font-size: 1.3rem; color: var(--primary); font-weight: 700; margin-bottom: 20px; }
.btn-outline { width: 100%; padding: 12px; border: 2px solid var(--primary); color: #fff; border-radius: 12px; font-weight: 700; background: transparent; transition: 0.3s; font-size: 1rem; cursor: pointer; }
.package-card-wide:hover .btn-outline { background: var(--primary); color: #000; }

.locked-zone { border: 1px dashed #444; border-radius: 20px; padding: 60px 40px; text-align: center; }
.lock-icon-circle { font-size: 3rem; color: #666; margin-bottom: 20px; display: block; }


/* ------------------------------------------------
   9. TIMELINE (Desktop & Mobile Fixes)
------------------------------------------------ */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 40px 0; display: flex; flex-direction: column; }
/* الخط الرأسي */
.timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(245, 158, 11, 0.3); transform: translateX(-50%); }

.timeline-item { display: flex; justify-content: center; align-items: center; width: 100%; margin-bottom: 60px; position: relative; }
.timeline-content { width: 45%; padding: 30px; background: var(--glass); border: 1px solid var(--glass-border); border-radius: 20px; position: relative; }
.timeline-number { width: 50px; height: 50px; background: var(--primary); color: #000; font-weight: 900; font-size: 1.2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: absolute; left: 50%; transform: translateX(-50%); z-index: 2; box-shadow: 0 0 20px var(--primary-glow); border: 4px solid var(--bg-dark); }

/* Desktop Alternating */
.timeline-item:nth-child(odd) .timeline-content { margin-left: 55%; text-align: right; }
.timeline-item:nth-child(even) .timeline-content { margin-right: 55%; text-align: left; }


/* ------------------------------------------------
   10. FEATURES GRID (4 Cols Centered)
------------------------------------------------ */
.features-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; padding: 20px; }
.feature-card { 
    flex: 0 0 calc(25% - 20px); /* 4 items per row */
    background: var(--glass); padding: 40px 25px; border-radius: 25px; border: 1px solid var(--glass-border); 
    text-align: center; transition: 0.3s; display: flex; flex-direction: column; align-items: center; height: 100%; 
}
.feature-card:hover { transform: translateY(-10px); border-color: var(--primary); background: rgba(255, 255, 255, 0.05); }
.feature-card .icon-box { width: 80px; height: 80px; background: rgba(245, 158, 11, 0.1); color: var(--primary); font-size: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; transition: 0.3s; }
.feature-card:hover .icon-box { background: var(--primary); color: #000; box-shadow: 0 0 20px var(--primary-glow); }
.feature-card h3 { margin-bottom: 15px; font-size: 1.3rem; color: #fff; font-weight: 700; }
.feature-card p { font-size: 0.95rem; line-height: 1.7; color: var(--text-gray); }


/* ------------------------------------------------
   11. REVIEWS (Grid)
------------------------------------------------ */
.section-header { text-align: center; margin-bottom: 60px; } 
.section-header h2 { font-size: 2.8rem; margin-bottom: 15px; font-weight: 800; }

/* استخدام جريد للكروت زي ما طلبت في الكود الأخير */
.reviews-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    padding: 20px;
}

.review-card { background: #111; border: 1px solid var(--glass-border); border-radius: 25px; padding: 30px; transition: 0.3s; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.review-card:hover { border-color: var(--primary); transform: translateY(-5px); background: rgba(255, 255, 255, 0.03); }
.review-card .stars { color: #ffd700; margin-bottom: 15px; font-size: 1.2rem; }
.review-text { font-style: italic; color: #ccc; font-size: 1rem; margin-bottom: 25px; line-height: 1.6; }
.review-author { display: flex; align-items: center; gap: 15px; margin-top: auto; }
.avatar-circle { width: 50px; height: 50px; background: linear-gradient(135deg, #333, #111); border: 1px solid var(--primary); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; }
.review-author span { font-weight: 700; color: #fff; font-size: 1.1rem; }


/* ------------------------------------------------
   12. FAQ & FOOTER
------------------------------------------------ */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.faq-item { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 20px; overflow: hidden; transition: 0.3s; }
.faq-question { padding: 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: #fff; font-size: 1.1rem; }
.faq-question:hover { background: rgba(255,255,255,0.05); }
.faq-question i { transition: 0.3s; }
.faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: 0.4s ease; color: #aaa; font-size: 1rem; line-height: 1.7; }
.faq-item.active .faq-answer { padding: 0 25px 25px; max-height: 300px; }
.faq-item.active .faq-question i { transform: rotate(45deg); color: var(--primary); }

footer { background: #080808; padding: 80px 0 30px; text-align: center; border-top: 1px solid var(--glass-border); margin-top: 80px; }
.social-links { display: flex; gap: 20px; margin-top: 30px; justify-content: center; }
.social-links a { width: 50px; height: 50px; background: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; font-size: 1.5rem; border: 1px solid #333; }
.social-links a:hover { background: var(--primary); color: #000; border-color: var(--primary); transform: translateY(-5px); }

/* Modals & Utils */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(8px); }
.modal-backdrop.active { opacity: 1; visibility: visible; }
.modal-content { background: #151515; width: 90%; max-width: 420px; padding: 40px; border-radius: 25px; border: 1px solid var(--glass-border); text-align: center; transform: scale(0.9); transition: 0.3s; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.modal-icon { font-size: 3.5rem; color: var(--primary); margin-bottom: 20px; display: block; }
.modal-close { position: absolute; top: 20px; left: 20px; background: transparent; border: none; color: #888; font-size: 1.8rem; transition: 0.3s; }
.modal-close:hover { color: #fff; transform: rotate(90deg); }

.floating-wa { position: fixed; bottom: 30px; left: 30px; width: 60px; height: 60px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; z-index: 1000; transition: 0.3s; box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); }
.floating-wa:hover { transform: scale(1.1); }
.pulse-ring { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #25d366; animation: wa-pulse 2s infinite; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

.live-toast { position: fixed; bottom: 30px; right: 30px; background: rgba(20, 20, 20, 0.95); backdrop-filter: blur(10px); border-left: 4px solid var(--success-green); border-radius: 12px; padding: 15px 25px; display: flex; align-items: center; gap: 15px; box-shadow: 0 10px 40px rgba(0,0,0,0.6); transform: translateX(150%); transition: 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); z-index: 9990; min-width: 280px; }
.live-toast.show { transform: translateX(0); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }


/* ------------------------------------------------
   13. MEDIA QUERIES (FULL RESPONSIVE FIXES)
------------------------------------------------ */

/* TABLET (992px) */
@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; justify-items: center; }
    .hero-content { margin-bottom: 50px; align-items: center; }
    .hero-btns { justify-content: center; }
    .image-wrapper { width: 380px; height: 380px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .custom-panel { position: relative; top: 0; margin-bottom: 50px; order: -1; width: 100%; max-width: 600px; margin-left: auto; margin-right: auto; }
    .feature-card { flex: 0 0 calc(50% - 20px); } /* 2 Items per row */
}

/* MOBILE (768px) */
@media (max-width: 768px) {
    /* Navbar Optimization */
    .nav-links, .nav-action { display: none !important; }
    .menu-toggle { display: block; font-size: 1.8rem; }
    .navbar { height: 60px; padding: 0 10px; }
    header { padding: 10px 0; top: 35px; /* Adjust for ticker */ } 
    header.scrolled { padding: 5px 0; }
    .logo-text { font-size: 1rem; }
    .logo-img-wrapper { width: 35px; height: 35px; }
    
    /* Hero Adjustments */
    h1 { font-size: 2.2rem; line-height: 1.3; }
    .hero { padding-top: 130px; text-align: center; }
    .hero-btns { flex-direction: column; width: 100%; gap: 15px; }
    .btn-lg { width: 100%; justify-content: center; }
    .image-wrapper { width: 280px; height: 280px; margin-top: 40px; }
    
    /* Timeline Mobile Stack (Vertical Right) */
    .timeline { padding: 0 10px; }
    .timeline::before { left: auto; right: 30px; transform: none; }
    
    .timeline-item { 
        width: 100%; float: none !important; margin-bottom: 40px; 
        padding-right: 70px; padding-left: 0; 
        text-align: right !important; border: none !important; 
        display: block; 
    }
    
    .timeline-content { width: 100%; margin: 0; text-align: right !important; direction: rtl !important; }
    
    /* Force Numbers to Right */
    .timeline-number { left: auto; right: 10px; top: 0; transform: none; width: 45px; height: 45px; font-size: 1.1rem; }
    .timeline-item:nth-child(odd) .timeline-number, 
    .timeline-item:nth-child(even) .timeline-number { right: 10px; left: auto; }
    
    .timeline-item:nth-child(odd) .timeline-content, 
    .timeline-item:nth-child(even) .timeline-content { text-align: right; margin: 0; width: 100%; }
    
    /* Misc Components */
    .pay-logo-card { height: 65px; width: 130px; }
    .payment-strip { padding: 20px 0; }
    .feature-card { flex: 0 0 100%; } /* 1 Item per row */
    .features-grid { gap: 15px; padding: 10px; }
    .review-card { width: 100%; padding: 20px; }
    .floating-wa { bottom: 20px; left: 20px; width: 55px; height: 55px; font-size: 28px; }
    .modal-content { width: 95%; padding: 25px 20px; }
    .packages-grid-wide { grid-template-columns: 1fr; }
}