Spaces:
Running on Zero
Running on Zero
File size: 22,498 Bytes
2a071e1 cde909f 67a2445 6cf9641 2a071e1 6cf9641 2a071e1 6cf9641 2a071e1 67a2445 2a071e1 3fae071 67a2445 3fae071 6cf9641 04717ef 2e62e8a 2a071e1 2e62e8a 2a071e1 2915817 2e62e8a 2a071e1 2e62e8a 2a071e1 6cf9641 2a071e1 6cf9641 2a071e1 67a2445 6cf9641 2a071e1 6cf9641 77d0206 6cf9641 77d0206 6cf9641 77d0206 6cf9641 277295b 92c79fe 277295b 0eae957 92c79fe 77d0206 6cf9641 77d0206 2a071e1 6cf9641 67a2445 6cf9641 2a071e1 857d3e9 2a071e1 67a2445 2a071e1 67a2445 2a071e1 67a2445 2a071e1 67a2445 2a071e1 67a2445 2a071e1 67a2445 2a071e1 67a2445 6cf9641 2a071e1 67a2445 2a071e1 edecb11 f619a9b 67a2445 f619a9b 67a2445 f619a9b 67a2445 f619a9b 2a071e1 67a2445 2a071e1 67a2445 2a071e1 67a2445 2a071e1 6cf9641 67a2445 2a071e1 2e3c937 9162231 2e3c937 2a071e1 9162231 2e3c937 2a071e1 2e62e8a 2a071e1 70a95d6 67a2445 70a95d6 2a071e1 6cf9641 67a2445 2a071e1 67a2445 2a071e1 67a2445 2a071e1 58375e0 67a2445 2a071e1 3fae071 04717ef 3fae071 04717ef f5bd1fa 04717ef f5bd1fa 04717ef 3fae071 2a071e1 6cf9641 2a071e1 2e3c937 2a071e1 3fae071 2a071e1 2e3c937 9162231 2a071e1 04717ef 2a071e1 | 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 | :root {
--urdu-font: "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
--indigo-950: #1e1b4b;
--indigo-800: #312e81;
--indigo-700: #4f46e5;
--indigo-100: #e0e7ff;
--indigo-50: #f5f3ff;
--ink: #18172b;
--muted: #68667c;
--line: #e3e1ec;
--surface: #fff;
--warm: #fff7ed;
--coral: #fb7185;
--coral-dark: #be123c;
--shadow: 0 22px 70px rgba(49, 46, 129, .13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
color: var(--ink);
background:
linear-gradient(rgba(49, 46, 129, .025) 1px, transparent 1px),
linear-gradient(90deg, rgba(49, 46, 129, .025) 1px, transparent 1px),
#faf9ff;
background-size: 28px 28px;
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, textarea, input { font: inherit; }
button { color: inherit; }
.topbar {
min-height: 72px;
padding: 14px clamp(18px, 5vw, 72px);
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
border-bottom: 1px solid rgba(255,255,255,.14);
background: var(--indigo-950);
color: white;
}
.topbar-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.language-switch {
flex: 0 0 auto; padding: 3px; display: flex; direction: ltr;
border: 1px solid rgba(255,255,255,.22); border-radius: 11px;
background: rgba(255,255,255,.08);
}
.language-option {
min-height: 30px; padding: 5px 9px; border: 0; border-radius: 8px;
background: transparent; color: #dddafe; font-size: 11px; font-weight: 800;
cursor: pointer;
}
.language-option.active { background: var(--coral); color: #fff; }
.urdu-option { font-family: var(--urdu-font); font-size: 13px; line-height: 1.6; }
.brand { color: white; text-decoration: none; display: flex; align-items: center; gap: 14px; font-weight: 800; }
.brand-mark {
width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden;
}
.brand-mark img {
width: 100%; height: 100%; object-fit: contain; display: block;
}
.brand-name { letter-spacing: -.02em; }
.status-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.status-badge {
padding: 8px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
font-size: 12px; font-weight: 600; background: rgba(255,255,255,.06);
backdrop-filter: blur(8px); transition: all .2s;
}
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.15); }
.status-badge.connected .status-dot { background: #10b981; box-shadow: 0 0 0 3px rgba(16,185,129,.15); }
main { overflow: hidden; }
.hero {
min-height: 500px;
padding: 72px clamp(20px, 7vw, 110px) 125px;
display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(40px, 6vw, 80px);
color: white;
background:
radial-gradient(circle at 78% 25%, rgba(251, 113, 133, .26), transparent 25%),
radial-gradient(circle at 95% 95%, rgba(129, 140, 248, .2), transparent 30%),
linear-gradient(135deg, #17143f 0%, #312e81 62%, #4338ca 100%);
}
.eyebrow { margin: 0 0 10px; color: var(--indigo-700); font-weight: 850; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #fda4af; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(42px, 7vw, 78px); line-height: .98; letter-spacing: -.055em; }
h1 > span:last-child { color: #fda4af; }
.hero-text { margin: 24px 0; color: #e4e2ff; font-size: clamp(17px, 2vw, 21px); line-height: 1.6; }
.trust-note {
max-width: 680px; padding: 16px; display: grid; grid-template-columns: 36px minmax(0, 1fr);
gap: 14px; align-items: start; border: 1px solid rgba(253,164,175,.28); border-radius: 16px;
background: rgba(15,12,55,.22);
}
.trust-note p { margin: 0; color: #d9d7f5; font-size: 14px; line-height: 1.55; }
.trust-note strong, .trust-note p span { display: block; }
.trust-note strong { margin-bottom: 3px; color: #fff; font-size: 15px; }
.hero-art {
display: flex; align-items: center; justify-content: center;
}
.hero-image {
max-width: 100%; height: auto; display: block;
}
.shield {
width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
background: rgba(251,113,133,.18); color: #fda4af; font-weight: 900;
}
.signal-panel {
position: relative; width: min(440px, 42vw); aspect-ratio: 1;
justify-self: center; display: grid; place-items: center;
}
.signal-panel::before {
content: ""; position: absolute; inset: 10%; border-radius: 34%;
border: 1px solid rgba(255,255,255,.15);
background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.035));
box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 35px 80px rgba(10,7,45,.35);
transform: rotate(8deg);
}
.signal-document {
z-index: 2; position: relative; width: 145px; height: 178px; padding: 42px 25px;
display: grid; align-content: start; gap: 13px; border-radius: 18px;
transform: rotate(-7deg); background: white; box-shadow: 0 20px 50px rgba(10,7,45,.25);
}
.signal-document::before {
content: ""; position: absolute; top: 0; right: 0;
border-style: solid; border-width: 0 0 36px 36px;
border-color: transparent transparent #e0e7ff transparent;
}
.signal-document span { height: 6px; border-radius: 99px; background: #c7d2fe; }
.signal-document span:nth-child(2) { width: 78%; }
.signal-document span:nth-child(3) { width: 56%; }
.signal-document i {
position: absolute; right: -16px; bottom: -16px; width: 56px; height: 56px;
display: grid; place-items: center; border: 7px solid #312e81; border-radius: 50%;
background: var(--coral); color: white; font-size: 25px; font-style: normal; font-weight: 950;
}
.signal-orbit { position: absolute; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.orbit-one { inset: 4%; }
.orbit-two { inset: 20%; border-style: dashed; }
.signal-chip {
z-index: 3; position: absolute; padding: 8px 11px; border-radius: 9px;
background: #fff; color: var(--indigo-950); font-size: 10px; font-weight: 950;
letter-spacing: .11em; box-shadow: 0 12px 30px rgba(10,7,45,.23);
}
.chip-one { top: 18%; right: 5%; transform: rotate(8deg); }
.chip-two { bottom: 17%; left: 8%; transform: rotate(-9deg); color: var(--coral-dark); }
.chip-three { bottom: 7%; right: 17%; transform: rotate(5deg); }
.workspace, .examples, .results, .disclaimer {
width: min(1180px, calc(100% - 32px));
margin-left: auto; margin-right: auto;
}
.workspace {
position: relative; margin-top: 32px; padding: clamp(24px, 4vw, 46px);
border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow);
}
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 30px; }
.section-heading h2, .result-header h2 { margin: 0; font-size: clamp(25px, 4vw, 36px); letter-spacing: -.035em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 14px; }
.input-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; }
.field-card { min-width: 0; }
.field-label { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; font-size: 14px; font-weight: 800; }
.field-label > span:first-child { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--indigo-100); color: var(--indigo-800); font-size: 12px; }
.drop-zone {
min-height: 230px; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center;
border: 1.5px dashed #a5b4fc; border-radius: 18px; background: var(--indigo-50); cursor: pointer; text-align: center; transition: .2s ease;
}
.drop-zone:hover, .drop-zone.dragging { border-color: var(--indigo-700); background: #eeecff; transform: translateY(-1px); }
.drop-zone.disabled { opacity: .45; pointer-events: none; border-style: solid; border-color: #c7d2fe; background: #f5f3ff; cursor: not-allowed; }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { width: 46px; height: 46px; margin-bottom: 13px; border-radius: 14px; display: grid; place-items: center; background: white; color: var(--indigo-700); font-size: 25px; box-shadow: 0 8px 22px rgba(49,46,129,.12); }
.drop-zone small { margin-top: 5px; color: var(--muted); }
#imagePreview { display: none; max-height: 170px; max-width: 100%; border-radius: 12px; object-fit: contain; }
.drop-zone.has-image > :not(input):not(img):not(button) { display: none; }
.drop-zone.has-image #imagePreview, .drop-zone.has-image #removeImage { display: block; }
.text-button { display: none; margin-top: 10px; border: 0; background: transparent; color: #a33; font-size: 13px; cursor: pointer; }
textarea {
display: block; width: 100%; min-height: 230px; padding: 18px; resize: vertical;
border: 1px solid #d8d5e8; border-radius: 18px; color: var(--ink); background: #fdfcff; line-height: 1.55; outline: none;
}
textarea:focus { border-color: var(--indigo-700); box-shadow: 0 0 0 4px rgba(79,70,229,.12); }
textarea:disabled { opacity: .45; background: #f5f3ff; cursor: not-allowed; }
.field-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: var(--muted); font-size: 11px; }
.primary-button {
min-width: 220px; min-height: 52px; padding: 13px 24px; border: 0; border-radius: 14px;
display: flex; justify-content: center; align-items: center; gap: 10px; background: var(--indigo-800); color: white; font-weight: 850; cursor: pointer;
box-shadow: 0 12px 28px rgba(49,46,129,.24); transition: .2s ease;
}
.primary-button:hover { background: var(--indigo-700); transform: translateY(-1px); }
.primary-button:disabled { cursor: wait; opacity: .75; transform: none; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: white; border-radius: 50%; animation: spin .7s linear infinite; }
.primary-button.loading .spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-actions { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 26px; }
.form-error { display: none; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: #fff0ef; color: #8d2722; font-size: 13px; }
.form-error.visible { display: block; }
.form-error.warning { background: #fff8df; color: #72520b; border: 1px solid #ead58d; }
.trace-consent {
margin-top: 18px; padding: 13px 15px; display: flex; align-items: flex-start; gap: 11px;
border: 1px solid var(--line); border-radius: 14px; background: #faf9ff; cursor: pointer;
}
.trace-consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--indigo-700); }
.trace-consent span, .trace-consent strong, .trace-consent small { display: block; }
.trace-consent strong { color: var(--indigo-950); font-size: 13px; }
.trace-consent small { margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.mode-hint {
display: none; margin-top: 10px; padding: 8px 14px; border-radius: 10px;
background: var(--indigo-50); color: var(--indigo-800); font-size: 12px; font-weight: 600;
}
.mode-hint.visible { display: flex; align-items: center; gap: 6px; }
.mode-hint .hint-icon { font-size: 14px; }
.reset-button {
display: none; padding: 13px 24px; border: 1.5px solid #c7d2fe; border-radius: 14px;
background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; cursor: pointer; transition: .2s ease;
}
.reset-button:hover { border-color: var(--indigo-700); color: var(--indigo-800); background: var(--indigo-50); }
.reset-button.visible { display: inline-flex; align-items: center; gap: 8px; }
.examples { padding: 78px 0 38px; }
.section-heading.compact { margin-bottom: 20px; }
.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.example-card {
padding: 17px; border: 1px solid var(--line); border-radius: 17px; display: flex; gap: 13px; align-items: center;
background: white; text-align: left; cursor: pointer; transition: .2s ease;
}
.example-card:hover { border-color: #a5b4fc; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(49,46,129,.1); }
.example-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--indigo-100); color: var(--indigo-800); font-size: 11px; font-weight: 900; }
.example-card strong, .example-card small { display: block; }
.example-card small { margin-top: 3px; color: var(--muted); }
.example-grid-images {
margin-top: 14px;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
align-items: start;
}
.example-image-card {
height: 100%; flex-direction: column; align-items: stretch; padding: 10px; gap: 10px;
}
.example-thumb {
display: block; width: 100%; height: 300px; object-fit: contain;
border: 1px solid var(--line); border-radius: 10px; background: #f5f5f5;
}
.example-image-card strong { font-size: 13px; }
.example-image-card small { font-size: 11px; }
.results { padding: 42px 0 50px; }
.result-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.risk-badge { padding: 13px 20px; border-radius: 999px; font-size: clamp(17px, 3vw, 25px); font-weight: 900; }
.risk-looks-normal { background: #d1fae5; color: #065f46; }
.risk-verify-first { background: #fef3c7; color: #92400e; }
.risk-suspicious { background: #fed7aa; color: #9a3412; }
.risk-likely-scam { background: #ffe4e6; color: #9f1239; }
.risk-inappropriate { background: #e0e7ff; color: #3730a3; }
.result-source { margin: 0 0 22px; color: var(--muted); font-size: 13px; }
.result-source.cached-result {
display: inline-flex; width: fit-content; padding: 6px 10px; border-radius: 999px;
background: var(--indigo-100); color: var(--indigo-800); font-weight: 800;
}
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.result-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 10px 30px rgba(49,46,129,.055); }
.result-card p, .result-card li { color: #504d65; line-height: 1.65; }
.result-card ul, .result-card ol { margin: 15px 0 0; padding-left: 22px; }
.card-title { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; }
.card-title > span { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--indigo-100); color: var(--indigo-800); font-weight: 900; }
.card-title h3 { margin: 0; font-size: 17px; }
.copy-button { padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: #faf9ff; color: var(--muted); font-size: 11px; cursor: pointer; }
.copy-button:hover { color: var(--indigo-800); border-color: #a5b4fc; }
.reply-card { background: var(--indigo-50); }
.explanation-card { grid-column: 1 / -1; }
.disclaimer { margin-top: 10px; margin-bottom: 70px; padding: 22px 24px; border: 1px solid #c7d2fe; border-radius: 18px; background: #eef2ff; }
.disclaimer strong { color: #3730a3; }
.disclaimer p { margin: 7px 0 0; color: #4338ca; line-height: 1.6; font-size: 14px; }
footer { padding: 24px clamp(18px, 5vw, 72px); display: flex; justify-content: space-between; gap: 18px; color: #dddafe; background: var(--indigo-950); font-size: 12px; }
html[lang="ur"] body {
direction: rtl;
font-family: var(--urdu-font);
line-height: 1.9;
}
html[lang="ur"] .topbar { direction: ltr; }
html[lang="ur"] .brand, html[lang="ur"] .status-row { direction: ltr; }
html[lang="ur"] .hero-copy, html[lang="ur"] .section-heading,
html[lang="ur"] .field-card, html[lang="ur"] .examples,
html[lang="ur"] .results, html[lang="ur"] .disclaimer,
html[lang="ur"] footer { direction: rtl; text-align: right; }
html[lang="ur"] .status-text,
html[lang="ur"] .section-heading > p,
html[lang="ur"] .field-meta,
html[lang="ur"] .result-source {
unicode-bidi: plaintext;
}
html[lang="ur"] .status-badge {
padding-block: 6px 8px;
font-family: var(--urdu-font);
font-size: 13px;
line-height: 1.5;
}
html[lang="ur"] .status-dot { margin-right: 0; margin-left: 7px; }
html[lang="ur"] .hero {
padding-top: 58px;
}
html[lang="ur"] .hero-copy {
max-width: 720px;
justify-self: end;
}
html[lang="ur"] .eyebrow {
margin-bottom: 6px;
font-size: 15px;
font-weight: 600;
line-height: 1.8;
letter-spacing: 0;
text-transform: none;
}
html[lang="ur"] h1 {
max-width: 720px;
font-size: clamp(44px, 5.5vw, 68px);
font-weight: 700;
line-height: 1.5;
letter-spacing: 0;
text-wrap: balance;
}
html[lang="ur"] .hero-text {
margin: 8px 0 18px;
font-size: clamp(18px, 1.8vw, 21px);
line-height: 2;
}
html[lang="ur"] .trust-note {
grid-template-columns: 40px minmax(0, 1fr);
padding: 13px 16px 17px;
}
html[lang="ur"] .trust-note p {
font-size: 15px;
line-height: 2;
}
html[lang="ur"] .trust-note strong {
margin-bottom: 0;
font-size: 16px;
}
html[lang="ur"] .section-heading h2,
html[lang="ur"] .result-header h2 {
font-weight: 700;
line-height: 1.7;
letter-spacing: 0;
}
html[lang="ur"] .section-heading > p {
max-width: 430px;
font-size: 14px;
line-height: 2;
}
html[lang="ur"] .field-label {
margin-bottom: 6px;
font-size: 16px;
line-height: 1.8;
}
html[lang="ur"] .field-label > span:first-child {
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
line-height: 1;
}
html[lang="ur"] .drop-zone {
min-height: 250px;
padding: 28px 24px 32px;
}
html[lang="ur"] .drop-zone strong {
font-size: 17px;
line-height: 1.8;
}
html[lang="ur"] .drop-zone small {
margin-top: 0;
font-size: 13px;
line-height: 1.9;
}
html[lang="ur"] textarea {
min-height: 250px;
padding: 19px 20px 26px;
text-align: start;
font-size: 17px;
line-height: 2.1;
}
html[lang="ur"] textarea::placeholder { line-height: 2.1; }
html[lang="ur"] #charCount {
direction: ltr;
unicode-bidi: isolate;
}
html[lang="ur"] .field-meta {
align-items: baseline;
margin-top: 4px;
font-size: 12px;
line-height: 1.9;
}
html[lang="ur"] .mode-hint {
padding-block: 7px 10px;
font-size: 13px;
line-height: 1.8;
}
html[lang="ur"] .trace-consent {
padding: 11px 15px 16px;
}
html[lang="ur"] .trace-consent input {
flex: 0 0 auto;
margin-top: 10px;
}
html[lang="ur"] .trace-consent strong {
font-size: 15px;
line-height: 1.8;
}
html[lang="ur"] .trace-consent small {
margin-top: 0;
font-size: 12px;
line-height: 2;
}
html[lang="ur"] .primary-button,
html[lang="ur"] .reset-button {
min-height: 56px;
padding-block: 10px 15px;
font-size: 16px;
line-height: 1.7;
}
html[lang="ur"] .example-card {
min-height: 92px;
padding-block: 13px 18px;
text-align: right;
}
html[lang="ur"] .example-icon {
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
html[lang="ur"] .example-card strong {
font-size: 16px;
line-height: 1.8;
}
html[lang="ur"] .example-card small {
margin-top: 0;
font-size: 13px;
line-height: 1.9;
}
html[lang="ur"] .result-header {
align-items: flex-start;
}
html[lang="ur"] .risk-badge {
padding: 9px 18px 14px;
font-size: clamp(18px, 3vw, 25px);
line-height: 1.7;
}
html[lang="ur"] .result-source {
font-size: 13px;
line-height: 1.9;
}
html[lang="ur"] .result-card {
padding-top: 20px;
padding-bottom: 27px;
}
html[lang="ur"] .card-title h3 {
font-size: 18px;
line-height: 1.8;
}
html[lang="ur"] .card-title > span {
font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}
html[lang="ur"] .copy-button {
padding: 5px 10px 9px;
font-size: 13px;
line-height: 1.5;
}
html[lang="ur"] .result-card p,
html[lang="ur"] .result-card li {
font-size: 16px;
line-height: 2.1;
}
html[lang="ur"] .result-card ul,
html[lang="ur"] .result-card ol {
padding-left: 0;
padding-right: 26px;
}
html[lang="ur"] .disclaimer {
padding-block: 17px 22px;
}
html[lang="ur"] .disclaimer strong {
font-size: 16px;
line-height: 1.8;
}
html[lang="ur"] .disclaimer p {
margin-top: 0;
font-size: 14px;
line-height: 2;
}
html[lang="ur"] footer {
align-items: center;
font-size: 13px;
line-height: 2;
}
@media (max-width: 1100px) {
.hero { grid-template-columns: 1fr; }
.signal-panel { display: none; }
}
@media (max-width: 800px) {
.topbar { align-items: flex-start; }
.hero { grid-template-columns: 1fr; padding-top: 55px; }
.input-grid, .example-grid, .result-grid { grid-template-columns: 1fr; }
.explanation-card { grid-column: auto; }
.section-heading, .result-header { align-items: flex-start; flex-direction: column; }
.field-meta { flex-direction: column; }
.example-grid-images { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
@media (max-width: 520px) {
.topbar { min-height: 64px; padding: 11px 14px; align-items: center; gap: 10px; }
.brand { gap: 9px; min-width: 0; }
.brand-mark { width: 32px; height: 32px; flex: 0 0 32px; }
.topbar-left { gap: 8px; }
.brand-name { display: none; }
.language-option { padding: 4px 7px; }
.status-badge { max-width: 126px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero { min-height: 390px; padding: 48px 20px 105px; }
.workspace { width: calc(100% - 20px); padding: 22px 16px; border-radius: 22px; }
.examples, .results, .disclaimer { width: calc(100% - 24px); }
.primary-button { width: 100%; }
.result-card { padding: 19px; }
.card-title { grid-template-columns: 30px 1fr; }
.copy-button { grid-column: 2; justify-self: start; }
.example-grid-images { grid-template-columns: 1fr; }
.example-thumb { height: 320px; }
footer { flex-direction: column; }
html[lang="ur"] .topbar { padding-block: 8px 10px; }
html[lang="ur"] .language-option { min-height: 34px; }
html[lang="ur"] .status-badge { max-width: 135px; }
html[lang="ur"] .hero {
min-height: 440px;
padding-top: 38px;
}
html[lang="ur"] h1 {
font-size: clamp(39px, 12vw, 49px);
line-height: 1.55;
}
html[lang="ur"] .hero-text {
font-size: 17px;
line-height: 2;
}
html[lang="ur"] .trust-note {
grid-template-columns: 34px minmax(0, 1fr);
}
html[lang="ur"] .workspace {
padding-top: 19px;
}
html[lang="ur"] .section-heading {
gap: 4px;
margin-bottom: 22px;
}
html[lang="ur"] .result-card {
padding-bottom: 24px;
}
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
|