/* 全局平滑滚动 */
html {
  scroll-behavior: smooth;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(6px);
}

.wp-block-cover {
  min-height: 100vh;
}

.hero-sub {
  color: rgba(240, 245, 255, 0.85);
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.hero-badge span {
  display: inline-block;
  width: 100%;
  text-align: center;
}

.hero-title {
  color: #ffffff;
  font-weight: 700;
}

.hero-highlight {
  color: var(--wp--preset--color--accent);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
}

.hero-seats {
  font-size: 0.95rem;
  color: var(--wp--preset--color--accent);
}

/* CTA 按钮样式 */
.hero-cta-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f98c1f !important;
  /* 明亮橙色 */
  color: #fff !important;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 22px 42px;
  border-radius: 10px;
  /* 注意，不是圆形，是轻微圆角矩形 */
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.hero-cta-button .wp-block-button__link:hover {
  background: #e57c17 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

/* CTA 信息样式 */
.hero-cta-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-cta-info .cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #e57c17;
  border: 1px solid;
  border-color: #e57c17;
  border-radius: 50%;
  font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .wp-block-cover h1 {
    font-size: 2rem !important;
  }

  .wp-block-cover p {
    font-size: 1rem !important;
  }

  .hero-cta-button .wp-block-button__link {
    font-size: 1rem !important;
    padding: 12px 24px !important;
  }
}

.pain-points-section {
  background: #f8fafc;
}

.pain-point-card {
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
}

/* hover 效果：阴影加深、图标反转 */
.pain-point-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pain-point-icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  background: #eff6ff;
  /* 浅蓝底 */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #223B5C;
  /* 深蓝线条 */
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

/* Lucide 图标为 SVG，需要用 stroke 来控制颜色 */
.pain-point-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
  stroke: currentColor;
  transition: all 0.3s ease;
}

/* 当卡片 hover 时，图标颜色反转 */
.pain-point-card:hover .pain-point-icon {
  background: #223B5C;
  color: #eff6ff;
  transform: scale(1.05);
}

/* Solution Section Styles */
.solution-section {
  background: #fafafa;
}

.solution-section .solution-columns {
  align-items: center;
  gap: 80px !important;
}

.solution-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: #FEF5EA;
  color: #f97316 !important;
  border: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* 标题样式 */
.solution-section h2 {
  color: #1e293b;
  line-height: 1.2 !important;
  margin-bottom: 24px !important;
}

.solution-section h2 span {
  color: #f59e0b;
}

/* 描述文字 */
.solution-section>.wp-block-columns>.wp-block-column:first-child>p {
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 48px !important;
}

/* Feature Items Container */
.solution-features {
  gap: 32px !important;
}

.solution-feature-item {
  gap: 16px !important;
  align-items: flex-start !important;
}

/* Icon Wrapper */
.solution-icon-wrapper {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 8px;
  background: #F6F6F8;
  border: 2px solid #F6F6F8;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.solution-icon {
  width: 28px;
  height: 28px;
  color: #1e293b;
  stroke-width: 2;
}

/* Feature Content */
.solution-feature-item h3 {
  color: #1e293b;
  margin-top: 0 !important;
  margin-bottom: 8px !important;
}

.solution-feature-item .has-muted-foreground-color {
  color: #64748b !important;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 0;
}

/* Right Column - Image */
.solution-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  background: #ffffff;
  transition: all 0.3s ease-in-out;
}

.solution-main-image {
  margin: 0;
}

.solution-main-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 500px;
  border-radius: 0;
  display: block;
}

/* Image Overlay */
.solution-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 24px 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  align-items: center !important;
  gap: 20px;
}

.solution-image-overlay .wp-block-group:first-child {
  flex: 1;
}

.solution-image-overlay p {
  margin: 0 !important;
}

.solution-image-overlay p:first-child {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.solution-image-overlay p:last-of-type {
  font-size: 1rem;
  color: #1e293b;
  font-weight: 700;
  margin-top: 4px !important;
}


/* Check Icon */
.solution-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #22c55e;
  border: 2px solid;
  border-color: #22c55e;
  border-radius: 50%;
  font-size: 18px;
}

/* Responsive */
@media (max-width: 782px) {
  .solution-section .solution-columns {
    gap: 48px !important;
  }

  .solution-section h2 {
    font-size: 1.875rem !important;
  }

  .solution-features {
    gap: 24px !important;
  }

  .solution-icon-wrapper {
    width: 48px;
    height: 48px;
  }

  .solution-icon {
    width: 24px;
    height: 24px;
  }

  .solution-main-image img {
    min-height: 350px;
  }
}

/* ================================
   TRUST SECTION
   ================================ */

.trust-section {
  background: #13284c;
  color: #ffffff;
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

/* 标题与文字 */
.trust-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5em;
}

.trust-section p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.8;
}

/* 卡片布局 */
.trust-card {
  background: transparent;
  border-radius: 16px;
  text-align: center;
  color: #ffffff;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.trust-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 图标容器 */
.trust-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.trust-icon {
  width: 36px;
  height: 36px;
  color: #f97316;
  stroke-width: 2;
  transition: transform 0.4s ease, color 0.4s ease;
}

/* 通用向上滑入动画：初始状态 */
.animate-up {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  will-change: opacity, transform;
}

/* 进入视口后，变为可见 */
.animate-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* WordPress 编辑器环境中禁用动画初始隐藏状态 */
.block-editor-writing-flow .animate-up,
.block-editor-block-list__layout .animate-up,
.wp-block .animate-up {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}



/* ================================
   END TRUST SECTION
   ================================ */
.video-section {
  padding: 80px 0;
  background: #f8fafc;
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  aspect-ratio: 16 / 9;
}

/* 视频本体 */
.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 24px;
}

/* 居中播放按钮层 */
.video-overlay-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay-center {
  opacity: 1;
}

/* 播放按钮样式 */
.video-play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s;
}

.video-card:hover .video-play-button {
  transform: scale(1.08);
}

/* 底部信息层 */
.video-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent);
}

.video-title {
  color: #fff;
  font-size: 1rem;
  margin: 0;
}

.video-duration {
  color: #fff;
  opacity: 0.8;
  font-size: 0.8rem;
  margin: 4px 0 0;
}