/* ===================== 全局基础与三色主题变量 ===================== */
:root {
  --color-main: #165DFF;    /* 深海蓝主色 */
  --color-orange: #FF7D00; /* 活力橙辅色 */
  --color-green: #00C48C;  /* 清新绿点缀 */
  --bg-dark: #0b0f24;
  --bg-dark2: #141938;
  --text-black: #222222;
  --text-gray: #666666;
  --text-light: #999999;
  --white: #ffffff;
  --gray-bg: #eeeeee;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 14px 48px rgba(22, 93, 255, 0.16);
  --radius-md: 10px;
  --radius-lg: 20px;
  --gap: 26px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text-black);
  overflow-x: hidden;
}
ul, ol {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
h2, h3 {
  font-weight: 600;
}
/* 全局容器 */
.hai30-container {
  width: 93%;
  max-width: 1380px;
  margin: 0 auto;
}
.hai30-flex-row {
  display: flex;
  align-items: center;
}
/* 栅格系统：移动端2列，平板及以上4列 */
.hai30-grid-2md {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}
@media (min-width: 768px) {
  .hai30-grid-4lg {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 767px) {
  .hai30-flex-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}

/* ===================== 顶部导航 header ===================== */
.hai30-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 9999;
  background: rgba(11, 15, 36, 0.93);
  backdrop-filter: blur(10px);
}
.hai30-header-inner {
  height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hai30-logo-text {
  font-size: 26px;
  color: var(--white);
  font-weight: 700;
}
/* 汉堡菜单按钮 */
.hai30-menu-btn {
  display: none;
  width: 38px;
  height: 32px;
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
}
.hai30-line {
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  position: absolute;
  left: 0;
  transition: 0.3s ease;
}
.hai30-line:nth-child(1) { top: 0; }
.hai30-line:nth-child(2) { top: 14px; }
.hai30-line:nth-child(3) { bottom: 0; }
.hai30-menu-btn.active .hai30-line:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}
.hai30-menu-btn.active .hai30-line:nth-child(2) {
  opacity: 0;
}
.hai30-menu-btn.active .hai30-line:nth-child(3) {
  transform: rotate(-45deg) translate(10px, -10px);
}
/* 桌面端导航 */
.hai30-nav-ul {
  display: flex;
  gap: 42px;
}
.hai30-nav-item a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  padding: 8px 0;
  position: relative;
  transition: 0.25s ease;
}
.hai30-nav-item.hai30-active a {
  color: var(--color-orange);
}
.hai30-nav-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-orange);
  transition: 0.3s ease;
}
.hai30-nav-item a:hover::after,
.hai30-nav-item.hai30-active a::after {
  width: 100%;
}
/* 移动端导航适配 */
@media (max-width: 768px) {
  .hai30-menu-btn {
    display: block;
  }
  #navBox {
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    height: 0;
    overflow: hidden;
    transition: 0.45s ease;
  }
  #navBox.menu-open {
    height: auto;
    padding: 24px 0;
  }
  .hai30-nav-ul {
    flex-direction: column;
    gap: 40px !important;
    padding: 0 4%;
  }
}

