/* =========================
   MAIN
========================= */

.main {
  height: 700px;
  background: #f6f6f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.headline {
  font-size: 70px;
  font-weight: 800;
  color: #0f172a;

  padding-bottom: 40px;

  /* 핵심: Spotify 스타일 */
  text-align: center;
  line-height: 1.05;
  letter-spacing: -2px;

  /* 위치 제거 */
  position: static;
  left: auto;
}

.headline-first {
  display: block;

  /* 수동 위치 제거 */
  position: static;
  left: auto;

  /* 약간의 스타일 차이 (Spotify 느낌) */
  opacity: 0.85;
}

.sub-headline {
  color: #0f172a;
  text-align: center;
  font-size: 18px;
  padding-bottom: 40px;
}

.button-area {
  text-align: center;
}

.button-style {
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  background-color: #ddd;
}

.button-style:hover {
  transform: scale(1.05);
}

/* =========================
   KIT SECTION
========================= */

.kit {
  padding: 100px 0;
  text-align: center;
}

.kit-text {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
  color: black;
}

.kit-ment {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 15px;
  color: black;
}

.kit-box {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 60px;
}

.kit-product {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.kit-item {
  width: 320px;
}

.product-info {
    margin-top: 10px;
}

.product-info p {
    margin: 4px 0;
    line-height: 1.2;
}

.product-card {
  text-align: center;
}

/* =========================
   IMAGE
========================= */

.product-image {
  display: block;

  width: 250px;
  height: 250px;

  margin: 0 auto;

  overflow: hidden;

  border: 1px solid #ddd;
  border-radius: 12px;

  background: #fff;
}

.kit-image {
  width: 100%;
  height: 100%;

  object-fit: cover;
  display: block;
}

/* =========================
   TEXT
========================= */

.kit-category {
  margin-top: 15px;
  color: #888;
  font-size: 14px;
}

.kit-name {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #111;
}

.kit-price {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

/* =========================
   BUTTON
========================= */

.kit-item-buy {
  margin-top: 10px;
  padding: 10px 20px;
  background: #0f172a;
  color: white;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.3s;
}

.kit-item-buy:hover {
  opacity: 0.9;
}

/* =========================
   OTHER SECTION
========================= */

.farm {
  height: 800px;
  background: #f6f6f6;
}

.iot {
  height: 800px;
  background: #fff;
}

.threeD {
  height: 800px;
  background: #f6f6f6;
}

.expla {
  height: 300px;
}

/* =========================
   MAIN + KIT Mobile Responsive
========================= */
@media (max-width: 768px) {

  /* ===== MAIN ===== */

  .main {
    height: auto;
    min-height: 500px;
    padding: 60px 20px;
    flex-direction: column;
    text-align: center;
  }

  .headline {
    font-size: 36px;
    left: 0;
    padding-bottom: 20px;
  }

  .headline-first {
    left: 0;
  }

  .sub-headline {
    font-size: 15px;
    padding-bottom: 25px;
  }

  .button-style {
    padding: 12px 24px;
    font-size: 14px;
  }

  /* ===== KIT ===== */

  .kit {
    padding: 60px 20px;
  }

  .kit-text {
    font-size: 28px;
  }

  .kit-ment {
    font-size: 13px;
  }

  .kit-box {
    padding-top: 30px;
  }

  .kit-product {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .kit-item {
    width: 100%;
    max-width: 320px;
  }

  .product-image {
    width: 220px;
    height: 220px;
  }

  .kit-name {
    font-size: 16px;
  }

  .kit-price {
    font-size: 15px;
  }

  .kit-item-buy {
    padding: 10px 18px;
    font-size: 14px;
  }

  /* ===== SECTION HEIGHT FIX ===== */

  .farm,
  .iot,
  .threeD {
    height: auto;
    min-height: 400px;
  }

  .expla {
    height: auto;
    padding: 40px 20px;
  }
}
