ilhamdev commited on
Commit
24f6106
·
1 Parent(s): f6522be

feat(seo): complete 20 pre-deployment launch checklist points

Browse files
frontend/404.html ADDED
@@ -0,0 +1,211 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="id">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>404 - Halaman Tidak Ditemukan | Quote Studio</title>
7
+ <meta name="robots" content="noindex, follow" />
8
+ <link rel="icon" type="image/png" href="/favicon.png" />
9
+ <link rel="alternate icon" href="/favicon.ico" />
10
+ <link rel="apple-touch-icon" href="/favicon.png" />
11
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
12
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
13
+ <link
14
+ href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=JetBrains+Mono:wght@700;800&display=swap"
15
+ rel="stylesheet"
16
+ />
17
+ <style>
18
+ :root {
19
+ --bg-body: #FFFDF9;
20
+ --text-primary: #121316;
21
+ --text-muted: #575A65;
22
+ --color-primary: #FFE74C;
23
+ --color-secondary: #FF5E5B;
24
+ --color-accent-blue: #00F0FF;
25
+ --color-accent-green: #05FFA1;
26
+ --border-color: #121316;
27
+ --shadow-color: #121316;
28
+ --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
29
+ --font-mono: 'JetBrains Mono', monospace;
30
+ }
31
+
32
+ @media (prefers-color-scheme: dark) {
33
+ :root {
34
+ --bg-body: #0E0F12;
35
+ --text-primary: #F4F5F8;
36
+ --text-muted: #A0A4B0;
37
+ --border-color: #F4F5F8;
38
+ --shadow-color: #F4F5F8;
39
+ }
40
+ }
41
+
42
+ * {
43
+ box-sizing: border-box;
44
+ margin: 0;
45
+ padding: 0;
46
+ }
47
+
48
+ body {
49
+ font-family: var(--font-sans);
50
+ background-color: var(--bg-body);
51
+ color: var(--text-primary);
52
+ min-height: 100vh;
53
+ display: flex;
54
+ align-items: center;
55
+ justify-content: center;
56
+ padding: 1.5rem;
57
+ }
58
+
59
+ .error-card {
60
+ max-width: 580px;
61
+ width: 100%;
62
+ background: #ffffff;
63
+ border: 4px solid var(--border-color);
64
+ box-shadow: 8px 8px 0px var(--shadow-color);
65
+ border-radius: 8px;
66
+ padding: 2.5rem 2rem;
67
+ text-align: center;
68
+ }
69
+
70
+ @media (prefers-color-scheme: dark) {
71
+ .error-card {
72
+ background: #18191E;
73
+ }
74
+ }
75
+
76
+ .badge-404 {
77
+ display: inline-block;
78
+ font-family: var(--font-mono);
79
+ font-weight: 800;
80
+ font-size: 0.85rem;
81
+ text-transform: uppercase;
82
+ letter-spacing: 0.08em;
83
+ padding: 0.35rem 0.85rem;
84
+ background: var(--color-secondary);
85
+ color: #ffffff;
86
+ border: 2.5px solid var(--border-color);
87
+ box-shadow: 3px 3px 0px var(--shadow-color);
88
+ border-radius: 4px;
89
+ margin-bottom: 1.25rem;
90
+ }
91
+
92
+ .glitch-title {
93
+ font-family: var(--font-mono);
94
+ font-size: clamp(3.5rem, 12vw, 5.5rem);
95
+ font-weight: 800;
96
+ line-height: 1;
97
+ letter-spacing: -0.05em;
98
+ margin-bottom: 0.5rem;
99
+ color: var(--text-primary);
100
+ }
101
+
102
+ .error-heading {
103
+ font-size: 1.5rem;
104
+ font-weight: 800;
105
+ margin-bottom: 1rem;
106
+ letter-spacing: -0.02em;
107
+ }
108
+
109
+ .error-desc {
110
+ color: var(--text-muted);
111
+ font-size: 1rem;
112
+ line-height: 1.6;
113
+ margin-bottom: 2rem;
114
+ }
115
+
116
+ .actions-grid {
117
+ display: flex;
118
+ flex-direction: column;
119
+ gap: 0.85rem;
120
+ }
121
+
122
+ @media (min-width: 480px) {
123
+ .actions-grid {
124
+ flex-direction: row;
125
+ justify-content: center;
126
+ }
127
+ }
128
+
129
+ .btn {
130
+ display: inline-flex;
131
+ align-items: center;
132
+ justify-content: center;
133
+ gap: 0.5rem;
134
+ padding: 0.85rem 1.35rem;
135
+ font-size: 0.95rem;
136
+ font-weight: 800;
137
+ text-decoration: none;
138
+ border: 3px solid var(--border-color);
139
+ border-radius: 6px;
140
+ box-shadow: 4px 4px 0px var(--shadow-color);
141
+ transition: transform 0.1s ease, box-shadow 0.1s ease;
142
+ cursor: pointer;
143
+ }
144
+
145
+ .btn:hover {
146
+ transform: translate(-2px, -2px);
147
+ box-shadow: 6px 6px 0px var(--shadow-color);
148
+ }
149
+
150
+ .btn:active {
151
+ transform: translate(2px, 2px);
152
+ box-shadow: 0px 0px 0px var(--shadow-color);
153
+ }
154
+
155
+ .btn-primary {
156
+ background: var(--color-primary);
157
+ color: #000000;
158
+ }
159
+
160
+ .btn-secondary {
161
+ background: var(--color-accent-blue);
162
+ color: #000000;
163
+ }
164
+
165
+ .btn-whatsapp {
166
+ background: #25D366;
167
+ color: #000000;
168
+ }
169
+
170
+ .footer-note {
171
+ margin-top: 2rem;
172
+ font-size: 0.8rem;
173
+ font-weight: 600;
174
+ color: var(--text-muted);
175
+ font-family: var(--font-mono);
176
+ }
177
+ </style>
178
+ </head>
179
+ <body>
180
+ <div class="error-card">
181
+ <div class="badge-404">HTTP ERROR 404</div>
182
+ <h1 class="glitch-title">404</h1>
183
+ <h2 class="error-heading">Halaman Tidak Ditemukan</h2>
184
+ <p class="error-desc">
185
+ Tautan yang Anda tuju mungkin sudah dipindahkan, dihapus, atau salah ketik. Silakan kembali ke Studio Customizer atau jelajahi dokumentasi API kami.
186
+ </p>
187
+
188
+ <div class="actions-grid">
189
+ <a href="/" class="btn btn-primary" data-track="404_home">
190
+ <span>&larr; Ke Studio</span>
191
+ </a>
192
+ <a href="/#api-docs" class="btn btn-secondary" data-track="404_docs">
193
+ <span>Dokumentasi API</span>
194
+ </a>
195
+ <a
196
+ href="https://wa.me/6281234567890?text=Halo%20Mang%20Rusdi%2C%20saya%20menemukan%20halaman%20404%20di%20Quote%20Studio"
197
+ target="_blank"
198
+ rel="noopener noreferrer"
199
+ class="btn btn-whatsapp"
200
+ data-track="404_wa"
201
+ >
202
+ <span>Chat WhatsApp</span>
203
+ </a>
204
+ </div>
205
+
206
+ <div class="footer-note">
207
+ Quote Studio &bull; qc.mangrusdi.my.id
208
+ </div>
209
+ </div>
210
+ </body>
211
+ </html>
frontend/index.html CHANGED
@@ -11,6 +11,7 @@
11
  <meta name="keywords" content="telegram quote generator, fake chat maker, quotly api, telegram sticker quote, quote maker web, telegram bot api" />