/* ===================== 全局光晕/环形/粒子动画 ===================== */
.hai30-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.64;
  animation: lightFloat 10s ease-in-out infinite alternate;
  z-index: 1;
}
/* 首页banner三色光 */
.light-1 {
  width: 680px;
  height: 680px;
  background: var(--color-main);
  top: -260px;
  left: -200px;
}
.light-2 {
  width: 580px;
  height: 580px;
  background: var(--color-orange);
  bottom: -160px;
  right: -140px;
  animation-delay: 2.5s;
}
.light-3 {
  width: 500px;
  height: 500px;
  background: var(--color-green);
  top: 32%;
  right: 14%;
  animation-delay: 4.8s;
}
/* 内页banner光效 */
.inner-l1 {
  width: 440px;
  height: 440px;
  background: var(--color-main);
  top: -130px;
  left: -120px;
}
.inner-l2 {
  width: 350px;
  height: 350px;
  background: var(--color-green);
  bottom: -100px;
  right: 6%;
  animation-delay: 3.3s;
}
/* 底部转化区光效 */
.conv-l1 {
  width: 560px;
  height: 560px;
  background: var(--color-main);
  top: -220px;
  left: -150px;
}
.conv-l2 {
  width: 470px;
  height: 470px;
  background: var(--color-orange);
  bottom: -130px;
  right: -100px;
  animation-delay: 2.2s;
}
.conv-l3 {
  width: 400px;
  height: 400px;
  background: var(--color-green);
  top: 16%;
  right: 24%;
  animation-delay: 4.4s;
}
/* 数据区块光效 */
.data-light1 {
  width: 430px;
  height: 430px;
  background: var(--color-main);
  top: -190px;
  left: -130px;
}
.data-light2 {
  width: 330px;
  height: 330px;
  background: var(--color-orange);
  bottom: -100px;
  right: 3%;
  animation-delay: 2.8s;
}
@keyframes lightFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(110px, 90px) scale(1.35); }
}
/* 环形扩散动画 */
.hai30-ring-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.hai30-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  animation: ringZoom 8s linear infinite;
}
.ring-out { width: 780px; height: 780px; }
.ring-mid { width: 610px; height: 610px; animation-delay: 2.4s; }
.ring-inner, .ring-small { width: 440px; height: 440px; animation-delay: 4.6s; }
.ring-big { width: 550px; height: 550px; }
@keyframes ringZoom {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0; }
  50% { transform: translate(-50%, -50%) scale(1.4); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.1); opacity: 0; }
}
/* 粒子浮动动画 */
.hai30-particle-group {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.hai30-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.7;
  animation: dotMove 12s ease infinite;
}
.particle-lg .hai30-dot {
  width: 9px;
  height: 9px;
}
.particle-sm .hai30-dot {
  width: 4px;
  height: 4px;
  opacity: 0.5;
}
@keyframes dotMove {
  0% { transform: translate(0, 0); }
  25% { transform: translate(150px, -110px); }
  50% { transform: translate(-90px, 130px); }
  75% { transform: translate(120px, 90px); }
  100% { transform: translate(0, 0); }
}

/* ===================== Banner 区块样式 ===================== */
/* 首页全屏Banner */
.hai30-home-banner {
  margin-top: 74px;
  min-height: 100vh;
  background: linear-gradient(148deg, var(--bg-dark), var(--bg-dark2));
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
/* 内页通用Banner */
.hai30-inner-banner {
  margin-top: 74px;
  height: 400px;
  background: linear-gradient(136deg, #090d22, #151a3c);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hai30-banner-text {
  position: relative;
  z-index: 3;
}
.hai30-big-title {
  font-size: 48px;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.3;
}
.hai30-banner-desc {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
  margin-bottom: 38px;
}
@media (max-width: 768px) {
  .hai30-big-title { font-size: 30px; }
  .hai30-banner-desc { font-size: 16px; }
  .hai30-inner-banner { height: 300px; }
}
/* Banner按钮组 */
.hai30-banner-buttons, .hai30-convert-buttons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
/* 三色按钮 */
.hai30-btn-main {
  padding: 16px 36px;
  background: var(--color-main);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 16px;
  box-shadow: 0 8px 26px rgba(22, 93, 255, 0.3);
  transition: 0.3s ease;
}
.hai30-btn-main:hover {
  background: #196bff;
  transform: translateY(-4px);
}
.hai30-btn-green {
  padding: 16px 36px;
  border: 2px solid var(--color-green);
  color: var(--color-green);
  border-radius: var(--radius-md);
  font-size: 16px;
  transition: 0.3s ease;
}
.hai30-btn-green:hover {
  background: var(--color-green);
  color: #fff;
  transform: translateY(-4px);
}
.hai30-btn-outline {
  padding: 16px 36px;
  border: 2px solid #fff;
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 16px;
  transition: 0.3s ease;
}
.hai30-btn-outline:hover {
  background: #fff;
  color: var(--color-main);
  transform: translateY(-4px);
}

/* ===================== 面包屑 ===================== */
.hai30-breadcrumb-wrap {
  padding: 28px 0;
}
.hai30-breadcrumb-box {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-light);
}
.hai30-bread-icon {
  color: var(--color-orange);
  font-size: 18px;
}
.hai30-breadcrumb-box a {
  color: var(--text-gray);
}
.hai30-breadcrumb-box a:hover {
  color: var(--color-main);
}

/* ===================== 二级子 导航【手机适配修复版】 ===================== */
.hai30-subnav-wrap {
  margin-bottom: 46px;
  /* 手机左右留白，防止贴边截断 */
  padding: 0 4px;
}
.hai30-subnav-ul {
  display: flex;
  gap: 12px; /* 缩小间距，手机容纳更多标签 */
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0; /* 上下增加内边，避免文字贴上下 */
  /* 滚动容器左右预留安全边距 */
  padding-left: 6px;
  padding-right: 6px;
}
/* 美化横向滚动条 */
.hai30-subnav-ul::-webkit-scrollbar {
  height: 5px;
}
.hai30-subnav-ul::-webkit-scrollbar-thumb {
  background: var(--color-main);
  border-radius: 5px;
}
.hai30-subnav-ul::-webkit-scrollbar-track {
  background: #e1e7f0;
  border-radius: 5px;
}
.hai30-subnav-item a {
  display: flex;
  align-items: center;
  gap: 8px; /* 缩小标签与数字间距 */
  white-space: nowrap;
  padding: 12px 20px; /* 减小内边，缩小整体宽度 */
  background: var(--gray-bg);
  border-radius: 50px;
  font-size: 14px; /* 手机字体缩小一号 */
  transition: 0.3s ease;
  flex-shrink: 0; /* 关键：禁止标签压缩，保证完整显示 */
}
.hai30-subnav-item.sub-active a {
  background: linear-gradient(90deg, var(--color-main), var(--color-orange));
  color: #fff;
}
.hai30-sub-badge {
  font-size: 11px; /* 缩小徽章字号 */
  padding: 1px 7px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.1);
}
.sub-active .hai30-sub-badge {
  background: rgba(255, 255, 0.28);
}

