/* ═══════════════════════════════════════════════════════════════
   xcPEP Trust Center — Standalone CSS
   Design tokens extracted from ASI design system + page styles
   ═══════════════════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body { font-family: 'Inter', sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }

/* ── DESIGN TOKENS (from ASI design system) ── */
:root {
  --bg-body: #f4f5f9;
  --bg-white: #ffffff;
  --font-sans: 'Inter', sans-serif;
  --font-headline: 'Outfit', sans-serif;
  --text-heading: #0c0f1a;
  --text-body: #3a3f54;
  --text-muted: #727891;
  --accent-primary: #0a58ca;
  --glass-bg: rgba(255,255,255,0.55);
  --glass-border: 1px solid rgba(255,255,255,0.7);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.06);
  --accent-gradient: linear-gradient(135deg, #1a3a7a 0%, #0a58ca 40%, #3b82f6 100%);
}
[data-theme="dark"] {
  --bg-body: #050a18;
  --text-heading: #f1f5f9;
  --text-body: #94a3b8;
  --text-muted: rgba(255,255,255,0.45);
  --accent-primary: #38bdf8;
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: 1px solid rgba(255,255,255,0.08);
  --glass-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
body {
  background: var(--bg-body);
  color: var(--text-body);
  transition: background 0.4s ease, color 0.4s ease;
}

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 4rem);
  padding-right: clamp(1.25rem, 4vw, 4rem);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── GRADIENT TEXT ── */
