/* ==========================================================
   拾车道官网 界面优化层（2026-10-17）
   原则：不改结构，仅视觉升级；品牌蓝 #1a66ff / #0088ff
   ========================================================== */

:root {
  --tl-blue: #1a66ff;
  --tl-blue-deep: #0d4fd6;
  --tl-blue-light: #e8f0ff;
  --tl-ink: #262626;
  --tl-ink-sub: #666;
  --tl-radius: 10px;
  --tl-shadow: 0 10px 30px rgba(13, 82, 211, .10);
  --tl-shadow-hover: 0 18px 44px rgba(13, 82, 211, .18);
}

/* ---------- 全局字体渲染 ---------- */
html { scroll-behavior: smooth; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { -webkit-user-drag: none; }
a { transition: color .25s ease; }

/* ---------- 顶部导航：毛玻璃 + 柔影 ---------- */
.navbar-fixed-top,
.header-area,
.navbar {
  box-shadow: 0 2px 16px rgba(13, 52, 131, .08);
}
.navbar-nav > li > a { transition: color .25s ease; position: relative; }
.nav > li > a:focus,
.nav > li > a:hover { color: var(--tl-blue); }

/* 二级菜单条更轻 */
.menu-subclass {
  background: linear-gradient(90deg, var(--tl-blue), #0a84ff);
  box-shadow: 0 6px 18px rgba(13, 52, 131, .22);
}

/* ---------- 按钮现代化 ---------- */
.ready-btn {
  border-radius: 999px !important;
  width: auto !important;
  min-width: 160px;
  padding: 12px 28px !important;
  box-shadow: 0 8px 22px rgba(26, 102, 255, .30);
}
.ready-btn:hover {
  background: var(--tl-blue-deep) !important;
  border-color: var(--tl-blue-deep) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 102, 255, .38);
}

/* 「了解详情」按钮 */
.ad-item-container .detail-button-cotnainer {
  border-radius: 999px !important;
  transition: all .25s ease;
}
.ad-item-container .detail-button-cotnainer:hover {
  background: var(--tl-blue);
  box-shadow: 0 6px 16px rgba(26, 102, 255, .30);
}
.ad-item-container .detail-button-cotnainer:hover a { color: #fff !important; }

/* ---------- 板块标题更精致 ---------- */
.title-container .title { position: relative; padding-bottom: 14px; }
.title-container .title:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 4px;
  margin-left: -24px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--tl-blue), #0a84ff);
}
.title-container .title-desc { color: var(--tl-ink-sub); }

/* ---------- 产品/功能卡片：柔影 + 悬浮 ---------- */
.ad-item-container,
.function-item-container {
  border-radius: var(--tl-radius);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ad-item-container:hover,
.function-item-container:hover {
  transform: translateY(-4px);
}
/* 图片保持原版直角展示，不加阴影/缩放（2026-10-20 恢复） */

/* ---------- 轮播控件 ---------- */
.owl-dot { transition: all .3s ease; }
.owl-dots .active { width: 36px !important; }
.intro-carousel.owl-carousel.owl-theme .owl-controls .owl-nav div.owl-next,
.intro-carousel.owl-carousel.owl-theme .owl-controls .owl-nav div.owl-prev {
  border-radius: 50% !important;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, .12);
}

