File size: 32,135 Bytes
857cdcf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2bc5ad0
857cdcf
 
 
 
2bc5ad0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
857cdcf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2bc5ad0
 
 
 
 
 
 
 
 
857cdcf
 
 
2bc5ad0
857cdcf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2bc5ad0
857cdcf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2bc5ad0
857cdcf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2bc5ad0
857cdcf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2bc5ad0
857cdcf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2bc5ad0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
857cdcf
 
 
 
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
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Chahuadev Framework — Project Launcher</title>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
  <style>
    *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
    :root {
      --bg: #09090f; --surface: #0f172a; --card: #1e293b; --border: #334155;
      --muted: #475569; --dim: #64748b; --sub: #94a3b8; --text: #f1f5f9;
      --accent: #3b82f6; --accent-d: #1d4ed8; --success: #22c55e;
      --warn: #f59e0b; --danger: #ef4444; --purple: #7c3aed; --purple-light: #a78bfa;
      --blue-light: #60a5fa; --red-light: #f87171;
    }
    html, body { overflow-x: hidden; scroll-behavior: smooth; }
    body {
      font-family: 'Inter', system-ui, sans-serif;
      background: var(--bg); color: var(--text);
      font-size: 14px; line-height: 1.6;
    }
    [id^="sec-"] { scroll-margin-top: 90px; }
    ::-webkit-scrollbar { width: 5px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

    /* ══════════════════════════════════════
       LEFT SIDEBAR NAV
    ══════════════════════════════════════ */
    .left-nav {
      position: fixed;
      left: 16px;
      top: 96px;
      width: 190px;
      z-index: 25;
      display: flex;
      flex-direction: column;
      gap: 8px;
      max-height: calc(100vh - 120px);
      overflow-y: auto;
      padding-right: 4px;
    }
    .left-nav-title {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #60a5fa;
      margin-bottom: 4px;
      padding-left: 2px;
    }
    .left-nav-link {
      display: block;
      text-decoration: none;
      color: #9fb0c7;
      background: rgba(15, 23, 42, 0.35);
      border: 1px solid rgba(148, 163, 184, 0.22);
      border-radius: 10px;
      padding: 8px 10px;
      font-size: 11px;
      line-height: 1.35;
      transition: border-color 0.18s, background 0.18s, color 0.18s, transform 0.18s;
      backdrop-filter: blur(5px);
    }
    .left-nav-link:hover {
      color: #dbeafe;
      border-color: rgba(96, 165, 250, 0.5);
      background: rgba(30, 41, 59, 0.5);
      transform: translateX(2px);
    }
    .left-nav-link.active {
      color: #eff6ff;
      border-color: rgba(96, 165, 250, 0.8);
      background: rgba(37, 99, 235, 0.22);
      box-shadow: inset 0 0 0 1px rgba(147, 197, 253, 0.22);
    }

    @media (max-width: 1260px) {
      .left-nav { display: none; }
    }

    /* ══════════════════════════════════════
       HERO
    ══════════════════════════════════════ */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 100px 40px 80px;
      overflow: hidden;
    }
    .hero::before {
      content: '';
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(59,130,246,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.07) 1px, transparent 1px);
      background-size: 60px 60px;
      mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 20%, transparent 100%);
      -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 20%, transparent 100%);
      pointer-events: none;
    }
    .hero-glow {
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse 700px 400px at 20% 10%, rgba(59,130,246,0.14), transparent 70%),
        radial-gradient(ellipse 600px 350px at 85% 90%, rgba(124,58,237,0.08), transparent 70%);
      pointer-events: none;
    }
    .hero-scanline {
      position: absolute; left: 0; right: 0; height: 2px;
      background: linear-gradient(90deg, transparent, rgba(59,130,246,0.35), transparent);
      animation: scan 7s linear infinite;
      pointer-events: none;
    }
    @keyframes scan { 0% { transform: translateY(-50px); } 100% { transform: translateY(105vh); } }

    .hero-content { position: relative; z-index: 1; max-width: 820px; }

    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 7px;
      padding: 5px 16px;
      border-radius: 20px;
      border: 1px solid rgba(59,130,246,0.3);
      background: rgba(59,130,246,0.08);
      color: var(--blue-light);
      font-size: 12px; font-weight: 600;
      letter-spacing: 0.05em; text-transform: uppercase;
      margin-bottom: 32px;
    }
    .hero-title {
      font-size: clamp(48px, 9vw, 88px);
      font-weight: 900;
      line-height: 0.95;
      letter-spacing: -0.04em;
      background: linear-gradient(140deg, #f1f5f9 0%, #93c5fd 50%, #3b82f6 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 12px;
    }
    .hero-subtitle {
      font-size: clamp(14px, 2vw, 18px);
      font-family: 'JetBrains Mono', monospace;
      color: var(--dim);
      font-weight: 400;
      letter-spacing: 0.02em;
      margin-bottom: 24px;
    }
    .hero-tagline {
      font-size: clamp(15px, 2vw, 19px);
      color: var(--sub); font-weight: 400; line-height: 1.65;
      max-width: 580px; margin: 0 auto 44px;
    }
    .hero-tagline strong { color: var(--text); font-weight: 600; }

    .hero-stat-strip {
      display: flex; gap: 52px; justify-content: center; flex-wrap: wrap;
      padding-top: 28px;
      border-top: 1px solid rgba(255,255,255,0.07);
    }
    .hstat-item { text-align: center; }
    .hstat-value {
      font-size: 28px; font-weight: 800;
      background: linear-gradient(135deg, #60a5fa, #38bdf8);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    .hstat-label { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.07em; margin-top: 3px; }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

    /* ══════════════════════════════════════
       SHARED SECTION
    ══════════════════════════════════════ */
    .section-wrap {
      padding: 88px 40px;
      border-top: 1px solid var(--border);
    }
    .section-inner { max-width: 1100px; margin: 0 auto; }
    .section-label {
      display: flex; align-items: center; gap: 10px;
      font-size: 11px; font-weight: 700;
      text-transform: uppercase; letter-spacing: 0.1em;
      color: var(--blue-light); margin-bottom: 12px;
    }
    .section-label::before {
      content: ''; width: 3px; height: 16px; border-radius: 2px;
      background: linear-gradient(180deg, #2563eb, #38bdf8); flex-shrink: 0;
    }
    .section-heading {
      font-size: clamp(26px, 3.5vw, 40px);
      font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
      color: var(--text); margin-bottom: 14px;
    }
    .section-sub {
      font-size: 15px; color: var(--sub);
      max-width: 600px; line-height: 1.75;
    }

    /* ══════════════════════════════════════
       FEATURE CARDS
    ══════════════════════════════════════ */
    .modules-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
      margin-top: 48px;
    }
    .module-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 24px 22px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: border-color 0.2s, transform 0.2s;
    }
    .module-card:hover { border-color: var(--muted); transform: translateY(-2px); }
    .module-icon {
      width: 44px; height: 44px; border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 4px;
    }
    .module-title { font-size: 14px; font-weight: 700; }
    .module-desc { font-size: 12px; color: var(--sub); line-height: 1.6; }

    /* ══════════════════════════════════════
       SUPPORTED TYPES — pill grid
    ══════════════════════════════════════ */
    .types-grid {
      display: flex; flex-wrap: wrap; gap: 14px;
      margin-top: 48px;
    }
    .type-pill {
      display: flex; align-items: center; gap: 10px;
      padding: 14px 20px;
      background: var(--card); border: 1px solid var(--border);
      border-radius: 12px;
      transition: border-color 0.2s, transform 0.2s;
      min-width: 160px;
    }
    .type-pill:hover { border-color: var(--muted); transform: translateY(-2px); }
    .type-pill-icon {
      width: 36px; height: 36px; border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .type-pill-label { font-size: 13px; font-weight: 700; }
    .type-pill-sub { font-size: 11px; color: var(--sub); margin-top: 2px; }

    /* ══════════════════════════════════════
       HOW IT WORKS — step list
    ══════════════════════════════════════ */
    .steps-list {
      display: flex; flex-direction: column; gap: 0;
      margin-top: 52px;
      border: 1px solid var(--border);
      border-radius: 16px;
      overflow: hidden;
    }
    .step-row {
      display: flex; align-items: flex-start; gap: 24px;
      padding: 28px 32px;
      border-bottom: 1px solid var(--border);
      transition: background 0.15s;
    }
    .step-row:last-child { border-bottom: none; }
    .step-row:hover { background: rgba(255,255,255,0.02); }
    .step-num {
      width: 36px; height: 36px; border-radius: 50%;
      background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.3);
      color: var(--blue-light); font-size: 14px; font-weight: 800;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; margin-top: 2px;
    }
    .step-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
    .step-desc { font-size: 13px; color: var(--sub); line-height: 1.65; }
    .step-code {
      font-family: 'JetBrains Mono', monospace;
      font-size: 12px;
      background: rgba(0,0,0,0.4);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 8px 14px;
      color: #86efac;
      margin-top: 10px;
      display: inline-block;
    }

    /* ══════════════════════════════════════
       WHY
    ══════════════════════════════════════ */
    .why-bg {
      background: linear-gradient(180deg, transparent 0%, rgba(59,130,246,0.04) 40%, transparent 100%);
    }
    .why-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 20px;
      margin-top: 52px;
    }
    .why-card {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 14px; padding: 28px 24px;
      transition: border-color 0.2s, transform 0.2s;
    }
    .why-card:hover { border-color: var(--muted); transform: translateY(-3px); }
    .why-icon {
      width: 46px; height: 46px; border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 18px;
    }
    .why-title { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
    .why-desc { font-size: 13px; color: var(--sub); line-height: 1.65; }

    /* ══════════════════════════════════════
       FOOTER
    ══════════════════════════════════════ */
    .footer {
      border-top: 1px solid var(--border);
      padding: 56px 40px 32px;
    }
    .footer-inner { max-width: 1100px; margin: 0 auto; }
    .footer-bottom {
      display: flex; align-items: center; justify-content: space-between;
      padding-top: 20px; border-top: 1px solid var(--border);
    }
    .footer-copy { font-size: 12px; color: var(--dim); }
    .footer-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--success); box-shadow: 0 0 6px var(--success);
      animation: pulse 2s infinite;
    }
  </style>