12
  <meta name="author" content="Rusdi Ilham" />
13
  <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
 
14
  <link rel="canonical" href="https://qc.mangrusdi.my.id/" />
15
 
16
  <!-- Open Graph / Facebook -->
@@ -37,7 +38,7 @@
37
  />
38
  <meta name="twitter:image" content="https://qc.mangrusdi.my.id/og-image.png" />
39
 
40
- <!-- JSON-LD Structured Data for Google Search Console -->
41
  <script type="application/ld+json">
42
  {
43
  "@context": "https://schema.org",
@@ -62,6 +63,47 @@
62
  "url": "https://github.com/RusdiEneri"
63
  }
64
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  {
66
  "@type": "FAQPage",
67
  "@id": "https://qc.mangrusdi.my.id/#faq",
@@ -113,6 +155,7 @@
113
  />
114
  <link rel="icon" type="image/png" href="/favicon.png" />
115
  <link rel="alternate icon" href="/favicon.ico" />
 
116
 
117
  <!-- Stylesheets -->
118
  <link rel="stylesheet" href="./src/styles/base.css" />
@@ -168,6 +211,20 @@
168
  </svg>
169
  </button>
170
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
171
  <a
172
  href="https://github.com/RusdiEneri/quote"
173
  target="_blank"
@@ -190,6 +247,17 @@
190
  </div>
191
  </header>
192
 
 
 
 
 
 
 
 
 
 
 
 
193
  <!-- Mobile View Switcher (Visible on small screens) -->
194
  <div class="mobile-studio-switcher" role="tablist" aria-label="Studio View Switcher">
195
  <button type="button" class="studio-tab-btn active" id="tabEditorBtn" role="tab" aria-selected="true" aria-controls="editorPanel">
@@ -215,10 +283,16 @@
215
  <section class="panel editor-panel active-mobile-view" id="editorPanel" aria-labelledby="editorHeading">
216
  <div class="panel-header">
217
  <h2 id="editorHeading" class="panel-title">Quote Customizer</h2>
218
- <button id="resetFormBtn" type="button" class="btn-text" title="Reset form to default values">Reset</button>
219
  </div>
220
 
221
  <form id="quoteForm" class="editor-form" autocomplete="off">
 
 
 
 
 
 
222
  <!-- Section: Sender Info -->
223
  <div class="form-section" role="group" aria-labelledby="senderInfoHeading">
224
  <div class="section-title" id="senderInfoHeading">
@@ -238,6 +312,7 @@
238
  name="senderName"
239
  class="form-input"
240
  value="Mang Rusdi"
 
241
  placeholder="e.g. Rusdi Ilham"
242
  required
243
  />
@@ -250,6 +325,7 @@
250
  name="senderTitle"
251
  class="form-input"
252
  value="Owner"
 
253
  placeholder="e.g. Admin"
254
  />
255
  </div>
@@ -298,12 +374,16 @@
298
  </div>
299
 
300
  <div class="form-group">
301
- <label for="messageText">Chat Text <span class="required">*</span></label>
 
 
 
302
  <textarea
303
  id="messageText"
304
  name="messageText"
305
  class="form-textarea"
306
  rows="3"
 
307
  placeholder="Type Telegram message..."
308
  required
309
  >Halo semuanya! Quote API Telegram sekarang sudah live dan siap digunakan 🚀</textarea>
@@ -326,6 +406,7 @@
326
  id="replyName"
327
  class="form-input"
328
  value="Dika Ardnt"
 
329
  placeholder="Quoted user name"
330
  />
331
  </div>
@@ -336,6 +417,7 @@
336
  id="replyText"
337
  class="form-input"
338
  value="Kapan Quote API selesai dideploy?"
 
339
  placeholder="Quoted text preview"
340
  />
341
  </div>
@@ -411,6 +493,7 @@
411
  id="watermark"
412
  class="form-input"
413
  value="qc.mangrusdi.my.id"
 
414
  placeholder="Watermark text"
415
  />
416
  </div>
@@ -430,7 +513,7 @@
430
 
431
  <!-- Generate Action Button -->
432
  <div class="form-actions">
433
- <button id="generateBtn" type="button" class="btn-primary">
434
  <span class="btn-icon">
435
  <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
436
  <rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
@@ -514,7 +597,7 @@
514
  </div>
515
 
516
  <div class="result-actions">
517
- <a id="downloadBtn" href="#" download="telegram-quote.png" class="btn-secondary">
518
  <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
519
  <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
520
  <polyline points="7 10 12 15 17 10"></polyline>
@@ -522,7 +605,7 @@
522
  </svg>
523
  Download Image
524
  </a>
525
- <button id="copyImageBtn" type="button" class="btn-outline">
526
  <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
527
  <rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
528
  <path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
@@ -542,7 +625,7 @@
542
  <button type="button" class="tab-btn" data-tab="js">JavaScript</button>
543
  <button type="button" class="tab-btn" data-tab="py">Python</button>
544
  </div>
545
- <button id="copySnippetBtn" type="button" class="copy-snippet-btn" title="Copy code snippet">
546
  <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
547
  <rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
548
  <path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
@@ -831,6 +914,7 @@
831
  <a href="#api-docs" class="footer-link">Documentation</a>
832
  <a href="#specs" class="footer-link">Layout Formats</a>
833
  <a href="#faq" class="footer-link">FAQ</a>
 
834
  <a href="https://github.com/RusdiEneri/quote" target="_blank" rel="noopener noreferrer" class="footer-link">GitHub Repo</a>
835
  <a href="https://huggingface.co/spaces/ilhamdev/quote-api" target="_blank" rel="noopener noreferrer" class="footer-link">Hugging Face Space</a>
836
  </div>
 
11
  <meta name="keywords" content="telegram quote generator, fake chat maker, quotly api, telegram sticker quote, quote maker web, telegram bot api" />
12
  <meta name="author" content="Rusdi Ilham" />
13
  <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1" />
14
+ <meta name="google-site-verification" content="GSC_VERIFICATION_TOKEN" />
15
  <link rel="canonical" href="https://qc.mangrusdi.my.id/" />
16
 
17
  <!-- Open Graph / Facebook -->
 
38
  />
39
  <meta name="twitter:image" content="https://qc.mangrusdi.my.id/og-image.png" />
40
 
41
+ <!-- JSON-LD Structured Data for Google Search Console (App, Org, FAQ, Breadcrumbs) -->
42
  <script type="application/ld+json">
43
  {
44
  "@context": "https://schema.org",
 
63
  "url": "https://github.com/RusdiEneri"
64
  }
65
  },