/* ---------- 页脚：统一蓝色系，去掉模板残留的橙/绿 ---------- */
/* 页脚保持原版背景图与底色（2026-10-20 恢复） */
.footer-icons ul li a {
  background: var(--tl-blue) !important;
  border-radius: 50% !important;
  transition: all .3s ease;
}
.footer-icons ul li a:hover {
  background: #fff !important;
  color: var(--tl-blue) !important;
  transform: translateY(-2px);
}
.footer-list li a { transition: color .25s ease, padding-left .25s ease; }
.footer-list li a:hover { color: #6ea8ff !important; padding-left: 26px; }
.footer-list li a:hover:after { background: #6ea8ff !important; }
.footer-contacts span,
.footer-list li a:hover { color: #6ea8ff; }
.suscribe-input button {
  background: var(--tl-blue) !important;
  border-left-color: var(--tl-blue) !important;
  border-radius: 0 8px 8px 0;
  transition: all .3s ease;
}
.suscribe-input button:hover {
  background: var(--tl-blue-deep) !important;
  border-left-color: var(--tl-blue-deep) !important;
}

/* ---------- 表单控件 ---------- */
input[type="text"], input[type="tel"], input[type="email"], textarea, select {
  border-radius: 8px !important;
  transition: border-color .25s ease, box-shadow .25s ease;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--tl-blue) !important;
  box-shadow: 0 0 0 3px rgba(26, 102, 255, .15) !important;
  outline: none;
}

/* ---------- 图片展示 ---------- */
/* 图片圆角移除，保持原版（2026-10-20 恢复） */

/* ---------- 返回顶部等悬浮件 ---------- */
.footer-icons ul li a:focus { outline: none; }

/* ---------- 移动端微调 ---------- */
@media (max-width: 768px) {
  .title-container .title { font-size: 26px !important; }
  .title-container .title-desc { font-size: 14px !important; }
  .ready-btn { min-width: 140px; padding: 10px 22px !important; }
}

/* ---------- 主分类导航条：蓝色回归 + 适度轻量（2026-10-20 v3） ---------- */
.menu-subclass {
  background: linear-gradient(90deg, var(--tl-blue), #0a84ff) !important;
  box-shadow: 0 4px 14px rgba(13, 52, 131, .18) !important;
}
.menu-subclass a {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 500;
  line-height: 52px !important;
  height: 52px !important;
  transition: color .25s ease;
}
.menu-subclass li {
  margin: 0 16px !important;
  border-bottom: 2px solid transparent !important;
  transition: border-color .25s ease;
}
.menu-subclass li:hover {
  border-bottom-color: rgba(255, 255, 255, .9) !important;
  cursor: pointer;
}
.menu-subclass li:hover a { color: #fff !important; }
.menuSow-class > .active { border-bottom: 2px solid #fff !important; }
.menuSow-class > .active a { color: #fff !important; }
.otherTitle .menuSow { border-radius: 6px; transition: background .25s ease; }

/* ---------- 修复：导航下拉弹框蓝底蓝字看不见 ---------- */
.otherTitle {
  background: rgba(255, 255, 255, .97) !important;
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 14px 34px rgba(13, 52, 131, .18) !important;
  padding: 6px 0;
}
.menu-subclass li .otherTitle .menuSow a,
.menu-subclass li .otherTitle a.menuSow {
  color: #333 !important;
  font-size: 14px !important;
}
.menu-subclass li .otherTitle .menuSow:hover { background: var(--tl-blue-light) !important; }
.menu-subclass li .otherTitle .menuSow:hover a { color: var(--tl-blue) !important; }

/* ---------- 滚动渐入（2026-10-20 v4） ---------- */
body.tl-anim .tl-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1);
}
body.tl-anim .tl-reveal.tl-in {
  opacity: 1;
  transform: none;
}

/* ---------- 首屏 Banner 提质（2026-10-20 v4） ---------- */
.banner-container .down-banner-container h1.title {
  font-weight: 700 !important;
  text-shadow: 0 2px 18px rgba(3, 30, 90, .38);
}
.banner-container .down-banner-container h1.title span {
  text-shadow: 0 0 24px rgba(129, 251, 255, .5);
}
/* 纯淡入：不用 transform，避免把容器变成 absolute 后代的新包含块导致图片错位 */
.float-banner, .banner-container .down-banner-container {
  animation: tlFadeIn .9s ease both;
}
@keyframes tlFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.pc-down-container > div:first-child {
  transition: transform .3s ease, box-shadow .3s ease;
}
.pc-down-container > div:first-child:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(3, 30, 90, .35);
}
.intro-carousel { animation: tlFadeIn 1s ease both; }
@media (prefers-reduced-motion: reduce) {
  body.tl-anim .tl-reveal { opacity: 1; transform: none; transition: none; }
  .float-banner, .banner-container .down-banner-container, .intro-carousel { animation: none; }
}