</head>
<body>

<nav class="left-nav" aria-label="Section navigation">
  <div class="left-nav-title">On this page</div>
  <a class="left-nav-link" data-target="sec-hero" href="#sec-hero">Overview</a>
  <a class="left-nav-link" data-target="sec-features" href="#sec-features">Core Features</a>
  <a class="left-nav-link" data-target="sec-types" href="#sec-types">Supported Types</a>
  <a class="left-nav-link" data-target="sec-workflow" href="#sec-workflow">How It Works</a>
  <a class="left-nav-link" data-target="sec-why" href="#sec-why">Why Use This</a>
</nav>

<!-- ══════════════════════════════════════
     HERO
══════════════════════════════════════ -->
<section class="hero" id="sec-hero">
  <div class="hero-glow"></div>
  <div class="hero-scanline"></div>
  <div class="hero-content">

    <div class="hero-eyebrow">
      <svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5"><polygon points="5 3 19 12 5 21 5 3"/></svg>
      Auto-generate Run Buttons &nbsp;·&nbsp; No CMD Required
    </div>

    <h1 class="hero-title">Chahuadev<br>Framework</h1>
    <div class="hero-subtitle">Project Launcher &amp; Run Button Generator</div>

    <p class="hero-tagline">
      Automatically generate <strong>run buttons</strong> for your projects — npm, exe, bat — in one dashboard.
      Launch and test multiple apps <strong>without ever opening a terminal</strong>.
    </p>

    <div class="hero-stat-strip">
      <div class="hstat-item">
        <div class="hstat-value">npm</div>
        <div class="hstat-label">npm scripts</div>
      </div>
      <div class="hstat-item">
        <div class="hstat-value">.exe</div>
        <div class="hstat-label">Executables</div>
      </div>
      <div class="hstat-item">
        <div class="hstat-value">.bat</div>
        <div class="hstat-label">Batch files</div>
      </div>
      <div class="hstat-item">
        <div class="hstat-value"></div>
        <div class="hstat-label">Multi-app</div>
      </div>
    </div>

  </div>
