/* =========================================================================
   how-it-works.css
   GoldBridge — how-it-works.html only.
   Requirements · Installation timeline · Recommended settings · 24/7 VPS ·
   Troubleshooting · CTA.
   ========================================================================= */

/* -------------------------------------------------------------------------
   Requirements
   ------------------------------------------------------------------------- */
.req__head {
  margin-bottom: clamp(40px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.req__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.1;
}

.req__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.req-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: clamp(24px, 3vw, 36px);
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  transition: border-color var(--dur-base) var(--ease-out);
}
.req-card:hover { border-color: var(--border); }

.req-card__icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.req-card__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--text);
}

.req-card__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

@media (min-width: 768px) {
  .req__grid { grid-template-columns: repeat(3, 1fr); }
}

/* -------------------------------------------------------------------------
   Installation timeline
   ------------------------------------------------------------------------- */
.install {
  background: var(--bg-surface);
}

.install__head {
  text-align: center;
  margin-inline: auto;
  margin-bottom: clamp(48px, 6vw, 72px);
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.install__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.5vw, 44px);
  max-width: 760px;
  margin-inline: auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 19px;
  width: 1px;
  background: linear-gradient(180deg, var(--gold), transparent 95%);
  opacity: 0.3;
}

.tstep {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--space-4);
  align-items: start;
}

.tstep__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.tstep__title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  color: var(--text);
  margin-bottom: var(--space-2);
}

.tstep__body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 580px;
}

.tstep code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-light);
  background: var(--gold-dim);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* -------------------------------------------------------------------------
   Recommended settings table
   ------------------------------------------------------------------------- */
.settings__head {
  margin-bottom: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.settings__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}

.settings__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow: hidden;
}

.settings__table tr {
  border-bottom: 1px solid var(--border-dim);
}
.settings__table tr:last-child { border-bottom: 0; }

.settings__table th,
.settings__table td {
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.5vw, 24px);
  text-align: left;
  font-size: 15px;
  vertical-align: top;
}

.settings__table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  width: 40%;
  font-weight: 400;
}

.settings__table td {
  font-family: var(--font-sans);
  color: var(--text);
}

.settings__table td code {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold);
}

/* -------------------------------------------------------------------------
   24/7 VPS section
   ------------------------------------------------------------------------- */
.vps {
  background: var(--bg-surface);
}

.vps__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}

.vps__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: var(--space-4);
}

.vps__body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: var(--space-4);
}

.vps__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vps__list li {
  font-size: 15px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}

.vps__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

.vps__art {
  position: relative;
  display: flex;
  justify-content: center;
  padding: var(--space-5);
}

.vps__art-card {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    radial-gradient(40% 40% at 50% 40%, var(--gold-glow), transparent 70%),
    var(--bg-card);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vps__art-card svg {
  width: 60%;
  height: auto;
  color: var(--gold);
  opacity: 0.85;
}

@media (min-width: 1024px) {
  .vps__inner { grid-template-columns: 1.2fr 1fr; }
}

/* -------------------------------------------------------------------------
   Troubleshooting
   ------------------------------------------------------------------------- */
.trouble__head {
  text-align: center;
  margin-inline: auto;
  margin-bottom: clamp(40px, 5vw, 64px);
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.trouble__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
}

/* -------------------------------------------------------------------------
   Help CTA
   ------------------------------------------------------------------------- */
.help-cta {
  background: var(--bg-surface);
}

.help-cta__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  max-width: 560px;
  margin-inline: auto;
}

.help-cta__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
}
