/* ================================================================
   QUALZY — Global Research Page Styles
   All styles specific to features/global-research.html
   ================================================================ */


/* HERO
   ---------------------------------------------------------------- */
.gr-hero {
  padding-top: 64px;
  background: var(--wh);
  position: relative;
  overflow: hidden;
}

.gr-hd1 {
  position: absolute;
  top: -160px;
  right: -160px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--op);
  z-index: 0;
}

.gr-hd1::after {
  content: '';
  position: absolute;
  inset: 70px;
  border-radius: 50%;
  background: var(--om);
}

.gr-hd2 {
  position: absolute;
  bottom: 50px;
  left: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--op);
  z-index: 0;
}

.gr-hsvg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.gr-hi {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 48px 88px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gr-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--mu);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color var(--t-base);
  align-self: flex-start;
}

.gr-back:hover { color: var(--o); }

.gr-hi h1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--dk);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

.gr-hsub {
  font-size: 19px;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 580px;
  font-weight: 300;
}

.gr-hbtns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 52px;
}


/* THE LANGUAGE CHALLENGE
   ---------------------------------------------------------------- */
.gr-prob {
  background: var(--dk);
  padding: 100px 80px;
}

.gr-prob-inn {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.gr-pain-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gr-pain {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gr-pain:last-child { border-bottom: none; }

.gr-pain-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--o);
  line-height: 1;
  opacity: 0.6;
  margin-top: 3px;
}

.gr-pain-body strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.gr-pain-body p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}


/* AUTO-TRANSLATION
   ---------------------------------------------------------------- */
.gr-trans { background: #fff; }

.gr-trans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 52px;
}

.gr-trans-note {
  font-size: 14px;
  color: var(--o);
  font-weight: 600;
  font-style: italic;
  margin-top: 20px;
  margin-bottom: 32px;
  padding-left: 14px;
  border-left: 3px solid var(--o);
}

.gr-trans-feats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gr-trans-feat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

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

.gr-trans-feat strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 2px;
}

.gr-trans-feat span {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
}

/* Translation card mockup */
.gr-trans-img {
  display: flex;
  align-items: flex-start;
}

/* Override the standard .fu animation for this image — longer, slightly
   larger slide, and a short delay so it follows the copy into view */
.gr-trans-img.fu {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.12s;
}

.gr-trans-img.fu.vis {
  opacity: 1;
  transform: translateY(0);
}

.gr-trans-screenshot {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 32px rgba(232, 97, 44, 0.22)) drop-shadow(0 16px 48px rgba(232, 97, 44, 0.12));
}

/* Example callout */
.gr-trans-quote {
  text-align: center;
  max-width: 720px;
  margin: 52px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}

.gr-tq-mark {
  font-family: var(--font-display);
  font-size: 72px;
  line-height: 0.6;
  color: var(--o);
  opacity: 0.35;
  margin-bottom: 20px;
}

.gr-tq-text {
  font-family: var(--font-body);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  font-style: italic;
  color: var(--dk);
  line-height: 1.5;
  margin: 0 0 18px;
}

.gr-tq-attr {
  font-size: 13px;
  color: var(--mu);
}

.gr-tq-attr a {
  color: var(--o);
  text-decoration: none;
  font-weight: 600;
}


/* AI MODERATOR PROBES
   ---------------------------------------------------------------- */
.gr-probes {
  background: var(--dk);
  padding: 100px 80px;
}

.gr-probes-inn {
  max-width: 1200px;
  margin: 0 auto;
}

/* Two-column layout: copy left, screenshot right */
.gr-probes-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.gr-probes-lead {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 28px;
}

.gr-probes-lead em {
  color: #fff;
  font-style: normal;
  font-weight: 600;
}

.gr-probes-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gr-probes-bullets li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}

.gr-probes-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--o);
  opacity: 0.7;
}

/* Stats row */
.gr-probes-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
}

.gr-ps {
  flex: 1;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  margin-right: 24px;
}

.gr-ps:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.gr-ps-val {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: var(--o);
  line-height: 1;
  margin-bottom: 5px;
}

