body {
  font-family: "Chakra Petch", sans-serif;
  margin: 0;
  text-align: center;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.navbar {
  background: #1f2f4a;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 55px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
  color: white;
}

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

.nav-links a {
  color: white;
  text-decoration: none;
}

.hero {
  padding: 80px 20px;
  max-width: 800px;
  margin: 0 auto;
}


.video-wrapper {
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 800px;
  aspect-ratio: 1/1;
  margin: 40px auto;
  border-radius: 16px;
  overflow: hidden; 
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

.hero h1 {
  margin-bottom: 20px;
}


.products {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 50px;
}

.icon-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  z-index: 1;
  left: 5px;
  top: 5px;
}

.product-icon {
  position: relative;
  z-index: 2;
  width: 75px;
}

.yellow {
  background: #FF854C;
}
.blue {
  background:#CCE6F0;
}
.green {
  background: #FAFFC7;
}


.machines {
  padding: 80px 20px;
  background: #f8f8f8;
}

.machines h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.machine-list {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.machine-item {
  width: 180px;
  text-align: center;
}

.machine-item img {
  width: 100%;
  max-width: 150px;
  margin-bottom: 15px;
}

.footer {
  background: linear-gradient(135deg, #1f2f4a, #2fb36d);
  color: #eee;
  padding: 60px 20px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.footer-left,
.footer-right {
  width: 45%;
}

.footer h3 {
  color: #fff;
  margin-bottom: 15px;
}

.footer p {
  margin: 6px 0;
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  text-align: center;
  margin-top: 40px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* HOVER */
a {
  transition: color 0.3s ease;
}

a:hover {
  color: #2fb36d;
}

.product-item:hover {
  transform: translateY(-5px);
  transition: 0.3s ease;
}

.machine-item img {
  transition: transform 0.3s ease;
}

.machine-item:hover img {
  transform: translateY(-5px);
}

/* ========================= */
/* 📱 TABLET */
/* ========================= */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 10px;
  }

  .products {
    flex-direction: column;
    gap: 30px;
  }

  .machine-list {
    flex-direction: column; /* 🔥关键 */
    align-items: center;
    gap: 40px;
  }

  .machine-item {
    width: 80%;
    max-width: 300px;
  }

  .footer-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
}

/* ========================= */
/* 📱 PHONE */
/* ========================= */
@media (max-width: 480px) {
  h1 {
    font-size: 24px;
  }

  .hero {
    padding: 40px 15px;
  }

  .machine-list {
    flex-direction: column;
    align-items: center;
  }
}