/* ============================================================
   SYSTEMS PAGE — systems-page.css
   Supplements style.css. All variables inherited from :root.
   ============================================================ */

/* =====================
   ACTIVE NAV LINK
===================== */
.nav-links a.active {
  color: var(--gold);
}

/* =====================
   PAGE HERO
===================== */
.page-hero {
  min-height: 60vh;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 60%, #1f1a12 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 100px;
  border-bottom: 1px solid #333;
  overflow: hidden;
}

/* Decorative grain texture overlay */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 3px,
      rgba(197,160,89,0.015) 3px,
      rgba(197,160,89,0.015) 4px
    );
  pointer-events: none;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(197,160,89,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 0 70px;
}

.page-label {
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-hero-title {
  font-size: 52px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 700px;
}

.page-hero-title span {
  font-weight: 600;
  color: var(--gold);
}

.page-hero-text {
  font-size: 16px;
  color: #ccc;
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 40px;
}

/* Anchor Pills */
.systems-anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.anchor-pill {
  text-decoration: none;
  border: 1px solid #444;
  color: #aaa;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 8px 18px;
  text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.anchor-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(197,160,89,0.05);
}

/* =====================
   SYSTEM SECTIONS
===================== */
.system-section {
  padding: 100px 0;
  border-top: 1px solid #2a2a2a;
}

.system-section--alt {
  background: rgba(255,255,255,0.015);
}

/* Section Header */
.system-header {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 1px solid #2a2a2a;
}

.system-label-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.system-number {
  font-size: 48px;
  font-weight: 300;
  color: #2a2a2a;
  line-height: 1;
  letter-spacing: 2px;
}

.system-category {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.system-name {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 4px;
  line-height: 1;
}

.system-name span {
  color: var(--gold);
}

.system-tagline {
  font-size: 17px;
  color: #aaa;
  font-weight: 300;
  margin-top: 8px;
  font-style: italic;
}

/* Body: 2-column layout */
.system-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.system-body--reverse {
  direction: rtl;
}

.system-body--reverse > * {
  direction: ltr;
}

/* Image Block */
.system-image-block {
  position: sticky;
  top: 100px;
}

.system-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #1e1e1e;
  border: 1px dashed #3a3a3a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #555;
  margin-bottom: 0;
}

.system-img-placeholder i {
  font-size: 28px;
  color: #3a3a3a;
}

.system-img-placeholder span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #444;
}

/* Specs Bar */
.system-specs-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #2a2a2a;
  border-top: none;
}

.spec-item {
  padding: 14px 16px;
  border-right: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}

.spec-item:nth-child(2n) {
  border-right: none;
}

.spec-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.spec-label {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.spec-value {
  display: block;
  font-size: 13px;
  color: #ddd;
  font-weight: 500;
}

/* Text Block */
.system-text-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.system-narrative {
  font-size: 15px;
  color: #ccc;
  line-height: 1.85;
  margin-bottom: 20px;
}

/* Features */
.system-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 28px 0;
  padding: 28px 0;
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
}

.sys-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sys-feat > i {
  color: var(--gold);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  width: 20px;
  text-align: center;
}

.sys-feat h4 {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
  font-weight: 600;
}

.sys-feat p {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
}

/* SEO Hook Tag */
.seo-hook {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(197,160,89,0.05);
  border: 1px solid rgba(197,160,89,0.15);
  padding: 12px 16px;
  margin: 24px 0;
}

.seo-hook i {
  color: var(--gold);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 3px;
}

.seo-hook p {
  font-size: 11px;
  color: #888;
  letter-spacing: 1px;
  line-height: 1.6;
}

/* CTAs */
.system-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}

.system-ctas .btn-outline,
.system-ctas .btn-gold {
  font-size: 12px;
  padding: 12px 20px;
  letter-spacing: 2px;
}

/* =====================
   CTA BAND
===================== */
.cta-band {
  background: #0f0f0f;
  border-top: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  padding: 70px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band-title {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 8px;
}

.cta-band-text {
  color: #aaa;
  font-size: 15px;
  max-width: 520px;
  line-height: 1.7;
}

.cta-band-btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 16px 32px;
  font-size: 13px;
}

/* =====================
   TABLET — 768px to 1024px
===================== */
@media (min-width: 768px) and (max-width: 1024px) {

  .page-hero-title {
    font-size: 38px;
  }

  .page-hero-text {
    font-size: 15px;
  }

  .system-name {
    font-size: 32px;
  }

  .system-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .system-body--reverse {
    direction: ltr;
  }

  .system-image-block {
    position: static;
  }

  .system-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .system-number {
    font-size: 36px;
  }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .cta-band-text {
    max-width: 100%;
  }
}