/* 单独手机端极致优化（768px以下） */
@media (max-width: 768px) {
  .hai30-subnav-wrap {
    margin-bottom: 32px;
  }
  .hai30-subnav-ul {
    gap: 10px;
    padding-left: 2px;
    padding-right: 2px;
  }
  .hai30-subnav-item a {
    padding: 10px 16px;
    font-size: 13px;
    gap: 6px;
  }
  .hai30-sub-badge {
    font-size: 10px;
    padding: 1px 6px;
  }
}

/* ===================== 通用板块基础样式 ===================== */
.hai30-section {
  padding: 85px 0;
}
.hai30-section-title {
  text-align: center;
  margin-bottom: 50px;
}
.hai30-section-title h2 {
  font-size: 34px;
  margin-bottom: 14px;
  color: var(--bg-dark);
}
.hai30-section-title p {
  font-size: 17px;
  color: var(--text-light);
}
@media (max-width: 768px) {
  .hai30-section { padding: 55px 0; }
  .hai30-section-title h2 { font-size: 26px; }
}
/* 服务卡片 */
.hai30-service-card {
  display: block;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: 0.3s ease;
}
.hai30-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.hai30-card-icon {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(22,93,255,0.12), rgba(255,125,0,0.12));
  border-radius: 50%;
  margin-bottom: 22px;
}
.hai30-service-card h3 {
  font-size: 21px;
  margin-bottom: 14px;
}
.hai30-service-card p {
  color: var(--text-light);
  line-height: 1.75;
  font-size: 14px;
}
/* 首页关于预览 */
.hai30-about-preview .hai30-about-row {
  gap: 44px;
  align-items: center;
}
.hai30-about-img, .hai30-about-text {
  flex: 1;
}
.hai30-about-text h3 {
  font-size: 27px;
  margin-bottom: 18px;
}
.hai30-about-text p {
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 26px;
}
/* 数据统计区块深色 */
.hai30-data-block {
  padding: 85px 0;
  background: linear-gradient(140deg, var(--bg-dark), #171936);
  position: relative;
  overflow: hidden;
}
.hai30-data-card {
  text-align: center;
  padding: 32px 22px;
  position: relative;
  z-index: 3;
}
.hai30-data-num {
  font-size: 44px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--color-orange), var(--color-green));
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}
.hai30-data-desc {
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}
@media (max-width:768px) {
  .hai30-data-num { font-size: 32px; }
}
/* 优势/FAQ图文卡片 */
.hai30-img-card {
  display: block;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.3s ease;
}
.hai30-img-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.hai30-card-pic {
  height: 190px;
  overflow: hidden;
}
.hai30-card-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.45s ease;
}
.hai30-img-card:hover .hai30-card-pic img {
  transform: scale(1.1);
}
.hai30-card-txt {
  padding: 26px;
}
.hai30-card-txt h3 {
  font-size: 19px;
  margin-bottom: 12px;
}
.hai30-card-txt p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
}
.hai30-more-wrap {
  text-align: center;
  margin-top: 44px;
}
.hai30-more-link {
  color: var(--color-main);
  font-size: 16px;
  font-weight: 500;
}
.hai30-more-link:hover {
  color: var(--color-orange);
}

