File size: 27,055 Bytes
86f2b12 f2d0fb9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 |
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>المعلم الرقمي - حول خبرتك إلى أرباح رقمية</title>
<link rel="icon" type="image/x-icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>👨🏫</text></svg>">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap" rel="stylesheet">
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/animejs@3.2.1/lib/anime.min.js"></script>
<style>
body {
font-family: 'Tajawal', sans-serif;
background-color: #f9fafb;
}
.hero-bg {
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}
.module-accordion-content {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-out;
}
.module-accordion-content.open {
max-height: 500px;
}
.guarantee-box {
border-left: 4px solid #10b981;
}
.countdown-timer {
font-weight: 700;
color: #ef4444;
}
.bonus-badge {
background: linear-gradient(135deg, #f59e0b, #d97706);
}
.testimonial-card {
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
</style>
</head>
<body class="bg-gray-50 text-gray-800">
<!-- Hero Section -->
<section class="hero-bg text-white py-16 px-4 md:px-8">
<div class="max-w-6xl mx-auto grid md:grid-cols-2 gap-10 items-center">
<div data-aos="fade-up">
<h1 class="text-4xl md:text-5xl font-extrabold leading-tight mb-4">أوقف بيع وقتك.. وابدأ ببناء أصول رقمية مربحة!</h1>
<p class="text-xl mb-8 opacity-90">كورس "المعلم الرقمي" ينقلك من الإرهاق والدخل المحدود إلى الحرية المالية والتأثير الرقمي في 30 يومًا فقط.</p>
<a href="#offer"
class="inline-block bg-yellow-400 hover:bg-yellow-500 text-gray-900 font-bold py-4 px-8 rounded-full text-lg shadow-lg transform hover:scale-105 transition duration-300">احصل على الكورس الآن</a>
</div>
<div class="flex justify-center" data-aos="fade-left">
<div class="bg-white p-2 rounded-2xl shadow-2xl w-full max-w-md">
<div class="bg-gray-200 border-2 border-dashed rounded-xl w-full h-64 flex items-center justify-center text-gray-500">
[فيديو ترويجي هنا]
</div>
</div>
</div>
</div>
</section>
<!-- Problem Section -->
<section class="py-16 px-4 bg-white">
<div class="max-w-4xl mx-auto text-center mb-12" data-aos="fade-up">
<h2 class="text-3xl md:text-4xl font-bold mb-6">هل تشعر أنك:</h2>
</div>
<div class="max-w-6xl mx-auto grid md:grid-cols-3 gap-8">
<div class="text-center p-6" data-aos="fade-up" data-aos-delay="100">
<i data-feather="dollar-sign" class="w-12 h-12 mx-auto text-red-500 mb-4"></i>
<h3 class="text-xl font-bold mb-2">محدود في دخلك رغم خبرتك؟</h3>
<p class="text-gray-600">كل يوم نفس الروتين، وراتبك لا يتعدى حدود معينة مهما زادت جهودك.</p>
</div>
<div class="text-center p-6" data-aos="fade-up" data-aos-delay="200">
<i data-feather="clock" class="w-12 h-12 mx-auto text-red-500 mb-4"></i>
<h3 class="text-xl font-bold mb-2">متعب من بيع وقتك بالساعة؟</h3>
<p class="text-gray-600">تستيقظ كل يوم لمجرد أن تبدأ من جديد، دون بناء حقيقي لمستقبلك.</p>
</div>
<div class="text-center p-6" data-aos="fade-up" data-aos-delay="300">
<i data-feather="smartphone" class="w-12 h-12 mx-auto text-red-500 mb-4"></i>
<h3 class="text-xl font-bold mb-2">تخاف من دخول عالم التكنولوجيا؟</h3>
<p class="text-gray-600">تشعر أنك متخلف تقنيًا، وأن عالم الإنترنت ليس لك.</p>
</div>
</div>
</section>
<!-- Solution Section -->
<section class="py-16 px-4 bg-indigo-50">
<div class="max-w-4xl mx-auto text-center" data-aos="fade-up">
<h2 class="text-3xl md:text-4xl font-bold mb-6">تخيل أنك تستيقظ كل يوم...</h2>
<p class="text-xl mb-10">لتجد طلابك الجدد يتدفقون تلقائيًا، دخلك ينمو حتى وأنت نائم، وخبرتك تصل لآلاف الطلاب عبر الإنترنت.</p>
<div class="bg-white p-8 rounded-2xl shadow-lg inline-block max-w-2xl">
<h3 class="text-2xl font-bold text-indigo-700 mb-4">هذا تمامًا ما ستحققه مع كورس "المعلم الرقمي"</h3>
<p class="mb-4">تحول من كونك معلمًا تقليديًا إلى "معلم رقمي" يبني أصولًا مالية مستمرة، ويزيد تأثيره على آلاف الطلاب حول العالم.</p>
<p class="font-bold text-lg">الحل الوحيد الذي يربط بين خبرتك وعالم الأرباح الرقمية.</p>
</div>
</div>
</section>
<!-- Authority Section -->
<section class="py-16 px-4 bg-white">
<div class="max-w-6xl mx-auto grid md:grid-cols-2 gap-12 items-center">
<div data-aos="fade-right">
<img src="https://placehold.co/500x500?text=محمد+الرحيلي" alt="محمد الرحيلي" class="rounded-2xl shadow-xl w-full max-w-md mx-auto">
</div>
<div data-aos="fade-left">
<h2 class="text-3xl font-bold mb-6">لماذا أنا؟</h2>
<p class="mb-4"><span class="font-bold">محمد الرحيلي</span>، مدرب محترف ومؤسس شركة تعليمية رقمية ناجحة، بدأت كأستاذ جامعي متخصص في تكنولوجيا التعليم.</p>
<p class="mb-4">مررت بنفس "الجحيم" الذي تمر به الآن: إرهاق، دخل محدود، وخوف من التغيير. لكنني اخترت أن أتعلم كيف أحوّل خبرتي إلى أصول رقمية.</p>
<p class="mb-4">اليوم، لديّ كورسات رقمية تدر عليّ أرباحًا شهريًا ثابتة، وطلابي يصلون آلافًا من كل أنحاء العالم، وكل ذلك بدون بيع وقتٍ أو جهدٍ إضافي.</p>
<p class="font-bold">الآن حان دورك لتصبح "المعلم الرقمي".</p>
</div>
</div>
</section>
<!-- Modules Section -->
<section class="py-16 px-4 bg-gray-50">
<div class="max-w-4xl mx-auto">
<h2 class="text-3xl font-bold text-center mb-12" data-aos="fade-up">ما الذي ستتعلمه في الكورس؟</h2>
<div class="space-y-4">
<!-- Module 1 -->
<div class="bg-white rounded-xl shadow-md overflow-hidden module-accordion" data-aos="fade-up">
<div class="p-6 cursor-pointer flex justify-between items-center module-header">
<h3 class="text-xl font-bold">الوحدة الأولى: تحويل الخبرة إلى منتج رقمي</h3>
<i data-feather="chevron-down" class="w-5 h-5 text-indigo-600"></i>
</div>
<div class="module-accordion-content px-6 pb-6">
<p>تعلم كيف تأخذ خبرتك الحقيقية وتُحوّلها إلى منتج رقمي يمكن بيعه تلقائيًا. سنبدأ من الصفر حتى تملك منتجك الأول جاهزًا.</p>
</div>
</div>
<!-- Module 2 -->
<div class="bg-white rounded-xl shadow-md overflow-hidden module-accordion" data-aos="fade-up" data-aos-delay="100">
<div class="p-6 cursor-pointer flex justify-between items-center module-header">
<h3 class="text-xl font-bold">الوحدة الثانية: بناء حضور رقمي جذاب</h3>
<i data-feather="chevron-down" class="w-5 h-5 text-indigo-600"></i>
</div>
<div class="module-accordion-content px-6 pb-6">
<p>كيف تبني حضورًا رقميًا يثق به الطلاب ويجذبهم إليك تلقائيًا. سنغطي المنصات المناسبة، وكتابة المحتوى الجذاب، واستراتيجيات النمو السريع.</p>
</div>
</div>
<!-- Module 3 -->
<div class="bg-white rounded-xl shadow-md overflow-hidden module-accordion" data-aos="fade-up" data-aos-delay="200">
<div class="p-6 cursor-pointer flex justify-between items-center module-header">
<h3 class="text-xl font-bold">الوحدة الثالثة: نظام البيع التلقائي</h3>
<i data-feather="chevron-down" class="w-5 h-5 text-indigo-600"></i>
</div>
<div class="module-accordion-content px-6 pb-6">
<p>تعلم كيفية بناء نظام بيع تلقائي يجلب لك عملاء جدد باستمرار، بدون الحاجة للتسويق اليومي أو بيع نفسك.</p>
</div>
</div>
<!-- Module 4 -->
<div class="bg-white rounded-xl shadow-md overflow-hidden module-accordion" data-aos="fade-up" data-aos-delay="300">
<div class="p-6 cursor-pointer flex justify-between items-center module-header">
<h3 class="text-xl font-bold">الوحدة الرابعة: إدارة أعمالك الرقمي</h3>
<i data-feather="chevron-down" class="w-5 h-5 text-indigo-600"></i>
</div>
<div class="module-accordion-content px-6 pb-6">
<p>إدارة أعمالك الرقمي بفعالية: من تتبع الأداء، إلى تحسين المنتجات، إلى بناء فريق عمل افتراضي.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Offer Section -->
<section id="offer" class="py-16 px-4 bg-gradient-to-r from-indigo-600 to-purple-700 text-white">
<div class="max-w-4xl mx-auto text-center" data-aos="fade-up">
<h2 class="text-3xl md:text-4xl font-bold mb-6">عرض لا يُقاوم!</h2>
<p class="text-xl mb-10">احصل على الكورس الأساسي + 3 هدايا قيمة جداً بسعر واحد فقط!</p>
<div class="bg-white text-gray-800 p-8 rounded-2xl shadow-2xl mb-10 inline-block max-w-2xl w-full">
<div class="flex items-center mb-4 bonus-badge text-white py-2 px-4 rounded-full text-sm font-bold inline-block">
<i data-feather="gift" class="ml-2"></i> هدية مجانية!
</div>
<ul class="text-right space-y-4 mb-6">
<li class="flex items-start">
<i data-feather="check-circle" class="text-green-500 mt-1 ml-2"></i>
<span><strong>الكورس الأساسي:</strong> "المعلم الرقمي" - القيمة: 1499 ريال</span>
</li>
<li class="flex items-start">
<i data-feather="check-circle" class="text-green-500 mt-1 ml-2"></i>
<span><strong>هدية أولى:</strong> قالب موقع جاهز لمدرسك الرقمي - القيمة: 499 ريال</span>
</li>
<li class="flex items-start">
<i data-feather="check-circle" class="text-green-500 mt-1 ml-2"></i>
<span><strong>هدية ثانية:</strong> دورة تسويق المحتوى المجاني - القيمة: 399 ريال</span>
</li>
<li class="flex items-start">
<i data-feather="check-circle" class="text-green-500 mt-1 ml-2"></i>
<span><strong>هدية ثالثة:</strong> دليل اختيار المنصة المناسبة - القيمة: 299 ريال</span>
</li>
</ul>
<div class="border-t pt-4">
<p class="line-through text-gray-500">القيمة الإجمالية: 2696 ريال</p>
<p class="text-2xl font-bold text-indigo-700">السعر الآن: فقط 999 ريال</p>
<p class="mt-2 text-green-600 font-bold">وفر أكثر من 1700 ريال!</p>
</div>
</div>
<a href="#cta"
class="inline-block bg-yellow-400 hover:bg-yellow-500 text-gray-900 font-bold py-4 px-10 rounded-full text-xl shadow-lg transform hover:scale-105 transition duration-300">احصل على العرض الآن</a>
</div>
</section>
<!-- Testimonials Section -->
<section class="py-16 px-4 bg-white">
<div class="max-w-4xl mx-auto">
<h2 class="text-3xl font-bold text-center mb-12" data-aos="fade-up">قصص تحول حقيقية</h2>
<div class="grid md:grid-cols-3 gap-8">
<!-- Testimonial 1 -->
<div class="testimonial-card bg-gray-50 p-6 rounded-2xl" data-aos="fade-up">
<div class="flex items-center mb-4">
<img src="https://placehold.co/60x60?text=سارة" alt="سارة" class="w-12 h-12 rounded-full ml-4">
<div>
<h4 class="font-bold">سارة محمد</h4>
<p class="text-sm text-gray-600">معلمة لغة عربية</p>
</div>
</div>
<p class="italic">"بعد أن كنت أشعر بالإحباط من راتبي المحدود، بدأت أطبق ما تعلمته في الكورس، وخلال شهرين أفتح مدرستي الرقمية الخاصة، والآن دخلي زاد بأكثر من 300%!"</p>
</div>
<!-- Testimonial 2 -->
<div class="testimonial-card bg-gray-50 p-6 rounded-2xl" data-aos="fade-up" data-aos-delay="100">
<div class="flex items-center mb-4">
<img src="https://placehold.co/60x60?text=أحمد" alt="أحمد" class="w-12 h-12 rounded-full ml-4">
<div>
<h4 class="font-bold">أحمد العلي</h4>
<p class="text-sm text-gray-600">مدرب تطوير ذاتي</p>
</div>
</div>
<p class="italic">"كنت أخاف من التكنولوجيا، لكن الكورس غيّر حياتي. الآن لديّ كورسات رقمية تدر عليّ أرباحًا شهريًا ثابتة، وأنا أؤثر في الآلاف عبر الإنترنت."</p>
</div>
<!-- Testimonial 3 -->
<div class="testimonial-card bg-gray-50 p-6 rounded-2xl" data-aos="fade-up" data-aos-delay="200">
<div class="flex items-center mb-4">
<img src="https://placehold.co/60x60?text=منى" alt="منى" class="w-12 h-12 rounded-full ml-4">
<div>
<h4 class="font-bold">منى عبدالله</h4>
<p class="text-sm text-gray-600">معلمة رياض الأطفال</p>
</div>
</div>
<p class="italic">"لم أكن أتخيل يومًا أنني سأستطيع كسب المال من خبرتي عبر الإنترنت، لكن بعد إتمامي للكورس، بدأت ببيع كورساتي الخاصة، والآن أستفيد من وقت فراغي بطريقة مربحة."</p>
</div>
</div>
</div>
</section>
<!-- Guarantee Section -->
<section class="py-16 px-4 bg-indigo-50">
<div class="max-w-4xl mx-auto guarantee-box p-8 rounded-2xl bg-white shadow-lg" data-aos="fade-up">
<div class="flex items-start">
<i data-feather="shield" class="w-12 h-12 text-green-500 ml-4 mt-1"></i>
<div>
<h3 class="text-2xl font-bold mb-4">ضمان استرجاع الأموال لمدة 30 يومًا</h3>
<p class="mb-4">إذا لم تجد الكورس مفيدًا أو لم تحقق النتائج التي وعدنا بها، يمكنك استرجاع أموالك بالكامل خلال 30 يومًا – بلا أسئلة.</p>
<p class="font-bold">نحن نؤمن بما نقدمه، ونثق أنك ستتحول كما تحول آلاف المعلمين والمدربين الآخرين.</p>
</div>
</div>
</div>
</section>
<!-- FAQ Section -->
<section class="py-16 px-4 bg-white">
<div class="max-w-4xl mx-auto">
<h2 class="text-3xl font-bold text-center mb-12" data-aos="fade-up">الأسئلة الشائعة</h2>
<div class="space-y-4">
<!-- FAQ 1 -->
<div class="bg-gray-50 rounded-xl shadow-sm overflow-hidden faq-accordion" data-aos="fade-up">
<div class="p-6 cursor-pointer flex justify-between items-center faq-header">
<h3 class="text-lg font-bold">هل أحتاج لخبرة تقنية لتطبيق الكورس؟</h3>
<i data-feather="chevron-down" class="w-5 h-5 text-indigo-600"></i>
</div>
<div class="faq-content px-6 pb-6 hidden">
<p>لا، الكورس موجه للمبتدئين تمامًا. كل خطوة موضحة بالتفصيل، وسنقوم بتزويدك بالأدوات الجاهزة التي لا تحتاج لخبرة تقنية.</p>
</div>
</div>
<!-- FAQ 2 -->
<div class="bg-gray-50 rounded-xl shadow-sm overflow-hidden faq-accordion" data-aos="fade-up">
<div class="p-6 cursor-pointer flex justify-between items-center faq-header">
<h3 class="text-lg font-bold">هل السوق مزدحم والموضوع صعب؟</h3>
<i data-feather="chevron-down" class="w-5 h-5 text-indigo-600"></i>
</div>
<div class="faq-content px-6 pb-6 hidden">
<p>السوق مليء بالمعلمين، لكن قليل منهم يعرف كيف يبني منتجًا رقميًا. الكورس يعلمك كيف تتميز وتكون متميزًا بفضل خبرتك الفريدة.</p>
</div>
</div>
<!-- FAQ 3 -->
<div class="bg-gray-50 rounded-xl shadow-sm overflow-hidden faq-accordion" data-aos="fade-up">
<div class="p-6 cursor-pointer flex justify-between items-center faq-header">
<h3 class="text-lg font-bold">كم من الوقت أحتاج لبدء تحقيق الأرباح؟</h3>
<i data-feather="chevron-down" class="w-5 h-5 text-indigo-600"></i>
</div>
<div class="faq-content px-6 pb-6 hidden">
<p>العديد من المشاركين بدأوا يحققون أرباحهم خلال الأسبوع الأول من تطبيق الكورس، لكن الأرباح المستمرة تبدأ بعد 30 يومًا من التطبيق المستمر.</p>
</div>
</div>
<!-- FAQ 4 -->
<div class="bg-gray-50 rounded-xl shadow-sm overflow-hidden faq-accordion" data-aos="fade-up">
<div class="p-6 cursor-pointer flex justify-between items-center faq-header">
<h3 class="text-lg font-bold">هل الكورس يناسب المعلمين في جميع التخصصات؟</h3>
<i data-feather="chevron-down" class="w-5 h-5 text-indigo-600"></i>
</div>
<div class="faq-content px-6 pb-6 hidden">
<p>نعم، الكورس يناسب جميع المعلمين والمدربين، بغض النظر عن تخصصهم. نحن نركز على تحويل الخبرة إلى منتج، وليس على محتوى التخصص.</p>
</div>
</div>
<!-- FAQ 5 -->
<div class="bg-gray-50 rounded-xl shadow-sm overflow-hidden faq-accordion" data-aos="fade-up">
<div class="p-6 cursor-pointer flex justify-between items-center faq-header">
<h3 class="text-lg font-bold">هل سأحصل على دعم بعد انتهاء الكورس؟</h3>
<i data-feather="chevron-down" class="w-5 h-5 text-indigo-600"></i>
</div>
<div class="faq-content px-6 pb-6 hidden">
<p>نعم، ستحصل على دعم مباشر من الفريق لمدة شهر بعد انتهاء الكورس، بالإضافة إلى انضمامك إلى مجموعة خاصة للمعلمين الرقميين.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Final CTA with Countdown -->
<section id="cta" class="py-16 px-4 bg-gradient-to-r from-red-600 to-orange-500 text-white">
<div class="max-w-4xl mx-auto text-center" data-aos="fade-up">
<h2 class="text-3xl md:text-4xl font-bold mb-6">لا تفوت الفرصة!</h2>
<p class="text-xl mb-8">العرض محدود والعدد محدود. ابدأ تحولك الآن قبل انتهاء الوقت!</p>
<div class="bg-white text-gray-900 p-6 rounded-2xl shadow-xl inline-block mb-10 max-w-md w-full">
<p class="font-bold mb-4">العرض ينتهي خلال:</p>
<div id="countdown" class="flex justify-center space-x-4 countdown-timer text-2xl font-mono">
<div class="text-center">
<span id="days" class="block text-3xl font-bold">02</span>
<span class="text-sm">أيام</span>
</div>
<div class="text-center">
<span id="hours" class="block text-3xl font-bold">12</span>
<span class="text-sm">ساعات</span>
</div>
<div class="text-center">
<span id="minutes" class="block text-3xl font-bold">45</span>
<span class="text-sm">دقائق</span>
</div>
<div class="text-center">
<span id="seconds" class="block text-3xl font-bold">30</span>
<span class="text-sm">ثوانٍ</span>
</div>
</div>
</div>
<a href="https://checkout.link"
class="inline-block bg-yellow-400 hover:bg-yellow-500 text-gray-900 font-bold py-5 px-12 rounded-full text-xl shadow-2xl transform hover:scale-105 transition duration-300">احصل على الكورس الآن</a>
</div>
</section>
<!-- Footer -->
<footer class="py-8 px-4 bg-gray-900 text-white text-center">
<p>© 2025 المعلم الرقمي. جميع الحقوق محفوظة.</p>
</footer>
<script>
AOS.init();
feather.replace();
// Accordion functionality
document.querySelectorAll('.module-header').forEach(header => {
header.addEventListener('click', () => {
const content = header.nextElementSibling;
const icon = header.querySelector('i');
content.classList.toggle('open');
icon.setAttribute('data-feather', content.classList.contains('open') ? 'chevron-up' : 'chevron-down');
feather.replace();
});
});
document.querySelectorAll('.faq-header').forEach(header => {
header.addEventListener('click', () => {
const content = header.nextElementSibling;
const icon = header.querySelector('i');
content.classList.toggle('hidden');
icon.setAttribute('data-feather', content.classList.contains('hidden') ? 'chevron-down' : 'chevron-up');
feather.replace();
});
});
// Countdown Timer
function updateCountdown() {
const future = new Date();
future.setDate(future.getDate() + 2); // Expires in 2 days
const diff = future - new Date();
if (diff <= 0) return clearInterval(timer);
const days = Math.floor(diff / (1000 * 60 * 60 * 24));
const hours = Math.floor((diff % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
const minutes = Math.floor((diff % (1000 * 60 * 60)) / (1000 * 60));
const seconds = Math.floor((diff % (1000 * 60)) / 1000);
document.getElementById("days").innerText = String(days).padStart(2, '0');
document.getElementById("hours").innerText = String(hours).padStart(2, '0');
document.getElementById("minutes").innerText = String(minutes).padStart(2, '0');
document.getElementById("seconds").innerText = String(seconds).padStart(2, '0');
}
const timer = setInterval(updateCountdown, 1000);
updateCountdown();
</script>
</body>
</html>
|