

.top-nav {
  background: #fff;
}

/* hero section */

.ultriix-s1-hero {
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto auto;
    gap: 40px;
    margin: 0 auto;
    max-width: 1280px;
    padding: 64px 20px;
}

.ultriix-s1-hero .hero-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  min-height: auto;
}

.ultriix-s1-hero .hero-top-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* 顶部与底部拉到两端 */
  height: 100%;
  align-self: stretch; /* 保证填满父容器高度 */
}



.ultriix-s1-hero .hero-top-left .hero-title {
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
  color: #1f2937;
}

.ultriix-s1-hero .hero-top-left .hero-subtitle {
  font-size: clamp(18px, 2.4vw, 28px);
  margin: 0 0 24px;
  color: #3c3c3c;
  line-height: 1.55;
}

.ultriix-s1-hero .hero-top-left .hero-price {
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
  color: #222;
}


.ultriix-s1-hero .hero-top-left .hero-price .msrp {
  color: #666;
  text-decoration: line-through;
  margin-left: 8px;
}

.ultriix-s1-hero .hero-form {
  display: flex;
  gap: 16px;
}

#ultriix-hero-email {
  flex: 0 1 clamp(260px, 26vw, 320px);
  width: clamp(260px, 26vw, 320px);  
  height: 48px;
  border-radius: 24px;
  border: 1px solid #e5e5e5;
  padding: 0 20px;
  background: #f8f8f8;
  outline: none;
}

#ultriix-hero-submit {
  letter-spacing: 0.03em;
  height: 48px;
  padding: 0 24px;
  border-radius: 24px;
  background: #333;
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.ultriix-s1-hero .hero-top-right {
  display: flex;
  align-items: stretch;
}

.ultriix-s1-hero .hero-top-right img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: contain;
}

.ultriix-s1-hero .hero-bottom {
  margin-top: 56px;
}

.ultriix-s1-hero .hero-bottom-title {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  color: #1f2937;
}

.ultriix-s1-hero .hero-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ultriix-s1-hero .hero-card {
  position: relative;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  border-radius: 12px;
  padding: 24px 24px 0;
  color: #1f2937;
}

/**
 * @description hero-card-top 的样式，使用 Flexbox 来水平对齐内部的元素 (索引和图标)，并垂直顶部对齐
 */
.ultriix-s1-hero .hero-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}



.ultriix-s1-hero .hero-card .hero-card-icon {
  width: 30px;
  height: 30px;
}

.ultriix-s1-hero .hero-card .hero-card-index {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
  line-height: 1;
}

.ultriix-s1-hero .hero-card .hero-card-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.ultriix-s1-hero .hero-card .hero-card-desc {
  font-size: 14px;
  line-height: 1.55;
}

