/* ============================================================
   GoldSilverSystem.com - shared stylesheet
   One file for every page. Edit here, not inline.
   Brand: dark red #8f1112 + gold accent, on Bootstrap 5.
   ============================================================ */

:root {
  --gss-red: #9b1c1f;        /* refreshed brand red (was #8f1112) */
  --gss-red-dark: #7a1115;
  --gss-red-deep: #5a0d10;   /* deep red hero base */
  --gss-gold: #d4af37;
  --gss-gold-dark: #b8941f;
  --gss-gold-text: #8a6d10;   /* darker gold that stays legible as text on light backgrounds */
  --gss-ink: #1f2326;
  --gss-header: #14161A;     /* black header / footer base */
  --gss-muted: #5b6166;
  --gss-line: #e3e3e3;
  --gss-bg-soft: #faf8f4;
  --gss-green: #1a7a3c;
  --gss-red-text: #c0392b;
  --gss-reading: 760px;      /* shared centered content column (matches the homepage .column-center) */
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gss-ink);
  line-height: 1.65;
  font-size: 1.02rem;
  /* Sticky footer: keep the footer at the bottom of the viewport on short pages */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gss-ink);
}

a { color: var(--gss-red); }
a:hover { color: var(--gss-red-dark); }

/* ---------- Navbar (black header, 2026) ---------- */
.navbar.gss-nav {
  background-color: var(--gss-header);
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.gss-nav .navbar-brand { padding: 0; }
.gss-nav .navbar-brand img { height: 40px; width: auto; display: block; }
.gss-nav .navbar-brand .gss-logo { height: 40px; width: auto; display: block; }
.gss-nav .nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  padding: 0.5rem 0.85rem;
}
.gss-nav .nav-link:hover,
.gss-nav .nav-link:focus { color: #fff; }
.gss-nav .nav-link.active {
  color: #fff;
  border-bottom: 2px solid var(--gss-red);
}
.gss-nav .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

/* CTA buttons in body (gold) */
.btn-gss-gold {
  background-color: var(--gss-gold);
  border: 1px solid var(--gss-gold-dark);
  color: #2a2300;
  font-weight: 600;
}
.btn-gss-gold:hover { background-color: var(--gss-gold-dark); color: #2a2300; }

/* Join button in the nav: brand red on the dark header */
.gss-nav .btn-gss-gold {
  background-color: var(--gss-red);
  border: 1px solid var(--gss-red);
  color: #fff;
}
.gss-nav .btn-gss-gold:hover {
  background-color: #b3232a;
  border-color: #b3232a;
  color: #fff;
}

.btn-gss-outline {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
  font-weight: 600;
}
.btn-gss-outline:hover { background-color: #fff; color: var(--gss-header); }

/* ---------- Sections / cards ---------- */
.section { padding: 3.25rem 0; }
.section-soft { background: var(--gss-bg-soft); }

/* Consistent, centered content column across every interior page.
   Bootstrap's .container already centres via margin auto; we just cap it to
   one shared reading width so pages stop varying in width and no longer read
   as "left-of-centre" (the 70ch text cap used to sit left inside a ~1140px
   container). Matches the homepage's 760px column. Compound/:has() selectors
   out-specify Bootstrap's responsive .container max-widths at every breakpoint.
   Wide tables stay in .table-responsive and scroll independently. */
.container.prose,
.container:has(> .gss-crumb),
.container:has(> .contact-title) {
  max-width: var(--gss-reading);
}

/* Contact is a genuine two-column layout (info + message form), so it gets a
   wider tier than the prose reading column — otherwise the form (the 1fr grid
   track) is cramped. Breadcrumb widens to match so its left edge stays aligned. */
.page-contact .container:has(> .gss-crumb),
.page-contact .container:has(> .contact-title) {
  max-width: 980px;
}

.gss-card {
  background: #fff;
  border: 1px solid var(--gss-line);
  border-radius: 10px;
  padding: 1.75rem;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: box-shadow .2s, transform .2s;
}
.gss-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.gss-card h3 { color: var(--gss-red); font-size: 1.25rem; }

.section-heading {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}
.section-heading::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  background: var(--gss-gold);
  margin-top: .5rem;
}

/* ---------- Content prose ---------- */
.prose p { margin-bottom: 1rem; }
.prose hr { width: 100%; border-top: 1px solid var(--gss-line); margin: 2rem 0; }
.prose ol > li, .prose ul > li { margin-bottom: .6rem; }

/* Reading measure is now set by the shared centred content column
   (.container.prose is capped to --gss-reading above), so flowing text fills
   that column just like the homepage. No separate per-paragraph cap — that
   previously left text sitting flush-left inside a much wider container. */

/* Section hierarchy: page title flush to top, later section heads get breathing room. */
.prose > h2 { margin-top: 2.25rem; }
.prose > h3 { margin-top: 2rem; }
.prose > :first-child { margin-top: 0; }

/* Inline body links stay clearly underlined — not colour-only (WCAG 1.4.1). */
.prose a { text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

.lead-tag { color: var(--gss-red); font-weight: 600; }
.txt-up { color: var(--gss-green); font-weight: 600; }
.txt-down { color: var(--gss-red-text); font-weight: 600; }

/* ---------- Performance table ---------- */
.table-perf {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
}
.table-perf th, .table-perf td {
  padding: .55rem .65rem;
  text-align: center;
  border: 1px solid var(--gss-line);
}
.table-perf thead th {
  background: var(--gss-red);
  color: #fff;
  font-weight: 600;
  vertical-align: middle;
}
.table-perf tbody tr:nth-child(odd) { background: #fff; }
.table-perf tbody tr:nth-child(even) { background: var(--gss-bg-soft); }
.table-perf tbody tr:hover { background: #fdeede; }
.table-perf .col-year { font-weight: 600; }
.table-perf .win { font-weight: 700; }
.table-perf tfoot td {
  background: #f1ece2;
  font-weight: 700;
  border-top: 2px solid var(--gss-red);
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border-left: 4px solid var(--gss-gold);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.testimonial cite { display: block; margin-top: .5rem; color: var(--gss-red); font-style: normal; font-weight: 600; }

.disclaimer-note {
  font-size: .82rem;
  color: var(--gss-muted);
  background: #f7f7f7;
  border: 1px solid var(--gss-line);
  border-radius: 6px;
  padding: 1rem 1.25rem;
}

/* ---------- Verification badges ---------- */
.verify-badges img { height: 72px; width: auto; margin: .4rem .75rem; }

/* ---------- Breadcrumb ---------- */
.gss-crumb { font-size: .85rem; color: var(--gss-muted); padding: .85rem 0; }
.gss-crumb a { color: var(--gss-muted); text-decoration: none; }
.gss-crumb a:hover { color: var(--gss-red); }

/* ---------- Footer ---------- */
.gss-footer {
  background: var(--gss-ink);
  color: rgba(255,255,255,0.7);
  padding: 2.25rem 0;
  font-size: .9rem;
  margin-top: auto;   /* push footer to the bottom on short pages */
}
.gss-footer a { color: var(--gss-gold); text-decoration: none; }
.gss-footer a:hover { color: #fff; }
.gss-footer .footer-links a { color: rgba(255,255,255,0.7); margin: 0 .5rem; }

/* ---------- Membership pricing cards ---------- */
.gss-pricing {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
  margin: 1.75rem 0 2.25rem;
}
.gss-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 250px;
  max-width: 100%;
  text-align: center;
  background: #fff;
  border: 1px solid var(--gss-line);
  border-radius: 13px;
  padding: 1.3rem 1.1rem 1.05rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}
.gss-plan--featured {
  border: 2px solid var(--gss-red);
  box-shadow: 0 12px 32px rgba(155,28,31,0.16);
}
.gss-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gss-red);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  padding: .3rem .85rem;
  border-radius: 20px;
  white-space: nowrap;
}
.gss-plan-name { font-size: 1.02rem; font-weight: 700; color: var(--gss-ink); margin: .15rem 0 0; }
.gss-plan-was { color: var(--gss-muted); font-size: .9rem; text-decoration: line-through; margin: .4rem 0 -.15rem; }
.gss-plan-price { font-size: 2.05rem; font-weight: 700; color: var(--gss-ink); letter-spacing: -.02em; margin: .45rem 0 .1rem; }
.gss-plan-per { color: var(--gss-muted); font-size: .82rem; min-height: 1.1rem; }
.gss-plan-btn {
  display: block;
  margin-top: auto;
  padding: .6rem 1rem;
  font-weight: 700;
  font-size: .92rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
.gss-plan-btn--red { background: var(--gss-red); border: 1px solid var(--gss-red); color: #fff; }
.gss-plan-btn--red:hover { background: #b3232a; border-color: #b3232a; color: #fff; }
.gss-plan-btn--gold { background: var(--gss-gold); border: 1px solid var(--gss-gold-dark); color: #2a2300; }
.gss-plan-btn--gold:hover { background: var(--gss-gold-dark); color: #2a2300; }
/* Reserve two lines so a one-line footer doesn't lift its card's CTA above the
   other card's — keeps the "Join Now" buttons aligned across the two plans. */
.gss-plan-foot { color: var(--gss-muted); font-size: .76rem; margin: .8rem 0 0; min-height: 2.5rem; }
.gss-plan-btn + .gss-plan-foot { margin-top: .8rem; }

/* 30-day money-back guarantee callout (under pricing) */
.gss-guarantee {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  max-width: 560px;
  margin: 1.5rem auto 1.25rem;
  padding: 1rem 1.2rem;
  background: rgba(26,122,60,0.06);
  border: 1px solid rgba(26,122,60,0.35);
  border-radius: 10px;
}
.gss-guarantee-icon { color: var(--gss-green); flex: none; margin-top: .05rem; }
.gss-guarantee-text { display: flex; flex-direction: column; gap: .2rem; text-align: left; }
.gss-guarantee-title { font-weight: 700; color: var(--gss-ink); font-size: .98rem; }
.gss-guarantee-sub { color: var(--gss-muted); font-size: .82rem; line-height: 1.5; }
.gss-guarantee-sub a { color: var(--gss-red); }

/* Trust / security strip under pricing */
.gss-trust {
  max-width: 560px;
  margin: -0.5rem auto 2.5rem;
  text-align: center;
}
.gss-trust-secure {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--gss-green);
  margin: 0 0 .35rem;
}
.gss-trust-lock { color: var(--gss-green); flex: none; }
.gss-trust-note {
  color: var(--gss-muted);
  font-size: .82rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}
.gss-trust-badge { display: inline-block; opacity: .85; transition: opacity .15s; }
.gss-trust-badge:hover { opacity: 1; }

/* ---------- Discount-offer email capture ---------- */
.gss-offer {
  max-width: 560px;
  margin: 2.75rem auto 0.5rem;
  padding: 1.6rem 1.5rem 1.4rem;
  text-align: center;
  background: var(--gss-bg-soft);
  border: 1px solid var(--gss-line);
  border-top: 3px solid var(--gss-gold);
  border-radius: 12px;
}
.gss-offer-title { font-size: 1.12rem; font-weight: 700; color: var(--gss-ink); margin: 0 0 .35rem; }
.gss-offer-text { color: var(--gss-muted); font-size: .92rem; line-height: 1.55; margin: 0 auto 1.1rem; max-width: 42ch; }
.gss-offer-form {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  max-width: 440px;
  margin: 0 auto;
}
.gss-offer-input {
  flex: 1 1 220px;
  min-width: 0;
  padding: .62rem .85rem;
  font-size: .95rem;
  color: var(--gss-ink);
  background: #fff;
  border: 1px solid var(--gss-line);
  border-radius: 8px;
}
.gss-offer-input:focus {
  outline: none;
  border-color: var(--gss-gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.25);
}
.gss-offer-btn {
  flex: 0 0 auto;
  padding: .62rem 1.25rem;
  font-weight: 700;
  font-size: .92rem;
  color: #fff;
  background: var(--gss-red);
  border: 1px solid var(--gss-red);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.gss-offer-btn:hover { background: #b3232a; border-color: #b3232a; }
.gss-offer-fine { color: var(--gss-muted); font-size: .76rem; margin: .85rem 0 0; }
@media (max-width: 480px) {
  .gss-offer-input, .gss-offer-btn { flex: 1 1 100%; }
}

/* ---------- Contact page layout ---------- */
.contact-title { font-size: 2.25rem; display: inline-block; margin-bottom: .75rem; }
.contact-title::after {
  content: "";
  display: block;
  width: 56px; height: 3px;
  background: var(--gss-gold);
  margin-top: .5rem;
}
.contact-sub { color: var(--gss-muted); margin-bottom: 0; max-width: 62ch; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 330px) 1fr;
  gap: 2.75rem;
  align-items: stretch;   /* info panel matches the form's height — balanced columns */
  margin-top: 2.25rem;
}
/* Give the info column the same panel treatment as the form so the two sides
   read as a balanced pair instead of an open list beside a tall bordered card. */
.contact-info {
  background: #fff;
  border: 1px solid var(--gss-line);
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.ci-item:last-child { margin-bottom: 0; }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.contact-info h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }
.ci-item { display: flex; gap: .85rem; align-items: flex-start; margin-bottom: 1.5rem; }
.ci-icon {
  flex: none;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gss-bg-soft);
  border: 1px solid var(--gss-line);
  border-radius: 9px;
  color: var(--gss-red);
  font-size: 20px;   /* sizes the refund emoji */
}
.ci-icon svg { width: 20px; height: 20px; }
.ci-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gss-muted);
  margin-bottom: .12rem;
}
.ci-title { font-weight: 700; color: var(--gss-ink); font-size: 1rem; margin: 0 0 .15rem; }
a.ci-title { color: var(--gss-red); text-decoration: none; display: inline-block; }
a.ci-title:hover { text-decoration: underline; }
.ci-desc { color: var(--gss-muted); font-size: .85rem; line-height: 1.5; margin: 0; }

/* ---------- Contact form (JotForm-backed) ---------- */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--gss-line);
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  text-align: left;
}
.contact-form-card h3 { color: var(--gss-ink); font-size: 1.35rem; margin: 0 0 .5rem; }

.cf-subject-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}
.cf-tag {
  display: inline-block;
  padding: .4rem .85rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--gss-ink);
  background: var(--gss-bg-soft);
  border: 1px solid var(--gss-line);
  border-radius: 20px;
  cursor: pointer;
  user-select: none;
  transition: background-color .15s, border-color .15s, color .15s;
}
.cf-tag:hover { border-color: var(--gss-gold); }
.cf-tag.active {
  background: var(--gss-red);
  border-color: var(--gss-red);
  color: #fff;
}

.cf-row { margin-bottom: 1rem; }
.cf-field { display: flex; flex-direction: column; }
.cf-field label { font-weight: 600; font-size: .92rem; margin-bottom: .35rem; }
.cf-field input,
.cf-field textarea {
  padding: .62rem .85rem;
  font-size: .95rem;
  font-family: inherit;
  color: var(--gss-ink);
  background: #fff;
  border: 1px solid var(--gss-line);
  border-radius: 8px;
}
.cf-field textarea { min-height: 140px; resize: vertical; }
.cf-field input:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--gss-gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.25);
}