.gradient-text, .tc-gradient {
  background: linear-gradient(135deg, #1a3a7a 0%, #0a58ca 40%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .gradient-text, [data-theme="dark"] .tc-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── XCPEP HEADER ── */
.xc-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
[data-theme="dark"] .xc-header {
  background: rgba(10,15,30,0.75);
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.xc-header-logo {
  height: 28px; display: block;
  background: #fff; padding: 4px 8px; border-radius: 6px;
  transition: box-shadow 0.2s ease;
}
.xc-header-logo:hover { box-shadow: 0 2px 8px rgba(0,85,212,0.15); }
/* Theme Toggle - Segmented Sun/Moon */
.xc-theme-toggle {
  display: flex; align-items: center;
  position: relative;
  background: rgba(0,0,0,0.05);
  border-radius: 10px; border: none;
  padding: 2px; cursor: pointer;
  height: 36px;
  transition: background 0.3s ease;
}
[data-theme="dark"] .xc-theme-toggle { background: rgba(255,255,255,0.08); }
.xc-theme-slide {
  position: absolute; top: 2px; left: 2px;
  width: calc(50% - 2px); height: calc(100% - 4px);
  background: #fff;
  border-radius: 8px;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  z-index: 0;
}
[data-theme="dark"] .xc-theme-slide { transform: translateX(100%); background: rgba(255,255,255,0.15); }
.xc-theme-seg {
  position: relative; z-index: 1;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: #64748b;
  transition: color 0.3s ease;
}
.xc-theme-seg.sun { color: #f59e0b; }
[data-theme="dark"] .xc-theme-seg.sun { color: rgba(255,255,255,0.35); }
[data-theme="dark"] .xc-theme-seg.moon { color: #38bdf8; }

/* ── XCPEP FOOTER ── */
.xc-footer {
  background: #0055d4;
  color: rgba(255,255,255,0.85);
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem) 1.5rem;
  font-size: 0.82rem;
  transition: background 0.4s ease, color 0.4s ease;
}
[data-theme="dark"] .xc-footer {
  background: #0a1628;
  border-top: 1px solid rgba(56,189,248,0.08);
}
.xc-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem;
}
.xc-footer-brand-logo {
  height: 32px; margin-bottom: 1rem;
  background: #fff; padding: 5px 10px; border-radius: 8px;
  transition: box-shadow 0.2s ease;
}
.xc-footer-brand-logo:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.15); }
.xc-footer-desc {
  font-size: 0.82rem; line-height: 1.7;
  color: rgba(255,255,255,0.7); max-width: 320px;
}
[data-theme="dark"] .xc-footer-desc { color: rgba(255,255,255,0.45); }
.xc-footer-heading {
  font-family: 'Outfit', sans-serif; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 0.8rem;
}
[data-theme="dark"] .xc-footer-heading { color: rgba(255,255,255,0.9); }
.xc-footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.xc-footer-links a {
  color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.82rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.xc-footer-links a:hover { color: #fff; padding-left: 3px; }
[data-theme="dark"] .xc-footer-links a { color: rgba(255,255,255,0.5); }
[data-theme="dark"] .xc-footer-links a:hover { color: #38bdf8; }
.xc-footer-bottom {
  max-width: 1200px; margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; color: rgba(255,255,255,0.5);
}
[data-theme="dark"] .xc-footer-bottom {
  border-top-color: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.3);
}
.xc-footer-social a {
  color: rgba(255,255,255,0.5); font-size: 1rem;
  transition: color 0.2s ease, transform 0.2s ease;
}
.xc-footer-social a:hover { color: #fff; transform: scale(1.15); }
[data-theme="dark"] .xc-footer-social a { color: rgba(255,255,255,0.3); }
[data-theme="dark"] .xc-footer-social a:hover { color: #38bdf8; }
@media (max-width: 768px) {
  .xc-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .xc-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .xc-footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .xc-footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}


/* ═══════════════════════════════════════════════════════════════
   PAGE-SPECIFIC STYLES (from trust-center.css)
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   xcPEP TRUST CENTER - Premium Glassmorphic Blue v6
   Deep blue-tinted dark mode • Frosted glass cards • Theme-aware
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── PAGE-SCOPED TOKENS ── */
:root {
  --tc-accent: #3b82f6;
  --tc-accent-rgb: 59, 130, 246;
  --tc-accent-soft: rgba(59, 130, 246, 0.08);
  --tc-glass: rgba(255, 255, 255, 0.6);
  --tc-glass-border: rgba(59, 130, 246, 0.12);
  --tc-glass-border-hover: rgba(59, 130, 246, 0.35);
  --tc-text-1: #0f172a;
  --tc-text-2: #334155;
  --tc-text-3: #64748b;
  --tc-card-shadow: 0 12px 40px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255,255,255,0.8);
  --tc-card-shadow-hover: 0 20px 60px rgba(59, 130, 246, 0.12), inset 0 1px 0 rgba(255,255,255,0.9);
  --tc-page-bg: var(--bg-body, #f8faff);
}
[data-theme="dark"] {
  --tc-glass: rgba(15, 23, 42, 0.45);
  --tc-glass-border: rgba(59, 130, 246, 0.18);
  --tc-glass-border-hover: rgba(59, 130, 246, 0.4);
  --tc-text-1: #f1f5f9;
  --tc-text-2: #94a3b8;
  --tc-text-3: #64748b;
  --tc-card-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
  --tc-card-shadow-hover: 0 20px 60px rgba(59, 130, 246, 0.15), 0 0 30px rgba(59,130,246,0.06);
  --tc-page-bg: #050a18;
}


/* ═══════════════════════════════════════════════════════════════════
   HERO - Theme-Aware, Full Viewport (follows ab-hero pattern)
   Light mode: light bg + dot grid. Dark mode: dark bg.
   ═══════════════════════════════════════════════════════════════════ */
.tc-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 56px;
  background-color: var(--bg-body, #f8faff);
  background-image: radial-gradient(rgba(var(--tc-accent-rgb),0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center;
  text-align: center;
  color: var(--tc-text-1);
}
[data-theme="dark"] .tc-hero {
  background-color: var(--tc-page-bg);
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  color: #fff;
}



/* Mesh blobs - subtle blue atmosphere */
.tc-hero .tc-mesh {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.25;
  animation: tcBlob 22s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.tc-mesh-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(10,88,202,0.25), transparent 70%);
  top: -15%; left: -8%;
}
.tc-mesh-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 70%);
  bottom: -20%; right: -5%;
  animation-delay: -8s;
}
.tc-mesh-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(37,99,235,0.2), transparent 70%);
  top: 35%; left: 55%;
  animation-delay: -16s;
}
[data-theme="dark"] .tc-hero .tc-mesh { opacity: 0.35; }

@keyframes tcBlob {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(35px,-45px) scale(1.06); }
  66% { transform: translate(-25px,25px) scale(0.94); }
}

.tc-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.tc-hero-content {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Eyebrow */
.tc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tc-text-3);
  margin-bottom: 1.5rem;
}
[data-theme="dark"] .tc-hero-eyebrow { color: rgba(255,255,255,0.5); }
.tc-hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #0ea5e9);
  border-radius: 1px;
}

