Repository navigation
Expand file tree
/
Copy paththeme.css
More file actions
602 lines (559 loc) · 34.3 KB
/
Copy paththeme.css
File metadata and controls
602 lines (559 loc) · 34.3 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
/* ==========================================================================
FB4KDownloader Theme v4 | navy hero + amber action, light page body
Mobile-first. Breakpoints: 640px, 900px (nav), 960px (hero split). No external deps.
========================================================================== */
/* ---------- 1. Tokens ---------- */
:root {
--navy: #0e1836;
--navy-2: #16224a;
--navy-line: #27365f;
--on-navy: #eef1fb;
--on-navy-muted: #aab5d8;
--bg: #ffffff;
--surface: #f4f6fb;
--ink: #101828;
--muted: #596579;
--line: #e2e6ef;
--accent: #ffb020;
--accent-dark: #f29b00;
--on-accent: #1b1300;
--link: #2f4fd1;
--ok: #13875a;
--err: #c0392b;
--radius: 12px;
--radius-lg: 20px;
--shadow: 0 1px 2px rgba(15, 27, 51, .06), 0 12px 28px -14px rgba(15, 27, 51, .22);
--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
--wrap: 1120px;
--header-h: 60px;
/* fluid type scale */
--fs-sm: clamp(.8rem, .78rem + .1vw, .87rem);
--fs-base: clamp(.96rem, .94rem + .12vw, 1.04rem);
--fs-h1: clamp(1.9rem, 1.2rem + 3vw, 3.1rem);
--fs-h2: clamp(1.35rem, 1.15rem + .9vw, 1.9rem);
--fs-h3: clamp(1.05rem, 1rem + .35vw, 1.25rem);
}
/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
-webkit-text-size-adjust: 100%;
scroll-padding-top: calc(var(--header-h) + 12px);
color-scheme: light;
}
body {
margin: 0;
font-family: var(--font);
font-size: var(--fs-base);
line-height: 1.6;
color: var(--ink);
background: var(--bg);
-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4, p, li, a, summary { overflow-wrap: break-word; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0 0 .45em; line-height: 1.2; font-weight: 750; letter-spacing: -.02em; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: 1.05rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #8aa2ff; outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 28px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 8px; }
/* ---------- 3. Buttons ---------- */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px;
font-weight: 700; font-size: .96rem; line-height: 1; text-decoration: none; white-space: nowrap;
transition: background-color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-dark); color: var(--on-accent); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #c4cce0; }
.btn-line-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-line-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: .88rem; }
/* ==========================================================================
4. HEADER
========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 1px solid var(--navy-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { color: #fff; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand b { color: var(--accent); font-weight: 800; }
.nav-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; background: transparent; border: 1px solid var(--navy-line); border-radius: 10px; padding: 0; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, background-color .2s; }
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav {
position: absolute; left: 0; right: 0; top: 100%;
display: none; flex-direction: column; gap: 12px;
max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
padding: 6px clamp(16px, 4vw, 28px) 20px;
background: var(--navy-2); border-bottom: 1px solid var(--navy-line);
}
.nav.is-open { display: flex; }
.nav-list { display: flex; flex-direction: column; }
.nav-list > li { border-bottom: 1px solid var(--navy-line); }
.nav-list > li:last-child { border-bottom: 0; }
.nav-list a, .menu-btn {
display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 2px;
color: var(--on-navy); font-weight: 600; text-decoration: none; background: none; border: 0; text-align: left;
}
.nav-list a[aria-current="page"] { color: var(--accent); }
.menu-btn svg { width: 16px; height: 16px; transition: transform .2s; }
.menu-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { display: none; padding: 0 0 8px 12px; }
.submenu.is-open { display: block; }
.submenu a { min-height: 42px; font-weight: 500; color: var(--on-navy-muted); }
.nav-cta { width: 100%; }
@media (min-width: 900px) {
.nav-toggle { display: none; }
.nav {
position: static; display: flex; flex-direction: row; align-items: center; gap: 14px;
max-height: none; overflow: visible; padding: 0; background: none; border: 0;
}
.nav-list { flex-direction: row; align-items: center; gap: 2px; }
.nav-list > li { border: 0; position: relative; }
.nav-list a, .menu-btn { width: auto; min-height: 38px; padding: 0 12px; gap: 6px; border-radius: 8px; font-size: .92rem; font-weight: 550; color: var(--on-navy-muted); }
.nav-list a:hover, .menu-btn:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav-list a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.submenu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; padding: 6px; background: #fff; border-radius: var(--radius); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .45); }
.submenu a { min-height: 38px; color: var(--ink); }
.submenu a:hover { background: var(--surface); color: var(--ink); }
.nav-cta { width: auto; }
}
/* ==========================================================================
5. HERO + TOOL
========================================================================== */
.hero {
color: var(--on-navy);
background: radial-gradient(700px 360px at 85% -10%, rgba(80, 110, 255, .28), rgba(80, 110, 255, 0) 70%), var(--navy);
padding: clamp(32px, 6vw, 72px) 0 clamp(36px, 6vw, 72px);
}
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lead { max-width: 52ch; margin-bottom: clamp(18px, 3vw, 26px); color: var(--on-navy-muted); font-size: clamp(1rem, .96rem + .25vw, 1.15rem); }
.tool-form { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
.field { position: relative; flex: 1 1 100%; min-width: 0; display: flex; align-items: center; }
.field .icon-link { position: absolute; left: 12px; width: 19px; height: 19px; color: #7a869b; pointer-events: none; }
.field input { width: 100%; height: 50px; padding: 0 86px 0 40px; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface); border: 1.5px solid transparent; border-radius: 9px; }
.field input::placeholder { color: #7a869b; }
.field input:focus { outline: none; background: #fff; border-color: var(--link); }
.paste-btn { position: absolute; right: 6px; height: 38px; padding: 0 12px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; font-weight: 650; font-size: .85rem; }
.paste-btn:hover { background: var(--surface); }
.tool-form .btn-accent { flex: 1 1 100%; min-height: 50px; font-size: 1rem; }
@media (min-width: 640px) {
.tool-form { flex-wrap: nowrap; }
.field { flex: 1 1 auto; }
.tool-form .btn-accent { flex: 0 0 auto; min-width: 156px; }
}
.tool-msg { margin: 10px 4px 0; font-size: var(--fs-sm); color: var(--on-navy-muted); }
.tool-msg:empty { display: none; }
.tool-msg.is-error { color: #ffb4a8; }
.tool-msg.is-ok { color: #7ee2b8; }
.hint { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; color: var(--on-navy-muted); font-size: var(--fs-sm); }
.hint span { display: inline-flex; align-items: center; gap: 6px; }
.hint svg { width: 15px; height: 15px; color: #7ee2b8; flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.chip { padding: 4px 11px; border: 1px solid var(--navy-line); border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--on-navy); font-size: var(--fs-sm); font-weight: 600; }
.chip.hot { border-color: rgba(255, 176, 32, .5); color: var(--accent); }
/* Phone visual */
.visual { display: none; }
@keyframes sheetUp { from { transform: translateY(70%); } to { transform: translateY(0); } }
@media (min-width: 960px) {
.hero-grid { grid-template-columns: 1.2fr .8fr; gap: 56px; }
.visual { display: grid; place-items: center; }
.phone { position: relative; width: min(260px, 100%); aspect-ratio: 9 / 18; padding: 8px; border-radius: 36px; background: #1d2b5c; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px #34457f; }
.screen { position: relative; height: 100%; overflow: hidden; border-radius: 29px; background: linear-gradient(160deg, #4357e0 0%, #232f8a 50%, #0e1836 100%); }
.notch { position: absolute; left: 50%; top: 9px; width: 70px; height: 18px; border-radius: 99px; background: #0a1128; transform: translateX(-50%); }
.play { position: absolute; left: 50%; top: 24%; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .18); transform: translateX(-50%); }
.play svg { width: 26px; height: 26px; color: #fff; margin-left: 3px; }
.dur { position: absolute; left: 14px; top: 40px; padding: 1px 8px; border-radius: 6px; background: rgba(0, 0, 0, .35); color: #fff; font-size: .7rem; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px 16px; border-radius: 22px 22px 0 0; background: #fff; color: var(--ink); animation: sheetUp .9s cubic-bezier(.2, .8, .2, 1) both; }
.sheet .grab { display: block; width: 36px; height: 4px; margin: 0 auto 10px; border-radius: 9px; background: #d5dae6; }
.sheet b { display: block; margin-bottom: 6px; font-size: .9rem; }
.sheet li { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: .82rem; }
.sheet li em { color: var(--muted); font-style: normal; }
.sheet-btn { display: block; margin-top: 8px; padding: 10px; border-radius: 9px; background: var(--accent); color: var(--on-accent); text-align: center; font-weight: 800; font-size: .85rem; }
}
/* Result Card */
.result { margin-top: 18px; color: var(--ink); }
.result[hidden] { display: none; }
.result-card { display: grid; gap: 16px; padding: 14px; background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
.thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 9px; background: var(--surface) center / cover no-repeat; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .time { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; border-radius: 5px; background: rgba(0, 0, 0, .72); color: #fff; font-size: .75rem; }
.result-title { margin: 0 0 2px; font-size: 1.05rem; color: var(--ink); }
.result-meta { margin: 0 0 12px; color: var(--muted); font-size: var(--fs-sm); }
.format-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.format-row:first-child { border-top: 0; padding-top: 0; }
.format-row strong { display: block; line-height: 1.3; }
.format-row small { color: var(--muted); font-size: var(--fs-sm); }
.badge { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #fff3d6; color: #8a5a00; font-size: .7rem; font-weight: 700; vertical-align: 1px; }
@media (min-width: 640px) { .result-card { grid-template-columns: 5fr 7fr; align-items: start; } }
/* Ad slot */
.ad-slot { display: grid; place-items: center; min-height: 90px; margin-top: 22px; border: 1px dashed var(--navy-line); border-radius: var(--radius); color: var(--on-navy-muted); font-size: .72rem; }
.ad-slot:empty::before { content: "Advertisement"; }
/* Native ad wrapper support */
.native-ad-wrapper {
margin: 22px auto; max-width: 820px; width: 100%; text-align: center;
background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px;
overflow: hidden; box-shadow: var(--shadow);
}
.native-ad-label { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; margin-bottom: 8px; font-weight: 700; }
/* Loading Animation */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.btn.is-loading { pointer-events: none; opacity: .9; }
.btn.is-loading svg { display: none; }
.btn.is-loading::before { content: ""; width: 16px; height: 16px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.thumb.is-loading { background: linear-gradient(90deg, #eef1f8 25%, #e1e6f2 37%, #eef1f8 63%); background-size: 400% 100%; animation: shimmer 1.2s ease infinite; }
/* ==========================================================================
6. TRUST STRIP & CONTENT SECTIONS
========================================================================== */
.strip { background: var(--bg); border-bottom: 1px solid var(--line); }
.strip ul { display: grid; grid-template-columns: 1fr 1fr; }
.strip li { display: flex; align-items: center; gap: 12px; padding: 16px 8px; }
.strip svg { width: 26px; height: 26px; flex: none; color: var(--link); }
.strip b { display: block; line-height: 1.25; font-size: .95rem; }
.strip small { color: var(--muted); font-size: var(--fs-sm); }
@media (min-width: 900px) { .strip ul { grid-template-columns: repeat(4, 1fr); } .strip li { padding: 20px 12px; } }
.section { padding: clamp(36px, 6vw, 68px) 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 60ch; margin-bottom: clamp(20px, 3.5vw, 32px); }
.section-head p { margin: 0; color: var(--muted); }
/* Steps */
.steps { display: grid; gap: 14px; }
.steps li { display: flex; gap: 16px; padding: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.steps .n { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--navy); color: var(--accent); font-weight: 800; }
.steps h3 { margin-bottom: 2px; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps li { flex-direction: column; gap: 12px; } }
/* Comparison bars */
.bars { display: grid; gap: 14px; max-width: 820px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label val" "track track"; gap: 6px 12px; align-items: baseline; }
.bar-row b { grid-area: label; font-weight: 650; }
.bar-row b small { margin-left: 8px; color: var(--muted); font-weight: 450; font-size: var(--fs-sm); }
.bar-row .val { grid-area: val; color: var(--muted); font-size: .92rem; }
.track { grid-area: track; height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 99px; background: var(--navy); }
.track i.hi { background: var(--accent); }
@media (min-width: 700px) {
.bar-row { grid-template-columns: 220px 1fr 130px; grid-template-areas: "label track val"; align-items: center; gap: 16px; }
.bar-row .val { text-align: right; }
}
.note { margin: 18px 0 0; color: var(--muted); font-size: var(--fs-sm); }
/* Features */
.features { display: grid; gap: 14px; }
.features li { display: flex; gap: 14px; padding: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; }
.ico { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #e9eeff; color: var(--link); }
.ico svg { width: 22px; height: 22px; }
.features h3 { margin-bottom: 2px; }
.features p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (min-width: 760px) { .features { grid-template-columns: 1fr 1fr; } }
/* Tool Links */
.tool-links { display: grid; gap: 12px; }
.tool-links a { display: block; height: 100%; padding: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.tool-links a:hover { border-color: var(--navy); transform: translateY(-2px); }
.tool-links h3 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.tool-links h3 svg { width: 18px; height: 18px; color: var(--link); flex: none; }
.tool-links p { margin: 0; color: var(--muted); font-size: .92rem; }
@media (min-width: 600px) { .tool-links { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tool-links { grid-template-columns: repeat(4, 1fr); } }
/* FAQ */
.faq { max-width: 800px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 12px 0; font-weight: 650; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 1.2rem; line-height: 1; }
.section.alt .faq summary::after { background: var(--bg); }
.faq details[open] summary::after { content: "\2212"; background: var(--navy); color: #fff; }
.faq details p { margin: 0; padding: 0 0 18px; color: var(--muted); }
/* Extension CTA */
.cta { display: grid; gap: 18px; padding: clamp(22px, 4vw, 36px); background: var(--navy); color: var(--on-navy); border-radius: 18px; }
.cta h2 { margin-bottom: 4px; color: #fff; }
.cta p { margin: 0; color: var(--on-navy-muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .cta { grid-template-columns: 1fr auto; align-items: center; } }
@media (max-width: 480px) { .cta-actions .btn { width: 100%; } }
.disclaimer { margin: 18px 0 0; color: var(--muted); font-size: var(--fs-sm); }
/* Back to Top */
.to-top {
position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
z-index: 90; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px;
background: var(--navy); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6);
opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }
/* ==========================================================================
7. BLOG & INNER PAGES COMPATIBILITY
========================================================================== */
.page-hero {
color: var(--on-navy);
background: radial-gradient(600px 260px at 90% -20%, rgba(80, 110, 255, .25), rgba(80, 110, 255, 0) 70%), var(--navy);
padding: clamp(24px, 4.5vw, 48px) 0 clamp(28px, 5vw, 52px);
}
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.6rem); margin-bottom: .3em; }
.page-hero .lead { max-width: 60ch; margin: 0; color: var(--on-navy-muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0 0 14px; font-size: var(--fs-sm); color: var(--on-navy-muted); list-style: none; padding: 0; }
.crumbs a { color: var(--on-navy-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs li { display: inline; }
.meta { margin: 12px 0 0; color: var(--on-navy-muted); font-size: var(--fs-sm); }
.content-grid { display: grid; gap: 28px; padding-block: clamp(28px, 5vw, 56px); }
.toc { padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-size: .92rem; }
.toc h2 { margin: 0 0 8px; font-size: .95rem; letter-spacing: 0; }
.toc a { display: block; padding: 5px 0; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--link); }
@media (min-width: 960px) {
.content-grid { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; }
.content-grid.article-grid { grid-template-columns: 1fr; max-width: 840px; margin-inline: auto; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
}
.article-grid { max-width: 840px; margin-inline: auto; padding-block: clamp(24px, 4vw, 48px); }
.prose { max-width: 100%; margin-inline: auto; font-size: 1.05rem; line-height: 1.78; color: #1e293b; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: #0f172a; font-weight: 800; letter-spacing: -0.02em; }
.prose h2 { margin-top: 2em; margin-bottom: 0.6em; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; margin-bottom: 0.5em; font-size: 1.2rem; color: #1e293b; }
.prose p, .prose li { color: #334155; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.25em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin: 0.4em 0; }
.prose .callout { margin: 1.6em 0; padding: 16px 20px; background: #fffbeb; border-left: 4px solid var(--accent); border-radius: 10px; color: #78350f; font-size: 0.98rem; box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.prose .table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.03); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.94rem; text-align: left; }
.prose th, .prose td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: #f8fafc; color: #0f172a; font-weight: 750; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.04em; }
.prose tr:last-child td { border-bottom: 0; }
.prose tr:hover td { background: #fcfdfe; }
.prose strong { color: #0f172a; font-weight: 700; }
.prose code { background: #f1f5f9; color: #0f172a; padding: 2px 6px; border-radius: 6px; font-size: 0.88em; border: 1px solid #e2e8f0; }
/* Contact form */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 4px #e9eeff; }
.form textarea { min-height: 140px; resize: vertical; }
/* Blog grid & cards */
.blog-grid, .posts { display: grid; gap: 20px; }
.blog-card, .post {
display: flex; flex-direction: column; padding: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s;
}
.blog-card:hover, .post:hover { border-color: var(--navy); transform: translateY(-2px); color: var(--ink); }
.blog-card-thumb { width: 100%; height: 190px; border-radius: 10px; overflow: hidden; margin-bottom: 14px; background: var(--surface); }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-tag, .blog-card-tag, .post small { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--surface); color: var(--navy); font-size: .75rem; font-weight: 700; margin-bottom: 8px; align-self: flex-start; }
.blog-card h2, .blog-card-title, .blog-card h3, .post h3 { margin-bottom: 6px; font-size: 1.15rem; color: var(--ink); line-height: 1.35; font-weight: 750; }
.blog-card h2 a, .blog-card-title a { color: var(--ink); text-decoration: none; }
.blog-card h2 a:hover, .blog-card-title a:hover { color: var(--link); }
.blog-card p, .blog-card-desc, .post p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.blog-card-footer { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 14px; }
.blog-card-btn { color: var(--link); font-weight: 700; text-decoration: none; font-size: .88rem; display: inline-flex; align-items: center; gap: 4px; }
.blog-card-btn:hover { text-decoration: underline; }
.blog-hero { text-align: center; padding: 40px 16px 20px; }
.blog-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 999px; background: rgba(255, 176, 32, .15); color: #8a5a00; font-weight: 700; font-size: .85rem; margin-bottom: 12px; }
.native-ad-wrapper { margin: 24px auto; text-align: center; }
.native-ad-label { display: block; font-size: .75rem; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .05em; }
.card-box, .article-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-top: 24px; }
@media (min-width: 680px) { .blog-grid, .posts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .blog-grid, .posts { grid-template-columns: repeat(3, 1fr); } }
/* Article Layout */
.article-container { max-width: 860px; margin: 0 auto; }
.article-title { font-size: var(--fs-h1); line-height: 1.2; margin-bottom: 12px; }
.article-meta { display: flex; gap: 16px; color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
.article-hero-media { border-radius: var(--radius-lg); overflow: hidden; margin: 24px 0; border: 1px solid var(--line); }
.article-hero-media img { width: 100%; height: auto; display: block; }
.article-content { font-size: 1.05rem; line-height: 1.8; color: #2d3748; }
.article-content h2 { margin-top: 36px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.article-content h3 { margin-top: 28px; }
.code-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-family: monospace; font-size: .9rem; overflow-x: auto; color: var(--navy); }
.author-bio-card {
background: #ffffff;
border: 1px solid var(--line);
border-radius: 16px;
padding: 24px;
margin-top: 48px;
display: flex;
gap: 20px;
align-items: center;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.author-bio-avatar {
width: 64px;
height: 64px;
border-radius: 50%;
overflow: hidden;
border: 2px solid #2563eb;
flex: none;
background: var(--navy);
}
.author-bio-avatar img {
width: 100%;
height: 100%;
object-fit: cover;
}
/* Bulk downloader */
.batch-input-box textarea { width: 100%; min-height: 140px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); font-family: monospace; font-size: .95rem; background: var(--surface); color: var(--ink); }
.batch-input-box textarea:focus { outline: none; background: #fff; border-color: var(--navy); }
.batch-results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.btn-batch-download { background: var(--accent); color: var(--on-accent); border: none; padding: 10px 22px; border-radius: 10px; font-weight: 700; font-size: .88rem; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.btn-batch-download:hover { background: var(--accent-dark); }
.batch-grid { display: flex; flex-direction: column; gap: 10px; }
.batch-video-card { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.batch-card-thumb { width: 70px; height: 42px; border-radius: 6px; overflow: hidden; background: #000; flex: none; }
.batch-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Toast */
.toast {
position: fixed; bottom: 20px; right: 20px; z-index: 2000;
background: var(--navy); color: #fff; padding: 12px 20px; border-radius: var(--radius);
box-shadow: 0 10px 25px rgba(0, 0, 0, .4); font-weight: 600; font-size: .9rem;
opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }
/* Cookie Consent Banner */
.cookie-banner {
position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
background: var(--navy-2); color: var(--on-navy); border-top: 2px solid var(--accent);
padding: 14px 0; box-shadow: 0 -4px 20px rgba(0, 0, 0, .25);
display: none; font-size: .88rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cookie-inner p { margin: 0; color: var(--on-navy-muted); flex: 1 1 280px; line-height: 1.5; }
.cookie-inner a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
/* ==========================================================================
8. FOOTER
========================================================================== */
.site-footer { background: var(--navy); color: var(--on-navy-muted); border-top: 3px solid var(--accent); font-size: .94rem; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; padding-block: clamp(34px, 5vw, 56px); }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { max-width: 42ch; margin: 0 0 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border: 1px solid var(--navy-line); border-radius: 999px; font-size: var(--fs-sm); color: var(--on-navy); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .22); }
.footer-col h4 { margin: 0 0 10px; color: #fff; font-size: .95rem; letter-spacing: 0; }
.footer-col a { display: inline-block; padding: 5px 0; color: var(--on-navy-muted); text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--navy-line); }
.footer-bottom .wrap { display: grid; gap: 6px; padding-block: 18px; font-size: var(--fs-sm); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--on-navy); }
@media (max-width: 380px) { .footer-main { grid-template-columns: 1fr; } }
@media (min-width: 900px) {
.footer-main { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px 28px; }
.footer-brand { grid-column: auto; }
.footer-bottom .wrap { grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.footer-bottom .legal { text-align: right; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-header, .site-footer, .ad-slot, .cta { display: none !important; } }
/* Google Play Store Coming Soon Badge Button */
.btn-google-play {
display: inline-flex;
align-items: center;
background: #0f172a;
color: #fff;
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 12px;
padding: 8px 16px;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
font-family: inherit;
}
.btn-google-play:hover {
background: #1e293b;
border-color: rgba(255, 255, 255, 0.35);
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.btn-play-text {
display: flex;
flex-direction: column;
text-align: left;
line-height: 1.15;
margin-right: 10px;
}
.btn-play-text small {
font-size: 9px;
letter-spacing: 0.8px;
color: #94a3b8;
font-weight: 600;
text-transform: uppercase;
}
.btn-play-text strong {
font-size: 14px;
font-weight: 700;
color: #fff;
}
.badge-play-soon {
background: linear-gradient(135deg, #f59e0b, #fbbf24);
color: #0b0f19;
font-size: 10px;
font-weight: 800;
padding: 3px 8px;
border-radius: 999px;
text-transform: uppercase;
letter-spacing: 0.6px;
box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}
/* FAQ Accordion Component */
.faq-group { margin-bottom: 28px; }
.faq-item {
border: 1px solid var(--line);
border-radius: 12px;
background: var(--surface);
margin-bottom: 12px;
padding: 16px 20px;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
border-color: var(--navy-line, #3b82f6);
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.faq-item summary {
font-weight: 700;
font-size: 1.05rem;
color: var(--text, #0f172a);
cursor: pointer;
list-style: none;
display: flex;
justify-content: space-between;
align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
content: "+";
font-size: 1.4rem;
color: var(--accent, #f59e0b);
font-weight: bold;
line-height: 1;
}
.faq-item[open] summary::after {
content: "−";
}
.faq-item p {
margin: 10px 0 0;
color: var(--muted, #475569);
line-height: 1.65;
}