/* 领航航空官网 — 稳重商务·科技蓝 */

:root {
  --primary: #1a5fb4;
  --primary-deep: #12417c;
  --bg: #ffffff;
  --bg2: #f5f8fc;
  --line: #e3eaf3;
  --text: #1f2d3d;
  --muted: #5f7185;
  --accent: #f59e0b;
  --maxw: 1140px;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  font-size: 15px;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-deep); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ===== 顶栏 ===== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-size: 20px; font-weight: 800; color: var(--primary-deep); display: flex; align-items: center; gap: 10px; }
.logo .mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #3d8bdc);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text); font-size: 15px; }
.nav-links a:hover { color: var(--primary); }
.nav-cta {
  background: var(--primary); color: #fff !important;
  padding: 9px 20px; border-radius: 22px; font-weight: 600;
}
.nav-cta:hover { background: var(--primary-deep); }

/* ===== Hero ===== */
.hero {
  padding: 90px 0 80px;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(26,95,180,.10), transparent 50%),
    linear-gradient(180deg, #f7fafe 0%, #ffffff 100%);
}
.hero .tag-line {
  display: inline-block; background: rgba(26,95,180,.08); color: var(--primary);
  font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 16px; margin-bottom: 20px;
}
.hero h1 { font-size: 40px; line-height: 1.25; font-weight: 800; max-width: 720px; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p.sub { margin-top: 16px; font-size: 17px; color: var(--muted); max-width: 620px; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 26px;
  font-weight: 600; font-size: 15px; border: none; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); color: #fff; }
.btn-ghost { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: #f2f7fd; color: var(--primary-deep); }
.hero-stats { margin-top: 52px; display: flex; gap: 48px; flex-wrap: wrap; }
.stat b { display: block; font-size: 32px; color: var(--primary); font-weight: 800; }
.stat span { color: var(--muted); font-size: 14px; }

/* ===== Hero 背景图版（参考全球低空科技公司风格） ===== */
.hero-bg {
  position: relative; overflow: hidden; isolation: isolate;
  background: #0d2544; color: #fff;
}
.hero-bg h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-bg h1 em { color: #8ec3ff; }
.hero-bg p.sub { color: rgba(255,255,255,.88); }
.hero-bg .tag-line { background: rgba(255,255,255,.14); color: #dceeff; }
.hero-bg .btn-ghost { background: rgba(255,255,255,.06); color: #fff; border: 1.5px solid rgba(255,255,255,.65); }
.hero-bg .btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }

/* Hero 数据条：半透明卡片式（紧凑版），数字大字小字居中，悬浮高亮 */
.hero-bg .hero-stats { margin-top: 44px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-bg .stat {
  flex: 1; min-width: 110px; max-width: 205px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s, transform .2s;
}
.hero-bg .stat:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
  transform: translateY(-3px);
}
.hero-bg .stat b {
  font-size: 30px; font-weight: 800; color: #fff;
  line-height: 1; letter-spacing: -.5px;
}
.hero-bg .stat span { font-size: 13px; color: rgba(255,255,255,.78); white-space: normal; line-height: 1.5; text-align: center; }
@media (max-width: 760px) {
  .hero-bg .stat { min-width: 100px; padding: 12px 10px; }
  .hero-bg .stat b { font-size: 26px; }
}

/* ===== 锚点定位偏移（避开吸顶导航栏）+ 平滑滚动 ===== */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }

/* ===== 区块 ===== */
section { padding: 72px 0; }
.section-title { font-size: 30px; font-weight: 800; margin-bottom: 10px; text-align: center; }
.section-sub { color: var(--muted); text-align: center; max-width: 680px; margin: 0 auto 44px; }
.sec-bg { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 8px 28px rgba(26,95,180,.10); }

/* 整卡可点击 */
.card.clickable { position: relative; cursor: pointer; }
.card.clickable:hover { border-color: var(--primary); box-shadow: 0 8px 28px rgba(26,95,180,.16); }
.card.clickable .cover { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card.clickable a:not(.cover) { position: relative; z-index: 2; }
.card .icon {
  width: 48px; height: 48px; border-radius: 10px; font-size: 24px;
  background: rgba(26,95,180,.08); display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; color: var(--primary);
}
.card .icon img { width: 26px; height: 26px; display: block; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; }

/* 产品图：统一高度、完整展示、浅灰渐变底 */
.card img.prod {
  width: 100%; height: 220px; object-fit: contain;
  background: linear-gradient(180deg, #f5f8fc, #e9eff7);
  border-radius: 8px; margin-bottom: 14px;
}

/* ===== 表格 ===== */
table { width: 100%; border-collapse: collapse; margin: 20px 0; background: #fff; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
th { background: var(--bg2); color: var(--primary-deep); font-weight: 700; }
tr:hover td { background: #f8fbff; }

/* ===== 表单 ===== */
form label { display: block; margin: 16px 0 6px; color: var(--muted); font-size: 14px; }
input, textarea, select {
  width: 100%; padding: 12px 14px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--text);
  font-size: 15px; font-family: inherit;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); }
textarea { min-height: 120px; resize: vertical; }

/* ===== 提示条 ===== */
.callout {
  border-left: 4px solid var(--accent);
  background: #fffaf0;
  padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 20px 0;
  font-size: 14px; color: var(--text);
}

/* ===== 页脚 ===== */
footer {
  background: #14273c; color: #b8c6d8; padding: 52px 0 30px; font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 34px; }
.footer-grid h4 { color: #fff; margin-bottom: 12px; font-size: 15px; }
.footer-grid a { display: block; color: #b8c6d8; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.footer-bottom a { color: #b8c6d8; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-logo { font-size: 18px; font-weight: 800; color: #fff; }

/* ===== 响应式 ===== */
@media (max-width: 760px) {
  .hero h1 { font-size: 29px; }
  .nav-links { gap: 16px; overflow-x: auto; }
  .hero-stats { gap: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 25px; }
}

/* ============================================================
   动效体系（2026-09-09 升级）：纯原生实现，零 CDN 依赖
   —— 滚动入场 / 数字滚动 / Ken Burns / 流光按钮 / 进度条
   ============================================================ */

/* ---- 滚动入场（JS 加 .reveal，进入视口加 .in，动画结束自动清理） ---- */
.reveal { opacity: 0; }
.reveal.in { animation: fadeUp .75s cubic-bezier(.22, .61, .36, 1) both; animation-delay: var(--d, 0ms); }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* 区块标题下划线：随入场动画从左展开 */
.section-title::after {
  content: ''; display: block; width: 56px; height: 4px; margin: 14px auto 0;
  background: linear-gradient(90deg, var(--primary), #4da3ff); border-radius: 2px;
}
.reveal.section-title::after {
  transform: scaleX(0); transform-origin: left center;
  transition: transform .8s cubic-bezier(.22, .61, .36, 1) .3s;
}
.reveal.section-title.in::after { transform: scaleX(1); }

/* ---- Hero 背景 Ken Burns 缓慢推进 ---- */
.hero-bg::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(8,22,42,.88) 0%, rgba(13,38,70,.78) 45%, rgba(20,52,92,.55) 100%),
    url('../images/hero-bg.jpg?v=2') center 35% / cover no-repeat;
  animation: kenburns 14s ease-out both;
}
@keyframes kenburns { from { transform: scale(1.1); } to { transform: scale(1); } }

/* ---- 顶部滚动进度条（JS 注入） ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--primary), #4da3ff);
  border-radius: 0 3px 3px 0; z-index: 1001;
}

/* ---- 导航：滚动后加深阴影 + 链接下划线滑入 ---- */
header { transition: box-shadow .3s; }
header.scrolled { box-shadow: 0 4px 18px rgba(15, 40, 80, .10); }
.nav-links a:not(.nav-cta) { position: relative; }
.nav-links a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 100%; height: 2px;
  background: var(--primary); border-radius: 1px;
  transform: scaleX(0); transform-origin: left center; transition: transform .3s;
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

/* ---- 卡片 hover 升级：上浮 + 阴影加深 + 图标微动 ---- */
.card {
  transition: box-shadow .3s cubic-bezier(.22, .61, .36, 1), transform .3s cubic-bezier(.22, .61, .36, 1), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(26, 95, 180, .14); }
.card.clickable:hover { border-color: var(--primary); box-shadow: 0 14px 34px rgba(26, 95, 180, .18); }
.card .icon { transition: transform .3s cubic-bezier(.22, .61, .36, 1); }
.card:hover .icon { transform: translateY(-3px) scale(1.07); }

/* ---- 主按钮：流光扫过 + 上浮 ---- */
.btn-primary {
  position: relative; overflow: hidden;
  transition: background .3s, transform .3s, box-shadow .3s;
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .32), transparent);
  transform: skewX(-20deg); transition: left .55s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(26, 95, 180, .35); }
.btn-primary:hover::after { left: 125%; }

/* ---- 无障碍降级：用户偏好减少动态效果 ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; }
  .reveal.in { animation: none; }
  .hero-bg::before { animation: none; }
  .scroll-progress { display: none; }
}

/* ============================================================
   导航下拉菜单（2026-09-09 新增）
   —— 产品中心 / 业务板块 / 解决方案，悬停展开带描述菜单
   ============================================================ */

.dropdown { position: relative; display: flex; align-items: center; }

/* 三角指示箭头：悬停翻转 */
.dropdown > a .caret {
  display: inline-block; margin-left: 6px; vertical-align: 2px;
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .25s;
}
.dropdown:hover > a .caret { transform: rotate(180deg); }

/* 下拉面板：上浮淡入 */
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 260px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 18px 44px rgba(15, 40, 80, .16);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s, transform .25s cubic-bezier(.22, .61, .36, 1), visibility .25s;
  z-index: 101;
}
/* 桥接层：鼠标从链接移向面板经过间隙时不掉菜单 */
.dropdown-menu::before {
  content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* 菜单项：标题 + 描述双行，悬停右移 */
.dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 7px;
  color: var(--text);
  transition: background .2s, padding-left .2s;
}
.dropdown-menu a:hover { background: rgba(26, 95, 180, .06); padding-left: 18px; }
.dropdown-menu .dd-title { display: block; font-weight: 600; font-size: 14px; color: var(--text); }
.dropdown-menu a:hover .dd-title { color: var(--primary); }
.dropdown-menu .dd-desc { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.dropdown-menu .dd-sep { height: 1px; background: var(--line); margin: 6px 10px; }

/* 移动端：导航横向滚动，下拉菜单收起（链接本身仍可直达） */
@media (max-width: 760px) {
  .dropdown-menu { display: none; }
  .dropdown > a .caret { display: none; }
}

/* ============================================================
   锚点过滤视图（2026-09-09 新增）
   —— 点具体产品/板块只显示对应区块，顶部提示条一键返回全部
   ============================================================ */

.view-all-bar {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  max-width: var(--maxw); margin: 18px auto 0; padding: 12px 18px;
  background: rgba(26, 95, 180, .06);
  border: 1px dashed rgba(26, 95, 180, .4);
  border-radius: 10px; font-size: 14px;
}
.view-all-bar span { color: var(--text); font-weight: 600; }
.view-all-bar a { font-weight: 700; }

/* ============================================================
   新闻中心（2026-09-09 新增）
   —— 首页新闻卡 + 列表页时间轴
   ============================================================ */

/* 首页新闻卡 */
.news-card .news-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.news-date { font-size: 20px; font-weight: 800; color: var(--primary); letter-spacing: .5px; }
.news-tag {
  font-size: 12px; font-weight: 600; color: #fff;
  background: var(--primary-deep); padding: 3px 10px; border-radius: 12px;
}
.news-card h3 { font-size: 16px; line-height: 1.5; }
.news-more { margin-top: 12px; font-size: 13px; }
/* 领导调研/专家走访类：金色标签突出 */
.news-tag.tag-gold { background: var(--accent); }

/* 列表页时间轴 */
.timeline { max-width: 780px; margin: 0 auto; }
.tl-item { position: relative; padding: 0 0 42px 118px; }
.tl-item::before {
  content: ''; position: absolute; left: 88px; top: 14px; bottom: -6px;
  width: 2px; background: linear-gradient(180deg, var(--primary), var(--line));
}
.tl-item:last-child::before { display: none; }
.tl-dot {
  position: absolute; left: 79px; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 5px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(26, 95, 180, .12);
}
.tl-date {
  position: absolute; left: 0; top: 2px;
  font-size: 17px; font-weight: 800; color: var(--primary-deep);
  letter-spacing: .5px;
}
.tl-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 22px 26px;
  transition: box-shadow .3s cubic-bezier(.22, .61, .36, 1), transform .3s cubic-bezier(.22, .61, .36, 1);
}
.tl-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(26, 95, 180, .12); }
.tl-card h3 { font-size: 17px; margin: 10px 0 8px; }
.tl-card p { color: var(--muted); font-size: 14px; }
.tl-tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--primary);
  background: rgba(26, 95, 180, .08); padding: 3px 10px; border-radius: 12px;
}
.tl-tag.tag-gold { color: #b45309; background: rgba(245, 158, 11, .15); }

/* 阅读全文折叠 */
.tl-details { margin-top: 12px; }
.tl-details summary {
  display: inline-block; cursor: pointer; list-style: none;
  font-size: 13px; font-weight: 600; color: var(--primary);
  padding: 6px 14px; border: 1px solid var(--primary); border-radius: 16px;
  transition: background .2s, color .2s;
}
.tl-details summary::-webkit-details-marker { display: none; }
.tl-details summary:hover { background: var(--primary); color: #fff; }
.tl-details[open] summary { background: var(--primary); color: #fff; }
.tl-details[open] p {
  margin-top: 14px; padding: 14px 16px;
  background: var(--bg2); border-radius: 8px; color: var(--text);
}

/* 移动端时间轴压缩 */
@media (max-width: 760px) {
  .tl-item { padding-left: 0; padding-top: 46px; }
  .tl-item::before { left: 10px; top: 56px; }
  .tl-dot { left: 1px; top: 48px; }
  .tl-date { left: 32px; top: 46px; }
}

/* ============================================================
   公众号式新闻排版（2026-09-09 改造）
   —— 标题居中 + meta 行 + 正文段落 + 配图图注 + 分隔线
   ============================================================ */

.post { max-width: 780px; margin: 0 auto; }
.post-meta {
  display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px; text-align: center;
}
.post-title {
  font-size: 23px; font-weight: 800; text-align: center;
  line-height: 1.45; margin: 14px 0 4px; color: var(--text);
}
.post-body { margin-top: 22px; }
.post-body p {
  font-size: 15px; color: var(--text); text-align: justify;
  line-height: 1.9; margin-bottom: 16px;
}
.post-body img {
  display: block; width: 100%; border-radius: 8px;
  margin: 18px auto 6px;
}
.post-fig {
  text-align: center !important; font-size: 12px;
  color: var(--muted); margin-bottom: 20px !important;
}
.post-sep { border: none; border-top: 1px solid var(--line); max-width: 780px; margin: 48px auto; }

@media (max-width: 760px) {
  .post-title { font-size: 19px; }
}

/* ============================================================
   新闻列表（2026-09-09 新增）：列表 → 点击进入详情
   ============================================================ */

.news-list-wrap { max-width: 780px; margin: 0 auto; }
.news-item {
  display: flex; align-items: center; gap: 26px;
  padding: 20px 26px; margin-bottom: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); text-decoration: none;
  transition: box-shadow .3s cubic-bezier(.22, .61, .36, 1), transform .3s cubic-bezier(.22, .61, .36, 1), border-color .3s;
}
.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(26, 95, 180, .13);
  border-color: var(--primary);
}
.ni-date {
  min-width: 104px; text-align: center;
  font-size: 15px; font-weight: 800; color: var(--primary); letter-spacing: .5px;
  line-height: 1.6; word-break: keep-all;
}
.ni-body { flex: 1; }
.ni-body h3 { font-size: 16px; margin: 7px 0 4px; color: var(--text); line-height: 1.5; }
.news-item:hover .ni-body h3 { color: var(--primary); }
.ni-body p { font-size: 13px; color: var(--muted); }
.ni-arrow { color: var(--primary); font-size: 22px; font-weight: 700; transition: transform .3s; }
.news-item:hover .ni-arrow { transform: translateX(5px); }

@media (max-width: 760px) {
  .news-item { gap: 16px; padding: 16px 18px; }
  .ni-date { min-width: 78px; font-size: 12px; }
  .ni-arrow { display: none; }
}