</section>

<!-- ══════════════════════════════════════
     WHAT IT DOES
══════════════════════════════════════ -->
<div class="section-wrap" id="sec-features">
  <div class="section-inner">

    <div class="section-label">Core Features</div>
    <h2 class="section-heading">One dashboard.<br>All your project launchers.</h2>
    <p class="section-sub">Point the app at your project folder. It scans for runnable entry points and builds a button panel automatically — click to run, no command line needed.</p>

    <div class="modules-grid">

      <div class="module-card">
        <div class="module-icon" style="background:rgba(34,197,94,0.12);color:#22c55e">
          <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><polygon points="5 3 19 12 5 21 5 3"/></svg>
        </div>
        <div class="module-title">Auto-detect Entry Points</div>
        <div class="module-desc">Scans your project for <code style="font-size:11px;background:rgba(255,255,255,0.07);padding:1px 5px;border-radius:3px">package.json</code> scripts, <code style="font-size:11px;background:rgba(255,255,255,0.07);padding:1px 5px;border-radius:3px">.exe</code> binaries, and <code style="font-size:11px;background:rgba(255,255,255,0.07);padding:1px 5px;border-radius:3px">.bat</code> files — then generates a button for each one instantly.</div>
      </div>

      <div class="module-card">
        <div class="module-icon" style="background:rgba(59,130,246,0.12);color:#60a5fa">
          <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><rect x="2" y="3" width="20" height="14" rx="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/></svg>
        </div>
        <div class="module-title">No CMD Required</div>
        <div class="module-desc">Designed for developers and testers who don't want to deal with terminals. Launch everything from a clean GUI with one click.</div>
      </div>

      <div class="module-card">
        <div class="module-icon" style="background:rgba(245,158,11,0.12);color:#f59e0b">
          <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><rect x="3" y="3" width="7" height="7" rx="1"/><rect x="14" y="3" width="7" height="7" rx="1"/><rect x="3" y="14" width="7" height="7" rx="1"/><rect x="14" y="14" width="7" height="7" rx="1"/></svg>
        </div>
        <div class="module-title">Run Multiple Projects</div>
        <div class="module-desc">Add as many projects as you want. Each gets its own button panel. Switch between projects and run them independently at the same time.</div>
      </div>

      <div class="module-card">
        <div class="module-icon" style="background:rgba(139,92,246,0.12);color:#c4b5fd">
          <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><polyline points="4 17 10 11 4 5"/><line x1="12" y1="19" x2="20" y2="19"/></svg>
        </div>
        <div class="module-title">Live Terminal Output</div>
        <div class="module-desc">Stdout and stderr streamed live into the built-in log panel. See exactly what's running without switching windows.</div>
      </div>

      <div class="module-card">
        <div class="module-icon" style="background:rgba(239,68,68,0.12);color:#f87171">
          <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg>
        </div>
        <div class="module-title">Plugin-based System</div>
        <div class="module-desc">Each project is loaded as a plugin. Scan, enable, disable, and manage independently from the Plugin Management panel.</div>
      </div>

      <div class="module-card">
        <div class="module-icon" style="background:rgba(14,165,233,0.12);color:#38bdf8">
          <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z"/></svg>
        </div>
        <div class="module-title">Instant Launch</div>
        <div class="module-desc">No setup ceremony. Open the app, scan your folder, and your run buttons are ready within seconds.</div>
      </div>

    </div>
  </div>
