/* --- 比例平衡的精致紫金主题 --- */
:root {
  --bg-body: #f4f3f8; /* 质感灰紫底色，衬托纯白卡片和横幅 */
  --text-main: #130e1c;
  --text-light: #6e687a;
  --brand-purple: #6d28d9;
  --brand-gold: #d97706;
  --card-bg: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: "Outfit", sans-serif;
  padding-bottom: 140px;
  overflow-x: hidden;
}

/* --- 1. 紧凑且霸气的头部 --- */
.header {
  text-align: center;
  padding: 40px 16px 20px; /* 缩减了下边距，让排版更紧密 */
}

.brand-logo {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 6px;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.brand-logo::before,
.brand-logo::after {
  content: "";
  width: 24px;
  height: 1px;
  background-color: #d1cdda;
}

.main-title {
  font-size: 50px; /* 适配全景图稍微收敛一点点，依然保持绝对压制力 */
  font-weight: 900;
  line-height: 0.95;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
}

.main-title span {
  color: var(--brand-purple);
  display: block;
}

.sub-title {
  font-size: 15px;
  color: var(--text-light);
  font-weight: 400;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

/* --- 2. 专为 2048x682 (3:1) 优化的无界巨幕区 --- */
.panoramic-wrapper {
  width: 100%;
  /* 极小的左右留白，最大化横幅尺寸 */
  padding: 0 12px;
  margin-bottom: 35px;
  position: relative;
  display: flex;
  justify-content: center;
}

.panoramic-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  height: auto;

  /* 【终极清晰度修复】彻底删除强制宽高比和 object-fit 裁剪代码，让图片像素自然一对一映射 */

  /* 强制开启浏览器最高级别的图像渲染引擎，防止缩放导致的边缘发虚 */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: high-quality;
  /* 开启硬件加速，防止抗锯齿算法让图片变糊 */
  transform: translateZ(0);
  backface-visibility: hidden;

  border-radius: 12px;
  /* 用柔和的大面积阴影把横幅托起来 */
  box-shadow: 0 20px 35px rgba(109, 40, 217, 0.15);
  display: block;
}

/* 顶部横幅背后的光效，延伸画面的视觉冲击力 */
.glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 120%;
  background: radial-gradient(
    ellipse,
    rgba(109, 40, 217, 0.25) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(25px);
  z-index: 1;
}

/* --- 3. 重工设计的细节向导模块 --- */
.rich-guide-section {
  padding: 0 16px;
  margin-bottom: 20px;
}

.section-heading {
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  color: var(--text-main);
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.timeline-container {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
}

/* 背景连接线 */
.timeline-container::before {
  content: "";
  position: absolute;
  left: 35px; /* 对齐图标中心 */
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--brand-purple) 0%,
    #d1cdda 50%,
    #d1cdda 100%
  );
  z-index: 0;
}

/* 独立的质感步骤卡片 */
.step-card {
  position: relative;
  z-index: 1;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px; /* 卡片间距稍微收紧 */
  display: flex;
  align-items: center;
  box-shadow: 0 10px 25px rgba(19, 14, 28, 0.04);
  border: 1px solid rgba(255, 255, 255, 1);
  transition: transform 0.2s ease;
}

.step-card:last-child {
  margin-bottom: 0;
}

/* 精致的圆形图标底座 */
.icon-box {
  width: 48px;
  height: 48px;
  background: #f8f7fb;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 18px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
  position: relative;
}

.step-1 .icon-box {
  color: var(--text-light);
}
.step-2 .icon-box {
  background: var(--brand-purple);
  color: #ffffff;
  box-shadow: 0 8px 16px rgba(109, 40, 217, 0.25);
}
.step-3 .icon-box {
  color: var(--brand-gold);
  background: #fffbf0;
}

.icon-box svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 步骤文字排版 */
.step-text-wrapper {
  flex-grow: 1;
}

.step-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand-purple);
  margin-bottom: 4px;
  display: block;
}

.step-3 .step-badge {
  color: var(--brand-gold);
}

.step-text-wrapper h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.step-text-wrapper p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  font-weight: 400;
}

/* --- 4. 底部悬浮栏 --- */
.bottom-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(244, 243, 248, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 16px 20px 28px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.btn-primary {
  width: 100%;
  max-width: 440px;
  background: var(--text-main);
  color: #ffffff;
  text-decoration: none;
  padding: 18px 0;
  border-radius: 18px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 15px 30px rgba(19, 14, 28, 0.2);
  transition: transform 0.2s;
}

.btn-primary:active {
  transform: scale(0.97);
}

/* 微动效礼盒 */
.gift-box-anim {
  width: 24px;
  height: 24px;
  display: block;
}
.gift-lid {
  transform-origin: bottom right;
  animation: lidBounce 2.5s ease-in-out infinite;
}
.gift-star {
  transform-origin: center;
  animation: starTwinkle 2.5s ease-in-out infinite;
}
.star-2 {
  animation-delay: 0.5s;
}

@keyframes lidBounce {
  0%,
  70%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  75% {
    transform: translateY(-4px) rotate(4deg);
  }
  80% {
    transform: translateY(-2px) rotate(-2deg);
  }
  85% {
    transform: translateY(-4px) rotate(2deg);
  }
  90% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes starTwinkle {
  0%,
  70%,
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
  80% {
    opacity: 1;
    transform: scale(1.2);
  }
  90% {
    opacity: 0;
    transform: scale(0.8);
  }
}

.secure-text {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 600;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