/* Title */
.tc-hero h1 {
  font-family: var(--font-headline);
  font-size: clamp(3rem, 5.5vw, 5.8rem);
  font-weight: 900;
  color: var(--tc-text-1);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 2rem;
}
[data-theme="dark"] .tc-hero h1 { color: #fff; }
.tc-hero h1 .tc-gradient {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 40%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
[data-theme="dark"] .tc-hero h1 .tc-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.tc-hero-sub {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--tc-text-2);
  max-width: 680px;
  margin: 0 auto 4rem;
  font-weight: 400;
}
[data-theme="dark"] .tc-hero-sub { color: rgba(255,255,255,0.75); }

/* Certification Badges Wrap */
.tc-certs-wrap {
  border-top: 1px solid var(--tc-glass-border);
  padding-top: 2rem;
}
[data-theme="dark"] .tc-certs-wrap { border-top-color: rgba(255,255,255,0.08); }

.tc-certs-heading {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--tc-text-3);
  margin-bottom: 1.5rem;
  text-align: center;
}
[data-theme="dark"] .tc-certs-heading { color: rgba(255,255,255,0.45); }

.tc-certs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.tc-cert {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.tc-cert-logo {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
[data-theme="dark"] .tc-cert-logo {
  background: rgba(255,255,255,0.92);
  border-color: transparent;
}
.tc-cert:hover .tc-cert-logo {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.15);
}
.tc-cert-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tc-cert-name {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--tc-text-3);
  text-transform: uppercase;
  letter-spacing: 1px;
}
[data-theme="dark"] .tc-cert-name { color: rgba(255,255,255,0.5); }
.tc-cert-status {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Separator dots between certs */
.tc-cert-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tc-glass-border);
  flex-shrink: 0;
}
[data-theme="dark"] .tc-cert-dot { background: rgba(255,255,255,0.15); }


/* ═══════════════════════════════════════════════════════════════════
   BODY SECTIONS - Blue-tinted dark mode for glass visibility
   ═══════════════════════════════════════════════════════════════════ */
.tc-body {
  background: var(--tc-page-bg);
  position: relative;
}
[data-theme="dark"] .tc-body {
  background: var(--tc-page-bg);
  /* Faint blue radial wash so glass cards pop */
  background-image:
    radial-gradient(ellipse 80% 50% at 30% 20%, rgba(30,64,175,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 80%, rgba(14,165,233,0.06) 0%, transparent 60%);
}

.tc-section {
  padding: 5rem 0;
  position: relative;
}

/* Section Header - centered, follows ab pattern */
.tc-sh {
  text-align: center;
  margin-bottom: 3.5rem;
}
.tc-sh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--tc-text-3);
  margin-bottom: 1.2rem;
}
.tc-sh-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6, #0ea5e9);
  border-radius: 1px;
}
.tc-sh-title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--tc-text-1);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.tc-sh-title .tc-gradient {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 40%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .tc-sh-title .tc-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.tc-sh-sub {
  max-width: 640px;
  margin: 0 auto;
  color: var(--tc-text-2);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 300;
}

/* Dividers */
.tc-divider {
  border: none;
  height: 1px;
  max-width: 1600px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent 0%, var(--tc-glass-border) 20%, var(--tc-glass-border) 80%, transparent 100%);
}