</div>

<!-- ══════════════════════════════════════
     SUPPORTED TYPES
══════════════════════════════════════ -->
<div class="section-wrap" id="sec-types">
  <div class="section-inner">

    <div class="section-label">Supported Run Types</div>
    <h2 class="section-heading">Works with all common launchers.</h2>
    <p class="section-sub">Whatever your project uses to start, Chahuadev Framework can generate a button for it.</p>

    <div class="types-grid">

      <div class="type-pill">
        <div class="type-pill-icon" style="background:rgba(239,68,68,0.12);color:#f87171">
          <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/></svg>
        </div>
        <div>
          <div class="type-pill-label">npm scripts</div>
          <div class="type-pill-sub">start · dev · build · test</div>
        </div>
      </div>

      <div class="type-pill">
        <div class="type-pill-icon" style="background:rgba(245,158,11,0.12);color:#f59e0b">
          <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="2" y="3" width="20" height="14" rx="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/></svg>
        </div>
        <div>
          <div class="type-pill-label">.bat / .cmd</div>
          <div class="type-pill-sub">Windows batch scripts</div>
        </div>
      </div>

      <div class="type-pill">
        <div class="type-pill-icon" style="background:rgba(59,130,246,0.12);color:#60a5fa">
          <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="5 3 19 12 5 21 5 3"/></svg>
        </div>
        <div>
          <div class="type-pill-label">.exe</div>
          <div class="type-pill-sub">Windows executables</div>
        </div>
      </div>

      <div class="type-pill">
        <div class="type-pill-icon" style="background:rgba(34,197,94,0.12);color:#22c55e">
          <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="4 17 10 11 4 5"/><line x1="12" y1="19" x2="20" y2="19"/></svg>
        </div>
        <div>
          <div class="type-pill-label">Node.js</div>
          <div class="type-pill-sub">node index.js · server.js</div>
        </div>
      </div>

      <div class="type-pill">
        <div class="type-pill-icon" style="background:rgba(139,92,246,0.12);color:#c4b5fd">
          <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z"/></svg>
        </div>
        <div>
          <div class="type-pill-label">Electron apps</div>
          <div class="type-pill-sub">npm start · electron .</div>
        </div>
      </div>

      <div class="type-pill">
        <div class="type-pill-icon" style="background:rgba(14,165,233,0.12);color:#38bdf8">
          <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"/></svg>
        </div>
        <div>
          <div class="type-pill-label">Custom plugins</div>
          <div class="type-pill-sub">Any project as a plugin</div>
        </div>
      </div>

    </div>
  </div>
