/*
 * D1-01 · Açılış sayfalarının sonundaki gömülü ücretsiz test (src/test-block.ts) ve D1-03 "İlgili / Related" bloğu.
 * Ana sayfanın tarama bileşeniyle aynı sınıflar; site.css bu sayfalarda yüklenmediği için kurallar .tb altında.
 * Betik yoksa form gizli kalır (hidden), yerine ana sayfadaki e-postalı forma giden satır görünür.
 */
.tb { position: relative; overflow: hidden; max-width: 1168px; margin: 32px 16px 0; border-radius: 28px; color: #FFFFFF; background: radial-gradient(90% 120% at 50% 115%, #7B62FF 0%, #4A2DD0 28%, #1C0D66 60%, #0B0628 100%); padding: clamp(28px,5vw,56px) clamp(20px,4vw,48px); text-align: center; }
@media (min-width: 1200px) { .tb { margin-left: auto; margin-right: auto; } }
.tb [hidden] { display: none !important; }
.tb :focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.tb-inner { max-width: 680px; margin: 0 auto; }
.tb-k { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .08em; color: #BDB2FF; }
.tb h2 { font-weight: 600; font-size: clamp(26px,3.2vw,38px); line-height: 1.1; letter-spacing: -0.03em; margin: 10px 0 0; text-wrap: balance; color: #FFFFFF; }
.tb-lead { font-size: 16px; line-height: 1.6; color: #D6D0F7; margin: 12px auto 0; max-width: 560px; text-wrap: pretty; }
.tb-after { font-size: 13.5px; line-height: 1.55; color: #BDB2FF; margin: 18px auto 0; max-width: 520px; }
.tb-nojs { font-size: 14px; line-height: 1.55; color: #D6D0F7; margin: 22px auto 0; }
.tb-nojs a, .tb-after a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.js .tb-nojs { display: none; }

.tb .lead-form { position: relative; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 26px auto 0; max-width: 520px; padding: 6px; border-radius: 14px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); }
.tb .lead-form:focus-within { border-color: rgba(255,255,255,0.4); }
.tb .lead-input { flex: 1 1 150px; min-width: 0; margin: 0; padding: 12px 14px; border: 0; border-radius: 10px; background: transparent; color: #FFFFFF; font-family: 'Geist Mono', monospace; font-size: 14px; outline: none; }
.tb .lead-input:focus { background: rgba(255,255,255,0.07); }
.tb .lead-input:focus-visible { box-shadow: inset 0 0 0 2px rgba(255,255,255,0.85); }
.tb .lead-input::placeholder { color: rgba(228,222,255,0.62); opacity: 1; }
.tb .lead-input:disabled { opacity: .7; }
.tb .lead-input[aria-invalid="true"] { box-shadow: inset 0 0 0 1px #FFB0B0; }
.tb .lead-btn { flex: none; display: inline-block; margin: 0; cursor: pointer; border: 0; padding: 12px 20px; border-radius: 10px; background: #FFFFFF; color: #1C0D66; font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 15px; white-space: nowrap; text-decoration: none; }
.tb .lead-btn:hover { background: #EEEBFF; color: #1C0D66; }
.tb .lead-btn:disabled { cursor: default; }
.tb .lead-form[aria-busy="true"] .lead-btn { opacity: .75; cursor: progress; }
.tb .lead-status { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.5; color: #FFFFFF; text-wrap: pretty; }
.tb .lead-status:not(:empty) { margin-top: 14px; }
.tb .lead-status[data-tone="ok"] { color: #9BF5C4; }
.tb .lead-status[data-tone="error"] { color: #FFB0B0; }
.tb .cta-fine { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: .06em; color: #BDB2FF; margin: 14px 0 0; }
.tb .scan-progress { margin: 18px auto 0; max-width: 420px; text-align: left; }
.tb .scan-elapsed { margin: 0 0 10px; text-align: center; font-family: 'Geist Mono', monospace; font-size: 13px; letter-spacing: .04em; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.tb .scan-elapsed::before { content: ''; display: inline-block; width: 10px; height: 10px; margin-right: 8px; vertical-align: -1px; border-radius: 50%; border: 1.5px solid #FFFFFF; border-top-color: transparent; animation: tbSpin .9s linear infinite; }
.tb .scan-elapsed:empty { display: none; }
.tb .scan-reads { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: #D6D0F7; }
.tb .scan-progress ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.tb .scan-progress li { position: relative; padding-left: 20px; font-size: 14px; color: rgba(228,222,255,0.72); }
.tb .scan-progress li::before { content: ''; position: absolute; left: 4px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: rgba(228,222,255,0.5); }
@keyframes tbSpin { to { transform: rotate(360deg); } }
.tb .scan-limit { margin: 24px auto 0; max-width: 600px; border-radius: 18px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); padding: clamp(18px,3vw,28px); display: grid; gap: 10px; justify-items: center; }
.tb .scan-limit strong { font-size: 20px; }
.tb .scan-limit p { margin: 0; font-size: 15px; line-height: 1.55; color: #D6D0F7; text-wrap: pretty; }
.tb .scan-limit .lead-btn { margin-top: 6px; }
.tb .scan-limit .lead-btn-result { background: #5B47F5; color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 0 0 1px rgba(150,130,255,0.55); }
.tb .scan-limit .lead-btn-result:hover { background: #6E5CFF; color: #FFFFFF; }
.tb .scan-last { font-family: 'Geist Mono', monospace; font-size: 12.5px !important; }
.tb .scan-last a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .tb .lead-input { flex-basis: 100%; font-size: 16px; }
  .tb .lead-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .tb .scan-elapsed::before { animation: none; } }

/* D1-03 · İlgili bağlantılar (içgörü ve kontrol sayfalarının sonunda; açık zemin) */
.rel { max-width: 760px; margin: 40px auto 0; padding: 0 20px; }
.rel h2 { font-size: 13px; font-family: 'Geist Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: #5D5C6B; margin: 0 0 12px; }
.rel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.rel li { display: grid; gap: 3px; padding: 14px 16px; border-radius: 14px; background: #FFFFFF; border: 1px solid #E4E4EA; }
.rel a { font-weight: 700; font-size: 15px; color: #0F0E1A; text-decoration: none; }
.rel a:hover { color: #4F3CF0; }
.rel li span { font-size: 13px; line-height: 1.5; color: #5D5C6B; }
.prose .rel { padding: 0; }
