/* =====================
   Base
===================== */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont,
               "PingFang HK", "Noto Sans TC",
               Arial, sans-serif;
  color: #111;
  background: #fafafa;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* =====================
   Header / Logo
===================== */

.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

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

.logo-mark {
  font-size: 20px;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 1px;
}


/* =====================
   Features
===================== */

.features .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature h3 {
  margin-bottom: 10px;
}

/* =====================
   Products
===================== */

.products {
  background: #fff;
}

.products h2 {
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: #fafafa;
  padding: 20px;
  border-radius: 12px;
}

.img-placeholder {
  height: 220px;
  background: #ddd;
  border-radius: 10px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

/* =====================
   Process
===================== */

.process {
  background: #fafafa;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.step-img {
  height: 120px;
  background: #eee;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* =====================
   CTA
===================== */

.cta {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.cta a {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 36px;
  border: 1px solid #fff;
  color: #fff;
}

/* =====================
   Mobile
===================== */

@media (max-width: 900px) {
  .hero-inner,
  .features .container,
  .product-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-text h1 {
    font-size: 32px;
  }
}
/* =========================
   HERO IMAGE FIX
========================= */

.hero {
  padding: 80px 0;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero image container */
.hero-image {
  width: 100%;
  max-height: 75vh;          /* desktop limit */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Actual image */
.hero-image img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;       /* VERY IMPORTANT for transparent art */
}

/* =========================
   Mobile
========================= */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-image {
    max-height: 50vh;
  }

  .hero-image img {
    max-height: 50vh;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 50px 0;
  }

  .hero-image {
    max-height: 40vh;
  }

  .hero-image img {
    max-height: 40vh;
  }
}

