/* ============================================
   QUICK START GUIDE PAGE
   All classes use .qsg- prefix
   ============================================ */

/* ---- HERO ---- */
.qsg-hero {
  position: relative;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.qsg-hero__bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/qsg-hero-bg.webp') center/cover no-repeat;
}

.qsg-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.qsg-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 16px;
}

.qsg-hero__title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.qsg-hero__desc {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}


/* ---- GUIDE SECTIONS (shared pattern) ---- */
.qsg-section {
  padding: 48px 0;
}

.qsg-section--alt {
  background: #f9fafb;
}

.qsg-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Reverse layout for alternating sections */
.qsg-section--reverse .qsg-section__grid {
  direction: rtl;
}

.qsg-section--reverse .qsg-section__grid > * {
  direction: ltr;
}

/* Section header (icon + title) */
.qsg-section__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.qsg-section__icon {
  display: flex;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qsg-section__icon--purple {
  background: linear-gradient(to right bottom, #a855f7, #ec4899);
}

.qsg-section__icon--pink {
  background: linear-gradient(to right bottom, #ec4899, #f97316);
}

.qsg-section__icon i {
  width: 24px;
  height: 24px;
  color: #fff;
}

.qsg-section__title {
  font-size: 30px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.2;
}

/* Section intro text */
.qsg-section__intro {
  font-size: 16px;
  color: #475569;
  line-height: 1.575;
  margin-bottom: 0;
}

/* Numbered list */
.qsg-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.qsg-list__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.qsg-list__number {
  display: flex;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
}

.qsg-list__number--purple {
  background: #f3e8ff;
  color: #9333ea;
}

.qsg-list__number--pink {
  background: #fce7f3;
  color: #db2777;
}

.qsg-list__text {
  font-size: 16px;
  color: #374151;
  line-height: 1.575;
  margin-top: 4px;
}

/* Pro-tip callout */
.qsg-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border-left: 4px solid #c084fc;
  border-radius: 0 8px 8px 0;
  background: rgba(243, 232, 255, 0.6);
}

.qsg-callout__icon {
  width: 20px;
  height: 20px;
  color: #6b21a8;
  flex-shrink: 0;
  margin-top: 3px;
}

.qsg-callout__text {
  font-size: 16px;
  color: #6b21a8;
  line-height: 1.625;
}

.qsg-callout__label {
  font-weight: 700;
}

/* Image */
.qsg-section__image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(203, 213, 225, 0.5);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.qsg-section__image {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
}


/* ---- FINAL CTA ---- */
.qsg-cta {
  position: relative;
  padding: 96px 0;
  background: linear-gradient(135deg, #a855f7, #ec4899);
  text-align: center;
  overflow: hidden;
}

.qsg-cta__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.qsg-cta__circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.qsg-cta__circle--1 {
  width: 256px;
  height: 256px;
  top: 60px;
  left: 60px;
}

.qsg-cta__circle--2 {
  width: 384px;
  height: 384px;
  bottom: 60px;
  right: 60px;
}

.qsg-cta__content {
  position: relative;
  z-index: 2;
}

.qsg-cta__title {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.qsg-cta__desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 32px;
}

.qsg-cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.qsg-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.qsg-cta__btn:hover {
  transform: translateY(-2px);
}

.qsg-cta__btn--primary {
  background: #fff;
  color: #9333ea;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.qsg-cta__btn--primary:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.qsg-cta__btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.qsg-cta__btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.qsg-cta__btn svg {
  width: 18px;
  height: 18px;
}


/* ---- RESPONSIVE ---- */

@media (max-width: 1024px) {
  .qsg-hero__title {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  .qsg-hero {
    height: 350px;
  }

  .qsg-hero__title {
    font-size: 32px;
  }

  .qsg-hero__desc {
    font-size: 17px;
  }

  .qsg-section__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .qsg-section--reverse .qsg-section__grid {
    direction: ltr;
  }

  .qsg-section__title {
    font-size: 24px;
  }

  .qsg-section__image {
    height: 240px;
  }

  .qsg-cta__title {
    font-size: 32px;
  }

  .qsg-cta__circle--1 {
    width: 160px;
    height: 160px;
    top: 30px;
    left: 20px;
  }

  .qsg-cta__circle--2 {
    width: 240px;
    height: 240px;
    bottom: 30px;
    right: 20px;
  }
}

@media (max-width: 640px) {
  .qsg-hero {
    height: 300px;
  }

  .qsg-hero__title {
    font-size: 28px;
  }

  .qsg-section {
    padding: 36px 0;
  }

  .qsg-section__header {
    flex-wrap: wrap;
  }

  .qsg-cta {
    padding: 64px 0;
  }
}