/* ===================== 新闻列表 newslist ===================== */
.hai30-news-list {
  margin-bottom: 65px;
}
.hai30-news-card-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hai30-news-card {
  display: flex;
  gap: 26px;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.3s ease;
}
.hai30-news-card:hover {
  box-shadow: var(--shadow-lg);
}
.hai30-news-pic {
  width: 270px;
  flex-shrink: 0;
}
.hai30-news-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hai30-news-txt {
  padding: 26px 26px 26px 0;
}
.hai30-news-title {
  font-size: 21px;
  margin-bottom: 12px;
}
.hai30-news-title a:hover {
  color: var(--color-main);
}
.hai30-news-time {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 14px;
}
.hai30-news-desc {
  color: var(--text-gray);
  line-height: 1.75;
  font-size: 14px;
}
@media (max-width:768px) {
  .hai30-news-card {
    flex-direction: column;
  }
  .hai30-news-pic {
    width: 100%;
    height: 190px;
  }
  .hai30-news-txt {
    padding: 0 22px 22px;
  }
}
/* 分页 */
.hai30-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
}
.hai30-page-btn {
  padding: 9px 18px;
  border: 1px solid var(--gray-bg);
  border-radius: 6px;
  font-size: 14px;
  transition: 0.28s ease;
}
.hai30-page-btn:hover {
  background: var(--color-main);
  color: #fff;
  border-color: var(--color-main);
}

/* ===================== 新闻详情 news.html ===================== */
.hai30-article-wrap {
  margin-bottom: 65px;
}
.hai30-article-title {
  font-size: 34px;
  margin-bottom: 18px;
  line-height: 1.4;
}
.hai30-article-meta {
  font-size: 14px;
  color: var(--text-light);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--gray-bg);
  margin-bottom: 32px;
}
.hai30-article-body {
  font-size: 17px;
  line-height: 1.95;
  color: #333;
}
.hai30-article-body img {
  border-radius: var(--radius-base);
  margin: 22px auto;
}
.hai30-pre-next {
  margin-top: 54px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-bg);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.hai30-pre, .hai30-next {
  font-size: 16px;
}
.hai30-pre a, .hai30-next a {
  color: var(--color-main);
}
@media (max-width:768px) {
  .hai30-article-title { font-size: 26px; }
}

/* ===================== 富文本通用（about/service正文） ===================== */
.hai30-rich-editor {
  font-size: 17px;
  line-height: 1.95;
  color: #333;
  margin-top: 32px;
}
.hai30-rich-editor h3 {
  margin: 34px 0 18px;
  font-size: 23px;
}
.hai30-rich-editor p {
  margin-bottom: 18px;
}
.hai30-rich-editor img {
  border-radius: var(--radius-md);
  margin: 22px auto;
}

/* ===================== 底部转化区块 ===================== */
.hai30-convert-block {
  padding: 75px 0;
  background: linear-gradient(135deg, #12102c, #1a1744);
  position: relative;
  overflow: hidden;
  margin-top: 65px;
}
.hai30-convert-row {
  justify-content: space-between;
  position: relative;
  z-index: 3;
}
.hai30-convert-title {
  font-size: 36px;
  color: #fff;
  margin-bottom: 14px;
}
.hai30-convert-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
}
@media (max-width:768px) {
  .hai30-convert-title { font-size: 26px; }
  .hai30-convert-block { padding: 55px 0; }
}

/* ===================== 页脚 ===================== */
.hai30-footer {
  background: var(--bg-dark);
  padding: 65px 0 35px;
}
.hai30-footer-row {
  gap: 44px;
  margin-bottom: 44px;
  align-items: flex-start;
}
.hai30-footer-contact, .hai30-footer-link {
  flex: 1;
}
.hai30-contact-item {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  margin-bottom: 14px;
}
.hai30-link-label {
  color: #fff;
  font-size: 17px;
  display: block;
  margin-bottom: 18px;
}
.hai30-link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hai30-friend-link {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}
.hai30-friend-link:hover {
  color: var(--color-orange);
}
.hai30-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  text-align: center;
  color: var(--text-light);
  font-size: 14px;
}
.hai30-sitemap {
  color: var(--color-green);
  margin-left: 12px;
}
@media (max-width:768px) {
  .hai30-footer-row { gap: 32px; }
}