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

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

/* HEADLINE 구조 개선 */
.headline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding-bottom: 40px;
  color: #0f172a;
}

/* "모든 것은" 스타일 강화 */
.headline-sub {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;

  letter-spacing: 0.35em;
  text-transform: uppercase;

  margin-bottom: 12px;

  display: flex;
  align-items: center;
  gap: 10px;
}

/* 좌측 라인 장식 */
.headline-sub::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #94a3b8;
  display: inline-block;
}

/* 메인 타이틀 */
.headline-main {
  font-size: 70px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
}

/* SUB HEADLINE */
.sub-headline {
  color: #0f172a;
  text-align: center;
  font-size: 18px;
  padding-bottom: 40px;
  line-height: 1.6;
}

/* BUTTON */
.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 {
    height: auto;
    min-height: 500px;
    padding: 60px 20px;
    flex-direction: column;
    text-align: center;
  }

  .headline {
    align-items: center;
    text-align: center;
  }

  .headline-sub {
    justify-content: center;
    font-size: 12px;
    letter-spacing: 0.25em;
  }

  .headline-main {
    font-size: 36px;
  }

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

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

  .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;
  }

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

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