Spaces:
Running on Zero
Running on Zero
| :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 ; animation-duration: .01ms ; transition-duration: .01ms ; } | |
| } | |