.hero {
  position: relative;
  background: linear-gradient(180deg, #CBB8FF 0%, #FFFFFF 100%);
  overflow: hidden;
  padding-top: 108px;
}

/* ::before decoration removed — not in Figma design */

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0;
  text-align: center;
  max-width: 1440px;
  margin: 0 auto;
}

.hero__label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  color: #5528D1;
  line-height: 24px;
  margin-bottom: 12px; /* badge → title */
}

.hero__title {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: clamp(2rem, 4vw, 48px);
  font-weight: var(--font-weight-semibold);
  color: #222222;
  line-height: 1.4;
  letter-spacing: 0;
  margin-bottom: 12px; /* title → desc */
}

.hero__title em {
  font-style: normal;
  color: #5528D1;
}

.hero__desc {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #222222;
  line-height: 1.5;
  max-width: none;
  margin: 0 auto 24px; /* desc → buttons */
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 0; /* 80px gap to cards is handled by hero__cards margin-top */
}

.btn--hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  color: #FAFAFA;
  background: #5528D1;
  border: 1px solid #5528D1;
  border-radius: 8px;
  transition: all var(--transition-base);
}

.btn--hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(85, 40, 209, 0.3);
}

.btn--hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  color: #444444;
  background: #FFFFFF;
  border: 1px solid #8C8C8C;
  border-radius: 8px;
  transition: all var(--transition-base);
}

.btn--hero-secondary:hover {
  background: #F5F5F5;
  transform: translateY(-2px);
}

/* Hero Image Cards */
.hero__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: 100%;
  margin-top: 80px; /* buttons → cards */
}

.hero__card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 260px;
}

.hero__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__card-overlay {
  position: absolute;
  inset: 0;
  border-radius: 12px;
}

.hero__card:nth-child(1) .hero__card-overlay { background: rgba(90, 23, 0, 0.7); }
.hero__card:nth-child(2) .hero__card-overlay { background: rgba(110, 86, 0, 0.7); }
.hero__card:nth-child(3) .hero__card-overlay { background: rgba(33, 106, 0, 0.7); }
.hero__card:nth-child(4) .hero__card-overlay { background: rgba(0, 63, 103, 0.7); }

.hero__card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 24px 24px 16px;
}

.hero__card-label {
  font-family: 'Montserrat', 'Noto Sans KR', sans-serif;
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  color: #FFFFFF;
  line-height: 24px;
  align-self: flex-start;
}

.hero__card-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5vw, 72px);
  font-weight: var(--font-weight-semibold);
  color: #FFFFFF;
  align-self: flex-end;
  line-height: 1.4;
}

/* Decorations removed — not in Figma design */
.hero__decoration { display: none; }

/* Responsive — Tablet */
@media (max-width: 1024px) {
  .hero__inner {
    padding: 60px 0;
  }

  .hero__cards {
    margin-top: 48px;
  }

  .hero__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__card {
    height: 220px;
  }

  .hero__card-number {
    font-size: clamp(2rem, 5vw, 56px);
  }
}

/* Responsive — Mobile */
@media (max-width: 640px) {
  .hero {
    padding-top: 80px;
  }

  .hero__inner {
    padding: 40px 0;
  }

  .hero__cards {
    margin-top: 32px;
  }

  .hero__label {
    font-size: 14px;
    padding: 4px 6px;
  }

  .hero__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.4;
  }

  .hero__desc {
    font-size: 14px;
    padding: 0 16px;
  }

  .hero__actions {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }

  .btn--hero-primary,
  .btn--hero-secondary {
    font-size: 16px;
    padding: 12px 20px;
    text-align: center;
  }

  .hero__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 16px;
  }

  .hero__card {
    height: 160px;
  }

  .hero__card-content {
    padding: 16px 16px 12px;
  }

  .hero__card-label {
    font-size: 14px;
    line-height: 20px;
  }

  .hero__card-number {
    font-size: clamp(1.5rem, 8vw, 40px);
  }
}