/* =====================
   MOBILE — up to 767px
===================== */
@media (max-width: 767px) {

  /* Page Hero */
  .page-hero {
    min-height: auto;
    padding-top: 90px;
  }

  .page-hero-content {
    padding: 40px 0 50px;
  }

  .page-hero-title {
    font-size: 26px;
  }

  .page-hero-text {
    font-size: 14px;
  }

  .systems-anchors {
    gap: 8px;
  }

  .anchor-pill {
    font-size: 10px;
    padding: 7px 13px;
  }

  /* System Sections */
  .system-section {
    padding: 60px 0;
  }

  .system-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 36px;
    padding-bottom: 24px;
  }

  .system-number {
    font-size: 32px;
  }

  .system-name {
    font-size: 26px;
    letter-spacing: 3px;
  }

  .system-tagline {
    font-size: 15px;
  }

  /* Stack to single column */
  .system-body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .system-body--reverse {
    direction: ltr;
  }

  .system-image-block {
    position: static;
  }

  .system-img-placeholder {
    aspect-ratio: 16 / 9;
  }

  .system-specs-bar {
    grid-template-columns: 1fr 1fr;
  }

  .spec-item {
    padding: 12px 12px;
  }

  .spec-label {
    font-size: 8px;
  }

  .spec-value {
    font-size: 12px;
  }

  .system-narrative {
    font-size: 14px;
  }

  .sys-feat h4 {
    font-size: 12px;
  }

  .sys-feat p {
    font-size: 12px;
  }

  .seo-hook p {
    font-size: 10px;
  }

  .system-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .system-ctas .btn-outline,
  .system-ctas .btn-gold {
    width: 100%;
    text-align: center;
    padding: 13px 16px;
  }

  /* CTA Band */
  .cta-band {
    padding: 50px 0;
  }

  .cta-band-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 24px;
  }

  .cta-band-title {
    font-size: 22px;
  }

  .cta-band-text {
    font-size: 14px;
    max-width: 100%;
  }

  .cta-band-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
    padding: 14px 20px;
  }
}

/* =====================
   SERIES TABS
===================== */
.series-tabs {
  display: flex;
  gap: 0;
  border: 1px solid #2a2a2a;
  border-bottom: none;
  margin-top: 16px;
}

.series-tab {
  flex: 1;
  background: none;
  border: none;
  border-right: 1px solid #2a2a2a;
  padding: 11px 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #666;
  cursor: pointer;
  transition: all 0.25s;
}

.series-tab:last-child {
  border-right: none;
}

.series-tab:hover {
  color: #ccc;
  background: rgba(255,255,255,0.03);
}

.series-tab.active {
  background: rgba(197,160,89,0.08);
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
}

/* Hide/show specs and descriptions */
.series-specs {
  display: none;
}

.series-specs.active {
  display: grid;
}

.series-description {
  display: none;
  border: 1px solid rgba(197,160,89,0.15);
  background: rgba(197,160,89,0.04);
  padding: 16px 18px;
  margin-bottom: 0;
}

.series-description.active {
  display: block;
}

.series-desc-title {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.series-desc-title i {
  font-size: 11px;
}

.series-description p {
  font-size: 13px;
  color: #aaa;
  line-height: 1.75;
}

/* Ideal For line */
.ideal-for {
  font-size: 13px !important;
  color: #999 !important;
  border-left: 2px solid var(--gold);
  padding-left: 14px;
  margin-bottom: 20px !important;
}

.ideal-for strong {
  color: var(--gold);
  font-weight: 600;
}

/* STRUCT material badge */
.struct-material-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(197,160,89,0.25);
  background: rgba(197,160,89,0.05);
  padding: 12px 16px;
  margin-top: 16px;
  margin-bottom: 0;
}

.struct-material-badge i {
  color: var(--gold);
  font-size: 13px;
}

.struct-material-badge span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.struct-desc {
  margin-top: 0;
}

/* Mobile adjustments for tabs */
@media (max-width: 767px) {
  .series-tab {
    font-size: 9px;
    letter-spacing: 1px;
    padding: 10px 4px;
  }

  .series-desc-title {
    font-size: 11px;
  }

  .series-description {
    padding: 14px;
  }
}


.system-real-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
