/* assets/tc.css — shared "Trust Center" design system (trust.php, features.php) */
.tc { --em: #34d399; --em2: #10b981; --line: rgba(51,65,85,.6); }
.tc-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.tc-orb { position: absolute; border-radius: 9999px; filter: blur(90px); }
.tc-orb-1 { width: 520px; height: 520px; top: -160px; left: -140px; background: radial-gradient(circle, rgba(16,185,129,.22), transparent 70%); animation: tcFloat 16s ease-in-out infinite; }
.tc-orb-2 { width: 480px; height: 480px; top: 520px; right: -160px; background: radial-gradient(circle, rgba(56,189,248,.16), transparent 70%); animation: tcFloat 20s ease-in-out infinite reverse; }
.tc-grid { position: absolute; inset: 0; height: 900px; background-image: linear-gradient(rgba(148,163,184,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.06) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(ellipse at 50% 20%, black 20%, transparent 70%); }
@keyframes tcFloat { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(40px,30px,0); } }

.tc-kicker { display: inline-flex; align-items: center; gap: .5rem; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: rgba(52,211,153,.85); }
.tc-dot { width: 7px; height: 7px; border-radius: 9999px; background: var(--em); box-shadow: 0 0 12px rgba(52,211,153,.9); animation: tcPulse 2.4s ease-in-out infinite; }
@keyframes tcPulse { 50% { opacity: .45; transform: scale(.8); } }
.tc-gradient-text { background: linear-gradient(90deg, #6ee7b7, #34d399 30%, #38bdf8 70%, #6ee7b7); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: tcShift 6s linear infinite; }
@keyframes tcShift { to { background-position: 200% center; } }

.tc-btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 1rem; padding: .85rem 1.3rem; font-size: .875rem; font-weight: 600; color: #022c22; background: linear-gradient(180deg, #6ee7b7, #10b981); box-shadow: 0 12px 34px rgba(16,185,129,.3), inset 0 1px 0 rgba(255,255,255,.4); transition: transform .2s, box-shadow .2s; }
.tc-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(16,185,129,.45), inset 0 1px 0 rgba(255,255,255,.4); }
.tc-btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 1rem; padding: .85rem 1.3rem; font-size: .875rem; font-weight: 500; color: #e2e8f0; border: 1px solid var(--line); background: rgba(15,23,42,.6); backdrop-filter: blur(8px); transition: border-color .2s, color .2s, transform .2s; }
.tc-btn-ghost:hover { border-color: rgba(52,211,153,.55); color: #6ee7b7; transform: translateY(-2px); }

/* shield */
.tc-shield { position: relative; z-index: 2; display: grid; place-items: center; width: 120px; height: 120px; border-radius: 2rem; color: #6ee7b7; background: radial-gradient(circle at 30% 25%, rgba(52,211,153,.25), rgba(2,6,23,.95) 70%); border: 1px solid rgba(52,211,153,.35); box-shadow: 0 0 60px rgba(16,185,129,.35), inset 0 1px 0 rgba(255,255,255,.08); animation: tcBob 6s ease-in-out infinite; }
.tc-shield svg { width: 64px; height: 64px; filter: drop-shadow(0 0 12px rgba(52,211,153,.7)); }
.tc-check { stroke-dasharray: 16; stroke-dashoffset: 16; animation: tcDraw 1.2s .5s ease forwards; }
@keyframes tcDraw { to { stroke-dashoffset: 0; } }
@keyframes tcBob { 50% { transform: translateY(-10px); } }
.tc-ring { position: absolute; border-radius: 9999px; border: 1px solid rgba(52,211,153,.18); }
.tc-ring-1 { inset: 18%; } .tc-ring-2 { inset: 6%; border-style: dashed; animation: tcSpin 40s linear infinite; } .tc-ring-3 { inset: -4%; border-color: rgba(56,189,248,.12); }
.tc-orbit { position: absolute; inset: 6%; animation: tcSpin 12s linear infinite; }
.tc-orbit span { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 9999px; background: #6ee7b7; box-shadow: 0 0 16px #34d399; }
.tc-orbit-2 { inset: -4%; animation-duration: 20s; animation-direction: reverse; }
.tc-orbit-2 span { background: #7dd3fc; box-shadow: 0 0 16px #38bdf8; width: 7px; height: 7px; }
@keyframes tcSpin { to { transform: rotate(360deg); } }

/* facts */
.tc-fact { display: flex; flex-direction: column; gap: .3rem; border-radius: 1.25rem; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(15,23,42,.8), rgba(2,6,23,.9)); padding: 1.1rem 1.2rem; transition: transform .25s, border-color .25s, box-shadow .25s; }
.tc-fact:hover { transform: translateY(-4px); border-color: rgba(52,211,153,.4); box-shadow: 0 16px 40px rgba(16,185,129,.12); }
.tc-fact-num { font-size: 1.5rem; font-weight: 600; color: #f8fafc; font-variant-numeric: tabular-nums; }
.tc-fact-label { font-size: 12px; color: #94a3b8; line-height: 1.4; }

/* sub nav */
.tc-subnav { position: sticky; top: 64px; z-index: 30; border-block: 1px solid rgba(30,41,59,.8); background: rgba(2,6,23,.8); backdrop-filter: blur(14px); }
@media (min-width: 768px) { .tc-subnav { top: 83px; } }
.tc-subnav a { flex-shrink: 0; padding: .8rem .9rem; font-size: 13px; color: #94a3b8; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.tc-subnav a:hover { color: #e2e8f0; }
.tc-subnav a.on { color: #6ee7b7; border-color: #34d399; }

.tc-section { padding-top: 5rem; scroll-margin-top: 110px; }
.tc-head { max-width: 42rem; margin-bottom: 2rem; }
.tc-h2 { margin-top: .6rem; font-size: 1.9rem; font-weight: 600; letter-spacing: -.02em; color: #f8fafc; line-height: 1.15; }
@media (min-width: 768px) { .tc-h2 { font-size: 2.4rem; } }
.tc-sub { margin-top: .75rem; font-size: 15px; color: #94a3b8; line-height: 1.6; }

.tc-card { border-radius: 1.5rem; border: 1px solid var(--line); background: rgba(15,23,42,.6); backdrop-filter: blur(10px); padding: 1.5rem; }

/* paper */
.tc-paper { position: relative; overflow: hidden; border-radius: 1.75rem; padding: 1.75rem; background: linear-gradient(160deg, rgba(15,23,42,.95), rgba(2,6,23,.95)); box-shadow: 0 30px 80px rgba(2,6,23,.6), 0 0 60px rgba(16,185,129,.08); }
.tc-paper::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: conic-gradient(from var(--a, 0deg), rgba(52,211,153,.7), rgba(56,189,248,.2), rgba(52,211,153,.05), rgba(56,189,248,.55), rgba(52,211,153,.7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: tcBorder 8s linear infinite; }
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes tcBorder { to { --a: 360deg; } }
@media (min-width: 768px) { .tc-paper { padding: 2.5rem; } }
.tc-paper-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.05) 50%, transparent 65%); transform: translateX(-100%); animation: tcShine 7s ease-in-out infinite; }
@keyframes tcShine { 0%, 55% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.tc-tag { border-radius: 9999px; border: 1px solid var(--line); background: rgba(2,6,23,.6); padding: .25rem .7rem; font-size: 11px; color: #cbd5e1; }
.tc-tag-em { border-color: rgba(52,211,153,.4); background: rgba(16,185,129,.12); color: #6ee7b7; font-weight: 600; }
.tc-stat { border-radius: 1rem; border: 1px solid rgba(30,41,59,.9); background: rgba(2,6,23,.6); padding: .9rem 1rem; font-size: 12px; color: #94a3b8; line-height: 1.45; }
.tc-stat b { display: block; font-size: 1.6rem; font-weight: 600; color: #6ee7b7; font-variant-numeric: tabular-nums; line-height: 1.2; }

/* locations */
.tc-loc { position: relative; display: flex; flex-direction: column; border-radius: 1.25rem; border: 1px solid var(--line); background: rgba(15,23,42,.6); padding: 1.25rem; transition: transform .25s, border-color .25s, box-shadow .25s; overflow: hidden; }
.tc-loc::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.tc-loc:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 50%, transparent); box-shadow: 0 18px 44px color-mix(in srgb, var(--c) 15%, transparent); }
.tc-loc:hover::after { transform: scaleX(1); }
.tc-loc-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: .9rem; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.tc-loc-cta { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .35rem; font-size: 13px; font-weight: 600; color: var(--c); }

.tc-tabs { display: inline-flex; border-radius: .8rem; border: 1px solid var(--line); padding: 3px; }
.tc-tabs button { border-radius: .6rem; padding: .3rem .8rem; font-size: 12px; color: #94a3b8; }
.tc-tabs button.on { background: rgba(16,185,129,.15); color: #6ee7b7; }
.tc-cite { margin-top: .9rem; white-space: pre-wrap; word-break: break-word; border-radius: .9rem; border: 1px solid rgba(30,41,59,.9); background: rgba(2,6,23,.8); padding: .9rem 1rem; font: 12px/1.6 ui-monospace, Consolas, monospace; color: #cbd5e1; }

/* steps */
.tc-steps { display: grid; gap: 1rem; counter-reset: s; }
@media (min-width: 768px) { .tc-steps { grid-template-columns: repeat(4, 1fr); } }
.tc-step { position: relative; border-radius: 1.25rem; border: 1px solid var(--line); background: rgba(15,23,42,.6); padding: 1.4rem; transition: transform .25s, border-color .25s; }
.tc-step:hover { transform: translateY(-4px); border-color: rgba(52,211,153,.4); }
@media (min-width: 768px) {
    .tc-step:not(:last-child)::after { content: ""; position: absolute; top: 2.55rem; right: -1rem; width: 1rem; height: 2px; background: linear-gradient(90deg, #34d399, transparent); }
}
.tc-step-num { position: absolute; top: 1rem; right: 1.2rem; font-size: 2.2rem; font-weight: 700; color: rgba(148,163,184,.12); }
.tc-step-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 1rem; color: #6ee7b7; background: rgba(16,185,129,.12); border: 1px solid rgba(52,211,153,.3); }

.tc-list { display: grid; gap: .65rem; }
.tc-list li { position: relative; padding-left: 1.6rem; font-size: 14px; color: #94a3b8; line-height: 1.5; }
.tc-list li b { color: #e2e8f0; font-weight: 600; }
.tc-list li::before { content: ""; position: absolute; left: 0; top: .35rem; width: 14px; height: 14px; border-radius: 9999px; background: rgba(16,185,129,.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236ee7b7' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/9px no-repeat; }
.tc-list-x li::before { background: rgba(148,163,184,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center/8px no-repeat; }

/* scans */
.tc-scan { position: relative; overflow: hidden; }
.tc-scan::before { content: ""; position: absolute; top: -60px; right: -60px; width: 160px; height: 160px; border-radius: 9999px; background: radial-gradient(circle, rgba(16,185,129,.18), transparent 70%); }
.tc-clean { display: inline-flex; align-items: center; gap: .3rem; border-radius: 9999px; background: rgba(16,185,129,.15); border: 1px solid rgba(52,211,153,.35); padding: .3rem .7rem; font-size: 12px; font-weight: 600; color: #6ee7b7; }
.tc-hash { margin-top: .35rem; display: flex; width: 100%; align-items: center; gap: .6rem; border-radius: .8rem; border: 1px solid rgba(30,41,59,.9); background: rgba(2,6,23,.8); padding: .6rem .75rem; text-align: left; font: 11.5px/1.5 ui-monospace, Consolas, monospace; color: #cbd5e1; word-break: break-all; transition: border-color .2s, color .2s; }
.tc-hash:hover { border-color: rgba(52,211,153,.5); color: #6ee7b7; }
.tc-link { display: inline-flex; align-items: center; gap: .35rem; font-size: 13px; font-weight: 500; color: #6ee7b7; }
.tc-link:hover { color: #a7f3d0; }
.tc-mini { display: flex; gap: .75rem; font-size: 13.5px; color: #94a3b8; line-height: 1.55; }
.tc-mini > span { display: grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0; border-radius: 9999px; background: rgba(16,185,129,.15); color: #6ee7b7; font-size: 12px; font-weight: 700; }
.tc-cmd { margin: .5rem 0 .25rem; display: flex; width: 100%; align-items: center; justify-content: space-between; gap: .5rem; border-radius: .7rem; background: #020617; border: 1px solid rgba(30,41,59,.9); padding: .5rem .65rem; text-align: left; color: #a7f3d0; transition: border-color .2s; }
.tc-cmd:hover { border-color: rgba(52,211,153,.5); }
.tc-cmd code { font: 11.5px ui-monospace, Consolas, monospace; word-break: break-all; }

/* code */
.tc-code { background: linear-gradient(135deg, rgba(15,23,42,.8), rgba(8,47,73,.35)); }
.tc-term { border-radius: 1rem; border: 1px solid rgba(30,41,59,.9); background: #020617; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.tc-term-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .8rem; border-bottom: 1px solid rgba(30,41,59,.9); background: rgba(15,23,42,.8); font-size: 11px; color: #64748b; }
.tc-term-bar i { width: 10px; height: 10px; border-radius: 9999px; background: #334155; }
.tc-term-bar i:first-child { background: #f87171; } .tc-term-bar i:nth-child(2) { background: #fbbf24; } .tc-term-bar i:nth-child(3) { background: #34d399; }
.tc-term-bar span { margin-left: .5rem; }
.tc-term-body { padding: 1rem 1.1rem; font: 12.5px/1.8 ui-monospace, Consolas, monospace; color: #e2e8f0; }
.tc-term-body em { margin-left: .5rem; font-style: normal; color: #475569; }
.tc-caret { animation: tcBlink 1s steps(1) infinite; color: #6ee7b7; }
@keyframes tcBlink { 50% { opacity: 0; } }

/* faq */
.tc-faq { display: grid; gap: .6rem; }
.tc-faq details { border-radius: 1rem; border: 1px solid var(--line); background: rgba(15,23,42,.6); padding: 0 1.2rem; transition: border-color .2s, background .2s; }
.tc-faq details[open] { border-color: rgba(52,211,153,.35); background: rgba(15,23,42,.85); }
.tc-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-size: 15px; font-weight: 500; color: #f1f5f9; }
.tc-faq summary::-webkit-details-marker { display: none; }
.tc-faq p { padding-bottom: 1.1rem; font-size: 14px; line-height: 1.65; color: #94a3b8; animation: tcIn .35s ease; }
.tc-plus { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.tc-plus::before, .tc-plus::after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 2px; border-radius: 2px; background: #34d399; transition: transform .25s; }
.tc-plus::after { transform: rotate(90deg); }
details[open] .tc-plus::after { transform: rotate(0); }
@keyframes tcIn { from { opacity: 0; transform: translateY(-4px); } }

/* cta */
.tc-cta { position: relative; overflow: hidden; border-radius: 2rem; border: 1px solid rgba(52,211,153,.25); background: rgba(15,23,42,.7); padding: 3rem 1.5rem; text-align: center; }
.tc-cta-glow { position: absolute; left: 50%; top: -40%; width: 70%; height: 140%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(16,185,129,.22), transparent 65%); animation: tcPulse 5s ease-in-out infinite; }

/* reveal on scroll */
.tc-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.tc-reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .tc *, .tc *::before, .tc *::after { animation: none !important; transition: none !important; }
    .tc-reveal { opacity: 1; transform: none; }
    .tc-check { stroke-dashoffset: 0; }
}
