/* ============================================================
   Braindoos — Trust & Security (Trust Center.html)
   Extends styles.css + styles-sections.css tokens.
   Reuses: .svhero/.svpanel (service.css), .cap/.cap-card,
   .benefits, .cta (ai-page.css / styles-sections.css).
   New: .certgrid/.certcard, .tprivacy, .dtable, .disclosure
   ============================================================ */

/* ---------- review notice (honesty flag) ---------- */
.treview {
  display: flex; gap: 14px; align-items: flex-start;
  max-width: 820px; margin: 28px auto 0;
  padding: 16px 20px; border-radius: var(--r-md);
  background: rgba(245,158,11,.09); border: 1px solid rgba(245,158,11,.34);
  color: #8A5A00; font-size: 14.5px; font-weight: 600; line-height: 1.55;
}
.treview svg { width: 22px; height: 22px; flex: 0 0 auto; color: #E59500; margin-top: 1px; }
.treview strong { color: #6B4500; font-weight: 800; }

/* hero posture panel rows (reuses .svpanel shell) */
.tpost { margin-top: 20px; display: flex; flex-direction: column; gap: 11px; }
.tpost__row { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border-radius: 13px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.tpost__row .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; }
.tpost__row .ic svg { width: 18px; height: 18px; }
.tpost__row h5 { font-family: var(--font-display); color: #fff; font-size: 14.5px; font-weight: 600; }
.tpost__row p { color: rgba(225,233,250,.6); font-size: 12.5px; margin-top: 2px; }
.tpost__row .tag { margin-left: auto; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: .04em; color: #5CE6B0; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tpost__row .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5CE6B0; box-shadow: 0 0 0 0 rgba(92,230,176,.6); animation: tpulse 2.4s ease-out infinite; }
@keyframes tpulse { 0% { box-shadow: 0 0 0 0 rgba(92,230,176,.5); } 100% { box-shadow: 0 0 0 7px rgba(92,230,176,0); } }

/* ---------- CERTIFICATIONS GRID ---------- */
.certs { background: var(--bg); }
.certgrid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.certcard {
  position: relative; padding: 28px; border-radius: var(--r-lg);
  background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .3s ease, border-color .25s ease;
}
.certcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.certcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.certcard__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; flex: 0 0 auto; background: linear-gradient(160deg, var(--primary), var(--primary-600)); box-shadow: 0 6px 16px rgba(11,42,107,.22); }
.certcard__ic svg { width: 26px; height: 26px; color: #fff; }
.certcard__status { font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; padding: 6px 11px; border-radius: 100px; white-space: nowrap; }
.certcard__status--live { background: rgba(52,211,153,.14); color: #0E9466; border: 1px solid rgba(52,211,153,.32); }
.certcard__status--prog { background: rgba(245,158,11,.13); color: #9A6B00; border: 1px solid rgba(245,158,11,.34); }
.certcard h3 { font-size: 21px; margin-top: 22px; }
.certcard__std { margin-top: 4px; font-family: var(--font-display); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-600); }
.certcard p { margin-top: 14px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* ---------- DATA HANDLING / PRIVACY BAND ---------- */
.tprivacy { background: var(--panel); }
.tprivacy__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.tprivacy__card { padding: 36px; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tprivacy__ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line); }
.tprivacy__ic svg { width: 24px; height: 24px; color: var(--primary); }
.tprivacy__card h3 { font-size: 22px; margin-top: 22px; }
.tprivacy__card p { margin-top: 12px; font-size: 15.5px; color: var(--muted); line-height: 1.65; }
.tprivacy__card .tlink { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--primary-600); }
.tprivacy__card .tlink svg { width: 16px; height: 16px; transition: transform .2s ease; }
.tprivacy__card .tlink:hover svg { transform: translateX(3px); }

/* ---------- SUBPROCESSORS / DATA RESIDENCY TABLE ---------- */
.tsub { background: var(--bg); }
.dtable-wrap { margin-top: 44px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.dtable { width: 100%; border-collapse: collapse; font: 400 15px/1.5 var(--font-body); }
.dtable th, .dtable td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dtable thead th { font: 700 11.5px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--panel); }
.dtable tbody tr:last-child td { border-bottom: none; }
.dtable tbody tr { transition: background .15s ease; }
.dtable tbody tr:hover { background: var(--panel); }
.dtable td strong { color: var(--ink); font-weight: 700; }
.dtable td .sub { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.region { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13.5px; color: var(--ink-700); }
.region i { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.region i.us { background: #3B5BC4; } .region i.uk { background: #22D3EE; } .region i.uae { background: #34D399; } .region i.in { background: #F59E0B; }
.dtag { display: inline-block; font-family: var(--font-display); font-size: 11.5px; font-weight: 700; padding: 5px 11px; border-radius: 100px; background: var(--panel-2); border: 1px solid var(--line); color: var(--ink-700); }

/* ---------- RESPONSIBLE DISCLOSURE ---------- */
.tdisc { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.tdisc__bg { position: absolute; inset: 0; background:
  radial-gradient(640px 420px at 88% 6%, rgba(34,211,238,.14), transparent 60%),
  radial-gradient(620px 460px at 4% 98%, rgba(59,91,196,.26), transparent 62%); }
.tdisc .wrap { position: relative; z-index: 2; }
.tdisc__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.tdisc h2 { color: #fff; font-size: 40px; }
.tdisc__lead { margin-top: 18px; font-size: 17.5px; line-height: 1.62; color: rgba(225,233,250,.74); max-width: 460px; }
.tdisc__contact { margin-top: 26px; display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); }
.tdisc__contact .ic { width: 40px; height: 40px; border-radius: 11px; background: rgba(34,211,238,.16); display: grid; place-items: center; flex: 0 0 auto; }
.tdisc__contact .ic svg { width: 20px; height: 20px; color: var(--accent); }
.tdisc__contact .k { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(225,233,250,.6); }
.tdisc__contact a { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: #fff; margin-top: 2px; }
.tdisc__contact a:hover { color: var(--accent); }

.tsteps { display: flex; flex-direction: column; gap: 14px; }
.tstep { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--r-md); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.tstep__n { width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto; display: grid; place-items: center; background: linear-gradient(160deg, var(--navy-700), var(--navy-800)); border: 1px solid rgba(34,211,238,.4); font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--accent); }
.tstep h4 { color: #fff; font-size: 16.5px; }
.tstep p { color: rgba(225,233,250,.66); font-size: 14px; margin-top: 5px; line-height: 1.55; }

/* ---------- tweak hooks ---------- */
body.hide-cert-status .certcard__status { display: none; }
@media (min-width: 1081px) {
  .certgrid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .certgrid { grid-template-columns: repeat(2, 1fr); }
  .tprivacy__inner { grid-template-columns: 1fr; }
  .tdisc__inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
  .certgrid { grid-template-columns: 1fr; }
  .tdisc h2 { font-size: 30px; }
  .dtable { display: block; overflow-x: auto; white-space: nowrap; }
}
