/* ===== Font ===== */
@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2')
       format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2')
       format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Pretendard';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2')
       format('woff2');
  font-weight: 800;
  font-display: swap;
}

* {
  font-family: 'Pretendard', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;

  background-image: url("../assets/images/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;

  overflow-x: hidden;
}

a {
  color: #111;
  text-decoration: none;
}

main {
  flex: 1;
  padding: 2rem 0;
}

.hero {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;

  padding: 5rem 2.5rem;
  text-align: center;

  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);

  border-radius: 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.hero::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:6px;
  background: linear-gradient(90deg, #3b6cff, #8b5cf6, #22c55e);
}

.hero-badge {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.badge {
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f3f4f6;
  color: #374151;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.8rem;

  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8),
    0 4px 0 rgba(0, 0, 0, 0.08);

    word-break: keep-all;
    overflow-wrap: anywhere;
}

.hero p {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  line-height: 1.8;
  color: #111;
  margin-bottom: 2.5rem;
}

#heroText {
  font-size: clamp(1.1rem, 2.2vw, 2rem);
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#heroText.show {
  opacity: 1;
  transform: translateY(0);
}

#heroText strong {
  font-weight: 700;
  transition: color 0.8s;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.feature {
  padding: 1.25rem 1.25rem;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feature img {
  width: 100px;
  height: 100px;
  max-width: 100%;
  display: block;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.feature p {
  font-size: 1.2rem;
  color: #6b7280;
  margin: 0;
}

.hero-links .btn {
  display: inline-block;
  padding: 0.95rem 2.6rem;
  font-size: 1.5rem;
  font-weight: 700;
  background: #3b6cff;
  color: #ffffff;
  border-radius: 999px;
}

.hero-links .btn:hover {
  background: #2f5af0;
}

/* Footer */
footer {
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;

  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
}