/* «نسخه‌ی آزمایشی» of a ready-made-template product: two download cards (Android, Windows) */
.tdemo { position: relative; isolation: isolate; overflow: clip; margin: clamp(32px, 5vw, 64px) 0; padding: clamp(22px, 4vw, 48px); border: 1px solid var(--line); border-radius: 28px;
  background: radial-gradient(70% 90% at 100% 0%, rgba(212, 166, 52, 0.2), transparent 70%), radial-gradient(60% 70% at 0% 100%, rgba(255, 150, 20, 0.1), transparent 70%), linear-gradient(165deg, #12100c 0%, #0a0809 100%); }
.tdemo::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.45; background: url("/img/hex-pattern.svg") top right / 84px 150px;
  mask-image: radial-gradient(70% 70% at 100% 0%, #000, transparent 75%); -webkit-mask-image: radial-gradient(70% 70% at 100% 0%, #000, transparent 75%); }
.tdemo-head { max-width: 62ch; margin-bottom: 24px; }
.tdemo-head h2 { margin: 6px 0 10px; font-size: clamp(1.4rem, 3vw, 2rem); }
.tdemo-head p { margin: 0; color: var(--muted); line-height: 2; }
.tdemo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.tdemo-card { display: grid; align-content: start; gap: 10px; padding: 22px; border-radius: 22px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.035); transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.tdemo-card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: 0 24px 50px -26px rgba(212, 166, 52, 0.6); }
.tdemo-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; color: var(--gold-hi); background: rgba(212, 166, 52, 0.14); border: 1px solid var(--line); }
.tdemo-ico .icon { width: 30px; height: 30px; fill: currentColor; stroke: none; }
.tdemo-card h3 { margin: 4px 0 0; font-size: 1.2rem; }
.tdemo-card p { margin: 0; color: var(--muted); line-height: 1.9; font-size: 0.92rem; }
.tdemo-meta { color: var(--muted); opacity: 0.85; }
.tdemo-btn { margin-top: 6px; justify-self: start; }
.tdemo-sha { font-size: 0.8rem; color: var(--muted); }
.tdemo-sha summary { cursor: pointer; }
.tdemo-sha code { display: block; margin-top: 6px; word-break: break-all; font-size: 0.75rem; color: var(--gold-hi); }
.tdemo-notes { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 9px; }
.tdemo-notes li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.93rem; line-height: 1.8; }
.tdemo-notes .icon { flex: none; margin-top: 5px; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(212, 166, 52, 0.2); color: var(--gold-hi); }
@media (prefers-reduced-motion: reduce) { .tdemo-card { transition: none; } .tdemo-card:hover { transform: none; } }