/* ═══════════════════════════════════════════════════════════════════
   GOVERNANCE - A-Z Clean List (Policies + Legal + Reports)
   ═══════════════════════════════════════════════════════════════════ */
.tc-gov-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--tc-glass-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--tc-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
[data-theme="dark"] .tc-gov-list {
  background: rgba(15,23,42,0.35);
}
.tc-gov-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: background 0.2s ease;
}
.tc-gov-item:hover {
  background: rgba(59,130,246,0.04);
}
[data-theme="dark"] .tc-gov-item {
  border-bottom-color: rgba(255,255,255,0.04);
}
[data-theme="dark"] .tc-gov-item:hover {
  background: rgba(59,130,246,0.06);
}
.tc-gov-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,130,246,0.08);
  color: #3b82f6;
  flex-shrink: 0;
  font-size: 0.75rem;
}
[data-theme="dark"] .tc-gov-icon {
  background: rgba(59,130,246,0.12);
  color: #60a5fa;
}
.tc-gov-name {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tc-text-1);
}


/* ═══════════════════════════════════════════════════════════════════
   CONTROLS - Grouped with accent bar, A-Z within groups
   ═══════════════════════════════════════════════════════════════════ */
.tc-ctrl-group {
  margin-bottom: 2.5rem;
}
.tc-ctrl-group:last-child { margin-bottom: 0; }
.tc-ctrl-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
[data-theme="dark"] .tc-ctrl-header {
  border-bottom-color: rgba(255,255,255,0.06);
}
.tc-ctrl-accent {
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, #3b82f6 0%, #0ea5e9 100%);
  flex-shrink: 0;
}
.tc-ctrl-title {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tc-text-1);
}
.tc-ctrl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.tc-ctrl-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.tc-ctrl-item:hover {
  background: rgba(59,130,246,0.04);
}
[data-theme="dark"] .tc-ctrl-item:hover {
  background: rgba(59,130,246,0.06);
}
.tc-ctrl-item .tc-gov-icon {
  width: 28px;
  height: 28px;
}
.tc-ctrl-item .tc-gov-name {
  font-size: 0.82rem;
  font-weight: 500;
}


/* ═══════════════════════════════════════════════════════════════════
   SUB-PROCESSORS - 3 cards
   ═══════════════════════════════════════════════════════════════════ */
