body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #0f172a;
  color: white;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* ✅ 헤더 수정 */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #38bdf8;
}

/* ✅ 오른쪽 메뉴 */
.auth {
  display: flex;
  gap: 15px;
}

.auth a {
  text-decoration: none;
  color: white;
  font-size: 14px;
}

.auth .signup {
  padding: 8px 14px;
  background-color: #38bdf8;
  color: black;
  border-radius: 8px;
  font-weight: bold;
}

/* ✅ 모달 스타일 (로그인 폴더) */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background-color: #1e293b;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  border: 1px solid #334155;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.modal-header h2 {
  margin: 0;
  color: #38bdf8;
}

.close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 24px;
  cursor: pointer;
}

.signup-step.hidden {
  display: none;
}

.step-title {
  font-size: 16px;
  color: #cbd5e1;
  margin-bottom: 20px;
  text-align: center;
}

/* ✅ 유형 선택 버튼 */
.type-selection {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.type-btn {
  padding: 15px;
  background-color: #0f172a;
  border: 1px solid #334155;
  color: white;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
}

.type-btn:hover {
  border-color: #38bdf8;
  background-color: #1e293b;
}

.type-btn.active {
  background-color: #38bdf8;
  color: black;
  font-weight: bold;
}

/* ✅ 인증창 레이아웃 */
#signupStep2 .input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

#signupStep2 input {
  flex: 1;
}

#signupStep2 .btn {
  padding: 12px;
  font-size: 14px;
  white-space: nowrap;
}

.hidden {
  display: none !important;
}

.login-form .input-group {
  margin-bottom: 20px;
  text-align: left;
}

.login-form label {
  display: block;
  margin-bottom: 8px;
  color: #cbd5e1;
  font-size: 14px;
}

.login-form input {
  width: 100%;
  padding: 12px;
  background-color: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  color: white;
  box-sizing: border-box;
}

.login-submit {
  width: 100%;
  margin-top: 10px;
}

.service-selection {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-item-btn {
  padding: 15px;
  background-color: #0f172a;
  border: 1px solid #334155;
  color: white;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.service-item-btn:hover {
  border-color: #38bdf8;
  background-color: #1e293b;
}

.service-item-btn.selected {
  background-color: #38bdf8;
  color: black;
  font-weight: bold;
}

.hero {
  text-align: center;
  padding: 120px 20px 100px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 25px;
}

.hero p {
  font-size: 20px;
  color: #cbd5f5;
  margin-bottom: 50px;
}

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

.btn {
  padding: 16px 28px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background-color: #38bdf8;
  color: black;
  font-weight: bold;
}

.btn-secondary {
  background-color: #1e293b;
  color: white;
  border: 1px solid #38bdf8;
}

.section {
  padding: 70px 20px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background-color: #1e293b;
  padding: 25px;
  border-radius: 14px;
  font-size: 16px;
}

footer {
  text-align: center;
  padding: 30px;
  font-size: 14px;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 34px;
  }
}
