-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
848 lines (809 loc) · 32.4 KB
/
index.html
File metadata and controls
848 lines (809 loc) · 32.4 KB
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
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
<!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 href="https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Tajawal:wght@300;400;700;900&display=swap" rel="stylesheet"/>
<style>
:root {
--bg: #050810;
--surface: #0d1220;
--card: #111827;
--accent: #00e5ff;
--accent2: #7c3aed;
--accent3: #f97316;
--text: #e8edf5;
--muted: #7a8ba0;
--border: rgba(0,229,255,0.12);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: 'Cairo', sans-serif;
background: var(--bg);
color: var(--text);
overflow-x: hidden;
}
/* ─── Grid Noise Background ─── */
body::before {
content: '';
position: fixed;
inset: 0;
background-image:
linear-gradient(rgba(0,229,255,0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(0,229,255,0.03) 1px, transparent 1px);
background-size: 60px 60px;
z-index: 0;
pointer-events: none;
}
/* ─── NAVBAR ─── */
nav {
position: fixed;
top: 0; left: 0; right: 0;
z-index: 100;
padding: 1.2rem 4rem;
display: flex;
align-items: center;
justify-content: space-between;
background: rgba(5,8,16,0.7);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border);
}
.logo {
font-family: 'Tajawal', sans-serif;
font-size: 1.6rem;
font-weight: 900;
letter-spacing: -1px;
background: linear-gradient(135deg, var(--accent), var(--accent2));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.logo span { color: var(--accent3); -webkit-text-fill-color: var(--accent3); }
nav ul {
list-style: none;
display: flex;
gap: 2.5rem;
}
nav ul a {
text-decoration: none;
color: var(--muted);
font-size: .95rem;
font-weight: 600;
transition: color .2s;
position: relative;
}
nav ul a::after {
content: '';
position: absolute;
bottom: -4px; right: 0;
width: 0; height: 2px;
background: var(--accent);
transition: width .3s;
}
nav ul a:hover { color: var(--accent); }
nav ul a:hover::after { width: 100%; }
.nav-btn {
background: transparent;
border: 1.5px solid var(--accent);
color: var(--accent);
padding: .55rem 1.6rem;
border-radius: 50px;
font-family: 'Cairo', sans-serif;
font-size: .9rem;
font-weight: 700;
cursor: none;
transition: background .25s, color .25s;
}
.nav-btn:hover { background: var(--accent); color: #000; }
/* ─── HERO ─── */
.hero {
position: relative;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
padding: 8rem 2rem 4rem;
z-index: 1;
overflow: hidden;
}
/* Animated blobs */
.blob {
position: absolute;
border-radius: 50%;
filter: blur(100px);
opacity: 0.18;
animation: drift 10s ease-in-out infinite alternate;
}
.blob-1 { width: 500px; height: 500px; background: var(--accent2); top: -100px; right: -100px; animation-delay: 0s; }
.blob-2 { width: 400px; height: 400px; background: var(--accent); bottom: -80px; left: -80px; animation-delay: -4s; }
.blob-3 { width: 300px; height: 300px; background: var(--accent3); top: 40%; left: 40%; animation-delay: -7s; }
@keyframes drift {
from { transform: translate(0, 0) scale(1); }
to { transform: translate(40px, -40px) scale(1.15); }
}
.badge {
display: inline-flex;
align-items: center;
gap: .5rem;
background: rgba(0,229,255,0.08);
border: 1px solid var(--border);
border-radius: 50px;
padding: .4rem 1.2rem;
font-size: .8rem;
color: var(--accent);
font-weight: 600;
margin-bottom: 2rem;
animation: fadeDown .8s ease both;
}
.badge .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.4)} }
@keyframes fadeDown { from{opacity:0;transform:translateY(-20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(30px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.hero h1 {
font-family: 'Tajawal', sans-serif;
font-size: clamp(3rem, 7vw, 6rem);
font-weight: 900;
line-height: 1.1;
letter-spacing: -2px;
margin-bottom: 1.5rem;
animation: fadeUp .9s ease .2s both;
}
.hero h1 em {
font-style: normal;
background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 60%, var(--accent3) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero p {
max-width: 600px;
font-size: 1.15rem;
color: var(--muted);
line-height: 1.8;
margin-bottom: 2.5rem;
animation: fadeUp .9s ease .4s both;
}
.hero-btns {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
animation: fadeUp .9s ease .6s both;
}
.btn-primary {
background: linear-gradient(135deg, var(--accent), var(--accent2));
color: #fff;
border: none;
padding: .9rem 2.5rem;
border-radius: 50px;
font-family: 'Cairo', sans-serif;
font-size: 1rem;
font-weight: 700;
cursor: none;
position: relative;
overflow: hidden;
transition: transform .2s, box-shadow .2s;
box-shadow: 0 0 30px rgba(0,229,255,0.2);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(0,229,255,0.4); }
.btn-secondary {
background: transparent;
border: 1.5px solid rgba(255,255,255,0.15);
color: var(--text);
padding: .9rem 2.5rem;
border-radius: 50px;
font-family: 'Cairo', sans-serif;
font-size: 1rem;
font-weight: 600;
cursor: none;
transition: border-color .2s, color .2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
/* Stats bar */
.stats-bar {
margin-top: 5rem;
display: flex;
gap: 3rem;
justify-content: center;
flex-wrap: wrap;
animation: fadeIn 1s ease 1s both;
}
.stat { text-align: center; }
.stat-num {
font-family: 'Tajawal', sans-serif;
font-size: 2.2rem;
font-weight: 900;
background: linear-gradient(135deg, var(--accent), #fff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.stat-label { font-size: .85rem; color: var(--muted); margin-top: .2rem; }
.stat-divider { width: 1px; background: var(--border); align-self: stretch; }
/* ─── CODE WINDOW ─── */
.code-window {
margin: 0 auto;
max-width: 640px;
background: var(--card);
border-radius: 16px;
border: 1px solid var(--border);
overflow: hidden;
margin-top: 4rem;
animation: fadeUp 1s ease .8s both;
box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,229,255,0.05);
}
.code-titlebar {
display: flex;
align-items: center;
gap: .5rem;
padding: .8rem 1rem;
background: rgba(255,255,255,0.03);
border-bottom: 1px solid var(--border);
}
.dot-r { width:10px;height:10px;border-radius:50%;background:#ff5f57; }
.dot-y { width:10px;height:10px;border-radius:50%;background:#febc2e; }
.dot-g { width:10px;height:10px;border-radius:50%;background:#28c840; }
.code-file { margin-right: auto; font-size:.8rem; color:var(--muted); }
.code-body { padding: 1.5rem; font-family: 'Courier New', monospace; font-size: .9rem; line-height: 1.8; text-align: left; direction: ltr; }
.kw { color: #c792ea; }
.fn { color: #82aaff; }
.str { color: #c3e88d; }
.cm { color: #546e7a; }
.num { color: #f78c6c; }
.op { color: var(--accent); }
.cursor-blink { display: inline-block; width: 2px; height: 1em; background: var(--accent); animation: blink .8s step-end infinite; vertical-align: text-bottom; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
/* ─── SECTION SHARED ─── */
section { position: relative; z-index: 1; }
.section-label {
display: inline-block;
font-size: .78rem;
font-weight: 700;
letter-spacing: 3px;
text-transform: uppercase;
color: var(--accent);
margin-bottom: 1rem;
}
.section-title {
font-family: 'Tajawal', sans-serif;
font-size: clamp(2rem, 4vw, 3rem);
font-weight: 900;
line-height: 1.2;
margin-bottom: 1rem;
}
.section-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.8; max-width: 560px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
/* ─── TRACKS ─── */
.tracks { padding: 8rem 2rem; }
.tracks-header { text-align: center; margin-bottom: 4rem; }
.tracks-header .section-sub { margin: 0 auto; }
.tracks-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
}
.track-card {
background: var(--card);
border: 1px solid var(--border);
border-radius: 20px;
padding: 2rem;
position: relative;
overflow: hidden;
transition: transform .3s, border-color .3s, box-shadow .3s;
cursor: none;
}
.track-card::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, var(--card-accent, rgba(0,229,255,0.05)), transparent);
opacity: 0;
transition: opacity .3s;
}
.track-card:hover { transform: translateY(-6px); border-color: var(--card-accent-border, var(--accent)); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.track-card:hover::before { opacity: 1; }
.track-card:nth-child(2) { --card-accent: rgba(124,58,237,0.08); --card-accent-border: var(--accent2); }
.track-card:nth-child(3) { --card-accent: rgba(249,115,22,0.08); --card-accent-border: var(--accent3); }
.track-card:nth-child(4) { --card-accent: rgba(16,185,129,0.08); --card-accent-border: #10b981; }
.track-icon {
width: 56px; height: 56px;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.6rem;
margin-bottom: 1.2rem;
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.07);
}
.track-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
.track-card p { font-size: .9rem; color: var(--muted); line-height: 1.7; }
.track-meta {
display: flex;
gap: 1rem;
margin-top: 1.5rem;
font-size: .8rem;
color: var(--muted);
}
.track-meta span { display: flex; align-items: center; gap: .3rem; }
.track-badge {
position: absolute;
top: 1.2rem;
left: 1.2rem;
font-size: .7rem;
font-weight: 700;
padding: .3rem .8rem;
border-radius: 50px;
background: rgba(0,229,255,0.1);
color: var(--accent);
border: 1px solid rgba(0,229,255,0.2);
}
/* ─── FEATURES ─── */
.features { padding: 6rem 2rem; background: linear-gradient(180deg, transparent, rgba(13,18,32,0.8), transparent); }
.features-inner {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 5rem;
align-items: center;
max-width: 1100px;
margin: 0 auto;
}
.features-list { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.feature-item {
display: flex;
gap: 1rem;
align-items: flex-start;
padding: 1.2rem;
border-radius: 14px;
border: 1px solid transparent;
transition: border-color .2s, background .2s;
cursor: none;
}
.feature-item:hover { border-color: var(--border); background: rgba(255,255,255,0.02); }
.feature-icon {
width: 44px; height: 44px;
border-radius: 12px;
background: rgba(0,229,255,0.08);
border: 1px solid rgba(0,229,255,0.15);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.3rem;
flex-shrink: 0;
}
.feature-text h4 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.feature-text p { font-size: .88rem; color: var(--muted); line-height: 1.6; }
/* Dashboard mockup */
.dashboard-mock {
background: var(--card);
border-radius: 20px;
border: 1px solid var(--border);
overflow: hidden;
box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}
.dash-top {
background: rgba(255,255,255,0.03);
border-bottom: 1px solid var(--border);
padding: .8rem 1rem;
display: flex;
gap: .5rem;
align-items: center;
}
.dash-body { padding: 1.5rem; }
.progress-item { margin-bottom: 1.2rem; }
.progress-label { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-bottom: .4rem; }
.progress-bar { height: 6px; background: rgba(255,255,255,0.06); border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 10px; animation: fillBar 2s ease 1s both; }
@keyframes fillBar { from{width:0} }
.p1 { width: 85%; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.p2 { width: 62%; background: linear-gradient(90deg, var(--accent2), var(--accent3)); }
.p3 { width: 40%; background: linear-gradient(90deg, var(--accent3), #f97316); }
.p4 { width: 20%; background: linear-gradient(90deg, #10b981, var(--accent)); }
.dash-streak {
display: flex;
gap: .4rem;
margin-top: 1.5rem;
}
.streak-day {
flex: 1;
height: 32px;
border-radius: 6px;
background: rgba(255,255,255,0.04);
display: flex;
align-items: center;
justify-content: center;
font-size: .6rem;
color: var(--muted);
}
.streak-day.done { background: rgba(0,229,255,0.15); color: var(--accent); }
.streak-day.today { background: var(--accent); color: #000; font-weight: 700; }
/* ─── TESTIMONIALS ─── */
.testimonials { padding: 8rem 2rem; }
.testimonials-header { text-align: center; margin-bottom: 4rem; }
.testimonials-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.5rem;
max-width: 1100px;
margin: 0 auto;
}
.tcard {
background: var(--card);
border: 1px solid var(--border);
border-radius: 20px;
padding: 2rem;
transition: transform .3s;
cursor: none;
}
.tcard:hover { transform: translateY(-4px); }
.tcard .stars { color: #fbbf24; font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.tcard p { font-size: .92rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.tcard-author { display: flex; align-items: center; gap: .8rem; }
.avatar {
width: 44px; height: 44px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.2rem;
border: 2px solid var(--border);
}
.tcard-author h5 { font-size: .92rem; font-weight: 700; }
.tcard-author span { font-size: .78rem; color: var(--muted); }
/* ─── CTA ─── */
.cta-section {
padding: 8rem 2rem;
text-align: center;
}
.cta-box {
max-width: 800px;
margin: 0 auto;
background: var(--card);
border: 1px solid var(--border);
border-radius: 32px;
padding: 5rem 3rem;
position: relative;
overflow: hidden;
}
.cta-box::before {
content: '';
position: absolute;
top: -50%; left: 50%;
transform: translateX(-50%);
width: 600px; height: 300px;
background: radial-gradient(ellipse, rgba(0,229,255,0.12), transparent 70%);
pointer-events: none;
}
.cta-box h2 {
font-family: 'Tajawal', sans-serif;
font-size: clamp(2rem, 4vw, 3rem);
font-weight: 900;
margin-bottom: 1rem;
}
.cta-box p { color: var(--muted); font-size: 1.05rem; margin-bottom: 2.5rem; }
.cta-input-row {
display: flex;
gap: .8rem;
max-width: 460px;
margin: 0 auto;
}
.cta-input {
flex: 1;
background: rgba(255,255,255,0.05);
border: 1.5px solid var(--border);
border-radius: 50px;
padding: .9rem 1.5rem;
font-family: 'Cairo', sans-serif;
font-size: .95rem;
color: var(--text);
outline: none;
transition: border-color .2s;
}
.cta-input::placeholder { color: var(--muted); }
.cta-input:focus { border-color: var(--accent); }
/* ─── FOOTER ─── */
footer {
border-top: 1px solid var(--border);
padding: 3rem 4rem;
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 1rem;
position: relative;
z-index: 1;
}
footer .logo { font-size: 1.3rem; }
footer p { font-size: .85rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .85rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
/* ─── Scroll reveal ─── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (max-width: 768px) {
nav { padding: 1rem 1.5rem; }
nav ul { display: none; }
.features-inner { grid-template-columns: 1fr; }
.cta-input-row { flex-direction: column; }
footer { padding: 2rem; flex-direction: column; text-align: center; }
}
</style>
</head>
<body>
<!-- NAV -->
<nav>
<a href="index.html" class="logo" style="text-decoration:none">كود<span>ماستر</span></a>
<ul>
<li><a href="courses.html">المسارات</a></li>
<li><a href="#features">المميزات</a></li>
<li><a href="#reviews">آراء الطلاب</a></li>
<li><a href="contact.html">تواصل معنا</a></li>
</ul>
<div style="display:flex;gap:.8rem;align-items:center">
<a href="login.html" class="nav-btn" style="text-decoration:none">تسجيل الدخول</a>
<a href="register.html" class="btn-primary" style="text-decoration:none;padding:.55rem 1.4rem;font-size:.9rem">ابدأ مجاناً</a>
</div>
</nav>
<!-- HERO -->
<section class="hero">
<div class="blob blob-1"></div>
<div class="blob blob-2"></div>
<div class="blob blob-3"></div>
<div class="badge"><span class="dot"></span> منصة التعلم رقم #١ في المنطقة</div>
<h1>تعلّم البرمجة.<br/><em>غيّر مستقبلك.</em></h1>
<p>من الصفر للاحتراف — مسارات تعليمية متكاملة باللغة العربية، مع مشاريع حقيقية وإشراف من خبراء الصناعة.</p>
<div class="hero-btns">
<a href="register.html" class="btn-primary" style="text-decoration:none">🚀 ابدأ رحلتك الآن</a>
<a href="courses.html" class="btn-secondary" style="text-decoration:none">▶ شاهد كيف تعمل المنصة</a>
</div>
<div class="stats-bar">
<div class="stat"><div class="stat-num">+٤٢٠٠٠</div><div class="stat-label">طالب نشط</div></div>
<div class="stat-divider"></div>
<div class="stat"><div class="stat-num">٩٦٪</div><div class="stat-label">نسبة الرضا</div></div>
<div class="stat-divider"></div>
<div class="stat"><div class="stat-num">+٢٠٠</div><div class="stat-label">درس تفاعلي</div></div>
<div class="stat-divider"></div>
<div class="stat"><div class="stat-num">+٥٠٠٠</div><div class="stat-label">فرصة عمل</div></div>
</div>
<div class="code-window">
<div class="code-titlebar">
<span class="dot-r"></span><span class="dot-y"></span><span class="dot-g"></span>
<span class="code-file">first_project.py</span>
</div>
<div class="code-body">
<span class="cm"># مرحباً بك في أول مشروع لك 🎉</span><br/>
<span class="kw">def</span> <span class="fn">greet_developer</span>(name):<br/>
message <span class="op">=</span> <span class="str">f"أهلاً {name}، مستقبلك يبدأ الآن!"</span><br/>
<span class="kw">return</span> message<br/>
<br/>
result <span class="op">=</span> <span class="fn">greet_developer</span>(<span class="str">"Ahmed"</span>)<br/>
<span class="fn">print</span>(result)<br/>
<br/>
<span class="cm"># Output: أهلاً Ahmed، مستقبلك يبدأ الآن!</span><span class="cursor-blink"></span>
</div>
</div>
</section>
<!-- TRACKS -->
<section class="tracks" id="tracks">
<div class="tracks-header reveal">
<div class="section-label">المسارات التعليمية</div>
<h2 class="section-title">اختر مسارك واحترف</h2>
<p class="section-sub">كل مسار صُمِّم بعناية مع خبراء من شركات التقنية الكبرى لضمان أعلى جودة تعليمية.</p>
</div>
<div class="container">
<div class="tracks-grid">
<a href="courses.html" class="track-card reveal" style="text-decoration:none;display:block">
<span class="track-badge">الأكثر طلباً</span>
<div class="track-icon">🌐</div>
<h3>تطوير الويب الكامل</h3>
<p>HTML, CSS, JavaScript, React, Node.js وقواعد البيانات. كل ما تحتاجه لتصبح Full Stack Developer.</p>
<div class="track-meta">
<span>📚 ٨٥ درس</span>
<span>⏱ ٦ أشهر</span>
<span>⭐ ٤.٩</span>
</div>
</a>
<a href="courses.html" class="track-card reveal" style="text-decoration:none;display:block;transition-delay:.1s">
<div class="track-icon">🤖</div>
<h3>الذكاء الاصطناعي</h3>
<p>Python, ML, Deep Learning وبناء نماذج الذكاء الاصطناعي. ادخل أكثر المجالات طلباً في سوق العمل.</p>
<div class="track-meta">
<span>📚 ٧٢ درس</span>
<span>⏱ ٨ أشهر</span>
<span>⭐ ٤.٨</span>
</div>
</a>
<a href="courses.html" class="track-card reveal" style="text-decoration:none;display:block;transition-delay:.2s">
<div class="track-icon">📱</div>
<h3>تطوير التطبيقات</h3>
<p>Flutter وReact Native لبناء تطبيقات iOS وAndroid احترافية من فكرة واحدة بكود واحد.</p>
<div class="track-meta">
<span>📚 ٦٠ درس</span>
<span>⏱ ٥ أشهر</span>
<span>⭐ ٤.٧</span>
</div>
</a>
<a href="courses.html" class="track-card reveal" style="text-decoration:none;display:block;transition-delay:.3s">
<div class="track-icon">☁️</div>
<h3>الحوسبة السحابية</h3>
<p>AWS, Docker, Kubernetes وDevOps. تعلم إدارة البنية التحتية وتوسيع التطبيقات على نطاق واسع.</p>
<div class="track-meta">
<span>📚 ٥٥ درس</span>
<span>⏱ ٤ أشهر</span>
<span>⭐ ٤.٩</span>
</div>
</a>
</div>
</div>
</section>
<!-- FEATURES -->
<section class="features" id="features">
<div class="features-inner">
<div class="reveal">
<div class="section-label">لماذا كودماستر؟</div>
<h2 class="section-title">تجربة تعلّم لا مثيل لها</h2>
<p class="section-sub">منصة مصممة بالكامل لتجعلك تتعلم أسرع، تتدرب أكثر، وتحصل على وظيفة بشكل أسرع.</p>
<div class="features-list">
<div class="feature-item">
<div class="feature-icon">💻</div>
<div class="feature-text">
<h4>محرر كود مدمج</h4>
<p>اكتب وشغّل كودك مباشرة في المتصفح بدون أي إعداد. ابدأ فوراً.</p>
</div>
</div>
<div class="feature-item">
<div class="feature-icon">🧠</div>
<div class="feature-text">
<h4>مساعد ذكاء اصطناعي</h4>
<p>احصل على مساعدة فورية عند توقفك. المساعد يفهم سياق درسك وكودك.</p>
</div>
</div>
<div class="feature-item">
<div class="feature-icon">🏆</div>
<div class="feature-text">
<h4>مشاريع حقيقية وشهادات</h4>
<p>طبّق ما تعلمته على مشاريع من الصناعة الفعلية واحصل على شهادة معترف بها.</p>
</div>
</div>
<div class="feature-item">
<div class="feature-icon">👥</div>
<div class="feature-text">
<h4>مجتمع داعم</h4>
<p>تواصل مع ٤٢٠٠٠+ طالب ومدرب في مجتمع نشط على مدار الساعة.</p>
</div>
</div>
</div>
</div>
<div class="dashboard-mock reveal" style="transition-delay:.2s">
<div class="dash-top">
<span class="dot-r"></span><span class="dot-y"></span><span class="dot-g"></span>
<span style="font-size:.8rem;color:var(--muted);margin-right:auto">📊 لوحة تقدمي</span>
</div>
<div class="dash-body">
<div style="font-size:.85rem;color:var(--muted);margin-bottom:1rem;">🔥 سلسلة ٢١ يوم متواصل!</div>
<div class="progress-item">
<div class="progress-label"><span>JavaScript</span><span style="color:var(--accent)">٨٥٪</span></div>
<div class="progress-bar"><div class="progress-fill p1"></div></div>
</div>
<div class="progress-item">
<div class="progress-label"><span>React</span><span>٦٢٪</span></div>
<div class="progress-bar"><div class="progress-fill p2"></div></div>
</div>
<div class="progress-item">
<div class="progress-label"><span>Node.js</span><span>٤٠٪</span></div>
<div class="progress-bar"><div class="progress-fill p3"></div></div>
</div>
<div class="progress-item">
<div class="progress-label"><span>قواعد البيانات</span><span>٢٠٪</span></div>
<div class="progress-bar"><div class="progress-fill p4"></div></div>
</div>
<div style="font-size:.8rem;color:var(--muted);margin-top:1.5rem;margin-bottom:.5rem">نشاطك هذا الأسبوع</div>
<div class="dash-streak">
<div class="streak-day done">س</div>
<div class="streak-day done">أ</div>
<div class="streak-day done">ث</div>
<div class="streak-day done">ر</div>
<div class="streak-day done">خ</div>
<div class="streak-day today">ج</div>
<div class="streak-day">س</div>
</div>
<div style="display:flex;gap:1rem;margin-top:1.5rem">
<div style="flex:1;background:rgba(0,229,255,0.06);border:1px solid rgba(0,229,255,0.1);border-radius:12px;padding:1rem;text-align:center">
<div style="font-size:1.4rem;font-weight:900;color:var(--accent)">١٢</div>
<div style="font-size:.75rem;color:var(--muted);margin-top:.2rem">درس أُكمل</div>
</div>
<div style="flex:1;background:rgba(124,58,237,0.06);border:1px solid rgba(124,58,237,0.15);border-radius:12px;padding:1rem;text-align:center">
<div style="font-size:1.4rem;font-weight:900;color:var(--accent2)">٣</div>
<div style="font-size:.75rem;color:var(--muted);margin-top:.2rem">تحديات حُلّت</div>
</div>
<div style="flex:1;background:rgba(249,115,22,0.06);border:1px solid rgba(249,115,22,0.15);border-radius:12px;padding:1rem;text-align:center">
<div style="font-size:1.4rem;font-weight:900;color:var(--accent3)">٤٨٠</div>
<div style="font-size:.75rem;color:var(--muted);margin-top:.2rem">نقطة مكتسبة</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- TESTIMONIALS -->
<section class="testimonials" id="reviews">
<div class="testimonials-header reveal">
<div class="section-label">آراء الطلاب</div>
<h2 class="section-title">قصص نجاح حقيقية</h2>
</div>
<div class="testimonials-grid">
<div class="tcard reveal">
<div class="stars">★★★★★</div>
<p>"بعد ٦ أشهر في مسار تطوير الويب، حصلت على وظيفتي الأولى كمطور Front-End براتب ضاعف دخلي ثلاث مرات!"</p>
<div class="tcard-author">
<div class="avatar" style="background:rgba(0,229,255,0.1)">👨💻</div>
<div><h5>أحمد محمود</h5><span>Front-End Developer – القاهرة</span></div>
</div>
</div>
<div class="tcard reveal" style="transition-delay:.1s">
<div class="stars">★★★★★</div>
<p>"المحتوى باللغة العربية الواضح والمشاريع العملية غيّرت طريقة تفكيري كلياً. الآن أعمل freelancer وأكسب من أي مكان."</p>
<div class="tcard-author">
<div class="avatar" style="background:rgba(124,58,237,0.1)">👩💻</div>
<div><h5>سارة العمري</h5><span>Freelance Developer – الرياض</span></div>
</div>
</div>
<div class="tcard reveal" style="transition-delay:.2s">
<div class="stars">★★★★★</div>
<p>"بدأت من الصفر ولا أعرف شيئاً عن البرمجة. بعد ٤ أشهر أنهيت مسار تطوير التطبيقات ونشرت تطبيقي الأول!"</p>
<div class="tcard-author">
<div class="avatar" style="background:rgba(249,115,22,0.1)">👨🎓</div>
<div><h5>عمر الحسن</h5><span>Mobile Developer – دبي</span></div>
</div>
</div>
</div>
</section>
<!-- CTA -->
<section class="cta-section">
<div class="cta-box reveal">
<div class="section-label">ابدأ الآن</div>
<h2>أول خطوة في رحلتك<br/><em style="background:linear-gradient(135deg,var(--accent),var(--accent2));-webkit-background-clip:text;-webkit-text-fill-color:transparent;font-style:normal">تبدأ اليوم</em></h2>
<p>سجّل مجاناً واحصل على وصول فوري لـ ٢٠+ درس بدون بطاقة ائتمانية.</p>
<div class="cta-input-row">
<input class="cta-input" type="email" placeholder="بريدك الإلكتروني..." />
<a href="register.html" class="btn-primary" style="text-decoration:none;white-space:nowrap">ابدأ مجاناً 🚀</a>
</div>
<p style="margin-top:1rem;font-size:.8rem;color:var(--muted)">✓ مجاني تماماً ✓ بدون بطاقة ✓ ألغِ في أي وقت</p>
</div>
</section>
<!-- FOOTER -->
<footer>
<div class="logo">كود<span>ماستر</span></div>
<p>© ٢٠٢٥ كودماستر — جميع الحقوق محفوظة</p>
<div class="footer-links">
<a href="#">سياسة الخصوصية</a>
<a href="#">الشروط والأحكام</a>
<a href="contact.html">تواصل معنا</a>
</div>
</footer>
<script>
// Scroll reveal
const reveals = document.querySelectorAll('.reveal');
const observer = new IntersectionObserver(entries => {
entries.forEach(e => { if (e.isIntersecting) { e.target.classList.add('visible'); } });
}, { threshold: 0.1 });
reveals.forEach(el => observer.observe(el));
// Counter animation
function animateCounter(el, target, suffix = '') {
let start = 0;
const duration = 2000;
const step = timestamp => {
if (!start) start = timestamp;
const progress = Math.min((timestamp - start) / duration, 1);
const eased = 1 - Math.pow(1 - progress, 3);
el.textContent = '+' + Math.floor(eased * target).toLocaleString('ar-EG') + suffix;
if (progress < 1) requestAnimationFrame(step);
};
requestAnimationFrame(step);
}
</script>
</body>
</html>