.cf-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
  margin-top: .5rem;
}
.cf-submit {
  padding: .62rem 1.5rem;
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  background: var(--gss-red);
  border: 1px solid var(--gss-red);
  border-radius: 8px;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.cf-submit:hover { background: #b3232a; border-color: #b3232a; }
.cf-submit:disabled { opacity: .6; cursor: default; }
.cf-privacy { color: var(--gss-muted); font-size: .8rem; }
.cf-privacy a { color: var(--gss-red); }

.cf-error-msg {
  display: none;
  margin-top: 1rem;
  padding: .75rem 1rem;
  font-size: .88rem;
  color: var(--gss-red-text);
  background: rgba(192,57,43,0.06);
  border: 1px solid rgba(192,57,43,0.35);
  border-radius: 8px;
}
.cf-error-msg.show { display: block; }
.cf-error-msg a { color: var(--gss-red-text); }

.cf-success {
  display: none;
  margin-top: 1.25rem;
  padding: 1rem 1.25rem;
  color: var(--gss-green);
  background: rgba(26,122,60,0.06);
  border: 1px solid rgba(26,122,60,0.35);
  border-radius: 8px;
}
.cf-success.show { display: block; }
.cf-success p { margin: 0; }

/* ---------- FAQ readability ---------- */
/* Each Q&A is one <p> (bold question + <br> + answer). Space the pairs apart and
   lift each question so the long list is scannable instead of a dense wall. */
.page-faq .prose > p { margin-bottom: 1.15rem; }
.page-faq .prose > p:has(> strong:first-child) { margin-top: 1.6rem; }
.page-faq .prose > p > strong:first-child {
  display: inline-block;
  margin-bottom: .15rem;
  font-size: 1.03rem;
  color: var(--gss-ink);
}
/* First question right after a category heading shouldn't get doubled spacing. */
.page-faq .prose > h3 + p { margin-top: .5rem; }

/* ---------- Utilities ---------- */
img { max-width: 100%; height: auto; }
.img-bordered { border: 1px solid var(--gss-line); border-radius: 8px; padding: 4px; background: #fff; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
