﻿/* ===================================================
   HOME ELEVATOR STYLESHEET (home.css)
   =================================================== */

/* Reset & Basics */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* 1. 100vh Hero Banner */
.hero-banner {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #f0f0f0;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 主容器 */
.home-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 30px 100px 30px;
}

/* 通用顶部渐变分割线：整条浅灰线，左端加粗渐变条 */
.top-gradient-bar {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #eaedf1;
  margin-bottom: 28px;
}

.top-gradient-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1.5px;
  width: 110px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #c81e3a 0%, #5b1a7d 50%, #1b2685 100%);
}

/* ===================================================
   SECTION 1: OVERVIEW (SE100)
   =================================================== */
.section-overview {
  margin-bottom: 100px;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 80px;
  min-height: 520px;
}

/* 左容器：上下两端分布 */
.top-left {
  flex: 0 0 42%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 4px;
}

.product-title {
  font-size: 2.6rem;
  font-weight: 300;
  color: #2b2b2b;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* SE100 渐变大字 */
.gradient-model {
  font-size: 6.8rem;
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: -1px;
  background: linear-gradient(90deg, #c81e3a 0%, #701c6e 45%, #1c2b85 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 右容器 */
.top-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-desc {
  font-size: 0.88rem;
  color: #555555;
  line-height: 1.68;
  text-align: justify;
  margin-bottom: 24px;
}

.overview-photo-card {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.overview-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===================================================
   SECTION 2: FULL SCENE APPLICATION (01)
   =================================================== */
.section-full-scene {
  margin-bottom: 100px;
}

.scene-featured-card {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
  background-color: #f7f7f7;
}

.scene-bg-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 右上角白色悬浮容器 */
.scene-floating-box {
  position: absolute;
  top: 36px;
  right: 36px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 30px 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  max-width: 440px;
}

.floating-title {
  font-size: 2.1rem;
  font-weight: 300;
  color: #2b2b2b;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.floating-subtitle {
  font-size: 0.85rem;
  color: #666666;
  line-height: 1.45;
  font-weight: 300;
}

/* 底部黑色通栏条 */
.scene-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background-color: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  color: #ffffff;
}

.scene-type-name {
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.scene-big-num {
  font-size: 4.8rem;
  font-weight: 100;
  line-height: 1;
  color: #ffffff;
  position: absolute;
  right: 36px;
  bottom: 8px;
  opacity: 0.95;
}

/* ===================================================
   SECTION 3: 4 SCENE TYPES (02 - 05)
   =================================================== */
.section-scene-grid {
  margin-bottom: 100px;
}

.scene-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  width: 100%;
}

.scene-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 18px;
  padding: 18px 18px 18px 36px;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

/* 4 种自上而下渐变背景 */
.card-red {
  background: linear-gradient(180deg, #cb193e 0%, #980d2c 100%);
}

.card-purple {
  background: linear-gradient(180deg, #5b1a7d 0%, #410e5d 100%);
}

.card-magenta {
  background: linear-gradient(180deg, #9b1954 0%, #740d3b 100%);
}

.card-blue-purple {
  background: linear-gradient(180deg, #371c84 0%, #171869 100%);
}

.card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-right: 20px;
}

.card-num {
  font-size: 3.8rem;
  font-weight: 200;
  line-height: 1;
  margin-bottom: 10px;
  opacity: 0.95;
}

.card-title {
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.35;
  letter-spacing: 0.2px;
}

.card-image {
  flex: 0 0 54%;
  max-width: 54%;
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  overflow: hidden;
  background-color: #ffffff;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===================================================
   SECTION 4: CONSTRUCTION PARAMETERS
   =================================================== */
.section-parameters {
  width: 100%;
}

.param-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
}

/* 左容器 */
.param-left-col {
  flex: 0 0 44%;
  display: flex;
  flex-direction: column;
}

.param-heading {
  font-size: 2.1rem;
  font-weight: 300;
  color: #2b2b2b;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 30px;
}

.param-photo-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.param-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.param-table-wrap {
  width: 100%;
}

.param-table-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* 右容器 */
.param-right-col {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.param-cad-wrap {
  width: 100%;
}

.cad-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ===================================================
   RESPONSIVE DESIGN (响应式适配)
   =================================================== */
@media (max-width: 1024px) {
  .section-top {
    flex-direction: column;
    min-height: auto;
    gap: 40px;
  }

  .top-left {
    flex: auto;
    width: 100%;
    gap: 20px;
  }

  .scene-floating-box {
    position: static;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    padding: 24px;
  }

  .scene-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .param-grid {
    flex-direction: column;
    gap: 40px;
  }

  .param-left-col {
    flex: auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    height: 70vh;
  }

  .home-container {
    padding: 40px 16px 60px 16px;
  }

  .product-title, .param-heading {
    font-size: 1.8rem;
  }

  .gradient-model {
    font-size: 4rem;
  }

  .scene-card {
    flex-direction: column;
    padding: 24px 16px 16px 16px;
  }

  .card-text {
    padding-right: 0;
    margin-bottom: 18px;
  }

  .card-image {
    flex: auto;
    max-width: 100%;
    width: 100%;
  }

  .scene-bottom-bar {
    height: 60px;
    padding: 0 16px;
  }

  .scene-type-name {
    font-size: 0.9rem;
  }

  .scene-big-num {
    font-size: 3.2rem;
    right: 16px;
  }
}