/* ================================================================
   QUALZY — Trust & Security Page Styles
   All styles specific to trust.html
   Prefix: tr-
   ================================================================ */


/* ----------------------------------------------------------------
   1. HERO
   ---------------------------------------------------------------- */
.tr-hero {
  padding-top: 64px; /* nav height offset */
  background: var(--wh);
  position: relative;
  overflow: hidden;
}

.tr-hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.tr-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 48px 88px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.tr-hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--dk);
  margin-bottom: 24px;
}

.tr-hero-h1 em {
  font-style: italic;
  color: var(--o);
}

.tr-hero-sub {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
  max-width: 680px;
  margin-bottom: 36px;
}

.tr-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

.tr-stats {
  max-width: 560px;
  width: 100%;
}

/* Stagger the scroll animation delays for hero children */
.tr-hero-inner .fu:nth-child(1) { transition-delay: 0s; }
.tr-hero-inner .fu:nth-child(2) { transition-delay: 0.08s; }
.tr-hero-inner .fu:nth-child(3) { transition-delay: 0.16s; }
.tr-hero-inner .fu:nth-child(4) { transition-delay: 0.24s; }
.tr-hero-inner .fu:nth-child(5) { transition-delay: 0.32s; }


/* ----------------------------------------------------------------
   2. ISO 27001
   ---------------------------------------------------------------- */
.tr-iso {
  background: var(--dk);
}

.tr-iso-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 48px;
}

.tr-iso-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tr-iso-copy p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
}

.tr-iso-quote {
  border-left: 3px solid var(--o);
  padding: 4px 0 4px 20px;
  font-style: italic;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  margin: 4px 0;
}

/* Certification badge */
.tr-cert-badge {
  background: #1C1B18;
  border: 1px solid rgba(250, 88, 2, 0.2);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tr-cert-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.tr-cert-logo {
  flex-shrink: 0;
}

.tr-cert-standard {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--o);
  letter-spacing: -0.01em;
}

.tr-cert-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.tr-cert-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.tr-cert-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 28px;
}

.tr-cert-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.tr-cert-footer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.04em;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Footer paragraph below the two-column layout */
.tr-iso-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
}

.tr-iso-footer p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  max-width: 760px;
}


/* ----------------------------------------------------------------
   3. DATA SECURITY
   ---------------------------------------------------------------- */
.tr-sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.tr-sec-card {
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  padding: 32px 28px 36px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tr-sec-card:hover {
  border-color: rgba(250, 88, 2, 0.3);
  box-shadow: 0 8px 32px rgba(250, 88, 2, 0.08);
}

.tr-sec-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--op);
  border-radius: 12px;
  color: var(--o);
  margin-bottom: 20px;
}

.tr-sec-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 12px;
  line-height: 1.25;
}

.tr-sec-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mid);
  font-weight: 300;
}


/* ----------------------------------------------------------------
   4. COMPLIANCE
   ---------------------------------------------------------------- */
.tr-compliance {
  background: var(--op);
}

.tr-comp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tr-comp-card {
  background: #fff;
  border: 1.5px solid rgba(250, 88, 2, 0.12);
  border-radius: 16px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tr-comp-card:hover {
  border-color: rgba(250, 88, 2, 0.35);
  box-shadow: 0 8px 32px rgba(250, 88, 2, 0.08);
}

.tr-comp-flag {
  margin-bottom: 16px;
  border-radius: 3px;
  overflow: hidden;
  display: inline-block;
}

.tr-comp-logo {
  max-height: 44px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  display: block;
}

.tr-comp-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 12px;
}

.tr-comp-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mid);
  font-weight: 300;
  flex: 1;
  margin-bottom: 20px;
}

.tr-comp-tag {
  display: inline-flex;
  align-items: center;
  background: var(--op);
  color: var(--o);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 6px;
  align-self: flex-start;
}


/* ----------------------------------------------------------------
   5. INFRASTRUCTURE
   ---------------------------------------------------------------- */
