header {
  margin-top: 0px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  background-color: #f4f4f4;
  border: 2px solid #ddd;
  border-radius: 10px;
  height: 60px;
}

.menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

.menu li {
  font-size: 16px;
}

.menu a {
  color: black;
  text-decoration: none;
  transition: color 0.3s;
}

.menu a:hover {
  color: black;
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.auth-buttons button {
  padding: 5px 10px;
  border: 1px solid black;
  background-color: white;
  color: black;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.auth-buttons button:hover {
  background-color: black;
  color: white;
}

.section1 {
  text-align: center;
  margin-top: 50px;
}

.section1 h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.section1 p {
  font-size: 18px;
  color: #555;
}

.section2 {
  text-align: center;
  margin-top: 50px;
}

.section2 h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.section2 p {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}

.section3 {
      display: flex;
      flex-direction: column;
      gap: 50px;
      margin-bottom: 10rem;
    }

    .section3 .text h2 {
      color: #6366f1;
      margin-bottom: 20px;
    }


    .section3 .text p {
      line-height: 1.7;
    }

.card-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.card {
  width: 300px;
  padding: 20px;
  border: 2px solid #ddd;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

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

.card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
  color: #555;
}

.hero-button {
  padding: 10px 16px;
  font-weight: 500;
  border: 0px solid white;
  background-color: #6366F1;
  color: white;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
  margin-top: 20px;
  margin-bottom: 50px;
  font-size: 1rem;
}

.hero-button:hover {
  background-color: #4F46E5;
  color: white;
}

video {
  width: 100%;
  height: 576px;
  border-radius: 10px;
  overflow: hidden;
  object-fit: cover;
}

.card-container2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.card2 {
  padding: 20px;
  border: 2px solid #ddd;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s;
}

.section4 {
  margin-top: 80px;
}

.section4-header {
  text-align: center;
}

.section4-subtitle {
  font-size: 16px;
  color: #888;
}

.section4-title {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.5;
}

.section4-content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

/* AS-IS 스타일 */
.as-is {
  width: 480px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.as-is-box {
  width: 360px;
  background-color: #f8f8f8;
  border-radius: 20px;
  padding: 30px;
}

.as-is-item {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-weight: bold;
  padding: 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.as-is-tag {
  font-size: 12px;
  font-weight: bold;
  padding: 10px 8px;
  border-radius: 5px;
  margin-right: 10px;
  color: white;
}

.tag-dark {
  background-color: #1a1f27;
}

.tag-mid {
  background-color: #4b4f56;
}

.tag-light {
  background-color: #aaa;
}

/* TO-BE 스타일 */
.to-be {
  width: 480px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.to-be-item {
  border: 2px solid #0066ff;
  border-radius: 10px;
  padding: 20px;
}

.to-be-tag {
  background-color: #0066ff;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 10px 10px;
  border-radius: 5px;
  margin-bottom: 10px;
  display: inline-block;
}

.to-be-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.to-be-desc {
  font-size: 14px;
  color: #777;
}

.section4-label {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 0px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}

.popup-overlay.show {
  visibility: visible;
  opacity: 1;
}

.popup-content {
  background: transparent;
  padding: 0;
  border-radius: 10px;
  max-width: 1104px;
  width: 90%;
}

.popup-content video {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.thumbnail {
  width: 100%;
  height: 75%;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
}

.section5 {
  margin-top: 80px;
}

.section5-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-end;
}

.section5-box {
  width: 480px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section5-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 0px;
}

.highlight {
  color: #0066ff;
}

.section5-problems {
  width: 420px;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 0px;
}

.problem-item {
  background-color: white;
  border: 1px solid #ccc;
  color: #777;
  border-radius: 10px;
  font-weight: bold;
  padding: 25px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.solution-item {
  border: 2px solid #0066ff;
  border-radius: 10px;
  padding: 40px 20px;
}

.solution-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.solution-desc {
  font-size: 14px;
  font-weight: bold;
  color: #777;
}