.tc-infra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.tc-infra-card {
  background: var(--tc-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--tc-glass-border);
  border-radius: 20px;
  box-shadow: var(--tc-card-shadow);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.tc-infra-card:hover {
  transform: translateY(-6px);
  border-color: var(--tc-glass-border-hover);
  box-shadow: var(--tc-card-shadow-hover);
}
[data-theme="dark"] .tc-infra-card {
  background: rgba(15,23,42,0.45);
}
.tc-infra-flag {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(59,130,246,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
[data-theme="dark"] .tc-infra-flag {
  background: rgba(59,130,246,0.1);
}
.tc-infra-info { flex: 1; }
.tc-infra-name {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  color: var(--tc-text-1);
  margin-bottom: 0.15rem;
}
.tc-infra-region {
  font-size: 0.82rem;
  color: var(--tc-text-3);
}
.tc-infra-arrow {
  color: rgba(59,130,246,0.5);
  transition: all 0.3s ease;
}
.tc-infra-card:hover .tc-infra-arrow {
  color: #3b82f6;
  transform: translate(2px, -2px);
}


/* ═══════════════════════════════════════════════════════════════════
   CONTACT CTA - Colorful gradient
   ═══════════════════════════════════════════════════════════════════ */
.tc-cta-card {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 40%, #3b82f6 70%, #0ea5e9 100%);
  border-radius: 20px;
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: 0 20px 60px rgba(37,99,235,0.25);
}
[data-theme="dark"] .tc-cta-card {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 40%, #2563eb 70%, #0284c7 100%);
  box-shadow: 0 20px 60px rgba(37,99,235,0.15);
}
/* Subtle noise overlay */
.tc-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08), transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
}
.tc-cta-title {
  font-family: var(--font-headline);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
  position: relative;
}
.tc-cta-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
}
.tc-email-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1.3rem 0.7rem 1.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
  position: relative;
}
.tc-email-pill:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.4);
}
[data-theme="dark"] .tc-email-pill {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.tc-copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  min-width: 36px;
  min-height: 36px;
  justify-content: center;
}
.tc-copy-btn:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* Copy feedback toast */
.tc-copy-feedback {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #34d399;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-left: 0.5rem;
}
.tc-copy-feedback.visible { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   READING PROGRESS BAR
   ═══════════════════════════════════════════════════════════ */
.xc-progress-bar {
  position: fixed; top: 0; left: 0; z-index: 1002;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, #0055d4, #38bdf8, #0ea5e9);
  transition: width 0.15s ease-out;
  box-shadow: 0 0 8px rgba(56,189,248,0.4);
}

/* ═══════════════════════════════════════════════════════════
   STICKY SECTION NAVIGATOR
   ═══════════════════════════════════════════════════════════ */
.tc-sticky-nav {
  position: fixed; top: -60px; left: 0; right: 0; z-index: 999;
  height: 48px;
  display: flex; align-items: center; justify-content: center; gap: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: top 0.35s cubic-bezier(0.16,1,0.3,1);
}
.tc-sticky-nav.visible { top: 56px; }
[data-theme="dark"] .tc-sticky-nav {
  background: rgba(10,15,30,0.85);
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.tc-sticky-nav-item {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0 1.25rem; height: 48px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem; font-weight: 500;
  color: #64748b;
  text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  cursor: pointer; user-select: none;
}
.tc-sticky-nav-item:hover { color: #0055d4; }
[data-theme="dark"] .tc-sticky-nav-item { color: rgba(255,255,255,0.45); }
[data-theme="dark"] .tc-sticky-nav-item:hover { color: #38bdf8; }
.tc-sticky-nav-item.active {
  color: #0055d4; font-weight: 600;
  border-bottom-color: #0055d4;
}
[data-theme="dark"] .tc-sticky-nav-item.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}
.tc-sticky-nav-item i { font-size: 0.65rem; opacity: 0.7; }

/* ═══════════════════════════════════════════════════════════
   HERO STATS ROW
   ═══════════════════════════════════════════════════════════ */
.tc-stats {
  display: flex; justify-content: center; gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
[data-theme="light"] .tc-stats { border-top-color: rgba(0,0,0,0.08); }
.tc-stat {
  text-align: center;
}
.tc-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem; font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.3rem;
}
.tc-stat-label {
  font-size: 0.72rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════════════════════════ */
.xc-scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 998;
  width: 44px; height: 44px;
  border-radius: 14px; border: none;
  background: #0055d4; color: #fff;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,85,212,0.3);
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.2s ease;
}
.xc-scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.xc-scroll-top:hover { background: #003da0; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,85,212,0.4); }
[data-theme="dark"] .xc-scroll-top { background: #0ea5e9; box-shadow: 0 4px 20px rgba(14,165,233,0.3); }
[data-theme="dark"] .xc-scroll-top:hover { background: #38bdf8; box-shadow: 0 6px 24px rgba(56,189,248,0.4); }


/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  .tc-gov-list { grid-template-columns: repeat(2, 1fr); }
  .tc-ctrl-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  /* Hero — breathing room, refined scale */
  .tc-hero { min-height: 100vh; min-height: 100dvh; padding: 5.5rem 0 3.5rem; }
  .tc-hero-content { padding: 0 1.25rem; }
  .tc-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); margin-bottom: 0.75rem; }
  .tc-hero-sub { font-size: 0.88rem; line-height: 1.65; margin-bottom: 2rem; }
  .tc-hero-eyebrow { font-size: 0.65rem; margin-bottom: 1rem; }
  .tc-certs-wrap { padding-top: 1.5rem; }
  .tc-certs { gap: 1.25rem; }
  .tc-cert-logo { width: 56px; height: 56px; }
  .tc-certs-heading { font-size: 0.6rem; margin-bottom: 0.75rem; }
  .tc-cert-name { font-size: 0.68rem; }
  .tc-cert-status { font-size: 0.6rem; }

  /* Sections — tighter vertical rhythm */
  .tc-section { padding: 2.5rem 0; }
  .tc-sh { margin-bottom: 1.75rem; }
  .tc-sh-eyebrow { font-size: 0.62rem; }
  .tc-sh-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .tc-sh-sub { font-size: 0.85rem; line-height: 1.6; }

  /* Grids — single column on mobile */
  .tc-gov-list { grid-template-columns: 1fr; gap: 0.5rem; }
  .tc-gov-item { padding: 0.7rem 0.9rem; border-radius: 10px; }
  .tc-gov-icon { width: 28px; height: 28px; font-size: 0.65rem; border-radius: 7px; }
  .tc-gov-name { font-size: 0.78rem; }
  .tc-ctrl-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .tc-ctrl-item { padding: 0.75rem 0.85rem; border-radius: 10px; }
  .tc-ctrl-title { font-size: 0.82rem; }
  .tc-infra-grid { grid-template-columns: 1fr; gap: 0.6rem; }
  .tc-infra-card { padding: 1.25rem; border-radius: 12px; }
  .tc-infra-title { font-size: 1rem; }
  .tc-infra-subtitle { font-size: 0.68rem; }

  /* CTA — compact, centered */
  .tc-cta-card { padding: 2rem 1.25rem; border-radius: 16px; }
  .tc-cta-title { font-size: 1.2rem; }
  .tc-cta-desc { font-size: 0.82rem; line-height: 1.6; margin-bottom: 1rem; }
  .tc-email-pill { font-size: 0.8rem; padding: 0.55rem 1rem; justify-content: center; }

  /* Hide sticky nav on mobile */
  .tc-sticky-nav { display: none !important; }
  .tc-stats { gap: 1.75rem; }
  .tc-stat-number { font-size: 1.5rem; }
  .tc-stat-label { font-size: 0.6rem; }
  .xc-scroll-top { bottom: 1.25rem; right: 1.25rem; width: 40px; height: 40px; border-radius: 12px; }
}

@media (max-width: 480px) {
  .tc-hero { padding: 5rem 0 2.5rem; }
  .tc-hero-content { padding: 0 1rem; }
  .tc-hero h1 { font-size: clamp(1.7rem, 9vw, 2.3rem); margin-bottom: 0.6rem; letter-spacing: -0.02em; }
  .tc-hero-sub { font-size: 0.82rem; margin-bottom: 1.5rem; }
  .tc-certs { flex-direction: column; gap: 0.7rem; }
  .tc-cert-dot { display: none; }
  .tc-cert { flex-direction: row; gap: 0.7rem; width: 100%; justify-content: flex-start; padding-left: 0.5rem; }
  .tc-cert-logo { width: 48px; height: 48px; flex-shrink: 0; }
  .tc-cert-name { font-size: 0.65rem; }
  .tc-cert-status { font-size: 0.58rem; }

  .tc-section { padding: 2rem 0; }
  .tc-sh { margin-bottom: 1.25rem; }
  .tc-sh-eyebrow { font-size: 0.58rem; }
  .tc-sh-title { font-size: 1.3rem; }
  .tc-sh-sub { font-size: 0.8rem; }

  .tc-ctrl-grid { grid-template-columns: 1fr; }
  .tc-ctrl-title { font-size: 0.78rem; }
  .tc-gov-item { padding: 0.6rem 0.8rem; }
  .tc-gov-name { font-size: 0.73rem; }
  .tc-infra-card { padding: 1rem; }

  .tc-cta-card { padding: 1.5rem 1rem; border-radius: 14px; }
  .tc-cta-title { font-size: 1.05rem; }
  .tc-cta-desc { font-size: 0.78rem; }
  .tc-email-pill { font-size: 0.75rem; gap: 0.4rem; padding: 0.5rem 0.85rem; }

  .tc-stats { gap: 1.25rem; flex-wrap: wrap; }
  .tc-stat-number { font-size: 1.3rem; }
}
