/* ============================================
   Chinese Page Styles (zh-cn.html)
   ============================================ */

/* ---- Atmospheric Hero ---- */
.zh-hero {
  min-height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 56px;
}

/* 3D Grid Background */
.grid-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  perspective: 600px;
  overflow: hidden;
  background: #050505;
  z-index: 0;
}

.grid-plane {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  transform: rotateX(60deg);
  background-image:
    linear-gradient(rgba(200, 16, 46, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 16, 46, 0.3) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridMove 10s linear infinite;
}

.grid-plane.two {
  animation-delay: -5s;
  opacity: 0.6;
}

@keyframes gridMove {
  0% { transform: rotateX(60deg) translateY(0); }
  100% { transform: rotateX(60deg) translateY(80px); }
}

.zh-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}

.zh-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.zh-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.zh-hero .btn-white-ghost {
  padding: 16px 40px;
  font-size: 16px;
}

/* ---- Sticky Content Layout ---- */
.sticky-content {
  background: #fff;
  padding: var(--section-padding) 0;
}

.sticky-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.sticky-visual {
  position: sticky;
  top: 100px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-bg-gray);
}

.sticky-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.sticky-text {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.sticky-section h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.sticky-section p {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ---- Feature Highlights ---- */
.zh-features {
  background: var(--color-bg-gray);
  padding: var(--section-padding) 0;
}

.zh-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.zh-feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zh-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.zh-feature-card svg {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  color: var(--color-accent);
}

.zh-feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.zh-feature-card p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---- Comparison Section ---- */
.zh-comparison {
  background: #fff;
  padding: var(--section-padding) 0;
}

/* ---- Tips Section ---- */
.zh-tips {
  background: var(--color-bg-gray);
  padding: var(--section-padding) 0;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tip-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
}

.tip-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tip-card h4 svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.tip-card p {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ---- CTA Section ---- */
.zh-cta {
  background: var(--color-accent);
  padding: 100px 0;
  text-align: center;
}

.zh-cta h2 {
  color: #fff;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.zh-cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 18px;
  margin-bottom: 32px;
}

.zh-cta .btn-white-ghost {
  padding: 16px 40px;
  font-size: 16px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .sticky-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sticky-visual {
    position: relative;
    top: 0;
    aspect-ratio: 16 / 9;
  }

  .sticky-text {
    gap: 60px;
  }

  .zh-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .zh-features-grid {
    grid-template-columns: 1fr;
  }

  .tips-grid {
    grid-template-columns: 1fr;
  }
}