/* 卡片配色 */
.ultriix-s1-hero .card-01 { background-color: #F1C2B0; }
.ultriix-s1-hero .card-02 { background-color: #F9EB98; }
.ultriix-s1-hero .card-03 { background-color: #C0D9DD; }
.ultriix-s1-hero .card-04 { background-color: #6975E8; }

/* 响应式 */

/* 平板 & 桌面端 */
@media screen and (max-width: 1200px) {
  .ultriix-s1-hero {
    padding-left: 26px;
    padding-right: 24px;
  }
}

/* 平板 */
@media screen and (max-width: 1024px) {
    .ultriix-s1-hero {
    padding: 32px 26px;
    gap: 32px;
  }

  .ultriix-s1-hero .hero-top {
    gap: 24px;
  }

  .ultriix-s1-hero .hero-top-left {
    gap: 16px;
  }

  .ultriix-s1-hero .hero-cards {
    grid-template-columns: repeat(2, 1fr);
  }

 
}

@media screen and (max-width: 900px){
    .ultriix-s1-hero {
    padding: 32px 20px;
    gap: 32px;
  }

  .ultriix-s1-hero .hero-top {
    gap: 24px;
  }

  .ultriix-s1-hero .hero-top-left {
    gap: 16px;
  }

  .ultriix-s1-hero .hero-top-left .hero-title {
    font-size: 32px;
    margin-bottom: 8px;
  }

  .ultriix-s1-hero .hero-top-left .hero-subtitle {
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.3;
  }

  .ultriix-s1-hero .hero-top-left .hero-price {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .ultriix-s1-hero .hero-form {
    flex-direction: column;
    gap: 12px;
  }


  .ultriix-s1-hero .hero-bottom {
    margin-top: 24px;
  }

  .ultriix-s1-hero .hero-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* 手机 */
@media screen and (max-width: 767px) {
  .ultriix-s1-hero {
    padding: 32px 16px;
    gap: 32px;
  }

  .ultriix-s1-hero .hero-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ultriix-s1-hero .hero-top-left {
    gap: 50px;
  }

  .ultriix-s1-hero .hero-top-left .hero-title {
    font-size: 32px;
    margin-bottom: 8px;
  }

  .ultriix-s1-hero .hero-top-left .hero-subtitle {
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.3;
  }

  .ultriix-s1-hero .hero-top-left .hero-price {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .ultriix-s1-hero .hero-form {
    flex-direction: column;
    gap: 12px;
  }

  #ultriix-hero-email {
    width: 100%;
    flex: 1;
  }

  .ultriix-s1-hero .hero-bottom {
    margin-top: 24px;
  }

  .ultriix-s1-hero .hero-cards {
    grid-template-columns: 1fr;
  }

  .ultriix-s1-hero .hero-card {
    padding: 16px 16px 0;
    gap: 12px;
  }

  .ultriix-s1-hero .hero-card .hero-card-index {
    font-size: 36px;
  }

  .ultriix-s1-hero .hero-card .hero-card-title {
    font-size: 16px;
  }
}


/* muscular-system section */
.common-areas {
  width: 100%;
  max-width: 1280px;
  padding: clamp(32px, 4vw, 64px) 24px;
  box-sizing: border-box;
  margin: 0 auto 40px;
  position: relative;
}

.common-areas-title {
  text-align: center;
  font-weight: 800;
  font-size: clamp(22px, 3vw, 36px);
  color: #1f2937;
  letter-spacing: 0.02em;
  margin: 0 0 32px;
}

.common-areas-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: clamp(16px, 2vw, 24px);
}

.common-areas .human {
  position: relative;
  width: clamp(300px, 36vw, 520px);
  margin: 0 auto;
}

.common-areas .human-img {
  width: 100%;
  height: auto;
  display: block;
}

.common-areas .points {
  position: absolute;
  inset: 0;
}

.common-areas .point {
  position: absolute;
  width: var(--point-size, clamp(12px, 1.2vw, 18px));
  height: var(--point-size, clamp(12px, 1.2vw, 18px));
  background: url("../../images/ultriix-s1/pain-point.png") no-repeat center / cover;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 4px rgba(255,0,0,0.4));
}

.common-areas .connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.common-areas .labels {
  position: relative;
  min-height: 100%;
}

/* 左侧标签 - 右对齐 */
.common-areas .labels-left .area-label {
  position: absolute;
  right: 0;
  top: var(--pos);
  transform: translateY(-50%);
  text-align: right;
}

/* 右侧标签 - 左对齐 */
.common-areas .labels-right .area-label {
  position: absolute;
  left: 0;
  top: var(--pos);
  transform: translateY(-50%);
  text-align: left;
}

.common-areas .area-label {
  display: inline-flex;
  flex-direction: column;
  gap: 0px;
  max-width: clamp(220px, 22vw, 280px);
  padding: 0;
  color: #1f2937;
  background: transparent;
  border: none;
  border-radius: 0;
}

.common-areas .area-label .label-name {
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.common-areas .area-label .label-desc {
  font-size: clamp(12px, 1.2vw, 14px);
  line-height: 1.5;
  color: #3c3c3c;
}

/* 线条样式优化 */
.common-areas .connectors line {
  stroke: #888;
  stroke-width: 1.2;
  stroke-dasharray: 4, 3;
}

/* 高亮状态的红点 */
.common-areas .point.highlight {
  filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.8)) brightness(1.2);
  transform: translate(-50%, -50%) scale(1.2);
  transition: all 0.3s ease;
}

/* 标签悬停效果 */
.common-areas .area-label:hover {
  cursor: pointer;
}

.common-areas .area-label:hover .label-name {
  color: #ff4444;
  transition: color 0.2s ease;
}

/* 标签点击反馈 */
.common-areas .area-label:active {
  transform: translateY(-50%) scale(0.98);
}

.common-areas .labels-left .area-label:active {
  transform: translateY(-50%) scale(0.98);
}

.common-areas .labels-right .area-label:active {
  transform: translateY(-50%) scale(0.98);
}

.common-areas .mobile-hint {
  display: none;
  margin-top: 16px;
  text-align: center;
  color: #666;
  font-size: 12px;
}

/* 响应式：手机端 */
@media screen and (max-width: 767px) {
  .common-areas-content {
    grid-template-columns: 1fr auto 1fr;
    gap: 8px;
  }

  .common-areas .human {
    width: clamp(240px, 50vw, 320px);
  }

  .common-areas .labels {
    position: relative;
    display: block;
    margin-top: 0;
    min-height: 100%;
  }

  .common-areas .labels-left .area-label,
  .common-areas .labels-right .area-label {
    position: absolute;
    top: var(--pos);
    transform: translateY(-50%);
  }

  .common-areas .area-label {
    max-width: min(36vw, 180px);
    padding: 0;
  }

  .common-areas .area-label .label-name {
    font-size: clamp(12px, 2.8vw, 14px);
    letter-spacing: 0em;
  }

  .common-areas .area-label .label-desc {
    display: none;
  }

  .common-areas .connectors {
    display: block;
  }

  /* 手机端线条更细 */
  .common-areas .connectors line {
    stroke-width: 1;
    stroke-dasharray: 3 2; /* 手机端使用更细的虚线 */
  }

  .common-areas .mobile-hint {
    display: block;
    font-size: 11px;
    margin-top: 12px;
  }
}

/* 手机端弹层样式 */
.ca-modal {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.ca-modal.open {
  background: rgba(0,0,0,0.55);
  opacity: 1;
  visibility: visible;
}

.ca-modal .ca-modal-content {
  position: relative;
  width: min(640px, 92%);
  background: #fff;
  border-radius: 12px 12px 0 0;
  padding: 16px 16px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.ca-modal.open .ca-modal-content {
  transform: translateY(0);
}

.ca-modal .ca-modal-close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ca-modal .ca-modal-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
  color: #1f2937;
}

.ca-modal .ca-modal-desc {
  font-size: 14px;
  color: #3c3c3c;
  line-height: 1.55;
}


/* how to use it */

/* Three-steps to Start section */
.three-steps-section {
    width: 100%;
    max-width: 1280px;
    padding: clamp(48px, 6vw, 80px) 24px;
    box-sizing: border-box;
    margin: 0 auto;
}

.three-steps-title {
    text-align: center;
    font-weight: 800;
    font-size: clamp(28px, 3.6vw, 48px);
    color: #1f2937;
    letter-spacing: 0.02em;
    margin: 0 0 clamp(40px, 5vw, 64px);
    line-height: 1.1;
}

.three-steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 32px);
    align-items: stretch;
}

.step-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    padding: clamp(24px, 3vw, 32px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6975E8, #F1C2B0, #F9EB98);
}

.step-image {
    margin-bottom: clamp(20px, 2.5vw, 24px);
    text-align: center;
}

.step-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-number {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 800;
    color: #6975E8;
    margin-bottom: clamp(12px, 1.5vw, 16px);
    line-height: 1;
}

.step-title {
    font-weight: 700;
    font-size: clamp(18px, 2.2vw, 24px);
    color: #1f2937;
    letter-spacing: 0.02em;
    margin: 0 0 clamp(8px, 1vw, 12px);
    line-height: 1.2;
}

.step-description {
    font-size: clamp(14px, 1.6vw, 16px);
    color: #3c3c3c;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

/* 响应式设计 - 平板 */
@media screen and (max-width: 1024px) {
    .three-steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(20px, 2.5vw, 28px);
    }
    
    .three-steps-title {
        margin-bottom: clamp(32px, 4vw, 48px);
    }
}

/* 响应式设计 - 移动端 */
@media screen and (max-width: 767px) {
    .three-steps-section {
        padding: clamp(32px, 4vw, 48px) 16px;
    }
    
    .three-steps-container {
        grid-template-columns: 1fr;
        gap: clamp(16px, 2vw, 24px);
    }
    
    .three-steps-title {
        font-size: clamp(24px, 3vw, 32px);
        margin-bottom: clamp(24px, 3vw, 32px);
    }
    
    .step-card {
        padding: clamp(20px, 2.5vw, 24px);
    }
    
    .step-image {
        margin-bottom: clamp(16px, 2vw, 20px);
    }
    
    .step-image img {
        max-width: 220px;
    }
    
    .step-number {
        font-size: clamp(18px, 2.2vw, 22px);
        margin-bottom: clamp(10px, 1.2vw, 14px);
    }
    
    .step-title {
        font-size: clamp(16px, 2vw, 20px);
        margin-bottom: clamp(6px, 0.8vw, 10px);
    }
    
    .step-description {
        font-size: clamp(13px, 1.5vw, 15px);
    }
}

/* 超大屏幕优化 */
@media screen and (min-width: 1600px) {
    .three-steps-container {
        gap: 40px;
    }
    
    .step-card {
        padding: 40px;
    }
    
    .step-image img {
        max-width: 320px;
    }
}