66
+ {
67
+ "@type": "Organization",
68
+ "@id": "https://qc.mangrusdi.my.id/#organization",
69
+ "name": "Hisoka Labs",
70
+ "url": "https://qc.mangrusdi.my.id/",
71
+ "logo": "https://qc.mangrusdi.my.id/favicon.png",
72
+ "sameAs": [
73
+ "https://github.com/RusdiEneri",
74
+ "https://github.com/RusdiEneri/quote"
75
+ ]
76
+ },
77
+ {
78
+ "@type": "BreadcrumbList",
79
+ "@id": "https://qc.mangrusdi.my.id/#breadcrumbs",
80
+ "itemListElement": [
81
+ {
82
+ "@type": "ListItem",
83
+ "position": 1,
84
+ "name": "Home",
85
+ "item": "https://qc.mangrusdi.my.id/"
86
+ },
87
+ {
88
+ "@type": "ListItem",
89
+ "position": 2,
90
+ "name": "Studio Customizer",
91
+ "item": "https://qc.mangrusdi.my.id/#studio"
92
+ },
93
+ {
94
+ "@type": "ListItem",
95
+ "position": 3,
96
+ "name": "REST API Documentation",
97
+ "item": "https://qc.mangrusdi.my.id/#api-docs"
98
+ },
99
+ {
100
+ "@type": "ListItem",
101
+ "position": 4,
102
+ "name": "FAQ",
103
+ "item": "https://qc.mangrusdi.my.id/#faq"
104
+ }
105
+ ]
106
+ },
107
  {
108
  "@type": "FAQPage",
109
  "@id": "https://qc.mangrusdi.my.id/#faq",
 
155
  />
156
  <link rel="icon" type="image/png" href="/favicon.png" />
157
  <link rel="alternate icon" href="/favicon.ico" />
158
+ <link rel="apple-touch-icon" href="/favicon.png" />
159
 
160
  <!-- Stylesheets -->
161
  <link rel="stylesheet" href="./src/styles/base.css" />
 
211
  </svg>
212
  </button>
213
 
214
+ <a
215
+ href="https://wa.me/6281234567890?text=Halo%20Mang%20Rusdi%2C%20saya%20tertarik%20dengan%20Quote%20Studio%20API"
216
+ target="_blank"
217
+ rel="noopener noreferrer"
218
+ class="whatsapp-btn"
219
+ data-track="click_wa"
220
+ title="Chat Developer via WhatsApp"
221
+ >
222
+ <svg width="15" height="15" viewBox="0 0 24 24" fill="currentColor">
223
+ <path d="M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.816 9.816 0 0 0 12.04 2m.01 1.67c2.2 0 4.26.86 5.82 2.41a8.176 8.176 0 0 1 2.41 5.83c0 4.54-3.7 8.24-8.24 8.24-1.48 0-2.93-.4-4.2-1.15l-.3-.18-3.12.82.83-3.04-.2-.31a8.21 8.21 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.24-8.24m4.52 11.53c-.25-.13-1.47-.72-1.7-.81-.23-.08-.39-.13-.56.13-.17.25-.64.81-.79.97-.14.17-.29.19-.54.06-.25-.13-1.06-.39-2.02-1.25-.75-.67-1.26-1.5-1.41-1.75-.14-.25-.02-.39.11-.51.11-.11.25-.29.38-.44.12-.14.17-.25.25-.42.08-.17.04-.31-.02-.44-.06-.13-.56-1.34-.76-1.84-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.44.06-.67.31-.23.25-.88.86-.88 2.1s.9 2.44 1.03 2.61c.12.17 1.77 2.7 4.29 3.79.6.26 1.07.41 1.44.53.6.19 1.15.16 1.58.1.48-.07 1.47-.6 1.68-1.18.21-.58.21-1.07.15-1.18-.06-.11-.23-.17-.48-.29z"/>
224
+ </svg>
225
+ <span>WhatsApp</span>
226
+ </a>
227
+
228
  <a
229
  href="https://github.com/RusdiEneri/quote"
230
  target="_blank"
 
247
  </div>
248
  </header>
249
 
250
+ <!-- Breadcrumb Navigation Bar (Point 6) -->
251
+ <nav aria-label="Breadcrumb" class="breadcrumb-nav">
252
+ <ol class="breadcrumb-list">
253
+ <li class="breadcrumb-item"><a href="/">Home</a></li>
254
+ <li class="breadcrumb-sep" aria-hidden="true">/</li>
255
+ <li class="breadcrumb-item"><a href="#studio">Studio</a></li>
256
+ <li class="breadcrumb-sep" aria-hidden="true">/</li>
257
+ <li class="breadcrumb-item current" aria-current="page">Customizer</li>
258
+ </ol>
259
+ </nav>
260
+
261
  <!-- Mobile View Switcher (Visible on small screens) -->
262
  <div class="mobile-studio-switcher" role="tablist" aria-label="Studio View Switcher">
263
  <button type="button" class="studio-tab-btn active" id="tabEditorBtn" role="tab" aria-selected="true" aria-controls="editorPanel">
 
283
  <section class="panel editor-panel active-mobile-view" id="editorPanel" aria-labelledby="editorHeading">
284
  <div class="panel-header">
285
  <h2 id="editorHeading" class="panel-title">Quote Customizer</h2>
286
+ <button id="resetFormBtn" type="button" class="btn-text" data-track="click_cta_reset" title="Reset form to default values">Reset</button>
287
  </div>
288
 
289
  <form id="quoteForm" class="editor-form" autocomplete="off">
290
+ <!-- Anti-Spam Honeypot (Point 13) -->
291
+ <div class="hp-trap" aria-hidden="true">
292
+ <label for="hpWebsite">Leave this field blank</label>
293
+ <input type="text" id="hpWebsite" name="hp_website" tabindex="-1" autocomplete="off" />
294
+ </div>
295
+
296
  <!-- Section: Sender Info -->
297
  <div class="form-section" role="group" aria-labelledby="senderInfoHeading">
298
  <div class="section-title" id="senderInfoHeading">
 
312
  name="senderName"
313
  class="form-input"
314
  value="Mang Rusdi"
315
+ maxlength="64"
316
  placeholder="e.g. Rusdi Ilham"
317
  required
318
  />
 
325
  name="senderTitle"
326
  class="form-input"
327
  value="Owner"
328
+ maxlength="32"
329
  placeholder="e.g. Admin"
330
  />
331
  </div>
 
374
  </div>
375
 
376
  <div class="form-group">
377
+ <div class="label-row">
378
+ <label for="messageText">Chat Text <span class="required">*</span></label>
379
+ <span id="charCountBadge" class="char-count-badge">78 / 3000</span>
380
+ </div>
381
  <textarea
382
  id="messageText"
383
  name="messageText"
384
  class="form-textarea"
385
  rows="3"
386
+ maxlength="3000"
387
  placeholder="Type Telegram message..."
388
  required
389
  >Halo semuanya! Quote API Telegram sekarang sudah live dan siap digunakan 🚀</textarea>
 
406
  id="replyName"
407
  class="form-input"
408
  value="Dika Ardnt"
409
+ maxlength="64"
410
  placeholder="Quoted user name"
411
  />
412
  </div>
 
417
  id="replyText"
418
  class="form-input"
419
  value="Kapan Quote API selesai dideploy?"
420
+ maxlength="1000"
421
  placeholder="Quoted text preview"
422
  />
423
  </div>
 
493
  id="watermark"
494
  class="form-input"
495
  value="qc.mangrusdi.my.id"
496
+ maxlength="64"
497
  placeholder="Watermark text"
498
  />
499
  </div>
 
513
 
514
  <!-- Generate Action Button -->
515
  <div class="form-actions">
516
+ <button id="generateBtn" type="button" class="btn-primary" data-track="click_cta_generate">
517
  <span class="btn-icon">
518
  <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
519
  <rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
 
597
  </div>
598
 
599
  <div class="result-actions">
600
+ <a id="downloadBtn" href="#" download="telegram-quote.png" class="btn-secondary" data-track="click_cta_download">
601
  <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
602
  <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path>
603
  <polyline points="7 10 12 15 17 10"></polyline>
 
605
  </svg>
606
  Download Image
607
  </a>
608
+ <button id="copyImageBtn" type="button" class="btn-outline" data-track="click_cta_copy_image">
609
  <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
610
  <rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
611
  <path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
 
625
  <button type="button" class="tab-btn" data-tab="js">JavaScript</button>
626
  <button type="button" class="tab-btn" data-tab="py">Python</button>
627
  </div>
628
+ <button id="copySnippetBtn" type="button" class="copy-snippet-btn" data-track="click_cta_copy_snippet" title="Copy code snippet">
629
  <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
630
  <rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
631
  <path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
 
914
  <a href="#api-docs" class="footer-link">Documentation</a>
915
  <a href="#specs" class="footer-link">Layout Formats</a>
916
  <a href="#faq" class="footer-link">FAQ</a>
917
+ <a href="https://wa.me/6281234567890?text=Halo%20Mang%20Rusdi%2C%20saya%20tertarik%20dengan%20Quote%20Studio%20API" target="_blank" rel="noopener noreferrer" class="footer-link" data-track="click_wa">WhatsApp</a>
918
  <a href="https://github.com/RusdiEneri/quote" target="_blank" rel="noopener noreferrer" class="footer-link">GitHub Repo</a>
919
  <a href="https://huggingface.co/spaces/ilhamdev/quote-api" target="_blank" rel="noopener noreferrer" class="footer-link">Hugging Face Space</a>
920
  </div>
frontend/public/404.html ADDED
@@ -0,0 +1,211 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="id">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>404 - Halaman Tidak Ditemukan | Quote Studio</title>
7
+ <meta name="robots" content="noindex, follow" />
8
+ <link rel="icon" type="image/png" href="/favicon.png" />
9
+ <link rel="alternate icon" href="/favicon.ico" />
10
+ <link rel="apple-touch-icon" href="/favicon.png" />
11
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
12
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
13
+ <link
14
+ href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=JetBrains+Mono:wght@700;800&display=swap"
15
+ rel="stylesheet"
16
+ />
17
+ <style>
18
+ :root {
19
+ --bg-body: #FFFDF9;
20
+ --text-primary: #121316;
21
+ --text-muted: #575A65;
22
+ --color-primary: #FFE74C;
23
+ --color-secondary: #FF5E5B;
24
+ --color-accent-blue: #00F0FF;
25
+ --color-accent-green: #05FFA1;
26
+ --border-color: #121316;
27
+ --shadow-color: #121316;
28
+ --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
29
+ --font-mono: 'JetBrains Mono', monospace;
30
+ }
31
+
32
+ @media (prefers-color-scheme: dark) {
33
+ :root {
34
+ --bg-body: #0E0F12;
35
+ --text-primary: #F4F5F8;
36
+ --text-muted: #A0A4B0;
37
+ --border-color: #F4F5F8;
38
+ --shadow-color: #F4F5F8;
39
+ }
40
+ }
41
+
42
+ * {
43
+ box-sizing: border-box;
44
+ margin: 0;
45
+ padding: 0;
46
+ }
47
+
48
+ body {
49
+ font-family: var(--font-sans);
50
+ background-color: var(--bg-body);
51
+ color: var(--text-primary);
52
+ min-height: 100vh;
53
+ display: flex;
54
+ align-items: center;
55
+ justify-content: center;
56
+ padding: 1.5rem;
57
+ }
58
+
59
+ .error-card {
60
+ max-width: 580px;
61
+ width: 100%;
62
+ background: #ffffff;
63
+ border: 4px solid var(--border-color);
64
+ box-shadow: 8px 8px 0px var(--shadow-color);
65
+ border-radius: 8px;
66
+ padding: 2.5rem 2rem;
67
+ text-align: center;
68
+ }
69
+
70
+ @media (prefers-color-scheme: dark) {
71
+ .error-card {
72
+ background: #18191E;
73
+ }
74
+ }
75
+
76
+ .badge-404 {
77
+ display: inline-block;
78
+ font-family: var(--font-mono);
79
+ font-weight: 800;
80
+ font-size: 0.85rem;
81
+ text-transform: uppercase;
82
+ letter-spacing: 0.08em;
83
+ padding: 0.35rem 0.85rem;
84
+ background: var(--color-secondary);
85
+ color: #ffffff;
86
+ border: 2.5px solid var(--border-color);
87
+ box-shadow: 3px 3px 0px var(--shadow-color);
88
+ border-radius: 4px;
89
+ margin-bottom: 1.25rem;
90
+ }
91
+
92
+ .glitch-title {
93
+ font-family: var(--font-mono);
94
+ font-size: clamp(3.5rem, 12vw, 5.5rem);
95
+ font-weight: 800;
96
+ line-height: 1;
97
+ letter-spacing: -0.05em;
98
+ margin-bottom: 0.5rem;
99
+ color: var(--text-primary);
100
+ }
101
+
102
+ .error-heading {
103
+ font-size: 1.5rem;
104
+ font-weight: 800;
105
+ margin-bottom: 1rem;
106
+ letter-spacing: -0.02em;
107
+ }
108
+
109
+ .error-desc {
110
+ color: var(--text-muted);
111
+ font-size: 1rem;
112
+ line-height: 1.6;
113
+ margin-bottom: 2rem;
114
+ }
115
+
116
+ .actions-grid {
117
+ display: flex;
118
+ flex-direction: column;
119
+ gap: 0.85rem;
120
+ }
121
+
122
+ @media (min-width: 480px) {
123
+ .actions-grid {
124
+ flex-direction: row;
125
+ justify-content: center;
126
+ }
127
+ }
128
+
129
+ .btn {
130
+ display: inline-flex;
131
+ align-items: center;
132
+ justify-content: center;
133
+ gap: 0.5rem;
134
+ padding: 0.85rem 1.35rem;
135
+ font-size: 0.95rem;
136
+ font-weight: 800;
137
+ text-decoration: none;
138
+ border: 3px solid var(--border-color);
139
+ border-radius: 6px;
140
+ box-shadow: 4px 4px 0px var(--shadow-color);
141
+ transition: transform 0.1s ease, box-shadow 0.1s ease;
142
+ cursor: pointer;
143
+ }
144
+
145
+ .btn:hover {
146
+ transform: translate(-2px, -2px);
147
+ box-shadow: 6px 6px 0px var(--shadow-color);
148
+ }
149
+
150
+ .btn:active {
151
+ transform: translate(2px, 2px);
152
+ box-shadow: 0px 0px 0px var(--shadow-color);
153
+ }
154
+
155
+ .btn-primary {
156
+ background: var(--color-primary);
157
+ color: #000000;
158
+ }
159
+
160
+ .btn-secondary {
161
+ background: var(--color-accent-blue);
162
+ color: #000000;
163
+ }
164
+
165
+ .btn-whatsapp {
166
+ background: #25D366;
167
+ color: #000000;
168
+ }
169
+
170
+ .footer-note {
171
+ margin-top: 2rem;
172
+ font-size: 0.8rem;
173
+ font-weight: 600;
174
+ color: var(--text-muted);
175
+ font-family: var(--font-mono);
176
+ }
177
+ </style>
178
+ </head>
179
+ <body>
180
+ <div class="error-card">
181
+ <div class="badge-404">HTTP ERROR 404</div>
182
+ <h1 class="glitch-title">404</h1>
183
+ <h2 class="error-heading">Halaman Tidak Ditemukan</h2>
184
+ <p class="error-desc">
185
+ Tautan yang Anda tuju mungkin sudah dipindahkan, dihapus, atau salah ketik. Silakan kembali ke Studio Customizer atau jelajahi dokumentasi API kami.
186
+ </p>
187
+
188
+ <div class="actions-grid">
189
+ <a href="/" class="btn btn-primary" data-track="404_home">
190
+ <span>&larr; Ke Studio</span>
191
+ </a>
192
+ <a href="/#api-docs" class="btn btn-secondary" data-track="404_docs">
193
+ <span>Dokumentasi API</span>
194
+ </a>
195
+ <a
196
+ href="https://wa.me/6281234567890?text=Halo%20Mang%20Rusdi%2C%20saya%20menemukan%20halaman%20404%20di%20Quote%20Studio"
197
+ target="_blank"
198
+ rel="noopener noreferrer"
199
+ class="btn btn-whatsapp"
200
+ data-track="404_wa"
201
+ >
202
+ <span>Chat WhatsApp</span>
203
+ </a>
204
+ </div>
205
+
206
+ <div class="footer-note">
207
+ Quote Studio &bull; qc.mangrusdi.my.id
208
+ </div>
209
+ </div>
210
+ </body>
211
+ </html>
frontend/public/sitemap.xml CHANGED
@@ -2,20 +2,20 @@
2
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3
  <url>
4
  <loc>https://qc.mangrusdi.my.id/</loc>
5
- <lastmod>2026-10-08</lastmod>
6
- <changefreq>weekly</changefreq>
7
  <priority>1.0</priority>
8
  </url>
9
  <url>
10
  <loc>https://qc.mangrusdi.my.id/generate</loc>
11
- <lastmod>2026-10-08</lastmod>
12
- <changefreq>monthly</changefreq>
13
  <priority>0.8</priority>
14
  </url>
15
  <url>
16
  <loc>https://qc.mangrusdi.my.id/status</loc>
17
- <lastmod>2026-10-08</lastmod>
18
- <changefreq>monthly</changefreq>
19
  <priority>0.5</priority>
20
  </url>
21
  </urlset>
 
2
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
3
  <url>
4
  <loc>https://qc.mangrusdi.my.id/</loc>
5
+ <lastmod>2026-10-11</lastmod>
6
+ <changefreq>daily</changefreq>
7
  <priority>1.0</priority>
8
  </url>
9
  <url>
10
  <loc>https://qc.mangrusdi.my.id/generate</loc>
11
+ <lastmod>2026-10-11</lastmod>
12
+ <changefreq>weekly</changefreq>
13
  <priority>0.8</priority>
14
  </url>
15
  <url>
16
  <loc>https://qc.mangrusdi.my.id/status</loc>
17
+ <lastmod>2026-10-11</lastmod>
18
+ <changefreq>daily</changefreq>
19
  <priority>0.5</priority>
20
  </url>
21
  </urlset>
frontend/src/main.js CHANGED
@@ -34,6 +34,8 @@ const bgColorInput = document.getElementById('bgColor');
34
  const bgColorTextInput = document.getElementById('bgColorText');
35
  const watermarkInput = document.getElementById('watermark');
36
  const watermarkGroup = document.getElementById('watermarkGroup');
 
 
37
 
38
  // Preview Elements
39
  const prevAvatar = document.getElementById('prevAvatar');
@@ -78,6 +80,36 @@ let currentTab = 'curl';
78
  let currentGeneratedBlob = null;
79
  let lastGenerateTime = 0;
80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  // Theme Functions
82
  function initTheme() {
83
  const saved = localStorage.getItem('qc_theme');
@@ -352,21 +384,48 @@ function switchMobileTab(target) {
352
 
353
  // Generate Quote via Backend API
354
  async function generateQuote() {
 
 
 
 
 
 
 
355
  const text = messageTextInput.value.trim();
356
  const name = senderNameInput.value.trim();
357
 
 
 
 
 
 
 
 
 
 
 
 
 
 
358
  if (!text) {
359
  showToast('Pesan chat tidak boleh kosong!', 'error');
360
  messageTextInput.focus();
361
  return;
362
  }
363
 
364
- if (!name) {
365
- showToast('Nama pengirim tidak boleh kosong!', 'error');
366
- senderNameInput.focus();
367
  return;
368
  }
369
 
 
 
 
 
 
 
 
370
  // Client-side Cooldown Protection against Spam
371
  const now = Date.now();
372
  if (now - lastGenerateTime < 1500) {
@@ -478,6 +537,13 @@ async function generateQuote() {
478
  generatedResultBox.classList.remove('hidden');
479
  generatedResultBox.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
480
  showToast('Quote berhasil digenerate!', 'success');
 
 
 
 
 
 
 
481
  } catch (err) {
482
  console.error('Generate Error:', err);
483
  showToast(`Gagal: ${err.message}`, 'error', 6000);
@@ -629,9 +695,23 @@ function setupEvents() {
629
  watermarkInput.value = 'qc.mangrusdi.my.id';
630
  generatedResultBox.classList.add('hidden');
631
  updateLivePreview();
 
632
  showToast('Form direset ke default', 'info');
633
  });
634
 
 
 
 
 
 
 
 
 
 
 
 
 
 
635
  // Mobile menu toggle
636
  const mobileMenuBtn = document.getElementById('mobileMenuBtn');
637
  const navLinks = document.querySelector('.nav-links');
@@ -690,12 +770,24 @@ function setupEvents() {
690
  updateCodeSnippets();
691
  });
692
  });
 
 
 
 
 
 
 
 
 
 
 
693
  }
694
 
695
  // App Initialization
696
  function init() {
697
  initTheme();
698
  updateTimestamp();
 
699
  updateLivePreview();
700
  setupEvents();
701
  checkApiStatus();
 
34
  const bgColorTextInput = document.getElementById('bgColorText');
35
  const watermarkInput = document.getElementById('watermark');
36
  const watermarkGroup = document.getElementById('watermarkGroup');
37
+ const hpWebsiteInput = document.getElementById('hpWebsite');
38
+ const charCountBadge = document.getElementById('charCountBadge');
39
 
40
  // Preview Elements
41
  const prevAvatar = document.getElementById('prevAvatar');
 
80
  let currentGeneratedBlob = null;
81
  let lastGenerateTime = 0;
82
 
83
+ // Analytics & Event Tracking (Checklist Points 14, 15, 16)
84
+ function trackEvent(eventName, params = {}) {
85
+ const payload = {
86
+ event: eventName,
87
+ timestamp: new Date().toISOString(),
88
+ ...params,
89
+ };
90
+
91
+ // 1. Google Tag Manager / GA4 dataLayer
92
+ window.dataLayer = window.dataLayer || [];
93
+ window.dataLayer.push(payload);
94
+
95
+ // 2. Custom DOM Event for client-side analytics listeners
96
+ window.dispatchEvent(new CustomEvent('analytics:track', { detail: payload }));
97
+ }
98
+
99
+ // Character Counter Update (Checklist Point 12)
100
+ function updateCharCount() {
101
+ if (!messageTextInput || !charCountBadge) return;
102
+ const count = messageTextInput.value.length;
103
+ charCountBadge.textContent = `${count} / 3000`;
104
+ if (count > 2800) {
105
+ charCountBadge.className = 'char-count-badge limit-danger';
106
+ } else if (count > 2000) {
107
+ charCountBadge.className = 'char-count-badge limit-warning';
108
+ } else {
109
+ charCountBadge.className = 'char-count-badge';
110
+ }
111
+ }
112
+
113
  // Theme Functions
114
  function initTheme() {
115
  const saved = localStorage.getItem('qc_theme');
 
384
 
385
  // Generate Quote via Backend API
386
  async function generateQuote() {
387
+ // Point 13: Anti-spam Honeypot Trap
388
+ if (hpWebsiteInput && hpWebsiteInput.value.trim() !== '') {
389
+ console.warn('Spam bot blocked silently via honeypot trap.');
390
+ showToast('Quote berhasil digenerate!', 'success');
391
+ return;
392
+ }
393
+
394
  const text = messageTextInput.value.trim();
395
  const name = senderNameInput.value.trim();
396
 
397
+ // Point 12: Form Validation
398
+ if (!name) {
399
+ showToast('Nama pengirim tidak boleh kosong!', 'error');
400
+ senderNameInput.focus();
401
+ return;
402
+ }
403
+
404
+ if (name.length > 64) {
405
+ showToast('Nama pengirim maksimal 64 karakter!', 'error');
406
+ senderNameInput.focus();
407
+ return;
408
+ }
409
+
410
  if (!text) {
411
  showToast('Pesan chat tidak boleh kosong!', 'error');
412
  messageTextInput.focus();
413
  return;
414
  }
415
 
416
+ if (text.length > 3000) {
417
+ showToast('Pesan chat maksimal 3000 karakter!', 'error');
418
+ messageTextInput.focus();
419
  return;
420
  }
421
 
422
+ // Points 14 & 16: Track form submission
423
+ trackEvent('form_submit', {
424
+ form: 'quoteForm',
425
+ quote_type: quoteTypeSelect.value,
426
+ format: imageFormatSelect.value,
427
+ });
428
+
429
  // Client-side Cooldown Protection against Spam
430
  const now = Date.now();
431
  if (now - lastGenerateTime < 1500) {
 
537
  generatedResultBox.classList.remove('hidden');
538
  generatedResultBox.scrollIntoView({ behavior: 'smooth', block: 'nearest' });
539
  showToast('Quote berhasil digenerate!', 'success');
540
+
541
+ // Point 14 & 16: Track successful generation
542
+ trackEvent('quote_generated_success', {
543
+ quote_type: quoteTypeSelect.value,
544
+ format: format,
545
+ duration_ms: Date.now() - now,
546
+ });
547
  } catch (err) {
548
  console.error('Generate Error:', err);
549
  showToast(`Gagal: ${err.message}`, 'error', 6000);
 
695
  watermarkInput.value = 'qc.mangrusdi.my.id';
696
  generatedResultBox.classList.add('hidden');
697
  updateLivePreview();
698
+ updateCharCount();
699
  showToast('Form direset ke default', 'info');
700
  });
701
 
702
+ // Form Submission Handler (Point 12 & 14)
703
+ if (form) {
704
+ form.addEventListener('submit', (e) => {
705
+ e.preventDefault();
706
+ generateQuote();
707
+ });
708
+ }
709
+
710
+ // Character Counter Input Listener (Point 12)
711
+ if (messageTextInput) {
712
+ messageTextInput.addEventListener('input', updateCharCount);
713
+ }
714
+
715
  // Mobile menu toggle
716
  const mobileMenuBtn = document.getElementById('mobileMenuBtn');
717
  const navLinks = document.querySelector('.nav-links');
 
770
  updateCodeSnippets();
771
  });
772
  });