</div>

<!-- ══════════════════════════════════════
     HOW IT WORKS
══════════════════════════════════════ -->
<div class="section-wrap" id="sec-workflow">
  <div class="section-inner">

    <div class="section-label">How It Works</div>
    <h2 class="section-heading">From folder to buttons<br>in three steps.</h2>
    <p class="section-sub">No config files. No coding. Just point at a project and run.</p>

    <div class="steps-list">

      <div class="step-row">
        <div class="step-num">1</div>
        <div>
          <div class="step-title">Scan your project folder</div>
          <div class="step-desc">Click <strong>Scan Plugins</strong> and select the root folder of your project. The app automatically detects <code style="font-size:11px;background:rgba(255,255,255,0.07);padding:1px 6px;border-radius:3px">package.json</code> scripts, <code style="font-size:11px;background:rgba(255,255,255,0.07);padding:1px 6px;border-radius:3px">.exe</code> files, and <code style="font-size:11px;background:rgba(255,255,255,0.07);padding:1px 6px;border-radius:3px">.bat</code> scripts inside.</div>
          <div class="step-code">📁 my-project/ → detected: start, dev, build, server.exe, deploy.bat</div>
        </div>
      </div>

      <div class="step-row">
        <div class="step-num">2</div>
        <div>
          <div class="step-title">Buttons are generated automatically</div>
          <div class="step-desc">Each detected entry point becomes a labelled button in the Plugin Management panel. No manual setup needed. Add multiple projects — each gets its own set of buttons.</div>
        </div>
      </div>

      <div class="step-row">
        <div class="step-num">3</div>
        <div>
          <div class="step-title">Click to run — output appears live</div>
          <div class="step-desc">Press a button to launch that script or executable. Live stdout/stderr streams directly into the terminal panel. Stop, restart, or run multiple commands in parallel.</div>
          <div class="step-code">▶ Running: npm run dev → [19:46:01] Server started on port 3000</div>
        </div>
      </div>

      <div class="step-row">
        <div class="step-num">4</div>
        <div>
          <div class="step-title">Manage all your projects in one place</div>
          <div class="step-desc">Use the Plugin Store to browse and add more projects. Enable or disable any project independently. Test, stop, and re-run without leaving the app.</div>
        </div>
      </div>

    </div>
  </div>
</div>

<!-- ══════════════════════════════════════
     WHY
