/* ========================================
   HERO SECTION - 1:1复刻Gemini版本
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&display=swap');

/* 完全按照Gemini的样式 */
.section--hero {
  min-height: 100vh;
  background-color: #000000;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(24px, 4vw, 80px) 48px;
}

.hero__container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Left Content - 完全复刻 */
.hero__content {
  z-index: 10;
}

.hero__label {
  margin-bottom: 24px;
}

.hero__problem-tag {
  display: inline-block;
  background-color: #ff2d55;
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  margin-bottom: 24px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

/* 标题完全按照Gemini的规格 - 紧凑排版 */
.hero__headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 6vw, 8rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.8;
  letter-spacing: -0.025em;
  margin-bottom: 48px;
  text-transform: uppercase;
  color: white;
}

.hero__headline-line {
  display: block;
  margin: 0;
  padding: 0;
}

/* 青色发光文字 */
.hero__highlight {
  color: #00f2ea;
  text-shadow: 0 0 20px rgba(0, 242, 234, 0.5);
}

.hero__normal {
  color: white;
}

/* CTA按钮完全复刻 */
.hero__cta {
  margin-bottom: 0;
}

.hero__cta-button {
  background-color: #ff2d55;
  color: white;
  padding: 20px 32px;
  border: none;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 45, 85, 0.3);
  transition: all 0.2s ease;
}

.hero__cta-button:hover {
  box-shadow: 0 15px 40px rgba(255, 45, 85, 0.5);
  transform: scale(1.02);
  text-decoration: none;
}

.hero__cta-button:active {
  transform: scale(0.98);
}

/* Right Visual - 完全复刻手机排列 */
.hero__visual {
  position: relative;
  height: 500px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero__visual {
    height: 700px;
  }
}

.hero__phones-stack {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Phone 1 (Left) - 完全按照Gemini规格 */
.hero__phone--back {
  position: absolute;
  width: 160px;
  height: 320px;
  aspect-ratio: 9/19;
  background-color: #18181b;
  border-radius: 2.5rem;
  border: 6px solid #27272a;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: rotate(-12deg) translateX(-120px);
  z-index: 0;
  opacity: 0.5;
}

@media (min-width: 768px) {
  .hero__phone--back {
    width: 224px;
    height: 448px;
  }
}

/* Phone 2 (Right) - 完全按照Gemini规格 */
.hero__phone--front {
  position: absolute;
  width: 160px;
  height: 320px;
  aspect-ratio: 9/19;
  background-color: #18181b;
  border-radius: 2.5rem;
  border: 6px solid #27272a;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: rotate(12deg) translateX(120px);
  z-index: 0;
  opacity: 0.5;
}

@media (min-width: 768px) {
  .hero__phone--front {
    width: 224px;
    height: 448px;
  }
}

/* Phone 3 (Center Front) - 完全按照Gemini规格 */
.hero__phone--middle {
  position: relative;
  width: 208px;
  height: 416px;
  aspect-ratio: 9/19;
  background-color: #18181b;
  border-radius: 3rem;
  border: 8px solid #27272a;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.8);
  z-index: 20;
  animation: float 4s ease-in-out infinite;
}

@media (min-width: 768px) {
  .hero__phone--middle {
    width: 256px;
    height: 512px;
  }
}

/* 浮动动画 - 复刻motion效果 */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* 手机内容 */
.hero__phone-frame {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero__phone-content {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

/* 视频特定样式 */
video.hero__phone-content {
  border-radius: inherit;
}

/* 去掉背景手机的灰度滤镜，保持彩色视频 */

/* 去掉所有TikTok UI元素，保持简洁 */

/* Decorative Glow - 复刻背景发光 */
.hero__visual::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 234, 0.1) 0%, transparent 70%);
  z-index: -10;
  pointer-events: none;
}

/* Background Accents - 复刻底部装饰线 */
.section--hero::before {
  content: '';
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 45, 85, 0.5), transparent);
}

/* 底部文字 */
.hero__bottom-text {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6B6880;
  font-family: 'Inter', sans-serif;
}

/* 移动端响应式 - 按照Gemini的断点 */
@media (max-width: 1024px) {
  .hero__container {
    gap: 48px;
  }

  .hero__headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }
}

@media (max-width: 768px) {
  .hero__container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__content {
    text-align: center;
  }

  .hero__headline {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .hero__visual {
    height: 400px;
  }

  .hero__phone--back {
    transform: rotate(-12deg) translateX(-80px);
  }

  .hero__phone--front {
    transform: rotate(12deg) translateX(80px);
  }
}
