.module-hero {
  position: relative;
  overflow: hidden;
  padding: 152px 0 78px;
  background: linear-gradient(175deg, var(--navy-darkest) 0%, var(--navy) 55%, var(--navy-light) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.module-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 26px 26px;
  opacity: 0.22;
  pointer-events: none;
}

.module-hero .container {
  position: relative;
  z-index: 1;
}

.module-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
  border-radius: 999px;
  color: #f9e8ad;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.module-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.1;
  margin-bottom: 14px;
  max-width: 920px;
}

.module-subtitle {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.03rem;
  max-width: 900px;
}

.module-main {
  padding: 60px 0 92px;
  background: linear-gradient(180deg, #f8faff 0%, #f3f6fe 55%, #f1f5fc 100%);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.module-chip {
  background: #fff;
  border: 1px solid #e3e8f4;
  border-radius: 12px;
  padding: 13px 14px;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
}

.module-chip i {
  color: var(--gold);
  margin-right: 8px;
}

.module-story {
  background: #fff;
  border: 1px solid #d9e3f3;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  padding: 24px;
  margin-bottom: 26px;
}

.story-title {
  font-family: var(--font-heading);
  color: #0f1b3d;
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.story-subtitle {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.story-card {
  background: linear-gradient(145deg, #f8fbff 0%, #f5f8ff 100%);
  border: 1px solid #d7e1f0;
  border-radius: 14px;
  padding: 14px;
}

.story-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f1b3d;
  font-size: 0.98rem;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.story-card p {
  color: #52637f;
  font-size: 0.88rem;
  line-height: 1.55;
}

.story-card i {
  color: var(--gold);
}

.story-note {
  margin-top: 16px;
  border-radius: 12px;
  border: 1px dashed #d2dced;
  background: #f8fbff;
  color: #475569;
  padding: 11px 12px;
  font-size: 0.86rem;
  line-height: 1.5;
}

.story-note i {
  color: #3b82f6;
  margin-right: 6px;
}

.shot-section {
  margin-top: 14px;
}

.shot-title {
  font-family: var(--font-heading);
  color: var(--light-text);
  font-size: 1.58rem;
  margin-bottom: 9px;
}

.shot-subtitle {
  color: var(--light-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.shot-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 32px;
  margin-bottom: 32px;
}

.shot-card:hover .shot-visual {
  transform: translateY(-4px);
  border-color: #bfcce2;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.12);
}

.shot-visual {
  position: relative;
  min-height: 250px;
  background:
    linear-gradient(135deg, rgba(212, 168, 50, 0.13), rgba(59, 130, 246, 0.12)),
    #f8fbff;
  border: 1px solid #dbe4f1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.shot-visual::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.shot-card.missing-image .shot-visual::after {
  background: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.shot-visual img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  display: block;
}

.shot-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.45;
  letter-spacing: 0.1px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.95)),
    repeating-linear-gradient(45deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.08) 10px, rgba(212, 168, 50, 0.06) 10px, rgba(212, 168, 50, 0.06) 20px);
}

.placeholder-wrap {
  display: grid;
  gap: 8px;
  justify-items: center;
  max-width: 80%;
}

.placeholder-icon {
  font-size: 1.4rem;
  color: #3b82f6;
}

.placeholder-wrap strong {
  color: #0f1b3d;
  font-size: 0.98rem;
}

.placeholder-wrap span {
  color: #475569;
  font-size: 0.85rem;
}

.placeholder-wrap code {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.8rem;
}

.shot-card.missing-image .shot-placeholder {
  display: flex;
}

.shot-card.missing-image img {
  display: none;
}

.shot-caption {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 15px;
}

.shot-caption strong {
  display: block;
  color: #1e293b;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.shot-caption span {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: justify;
}

.shot-card:nth-child(odd) .shot-caption {
  order: 1;
}

.shot-card:nth-child(odd) .shot-visual {
  order: 2;
}

.shot-card:nth-child(even) .shot-visual {
  order: 1;
}

.shot-card:nth-child(even) .shot-caption {
  order: 2;
}

.module-cta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.btn-dark {
  background: linear-gradient(175deg, var(--navy-darkest) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
  background: linear-gradient(175deg, var(--navy) 0%, var(--navy-light) 55%, var(--navy-darkest) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-next {
  margin-left: auto;
  background: linear-gradient(175deg, var(--navy-darkest) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-next:hover {
  background: linear-gradient(175deg, var(--navy) 0%, var(--navy-light) 55%, var(--navy-darkest) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 620px) {
  .btn-next {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

.getting-started-jump {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.jump-card {
  display: block;
  color: inherit;
  background: #fff;
  border: 1px solid #dbe4f1;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.06);
  padding: 16px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.jump-card:hover {
  transform: translateY(-3px);
  border-color: #bfcce2;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.jump-card h3 {
  color: #0f1b3d;
  font-size: 1rem;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.jump-card p {
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.55;
}

.flow-section {
  margin-top: 16px;
  scroll-margin-top: 90px;
}

@media (max-width: 1024px) {
  .module-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .module-hero {
    padding-top: 130px;
  }
  .module-main {
    padding: 50px 0 70px;
  }
  .shot-grid,
  .getting-started-jump,
  .story-grid {
    grid-template-columns: 1fr;
  }
  .shot-card {
    grid-template-columns: 1fr;
  }
  .shot-card .shot-caption,
  .shot-card .shot-visual {
    order: initial;
  }
  .shot-card .shot-visual {
    margin-bottom: 20px;
    min-height: 220px;
  }
  .shot-card .shot-visual img {
    min-height: 220px;
  }
  .module-story {
    padding: 18px;
  }
}

@media (max-width: 620px) {
  .module-grid {
    grid-template-columns: 1fr;
  }
  .module-title {
    font-size: 1.95rem;
  }
  .module-subtitle {
    font-size: 0.95rem;
  }
  .shot-visual,
  .shot-visual img {
    min-height: 205px;
  }
}
