/* ═══════════════════════════════════════════════════════
   Homeva × TFS Flyer Page
   字号/间距/圆角/布局均与 index.html (styles.css) 对齐
   ═══════════════════════════════════════════════════════ */

.homeva-main {
  padding: 24px;
  background: var(--page-bg);
  min-height: calc(100vh - 76px);
}

/* 导航高亮当前页 */
.desktop-nav a.is-active,
.mobile-menu a.is-active {
  color: var(--text-dark);
  font-weight: 600;
}

/* ── Flyer 容器（对齐 solution-panel） ─────────────── */
.flyer {
  position: relative;
  margin: 0;
  padding: clamp(28px, 5vw, 88px);
  background:
    linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.04) 50%),
    linear-gradient(45deg, transparent 60%, rgba(255, 255, 255, 0.03) 60%),
    linear-gradient(180deg, #15326a 0%, #1e3a8a 100%);
  border-radius: 40px;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* 顶部 Logo 区 */
.flyer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 56px;
}

.flyer-logo {
  background: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  display: inline-block;
}

.tfs-mark {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #1e3a8a;
  font-style: italic;
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.tfs-arrow {
  font-size: 36px;
  margin-left: -2px;
  margin-right: -6px;
  font-weight: 800;
}

.tfs-sub {
  font-size: 9px;
  color: #1e3a8a;
  letter-spacing: 0.18em;
  font-weight: 700;
  margin-top: 2px;
  text-align: center;
}

.flyer-plane {
  font-size: 90px;
  color: rgba(255, 255, 255, 0.85);
  transform: rotate(-20deg);
  margin-top: 6px;
  margin-right: 6px;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ── 标题区（对齐 hero-copy） ───────────────────────── */
.flyer-headline {
  margin-bottom: 56px;
}

.flyer-headline h1 {
  font-size: clamp(36px, 5.4vw, 78px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 22px;
  color: #fff;
}

.flyer-headline h2 {
  font-size: clamp(32px, 5vw, 70px);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.5);
}

.flyer-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  padding: 10px 20px;
  background: #e63950;
  border-radius: 8px;
  border-top: none;
}

.flyer-tagline .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e63950;
  display: inline-block;
}

/* ── 视频区 ────────────────────────────────────────── */
.flyer-video {
  margin-bottom: 76px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.flyer-video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* ── 四色卡片区（对齐 feature-grid） ────────────────── */
.flyer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 0;
}

.flyer-card {
  min-height: 214px;
  padding: 24px;
  border-radius: 24px;
  color: #fff;
}

.flyer-card h3 {
  font-size: 21px;
  font-weight: 500;
  margin: 0 0 10px;
  line-height: 1.35;
}

.flyer-card hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  margin: 0 0 14px;
}

.flyer-card p {
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.94);
}

.flyer-card .lead {
  color: #fff;
  font-weight: 600;
  margin-bottom: 6px;
}

.flyer-card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.65;
}

.flyer-card li {
  margin-bottom: 6px;
}

/* 蓝色块 — 门户 */
.card-blue {
  background: linear-gradient(135deg, #2090e4 0%, #1c7fd1 100%);
}

/* 红色块 — Why */
.card-red {
  background: linear-gradient(135deg, #d62246 0%, #b91c3c 100%);
}

/* 浅蓝块 — 合作承诺 */
.card-soft {
  background: linear-gradient(135deg, #d6e7f5 0%, #c5dbf0 100%);
  color: #1e3a8a;
}

.card-soft h3 {
  color: #1e3a8a;
}

.card-soft p {
  color: #1e3a8a;
}

.card-soft hr {
  border-top-color: rgba(30, 58, 138, 0.25);
}

/* 绿色块 — CTA */
.card-green {
  background: linear-gradient(135deg, #6cc24a 0%, #5ab13a 100%);
  display: flex;
  flex-direction: column;
}

.card-green .outline-button {
  margin-top: 24px;
  align-self: flex-start;
}

.card-green .outline-button:hover {
  background: var(--white);
  color: #5ab13a;
}

/* 货船装饰 */
.flyer-ship {
  position: absolute;
  right: 36px;
  bottom: 56px;
  opacity: 0.95;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   响应式（对齐 styles.css 断点值）
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .flyer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .homeva-main {
    padding: 12px;
  }

  .flyer {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .flyer-top {
    margin-bottom: 28px;
  }

  .tfs-mark {
    font-size: 30px;
  }

  .tfs-arrow {
    font-size: 28px;
  }

  .tfs-sub {
    font-size: 7px;
  }

  .flyer-plane {
    font-size: 60px;
  }

  .flyer-headline {
    margin-bottom: 28px;
  }

  .flyer-headline h1 {
    font-size: clamp(36px, 5.4vw, 78px);
  }

  .flyer-headline h2 {
    font-size: clamp(32px, 5vw, 70px);
  }

  .flyer-video {
    margin-bottom: 36px;
    border-radius: 12px;
  }

  .flyer-video video {
    border-radius: 12px;
  }

  .flyer-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .flyer-card {
    min-height: 150px;
    padding: 22px;
    border-radius: 20px;
  }

  .flyer-card h3 {
    font-size: 21px;
  }

  .flyer-card p {
    font-size: 14px;
  }

  .flyer-card ul {
    font-size: 13px;
  }

  .flyer-ship {
    right: 16px;
    bottom: 48px;
  }

  .flyer-ship svg {
    width: 100px;
    height: 40px;
  }
}