.gr-ps-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.4;
}

/* Screenshot */
.gr-probes-img {
  display: flex;
  align-items: center;
}

.gr-probes-screenshot {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(250, 88, 2, 0.18)) drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
}


/* CHINA-READY
   ---------------------------------------------------------------- */
.gr-china { background: var(--wh); }

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


.gr-china-facts {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gr-cf {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}

.gr-cf:last-child { border-bottom: none; }

.gr-cf-icon {
  width: 42px;
  height: 42px;
  background: var(--op);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.gr-cf-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--o);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gr-cf-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 4px;
}

.gr-cf-body {
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.6;
}


/* GLOBAL SUPPORT TEAMS
   ---------------------------------------------------------------- */
.gr-support {
  background: var(--op);
  padding: 100px 80px;
}

.gr-support-inn {
  max-width: 1200px;
  margin: 0 auto;
}

.gr-support-hd {
  margin-bottom: 60px;
  max-width: 680px;
}

.gr-offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.gr-office {
  background: #fff;
  border: 1.5px solid rgba(250, 88, 2, 0.15);
  border-radius: 16px;
  padding: 32px 28px;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.gr-office:hover {
  border-color: rgba(250, 88, 2, 0.35);
  box-shadow: 0 6px 28px rgba(250, 88, 2, 0.1);
}

.gr-office-flag {
  font-size: 32px;
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}

.gr-office-region {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--o);
  margin-bottom: 6px;
}

.gr-office-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: var(--dk);
  margin-bottom: 4px;
  line-height: 1.2;
}

.gr-office-addr {
  font-size: 13px;
  color: var(--mu);
  margin-bottom: 16px;
  line-height: 1.5;
}

.gr-office-tel {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--o);
  text-decoration: none;
  padding: 8px 14px;
  border: 1.5px solid rgba(250, 88, 2, 0.25);
  border-radius: 8px;
  transition: all var(--t-base);
}

.gr-office-tel:hover {
  background: var(--o);
  border-color: var(--o);
  color: #fff;
}

.gr-support-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.gr-perk {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.gr-perk-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: rgba(250, 88, 2, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.gr-perk-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--o);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gr-perk-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 6px;
}

.gr-perk-body {
  font-size: 13.5px;
  color: var(--mid);
  line-height: 1.65;
}


/* RESPONSIVE — GLOBAL RESEARCH PAGE
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .gr-hi     { padding: 48px 24px 72px; }
  .gr-back   { align-self: center; }

  .gr-prob   { padding: 60px 24px; }
  .gr-probes { padding: 60px 24px; }
  .gr-support { padding: 60px 24px; }

  .gr-prob-inn {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gr-trans-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gr-china-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gr-probes-body {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .gr-offices {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gr-support-perks {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .gr-probes-stats {
    flex-direction: column;
    gap: 20px;
  }

  .gr-ps {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 0;
    padding-bottom: 20px;
    margin-right: 0;
    margin-bottom: 0;
  }

  .gr-ps:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .gr-pain {
    grid-template-columns: 36px 1fr;
    gap: 14px;
  }

  .gr-pain-num {
    font-size: 20px;
  }
}


/* ── Supported Languages Grid ──────────────────────────────────── */

.gr-langs {
  background: var(--wh);
}

.gr-langs-hd {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.gr-langs-hd .sbod {
  margin-top: 16px;
}

.gr-lang-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 40px;
}

.gr-lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--wh);
  border: 1px solid var(--rule);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.gr-lang-item:hover {
  border-color: rgba(250,88,2,.3);
  box-shadow: 0 2px 8px rgba(250,88,2,.06);
}

.gr-lang-flag {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.gr-lang-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--dk);
  font-family: var(--font-body);
}

.gr-langs-note {
  text-align: center;
  font-size: 14px;
  color: var(--mu);
}

.gr-langs-note a {
  color: var(--o);
  text-decoration: none;
  font-weight: 500;
}

.gr-langs-note a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .gr-lang-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .gr-lang-grid {
    grid-template-columns: 1fr 1fr;
  }
}
