/* ── Steam page specific styles ── */

/* Active nav link */
.nav__link--active { color: var(--text) !important; }
.nav__link--active::after { transform: scaleX(1) !important; }

/* ── Steam Hero ── */
.steam-hero {
  position: relative; padding: 120px 0 80px; overflow: hidden;
}
.steam-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(23,84,163,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(124,109,250,0.1) 0%, transparent 60%);
}
.steam-hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 0%, transparent 100%);
  opacity: 0.3;
}
.steam-hero__inner { position: relative; text-align: center; }
.steam-hero__tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(23,84,163,0.12); border: 1px solid rgba(23,84,163,0.25);
  color: #5b9cf6; border-radius: 999px; padding: 8px 20px;
  font-size: 13px; font-weight: 600; margin-bottom: 28px;
}
.steam-hero__title {
  font-size: clamp(40px, 6.5vw, 70px); font-weight: 900;
  line-height: 1.07; letter-spacing: -0.03em; margin-bottom: 22px;
}
.steam-hero__sub {
  color: var(--text-muted); font-size: 17px; max-width: 580px;
  margin: 0 auto 36px; line-height: 1.7;
}
.steam-hero__sub strong { color: var(--green); }
.steam-hero__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

/* Stats */
.steam-hero__stats {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 32px; backdrop-filter: blur(8px);
}
.sstat { display: flex; flex-direction: column; align-items: center; padding: 0 24px; }
.sstat__val { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; color: var(--text); }
.sstat__label { font-size: 11px; color: var(--text-muted); font-weight: 500; margin-top: 3px; }
.sstat__div { width: 1px; height: 36px; background: var(--border2); }

/* ── Process grid ── */
.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 40px;
}
.process-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: all 0.3s cubic-bezier(.22,1,.36,1);
  position: relative; overflow: hidden;
}
.process-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0; transition: opacity 0.3s;
}
.process-card:hover { border-color: var(--border2); transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.35); }
.process-card:hover::before { opacity: 1; }

.process-card__num {
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  color: var(--accent); font-feature-settings: 'tnum';
}
.process-card__icon-wrap {
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--bg3); border: 1px solid var(--border2);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; transition: all 0.3s;
}
.process-card:hover .process-card__icon-wrap {
  border-color: var(--accent); box-shadow: 0 0 20px rgba(124,109,250,0.2);
  transform: scale(1.08);
}
.process-card__title { font-size: 16px; font-weight: 800; line-height: 1.3; }
.process-card__desc { color: var(--text-muted); font-size: 13px; line-height: 1.7; flex: 1; }
.process-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }

/* Arrow between cards */
.process-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 8px; padding-top: 60px;
}

/* Chips */
.chip {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
}
.chip--blue { background: rgba(91,156,246,0.12); color: #5b9cf6; border: 1px solid rgba(91,156,246,0.2); }
.chip--green { background: var(--green-bg); color: var(--green); border: 1px solid rgba(74,222,128,0.2); }
.chip--purple { background: rgba(124,109,250,0.12); color: var(--accent); border: 1px solid rgba(124,109,250,0.2); }
.chip--gray { background: var(--bg4); color: var(--text-muted); border: 1px solid var(--border2); }

/* Safety note */
.safety-note {
  display: flex; align-items: flex-start; gap: 20px;
  background: rgba(74,222,128,0.05); border: 1px solid rgba(74,222,128,0.15);
  border-radius: 16px; padding: 24px 28px;
}
.safety-note__icon { font-size: 32px; flex-shrink: 0; }
.safety-note__title { font-size: 15px; font-weight: 800; margin-bottom: 6px; color: var(--green); }
.safety-note__desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── QR code option box ── */
.qr-option-box {
  background: rgba(74,222,128,0.04); border: 1px solid rgba(74,222,128,0.2);
  border-radius: 20px; padding: 32px;
  display: grid; grid-template-columns: 1fr 180px; gap: 32px; align-items: center;
  margin-bottom: 0;
}
.qr-option-box__tag {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--green); margin-bottom: 12px;
}
.qr-option-box__title { font-size: 20px; font-weight: 900; margin-bottom: 12px; line-height: 1.3; }
.qr-option-box__desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.qr-option-box__desc strong { color: var(--text); }
.qr-option-box__alt { font-size: 12px; color: var(--text-dim); margin-top: 16px; font-style: italic; }

.qr-steps { display: flex; flex-direction: column; gap: 10px; }
.qr-step {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--text-muted); line-height: 1.5;
}
.qr-step__num {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: rgba(74,222,128,0.15); border: 1px solid rgba(74,222,128,0.3);
  color: var(--green); font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* QR code visual */
.qr-phone {
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 20px; padding: 16px; text-align: center;
}
.qr-phone__screen { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.qr-phone__app { font-size: 12px; font-weight: 800; color: var(--text-muted); }
.qr-phone__qr {
  background: #fff; border-radius: 8px; padding: 10px;
  display: inline-block;
}
.qr-grid {
  display: grid; grid-template-columns: repeat(5, 10px);
  grid-template-rows: repeat(5, 10px); gap: 2px;
}
.qr-grid div { background: #fff; border-radius: 1px; }
.qr-grid div.f { background: #1a1a2e; border-radius: 1px; }
.qr-phone__label { font-size: 10px; color: var(--text-dim); font-weight: 600; }

@media (max-width: 640px) {
  .qr-option-box { grid-template-columns: 1fr; }
  .qr-option-box__right { display: none; }
}

/* ── Checker section ── */
.checker-section { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.checker-cta {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg3); border: 1px solid var(--border2);
  border-radius: 16px; padding: 24px 28px; margin-top: 32px; gap: 20px; flex-wrap: wrap;
}
.checker-cta__title { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.checker-cta__sub { font-size: 13px; color: var(--text-muted); }

/* ── Responsive ── */
@media (max-width: 1000px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .process-arrow { display: none; }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
  .steam-hero__stats { flex-wrap: wrap; padding: 16px; gap: 16px; }
  .sstat { padding: 0 16px; }
  .checker-cta { flex-direction: column; text-align: center; }
  .checker-cta .btn { width: 100%; justify-content: center; }
}