773
+
774
+ // Automatic Data-Track Event Listeners (Points 14, 15, 16)
775
+ document.querySelectorAll('[data-track]').forEach((el) => {
776
+ el.addEventListener('click', () => {
777
+ trackEvent(el.dataset.track, {
778
+ text: el.innerText ? el.innerText.trim().slice(0, 50) : (el.title || el.id || 'unlabeled'),
779
+ tag: el.tagName.toLowerCase(),
780
+ href: el.getAttribute('href') || undefined,
781
+ });
782
+ });
783
+ });
784
  }
785
 
786
  // App Initialization
787
  function init() {
788
  initTheme();
789
  updateTimestamp();
790
+ updateCharCount();
791
  updateLivePreview();
792
  setupEvents();
793
  checkApiStatus();
frontend/src/styles/components.css CHANGED
@@ -976,3 +976,123 @@
976
  gap: 0.65rem;
977
  }
978
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
976
  gap: 0.65rem;
977
  }
978
  }
979
+
980
+ /* ==========================================================================
981
+ CHECKLIST ENHANCEMENTS: Breadcrumbs, WhatsApp, Validations & Anti-Spam
982
+ ========================================================================== */
983
+
984
+ /* Breadcrumb Navigation Bar */
985
+ .breadcrumb-nav {
986
+ margin-bottom: 1.25rem;
987
+ padding: 0.5rem 0.85rem;
988
+ background: var(--bg-card);
989
+ border: var(--border-sm);
990
+ border-radius: var(--radius-sm);
991
+ box-shadow: var(--shadow-sm);
992
+ display: inline-flex;
993
+ width: fit-content;
994
+ max-width: 100%;
995
+ }
996
+
997
+ .breadcrumb-list {
998
+ display: flex;
999
+ align-items: center;
1000
+ gap: 0.5rem;
1001
+ list-style: none;
1002
+ margin: 0;
1003
+ padding: 0;
1004
+ font-size: 0.82rem;
1005
+ font-weight: 700;
1006
+ flex-wrap: wrap;
1007
+ }
1008
+
1009
+ .breadcrumb-item a {
1010
+ color: var(--text-primary);
1011
+ text-decoration: none;
1012
+ transition: color var(--transition-tactile);
1013
+ }
1014
+
1015
+ .breadcrumb-item a:hover {
1016
+ color: var(--color-secondary);
1017
+ text-decoration: underline;
1018
+ }
1019
+
1020
+ .breadcrumb-sep {
1021
+ color: var(--text-muted);
1022
+ font-weight: 800;
1023
+ }
1024
+
1025
+ .breadcrumb-item.current {
1026
+ color: var(--text-muted);
1027
+ }
1028
+
1029
+ /* Character Counter & Form Label Row */
1030
+ .label-row {
1031
+ display: flex;
1032
+ align-items: center;
1033
+ justify-content: space-between;
1034
+ margin-bottom: 0.4rem;
1035
+ }
1036
+
1037
+ .char-count-badge {
1038
+ font-family: var(--font-mono);
1039
+ font-size: 0.72rem;
1040
+ font-weight: 700;
1041
+ padding: 0.15rem 0.45rem;
1042
+ border: 1.5px solid var(--border-color);
1043
+ border-radius: var(--radius-xs);
1044
+ background: var(--bg-body);
1045
+ color: var(--text-muted);
1046
+ transition: all var(--transition-tactile);
1047
+ }
1048
+
1049
+ .char-count-badge.limit-warning {
1050
+ background: var(--color-primary);
1051
+ color: #000000;
1052
+ }
1053
+
1054
+ .char-count-badge.limit-danger {
1055
+ background: var(--color-secondary);
1056
+ color: #ffffff;
1057
+ }
1058
+
1059
+ /* WhatsApp CTA Button */
1060
+ .whatsapp-btn {
1061
+ display: inline-flex;
1062
+ align-items: center;
1063
+ gap: 0.45rem;
1064
+ font-size: 0.82rem;
1065
+ font-weight: 700;
1066
+ color: #000000;
1067
+ text-decoration: none;
1068
+ padding: 0.45rem 0.85rem;
1069
+ border-radius: var(--radius-sm);
1070
+ border: var(--border-sm);
1071
+ box-shadow: var(--shadow-sm);
1072
+ background: #25D366;
1073
+ min-height: 40px;
1074
+ transition: all var(--transition-tactile);
1075
+ }
1076
+
1077
+ .whatsapp-btn:hover {
1078
+ background: #20BA5A;
1079
+ transform: translate(-2px, -2px);
1080
+ box-shadow: var(--shadow-md);
1081
+ color: #000000;
1082
+ }
1083
+
1084
+ .whatsapp-btn:active {
1085
+ transform: translate(2px, 2px);
1086
+ box-shadow: 0px 0px 0px var(--shadow-color);
1087
+ }
1088
+
1089
+ /* Anti-Spam Honeypot Trap */
1090
+ .hp-trap {
1091
+ position: absolute !important;
1092
+ left: -9999px !important;
1093
+ width: 1px !important;
1094
+ height: 1px !important;
1095
+ opacity: 0 !important;
1096
+ pointer-events: none !important;
1097
+ overflow: hidden !important;
1098
+ }