/* ===== HERO ===== */
.gs-hero {
  padding: 7rem 0 3.5rem;
  text-align: center;
}

.gs-hero__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0 0 0.75rem;
}

.gs-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.gs-hero__subtitle {
  font-size: 1.125rem;
  opacity: 0.7;
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.gs-hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== LAYOUT GRID ===== */
.gs-layout {
  padding: 2rem 0 4rem;
}

.gs-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 960px) {
  .gs-grid { grid-template-columns: 1fr; }
}

/* ===== STEPS ===== */
.gs-steps__intro {
  opacity: 0.65;
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
}

.gs-steps {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.gs-step {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

[data-theme="dark"] .gs-step {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.07);
}

.gs-step[open] {
  border-color: #0B1E66;
  box-shadow: 0 0 0 1px rgba(11,30,102,0.12), 0 4px 20px rgba(11,30,102,0.07);
}

[data-theme="dark"] .gs-step[open] {
  border-color: #B6FF2E;
  box-shadow: 0 0 0 1px rgba(182,255,46,0.2), 0 4px 20px rgba(182,255,46,0.06);
}

.gs-step__summary {
  list-style: none;
  cursor: pointer;
  padding: 1.125rem 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.875rem;
  user-select: none;
  -webkit-user-select: none;
}

.gs-step__summary::-webkit-details-marker { display: none; }

.gs-step__num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(11,30,102,0.1);
  color: #0B1E66;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  border: 1px solid rgba(11,30,102,0.2);
}

[data-theme="dark"] .gs-step__num {
  background: rgba(182,255,46,0.1);
  color: #B6FF2E;
  border-color: rgba(182,255,46,0.25);
}

.gs-step__title { font-weight: 600; font-size: 0.9375rem; }

.gs-step__tag {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.5;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  white-space: nowrap;
}

.gs-step__body {
  padding: 0 1.25rem 1.25rem 4rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  opacity: 0.75;
}

.gs-step__body p { margin: 0 0 0.75rem; }
.gs-step__body p:last-child { margin-bottom: 0; }

.gs-step__body ul, .gs-step__body ol {
  margin: 0.5rem 0 0.75rem 1.25rem;
  padding: 0;
}

.gs-step__body li { margin-bottom: 0.4rem; }

.gs-step__body a { color: #0B1E66; font-weight: 500; text-decoration: underline; }
[data-theme="dark"] .gs-step__body a { color: #B6FF2E; }

.gs-steps__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.gs-disclaimer { font-size: 0.8125rem; opacity: 0.45; margin-top: 1.5rem; line-height: 1.6; }

/* ===== SIDEBAR ===== */
.gs-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 84px;
}

@media (max-width: 960px) { .gs-sidebar { position: static; } }

.gs-card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 1.5rem;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
}

[data-theme="dark"] .gs-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.07);
}

.gs-card__title { font-size: 1rem; font-weight: 700; margin: 0 0 1rem; }
.gs-card__sub { font-size: 0.8125rem; opacity: 0.6; margin: 0 0 0.75rem; }

.gs-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.gs-checklist li { display: flex; align-items: center; gap: 0.625rem; font-size: 0.9rem; }
.gs-checklist svg { width: 16px; height: 16px; flex-shrink: 0; color: #0B1E66; }
[data-theme="dark"] .gs-checklist svg { color: #B6FF2E; }

/* Device Viewer */
.gs-device-viewer {
  position: relative;
  border-radius: 12px;
  padding: 8px;
  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .gs-device-viewer {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}

.gs-device-viewer model-viewer {
  display: block;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  background: transparent;
  touch-action: pan-y;
}

.gs-device-pop {
  position: absolute;
  top: 52%;
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.1);
  font-size: 10px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(-50%) scale(0.86);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

[data-theme="dark"] .gs-device-pop {
  background: rgba(15,20,35,0.9);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}

.gs-device-pop img { width: 80px; height: auto; }
.gs-device-pop--lifesafer { left: -2%; }
.gs-device-pop--guardian  { right: -2%; }

.gs-device-viewer[data-device-state="lifesafer"] .gs-device-pop--lifesafer {
  opacity: 1;
  transform: translate(-12%, -50%) scale(1);
}
.gs-device-viewer[data-device-state="guardian"] .gs-device-pop--guardian {
  opacity: 1;
  transform: translate(12%, -50%) scale(1);
}

.gs-device-hint { font-size: 0.6875rem; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.4; text-align: center; margin-bottom: 0.75rem; }
.gs-device-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Sidebar FAQ */
.gs-faq { display: flex; flex-direction: column; gap: 0.5rem; }

.gs-faq details {
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 8px;
  padding: 0.75rem 0.875rem;
  font-size: 0.875rem;
}

[data-theme="dark"] .gs-faq details { border-color: rgba(255,255,255,0.07); }

.gs-faq summary { cursor: pointer; font-weight: 600; list-style: none; user-select: none; }
.gs-faq summary::-webkit-details-marker { display: none; }
.gs-faq p { margin: 0.6rem 0 0; opacity: 0.65; line-height: 1.6; }

@media (max-width: 640px) {
  .gs-hero {
    padding: 4.25rem 0 2.5rem;
    text-align: left;
  }

  .gs-hero__title {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .gs-hero__subtitle {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .gs-hero__actions,
  .gs-steps__cta,
  .final-cta__buttons,
  .gs-device-links {
    flex-direction: column;
    align-items: stretch;
  }

  .gs-hero__actions .btn,
  .gs-steps__cta .btn,
  .final-cta__buttons .btn,
  .gs-device-links .btn {
    width: 100%;
  }

  .gs-layout {
    padding: 1rem 0 3rem;
  }

  .gs-step__summary {
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    padding: 1rem;
    align-items: start;
  }

  .gs-step__tag {
    grid-column: 2;
    justify-self: start;
    margin-top: 0.15rem;
    white-space: normal;
  }

  .gs-step__body {
    padding: 0 1rem 1rem;
    font-size: 0.925rem;
  }

  .gs-card {
    padding: 1.15rem;
    border-radius: 14px;
  }

  .gs-device-viewer model-viewer {
    height: 170px;
  }

  .gs-device-pop {
    display: none;
  }
}
