/* ── Hero ── */
.mc-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.mc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.mc-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
}
.mc-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,10,18,0.88) 0%,
    rgba(10,10,18,0.55) 50%,
    rgba(10,10,18,0.80) 100%
  );
}
.mc-hero {
  align-items: flex-start !important;
  justify-content: center !important;
}
.mc-hero__content {
  position: relative;
  z-index: 1;
  text-align: left !important;
  padding: 7rem 4rem 10rem 6rem !important;
  max-width: 680px !important;
  animation: pi-fadeInUp 0.8s cubic-bezier(0.4,0,0.2,1);
}
.mc-hero__content .pi-hero__badge {
  margin: 0 0 1.5rem !important;
}
.mc-hero__content .pi-hero__cta {
  justify-content: flex-start !important;
}
.mc-hero__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  backdrop-filter: blur(12px);
}
.mc-hero__stat {
  text-align: center;
  flex: 1;
}
.mc-hero__stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #af1739;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.mc-hero__stat-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.3rem;
  line-height: 1.4;
}
.mc-hero__stat-divider {
  width: 1px;
  height: 2rem;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .mc-hero__content { padding: 5rem 2rem 8rem !important; }
  .mc-hero__stats { flex-wrap: wrap; gap: 0.75rem; padding: 1rem; }
  .mc-hero__stat { min-width: 40%; }
  .mc-hero__stat-divider { display: none; }
}

/* ── Overview Section ── */
.mc-overview__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}
.mc-overview__title {
  margin: 0.5rem 0 1rem;
}
.mc-overview__lead {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}
.mc-overview__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.mc-overview__text {
  padding-top: 0.5rem;
}
.mc-overview__text p {
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.mc-overview__advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.mc-adv-card {
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-left: 3px solid #af1739;
  border-radius: 6px;
  transition: border-color 0.3s, background 0.3s;
}
.mc-adv-card:hover {
  border-color: rgba(175,23,57,0.4);
  background: rgba(175,23,57,0.06);
}
.mc-adv-card__title {
  font-weight: 600;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.2rem;
}
.mc-adv-card__desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .mc-overview__body {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .mc-overview__advantages {
    grid-template-columns: 1fr;
  }
}

/* ── Feature Grid (2x2 上圖下文) ── */
.mc-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .mc-feat-grid {
    grid-template-columns: 1fr;
  }
}
.mc-feat-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mc-feat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.mc-feat-card__img {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  padding: 1rem;
}
.mc-feat-card__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
/* 圖片已由 AI 處理背景融合，無需額外遮罩 */
.mc-feat-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.mc-feat-card__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin: 0 0 0.75rem 0;
}
.mc-feat-card__body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mc-feat-card__body li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.mc-feat-card__body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #af1739;
}
.mc-detail-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #af1739;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(175,23,57,0.3);
  padding-bottom: 0.1rem;
  transition: opacity 0.2s;
}
.mc-detail-link:hover { opacity: 0.75; }

/* ── Eco Section ── */
.mc-eco-visual {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.mc-eco-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.mc-eco-desc {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}
.mc-eco-desc p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}
.mc-eco-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}
.mc-eco-stat {
  text-align: center;
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(110,231,183,0.15);
  background: rgba(110,231,183,0.04);
}
.mc-eco-stat__value {
  font-size: 2rem;
  font-weight: 700;
  color: #6ee7b7;
  letter-spacing: -0.02em;
}
.mc-eco-stat__label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
  margin-top: 0.25rem;
}
@media (max-width: 480px) {
  .mc-eco-stats { grid-template-columns: 1fr; }
}

/* ── Application Gallery (3 排 x 2 上圖下文) ── */
.mc-app-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.mc-app-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.mc-app-card:hover {
  border-color: rgba(175,23,57,0.3);
  transform: translateY(-3px);
}
.mc-app-card__img {
  overflow: hidden;
  background: #0a0a12;
  height: 280px;
}
.mc-app-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.mc-app-card__info {
  padding: 1.25rem 1.5rem;
}
.mc-app-card__info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.4rem;
}
.mc-app-card__info p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .mc-app-gallery { grid-template-columns: 1fr; }
}

/* ── Materials Grid ── */
.mc-materials-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 768px) {
  .mc-materials-grid { grid-template-columns: 1fr; }
}
.mc-material-card {
  position: relative;
  padding: 1.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.mc-material-card--featured {
  border-color: rgba(175,23,57,0.3);
  background: rgba(175,23,57,0.04);
}
.mc-material-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: rgba(175,23,57,0.15);
  border: 1px solid rgba(175,23,57,0.3);
  border-radius: 3px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #af1739;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.mc-material-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.6rem;
}
.mc-material-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.mc-materials-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding-top: 0.5rem;
}

/* ── Docs Grid ── */
.mc-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  overflow: hidden;
}
.mc-doc-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: background 0.2s;
}
.mc-doc-card:hover {
  background: rgba(175,23,57,0.06);
}
.mc-doc-card__content { flex: 1; }
.mc-doc-card__content h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.25rem;
}
.mc-doc-card__content p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}
.mc-doc-card__arrow {
  color: rgba(175,23,57,0.6);
  font-size: 1rem;
  flex-shrink: 0;
  font-weight: 300;
}