══════════════════════════════════════ -->
<div class="section-wrap why-bg" id="sec-why">
  <div class="section-inner">

    <div class="section-label">Why Use This</div>
    <h2 class="section-heading">Built for people who<br>hate typing commands.</h2>
    <p class="section-sub">Testing multiple projects at once is tedious in CMD. Chahuadev Framework turns that workflow into a one-click experience.</p>

    <div class="why-grid">

      <div class="why-card">
        <div class="why-icon" style="background:rgba(59,130,246,0.12);color:#60a5fa">
          <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><rect x="2" y="3" width="20" height="14" rx="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/></svg>
        </div>
        <div class="why-title">No terminal juggling</div>
        <div class="why-desc">Stop opening multiple CMD or PowerShell windows. Every project's run commands live in one GUI panel.</div>
      </div>

      <div class="why-card">
        <div class="why-icon" style="background:rgba(34,197,94,0.12);color:#22c55e">
          <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg>
        </div>
        <div class="why-title">Test many apps fast</div>
        <div class="why-desc">Run five different projects simultaneously. Great for testing systems that depend on multiple services being up at once.</div>
      </div>

      <div class="why-card">
        <div class="why-icon" style="background:rgba(245,158,11,0.12);color:#f59e0b">
          <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></svg>
        </div>
        <div class="why-title">Instant setup</div>
        <div class="why-desc">Scan → buttons appear. No config files. No JSON editing. Works with any project that has npm scripts or runnable files.</div>
      </div>

      <div class="why-card">
        <div class="why-icon" style="background:rgba(139,92,246,0.12);color:#c4b5fd">
          <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><rect x="3" y="3" width="7" height="7" rx="1"/><rect x="14" y="3" width="7" height="7" rx="1"/><rect x="3" y="14" width="7" height="7" rx="1"/><rect x="14" y="14" width="7" height="7" rx="1"/></svg>
        </div>
        <div class="why-title">Team-friendly</div>
        <div class="why-desc">Share the launcher setup with teammates. Non-technical members can start and stop project services without any CLI knowledge.</div>
      </div>

    </div>
  </div>
</div>

<!-- ══════════════════════════════════════
     FOOTER
══════════════════════════════════════ -->
<footer class="footer">
  <div class="footer-inner">
    <div class="footer-bottom">
      <div class="footer-copy">Chahuadev Framework &copy; 2026 &nbsp;·&nbsp; Project Launcher &amp; Run Button Generator</div>
      <div class="footer-dot" title="Ready"></div>
    </div>
  </div>
</footer>

<script>
  function openLink(url) {
    window.parent.postMessage({ type: 'openLink', url: url }, '*');
  }

  // Left sidebar jump links + active section sync
  (function initLeftNavScrollSpy() {
    const navLinks = Array.from(document.querySelectorAll('.left-nav-link[data-target]'));
    const sections = navLinks
      .map(link => document.getElementById(link.dataset.target))
      .filter(Boolean);

    if (!navLinks.length || !sections.length) return;

    function setActive(targetId) {
      navLinks.forEach(link => {
        const isActive = link.dataset.target === targetId;
        link.classList.toggle('active', isActive);
      });
    }

    navLinks.forEach(link => {
      link.addEventListener('click', (e) => {
        e.preventDefault();
        const target = document.getElementById(link.dataset.target);
        if (!target) return;
        target.scrollIntoView({ behavior: 'smooth', block: 'start' });
        setActive(link.dataset.target);
      });
    });

    const observer = new IntersectionObserver((entries) => {
      const visible = entries
        .filter(en => en.isIntersecting)
        .sort((a, b) => b.intersectionRatio - a.intersectionRatio);
      if (visible.length > 0) {
        setActive(visible[0].target.id);
      }
    }, {
      root: null,
      rootMargin: '-28% 0px -58% 0px',
      threshold: [0.15, 0.3, 0.55]
    });

    sections.forEach(sec => observer.observe(sec));

    const hashTarget = window.location.hash ? window.location.hash.slice(1) : null;
    if (hashTarget && sections.some(sec => sec.id === hashTarget)) {
      setActive(hashTarget);
    } else {
      setActive(sections[0].id);
    }
  })();
</script>
</body>
</html>