/* A decorative product illustration; the section's main action opens the platform. */
.platform-card .mada-th-art {
  --th-surface: #ffffff;
  --th-inset: #f2f6fc;
  --th-line: #dce6f3;
  --th-text: #172b49;
  --th-muted: #607693;
  --th-accent: #076cf0;
  --th-bars: #d4e2f5;
  min-width: 0;
  min-height: 490px;
  padding: 72px 38px 100px;
  background: radial-gradient(ellipse at 45% 40%,#d4e7ff,transparent 70%),#edf4fd;
  contain: inline-size;
}
.mada-th-art::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(#6c9cda0c 1px,transparent 1px),linear-gradient(90deg,#6c9cda0c 1px,transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(ellipse,#000,transparent 75%); }
.mada-th-art .th-copy-en { display: none; }
html[lang="en"] .mada-th-art .th-copy-ar { display: none; }
html[lang="en"] .mada-th-art .th-copy-en { display: inline; }
.th-preview-window { position: relative; width: min(100%,388px); padding: 22px; border: 1px solid var(--th-line); border-radius: 22px; background: var(--th-surface); color: var(--th-text); box-shadow: 0 26px 65px -28px #163f8266,0 2px 6px #163f8208; transform: rotate(-3deg); }
.th-preview-topbar { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.th-preview-brand { font: 800 19px/1.3 Arial,sans-serif; letter-spacing: -.7px; }
.th-preview-brand > span { display: inline-block; margin-left: 3px; padding: 5px 7px; border-radius: 7px; background: #076cf0; color: #fff; font-size: 12px; letter-spacing: .4px; vertical-align: middle; }
.th-window-dots { display: flex; gap: 5px; }
.th-window-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--th-muted); opacity: .45; }
.th-preview-address { display: flex; align-items: center; gap: 7px; min-width: 0; margin-bottom: 20px; padding: 9px 11px; border: 1px solid var(--th-line); border-radius: 9px; color: var(--th-muted); font: 11px/1.4 Arial,sans-serif; }
.th-preview-address > span { min-width: 0; overflow-wrap: anywhere; }
.th-preview-address svg { width: 13px; height: 13px; }
.th-document { padding: 19px; border: 1px solid var(--th-line); border-radius: 15px; background: var(--th-inset); }
.th-document-heading { display: flex; align-items: center; gap: 12px; }
.th-document-heading > div { min-width: 0; }
.th-document-heading strong { display: block; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.th-document-icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 48px; border: 1px solid #076cf025; border-radius: 11px; background: var(--th-surface); color: var(--th-accent); }
.th-document-icon svg { width: 25px; height: 28px; stroke-width: 1.5; }
.th-document-meta { display: block; margin-top: 3px; color: var(--th-muted); font: 600 10px/1.5 Arial,sans-serif; letter-spacing: .6px; text-align: start; }
.th-document-lines { display: grid; gap: 8px; margin-top: 18px; }
.th-document-lines i { width: 100%; height: 5px; border-radius: 5px; background: var(--th-bars); }
.th-document-lines i:nth-child(2) { width: 84%; }
.th-document-lines i:last-child { width: 56%; }
.th-share-line { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--th-muted); font-size: 11px; line-height: 1.6; }
.th-share-line > svg { width: 16px; height: 16px; color: var(--th-accent); }
.th-share-check { display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; margin-inline-start: auto; border-radius: 50%; color: #217553; background: #dff3ea; }
.th-share-check svg { width: 13px; height: 13px; stroke-width: 2; }
.th-link-chip { position: absolute; top: 24px; inset-inline-start: 30px; display: flex; align-items: center; gap: 8px; max-width: calc(100% - 60px); padding: 8px 12px; border: 1px solid #076cf01c; border-radius: 999px; background: var(--th-surface); color: var(--th-muted); font-size: 11px; font-weight: 600; line-height: 1.7; }
.th-link-chip svg { width: 15px; height: 15px; color: var(--th-accent); }
.th-qr-card { position: absolute; bottom: 28px; inset-inline-end: 24px; display: flex; align-items: center; gap: 13px; max-width: calc(100% - 48px); padding: 11px 16px 11px 11px; border: 1px solid var(--th-line); border-radius: 18px; background: var(--th-surface); color: var(--th-text); box-shadow: 0 14px 35px -16px #163f8255; }
.th-qr-card img { display: block; flex-shrink: 0; width: 82px; height: 82px; padding: 3px; border-radius: 9px; background: #fff; }
.th-qr-card > div { min-width: 0; }
.th-qr-card strong { display: block; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.th-qr-card > div > span { display: block; margin-top: 4px; color: var(--th-muted); font-size: 10px; line-height: 1.7; }
html[data-theme="dark"] .platform-card .mada-th-art { --th-surface: #172942; --th-inset: #122238; --th-line: #304865; --th-text: #e7eefb; --th-muted: #9fb6d4; --th-accent: #93c0ff; --th-bars: #304e72; background: radial-gradient(ellipse at 45% 40%,#234569,transparent 72%),#101e32; }
html[data-theme="dark"] .th-preview-window { box-shadow: 0 26px 65px -28px #0009,inset 0 1px #ffffff05; }
html[data-theme="dark"] .th-link-chip,html[data-theme="dark"] .th-document-icon { border-color: #42618a; }
html[data-theme="dark"] .th-share-check { color: #9be0bd; background: #224b46; }
html[data-theme="dark"] .th-qr-card { box-shadow: 0 14px 35px -16px #0009; }
@media(max-width:1000px) and (min-width:751px) {
  .platform-card .mada-th-art { padding-inline: 22px; }
  .th-preview-window { padding: 17px; }
  .th-document { padding: 14px; }
  .th-document-heading { gap: 9px; }
  .th-document-heading strong { font-size: 13px; }
}
@media(max-width:750px) {
  .platform-card .mada-th-art { min-height: 450px; padding: 74px 30px 105px; }
  .th-link-chip { inset-inline-start: 24px; }
  .th-qr-card { inset-inline-end: 26px; bottom: 24px; }
}
@media(max-width:400px) {
  .platform-card .mada-th-art { padding-inline: 23px; }
  .th-preview-window { padding: 16px; border-radius: 18px; }
  .th-document { padding: 13px; }
  .th-document-heading { gap: 9px; }
  .th-document-heading strong { font-size: 13px; }
  .th-document-icon { width: 34px; height: 40px; }
  .th-qr-card { padding: 9px; gap: 10px; }
  .th-qr-card img { width: 70px; height: 70px; }
}
