/* ============================================================
   Landing Page Labs — Client Guide Styles
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #222222;
  background: #f5f5f5;
  line-height: 1.6;
  font-size: 16px;
  font-style: normal;
  letter-spacing: -0.01em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #0000FF; text-decoration: underline; }
a:hover { opacity: 0.8; }

/* ---------- Loading ---------- */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.loading__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #eee;
  border-top-color: #222;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Error ---------- */
.error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 40px;
}

.error__title {
  font-family: 'F37 Sonic', 'Inter', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 36px;
  color: #000;
  margin-bottom: 16px;
}

.error__text {
  font-size: 16px;
  color: #666;
  margin-bottom: 24px;
}

.error__link {
  font-weight: 600;
  font-size: 14px;
}

/* ---------- Header ---------- */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 16px 24px;
  text-align: center;
}

.header__logo img {
  height: 28px;
  width: auto;
  display: inline-block;
}

/* ---------- Hero ---------- */
.hero {
  background: #fff;
  padding: 60px 24px 40px;
  text-align: center;
}

.hero__title {
  font-family: 'F37 Sonic', 'Inter', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.1;
  color: #000;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin: 0 auto;
}

/* ---------- Intro Box ---------- */
.intro {
  background: #fff;
  padding: 0 24px 48px;
}

.intro__inner {
  max-width: 800px;
  margin: 0 auto;
}

.intro__box {
  background: #FFF8E1;
  border: 2px dashed #E0C97F;
  border-radius: 8px;
  padding: 28px 32px;
}

.intro__text {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

.intro__bullets {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.intro__bullets li {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 4px;
}

.intro__prerequisites {
  margin-top: 20px;
  margin-bottom: 16px;
}

.intro__prereq-label {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.intro__prereq-list {
  list-style: disc;
  padding-left: 24px;
}

.intro__prereq-list li {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 4px;
}

.intro__time {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.intro__help {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.intro__help a {
  color: #0000FF;
}

/* ---------- Steps Container ---------- */
.steps {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section Heading (for multi-section guides like DNS) ---------- */
.section-heading {
  background: #fff;
  border-radius: 12px;
  padding: 32px 36px 24px;
  margin-top: 32px;
  margin-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.section-heading__title {
  font-family: 'F37 Sonic', 'Inter', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 24px;
  color: #000;
  letter-spacing: -0.02em;
}

.section-heading__description {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  background: #F8F8F8;
  border-radius: 6px;
  padding: 14px 18px;
  border-left: 3px solid #ddd;
}

/* ---------- Step Card ---------- */
.step {
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  margin-top: 16px;
}

.step--first-in-section {
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.step--final {
  border: 2px solid #12A557;
}

.step__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0000FF;
  margin-bottom: 8px;
}

.step--final .step__label {
  color: #12A557;
}

.step__title {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  margin-bottom: 12px;
}

.step__description {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}

.step__bullets {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.step__bullets li {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 4px;
}

/* ---------- DNS Record Cards ---------- */
.step__records {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.record-card {
  background: #F8F8F8;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  padding: 20px 24px;
}

.record-card__row {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.record-card__row:last-child {
  margin-bottom: 0;
}

.record-card__label {
  font-weight: 600;
  color: #333;
  min-width: 60px;
  flex-shrink: 0;
}

.record-card__value {
  color: #555;
  word-break: break-all;
}

.record-card__value code {
  background: #EFEFEF;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
}

/* ---------- Step Image ---------- */
.step__image {
  margin-top: 8px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
}

.step__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Thank You ---------- */
.thankyou {
  text-align: center;
  padding: 80px 24px 60px;
}

.thankyou__title {
  font-family: 'F37 Sonic', 'Inter', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  font-size: 36px;
  color: #000;
  margin-bottom: 32px;
}

.thankyou__footer {
  display: flex;
  justify-content: center;
}

.thankyou__logo {
  height: 32px;
  width: auto;
  opacity: 0.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero {
    padding: 40px 20px 28px;
  }

  .intro {
    padding: 0 16px 32px;
  }

  .intro__box {
    padding: 20px 24px;
  }

  .steps {
    padding: 0 16px;
  }

  .step {
    padding: 24px 20px;
  }

  .section-heading {
    padding: 24px 20px 16px;
  }

  .record-card__row {
    flex-direction: column;
    gap: 2px;
  }

  .thankyou {
    padding: 60px 20px 48px;
  }
}