.tr-infra {
  background: var(--dk);
}

.tr-infra-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 48px;
}

.tr-infra-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 28px 0 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.tr-infra-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tr-infra-row:last-child {
  border-bottom: none;
}

.tr-infra-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  min-width: 140px;
  flex-shrink: 0;
}

.tr-infra-value {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.tr-infra-note {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  max-width: 420px;
}

/* Three regions */
.tr-regions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tr-region-card {
  background: #1C1B18;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: border-color 0.2s ease;
}

.tr-region-card:hover {
  border-color: rgba(250, 88, 2, 0.35);
}

.tr-region-flag {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}

.tr-region-info {
  flex: 1;
}

.tr-region-name {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 3px;
}

.tr-region-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.tr-region-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--o);
  background: rgba(250, 88, 2, 0.12);
  padding: 5px 10px;
  border-radius: 6px;
  flex-shrink: 0;
}

.tr-infra-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 40px;
}

.tr-infra-footer p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  max-width: 760px;
}


/* ----------------------------------------------------------------
   6. ACCESS CONTROLS
   ---------------------------------------------------------------- */
.tr-access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tr-access-tile {
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  padding: 30px 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tr-access-tile:hover {
  border-color: rgba(250, 88, 2, 0.3);
  box-shadow: 0 6px 24px rgba(250, 88, 2, 0.07);
}

.tr-access-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--op);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--o);
  margin-top: 2px;
}

.tr-access-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 8px;
  line-height: 1.3;
}

.tr-access-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mid);
  font-weight: 300;
}


/* ----------------------------------------------------------------
   7. CHINA INFRASTRUCTURE
   ---------------------------------------------------------------- */
.tr-china {
  background: var(--op);
}

.tr-china-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.tr-china-quote {
  background: #fff;
  border: 1.5px solid rgba(250, 88, 2, 0.15);
  border-radius: 14px;
  padding: 24px 28px;
  margin-top: 36px;
}

.tr-china-quote p {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: var(--dk);
  line-height: 1.35;
  margin-bottom: 12px;
}

.tr-china-quote cite {
  font-size: 12px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--o);
}

.tr-china-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 56px; /* rough alignment with h2 */
}

.tr-china-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.tr-china-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background: var(--o);
  border-radius: 50%;
  margin-top: 6px;
}

.tr-china-point strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 6px;
}

.tr-china-point p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mid);
  font-weight: 300;
}


/* ----------------------------------------------------------------
   8. TRUST CENTRE CTA (dark)
   ---------------------------------------------------------------- */
.tr-cta-dark {
  background: #0F0E0C;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tr-cta-dark::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(250, 88, 2, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.tr-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tr-cta-body {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  max-width: 600px;
  margin-bottom: 40px;
  text-align: center;
}

.tr-cta-link {
  color: var(--o);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s ease;
}

.tr-cta-link:hover { opacity: 0.8; }

.tr-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* White filled button for dark sections */
.tr-btn-white {
  background: #fff;
  color: var(--dk);
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.tr-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.18);
}

/* Outline white button for dark sections */
.tr-btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.tr-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}


/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .tr-hero-inner {
    padding: 56px 24px 64px;
  }

  .tr-hero-h1 {
    font-size: clamp(32px, 8vw, 50px);
  }

  .tr-hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
  }

  .tr-iso-inner,
  .tr-infra-inner,
  .tr-china-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .tr-sec-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tr-comp-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tr-access-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tr-access-tile {
    flex-direction: column;
    gap: 14px;
  }

  .tr-china-points {
    padding-top: 0;
  }

  .tr-infra-label {
    min-width: 100px;
  }

  .tr-cta-btns {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .tr-btn-white,
  .tr-btn-outline {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .tr-cert-badge {
    padding: 24px 20px;
  }

  .tr-infra-row {
    flex-direction: column;
    gap: 4px;
  }

  .tr-infra-label {
    min-width: auto;
  }
}
