/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans KR', Arial, sans-serif;
  background-color: #08113c;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: #00ffae;
  text-decoration: none;
}

a:hover {
  color: #00e09c;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.header .logo img {
  height: 40px;
}

.nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav ul li a {
  color: #fff;
  font-weight: bold;
  font-size: 1em;
  transition: color 0.3s ease;
}

.nav ul li a:hover {
  color: #00ffae;
}

/* Hero Section */
.hero {
  text-align: center;
  padding-top: 20px; /* 상단 간격만 줄임 */
  padding-right: 20px;
  padding-bottom: 60px;
  padding-left: 20px;
  background: linear-gradient(180deg, #08113c 0%, #0e1a4b 100%);
}


.hero h1 {
  font-size: 2em;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2em;
  color: #00bfff;
  margin-bottom: 5px;
}

.hero-img {
  max-width: 200px;
  margin: 5px auto;
  display: block;
}

.btn-primary {
  display: inline-block;
  background-color: #00ffae;
  color: #08113c; /* 기본 글자색 */
  padding: 14px 35px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #00e09c;
  color: #08113c; /* hover 시 글자색 명확히 유지 */
  transform: scale(1.05);
}

.promo-highlight {
  color: #ffeb3b;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.copy-btn {
  background: none;
  border: none;
  color: #00ffae;
  font-size: 0.9em;
  cursor: pointer;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #00e09c;
}


/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-stats div {
  text-align: center;
  flex-basis: 45%;
  margin-bottom: 20px;
}

.hero-stats strong {
  display: block;
  font-size: 1.8em;
  color: #00ffae;
  margin-bottom: 5px;
}

/* Products Section */
.products {
  text-align: center;
  padding: 60px 20px;
}

.products h2 {
  font-size: 2em;
  margin-bottom: 15px;
}

.subtitle {
  font-size: 1em;
  margin-bottom: 40px;
}

.product-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background: #0e1a4b;
  border-radius: 10px;
  padding: 25px;
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 70px;
  margin-bottom: 15px;
}

.card h3 {
  margin-bottom: 10px;
  color: #00ffae;
  font-size: 1.3em;
}

.card p {
  font-size: 0.95em;
  color: #ccc;
}

.contact-text {
  margin: 40px 0 20px;
  font-size: 1em;
}

/* Join Section */
.join-section {
  text-align: center;
  padding: 50px 20px;
  background: #0a163f;
}

.join-section h2 {
  font-size: 2em;
  margin-bottom: 15px;
}

.join-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background: #070e34;
  font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    align-items: center;
  }

  .hero {
    padding-top: 15px; /* 상단 간격 축소 */
    padding-bottom: 40px; /* 필요시 하단 조정 */
  }

  .hero-stats strong {
    font-size: 1.4em;
  }

  .hero-stats div {
    width: 48%;
  }

  .product-cards {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 1.5em;
  }

  .btn-primary {
    width: 80%;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 10px; /* 더 작은 화면에서는 더 좁게 */
    padding-bottom: 30px;
  }

  .hero-stats strong {
    font-size: 1.4em;
  }

  .hero-stats div {
    width: 48%;
  }

  .card {
    width: 90%;
  }
}

