/* ═══ HERO BANNER ═══ */
.hero--app .hero-bg img {
  object-position: center top;
}

.hero--app .hero-overlay {
  background: linear-gradient(90deg, rgba(20, 20, 20, 0.55) 0%, rgba(20, 20, 20, 0.3) 100%);
}

.hero--app .hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  align-self: stretch;
  padding-bottom: 0;
}

.hero-copy {
  padding-bottom: 40px;
}

.hero--app .hero-title {
  font-size: 46px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.hero-buttons a {
  display: block;
  border-radius: 8px;
  transition: transform var(--duration-fast) var(--ease);
}

.hero-buttons a:hover {
  transform: translateY(-2px);
}

.hero-buttons img {
  height: 48px;
  width: auto;
  display: block;
}

/* 히어로 하단에 걸쳐 잘리는 폰 */
.hero-phone {
  align-self: flex-end;
  flex-shrink: 0;
  width: 290px;
  height: auto;
  margin: 40px 80px -130px 0;
  filter: drop-shadow(10px 11px 14px rgba(0, 0, 0, 0.3));
  animation-name: none !important;
}

/* ═══ SECTIONS ═══ */
.section {
  padding: 110px 0;
}

.section--alt {
  background: var(--bg-soft);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

/* 텍스트 좌 / 비주얼 우 */
.section-inner--reverse .section-visual {
  order: 2;
}

.section-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  min-width: 0;
}

.section-phone {
  width: 260px;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(10px 11px 14px rgba(54, 54, 54, 0.22));
}

.section-visual--pair .section-phone {
  width: 210px;
}

.section-photo {
  flex: 1;
  min-width: 0;
  max-width: 320px;
  height: auto;
  border-radius: 18px;
}

.section-shot {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 16px;
  background: var(--bg-soft);
}

.section-text {
  min-width: 0;
}

.section-label {
  font-size: 20px;
  font-weight: 700;
  color: var(--main);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-heading {
  font-size: 32px;
  font-weight: 800;
  color: var(--main-text);
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 20px;
  font-weight: 500;
  color: var(--gray-3);
  letter-spacing: -0.01em;
  line-height: 1.65;
  max-width: 520px;
}

/* ═══ Campus Pay feature list ═══ */
.feature-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-top: 28px;
  max-width: 520px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #FFCBCB;
  border-radius: 12px;
  font-size: 17px;
  font-weight: 600;
  color: #393939;
  letter-spacing: -0.02em;
}

.feature-list-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--main);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--main);
  text-decoration: none;
}

.text-link::after {
  content: ' →';
}

.text-link:hover {
  text-decoration: underline;
}

/* ═══ Benefit tags ═══ */
.tag-group {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag {
  padding: 6px 14px;
  border: 1px solid #FFCBCB;
  border-radius: 40px;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  color: var(--main);
  letter-spacing: -0.01em;
  line-height: 1.69;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero-phone {
    width: 240px;
    margin-right: 0;
  }

  .hero--app .hero-title {
    font-size: 38px;
  }

  .section {
    padding: 80px 0;
  }

  .section-inner {
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .hero--app .hero-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 48px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero--app .hero-title {
    font-size: 30px;
  }

  .hero-buttons {
    margin-top: 28px;
  }

  .hero-buttons img {
    height: 44px;
  }

  .hero-phone {
    align-self: center;
    width: 200px;
    margin: 36px 0 -170px;
  }

  .section {
    padding: 64px 0;
  }

  .section-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* 모바일에서는 항상 텍스트 → 비주얼 순서 */
  .section-visual {
    order: 2;
  }

  .section-phone {
    width: 210px;
  }

  .section-visual--pair .section-phone {
    width: 150px;
  }

  .section-label {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .section-heading {
    font-size: 25px;
    margin-bottom: 14px;
  }

  .section-desc {
    font-size: 16px;
  }

  .feature-list li {
    font-size: 15px;
  }

  .tag {
    font-size: 14px;
  }
}
