:root {
  --primary: #1b6bff;
  --primary-dark: #134ed4;
  --text: #1a2440;
  --muted: #5c6b86;
  --bg: #f4f7fb;
  --card: #ffffff;
  --shadow: 0 18px 40px rgba(16, 32, 62, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 31, 69, 0.08);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(14, 35, 74, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand img {
  height: 46px;
}

.site-nav {
  flex: 1;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  gap: 24px;
  padding: 0;
  margin: 0;
  font-weight: 500;
}

.nav-list a {
  color: #1d2b52;
  padding: 6px 0;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-list a:hover::after,
.nav-list a:focus::after {
  width: 100%;
}

.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 160px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  list-style: none;
  padding: 12px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li + li {
  margin-top: 8px;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search {
  display: flex;
  align-items: center;
  background: #f0f3f9;
  border-radius: 999px;
  padding: 6px 10px;
  gap: 8px;
}

.search input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  width: 120px;
}

.search button {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #1d2b52;
  border-radius: 10px;
}

.hero {
  background: #0b1a33;
  position: relative;
  padding: 0;
}

.hero::before {
  content: none;
}

.hero .swiper {
  position: relative;
  z-index: 1;
}

.hero-slide {
  min-height: 520px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 540px;
  color: #fff;
  padding: 30px 0;
}

.hero-content h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 12px;
}

.hero-sub {
  font-size: 18px;
  margin: 0 0 8px;
  opacity: 0.9;
}

.hero-text {
  font-size: 16px;
  margin-bottom: 24px;
  opacity: 0.85;
}

.hero-pagination {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.hero-pagination.swiper-pagination-inside {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  margin-top: 0;
  z-index: 10;
  justify-content: center;
}

.hero-pagination .swiper-pagination-bullet {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s;
}

.hero-pagination .swiper-pagination-bullet-active {
  background: #ffffff;
  transform: none;
  width: 36px;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-prev {
  left: 10px;
}

.hero-next {
  right: 10px;
}

.search-empty {
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  display: none;
}

.section {
  padding: 80px 0;
}

.section-title h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 12px;
}

.section-title p {
  color: var(--muted);
  max-width: 760px;
  margin: 0;
}

.section-title.light h2,
.section-title.light p {
  color: #fff;
}

.card-grid {
  display: grid;
  gap: 24px;
  margin-top: 36px;
}

.products-grid,
.ai-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(16, 32, 62, 0.18);
}

.card-body {
  padding: 20px 22px 24px;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.ai-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.ai-card img {
  width: 100%;
  object-fit: cover;
}

.section-cta {
  margin-top: 30px;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
}

.btn.primary:hover {
  background: var(--primary-dark);
}

.btn.ghost {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(27, 107, 255, 0.08);
}

.btn.ghost.light {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn.ghost.light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.page-hero {
  position: relative;
  padding: 100px 0 90px;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(9, 20, 46, 0.78), rgba(10, 38, 110, 0.55));
}

.page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-eyebrow {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 12px;
  opacity: 0.85;
}

.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 48px);
  margin: 0 0 14px;
}

.page-hero p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.section-intro {
  max-width: 820px;
  color: var(--muted);
  margin: 0;
}

.media-grid {
  display: grid;
  gap: 28px;
  margin-top: 36px;
}

.media-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.media-card:nth-child(even) {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

.media-card:nth-child(even) .media-text {
  order: 2;
}

.media-text h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.media-text p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 24px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(27, 107, 255, 0.08);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-top: 36px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.image-grid img {
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.detail-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.detail-list li {
  margin-bottom: 10px;
}

.solution-tabs,
.scenario-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.light-section {
  background: #fff;
}

.dark-section {
  background: #0b1a33;
  color: #fff;
}

.dark-section p {
  color: rgba(255, 255, 255, 0.8);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.related-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  padding-bottom: 12px;
  display: flex;
  flex-direction: column;
}

.related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.related-card h4 {
  margin: 12px 8px 0;
  font-size: 16px;
}

.partner-wall {
  background-image: url("assets/images/cdn.xuansiwei.com_karas11160_1747365854894_Related_companies_r__1920-1080_c__284263_.jpg");
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  min-height: 280px;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.partner-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 26, 54, 0.5);
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.product-hero img {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.solutions-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.tab {
  border: 1px solid rgba(27, 107, 255, 0.2);
  background: #fff;
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.tab.active {
  background: var(--primary);
  color: #fff;
}

.solution-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.solution-media img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.solution-media img.fade {
  opacity: 0.6;
}

.solution-content h3 {
  font-size: 24px;
  margin: 0 0 12px;
}

.solution-content p {
  color: var(--muted);
  margin: 0 0 20px;
}

.partners {
  position: relative;
  background-image: url("assets/images/cdn.xuansiwei.com_karas11160_1747365854894_Related_companies_r__1920-1080_c__284263_.jpg");
  background-size: cover;
  background-position: center;
}

.partners-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 54, 0.72);
}

.partners .container {
  position: relative;
  z-index: 1;
}

.site-footer {
  background: #0b1a33;
  color: #d6dbea;
  padding-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 42px;
  margin-bottom: 16px;
}

.footer-brand p {
  margin: 0 0 12px;
  color: #c2c9dc;
}

.footer-contact h4 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 20px;
}

.footer-contact p {
  margin: 0 0 10px;
  color: #c2c9dc;
}

.footer-contact a {
  color: #fff;
}

.footer-qr {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer-qr img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 30px;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.floating-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 12px;
  z-index: 999;
}

.floating-item {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow);
  position: relative;
}

.floating-item img {
  position: absolute;
  right: 60px;
  bottom: 0;
  width: 120px;
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: var(--shadow);
}

.floating-item:hover img {
  opacity: 1;
}

@media (max-width: 980px) {
  .nav-list {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  body.nav-open .nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 72px;
    right: 16px;
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    gap: 12px;
  }

  .hero-nav {
    display: none;
  }

  .products-grid,
  .ai-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-card,
  .content-split,
  .product-hero {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-panel {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    flex-wrap: wrap;
  }

  .search {
    display: none;
  }

  .hero {
    padding: 0;
  }

  .hero-slide {
    min-height: 380px;
  }

  .products-grid,
  .ai-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .stat-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}


/* ===== 合作伙伴 ===== */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
  margin: 32px 0;
}
.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 12px 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: background 0.25s;
}
.partner-item:hover {
  background: rgba(255,255,255,0.16);
}
.partners .partner-logos {
  position: relative;
  z-index: 1;
}
.partners .partner-item {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}
.partner-banner {
  display: block;
  max-width: 100%;
  margin: 24px auto 0;
  border-radius: 12px;
  opacity: 0.85;
}

/* ===== 联系我们弹窗 ===== */
.contact-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.contact-modal-overlay.active {
  display: flex;
}
.contact-modal {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.contact-modal h3 {
  margin: 0 0 24px;
  font-size: 22px;
  color: var(--color-primary, #1d2b52);
}
.contact-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 4px 8px;
  line-height: 1;
}
.contact-modal .form-group {
  margin-bottom: 16px;
}
.contact-modal label {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  color: #555;
  font-weight: 500;
}
.contact-modal input,
.contact-modal select,
.contact-modal textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.contact-modal input:focus,
.contact-modal select:focus,
.contact-modal textarea:focus {
  outline: none;
  border-color: var(--color-primary, #1d2b52);
}
.contact-modal textarea {
  min-height: 80px;
  resize: vertical;
}
.contact-modal .btn-submit {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--color-primary, #1d2b52);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.contact-modal .btn-submit:hover {
  opacity: 0.9;
}

/* ===== AI流程弹窗 ===== */
.ai-flow-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.ai-flow-modal.active {
  display: flex;
}
.ai-flow-dialog {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  max-width: 640px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.ai-flow-dialog h3 {
  margin: 0 0 20px;
  font-size: 22px;
  color: var(--color-primary, #1d2b52);
}
.ai-flow-dialog .modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: #999;
  padding: 4px 8px;
  line-height: 1;
}
.ai-flow-dialog .flow-content {
  font-size: 15px;
  line-height: 2;
  color: #333;
}

/* ===== AI场景卡片可点击样式 ===== */
.ai-scene-card {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ai-scene-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.card-hint {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-primary, #1d2b52);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.25s;
}
.ai-scene-card:hover .card-hint {
  opacity: 1;
  transform: translateX(0);
}

/* ===== 浮动联系 hover 展示（纯 CSS） ===== */
.floating-item-phone,
.floating-item-email {
  position: relative;
  cursor: pointer;
}
.floating-item-phone .float-info,
.floating-item-email .float-info {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  background: #1d2b52;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  z-index: 10;
  transition: opacity 0.2s, visibility 0.2s;
}
.floating-item-phone:hover .float-info,
.floating-item-email:hover .float-info {
  opacity: 1;
  visibility: visible;
}
.floating-item-phone .float-info::after,
.floating-item-email .float-info::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1d2b52;
}

/* 微信二维码 hover */
.floating-item.has-qr img {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute !important;
  right: 64px;
  bottom: -6px;
  width: 260px !important;
  height: 260px !important;
  max-width: none !important;
  padding: 12px !important;
  margin: 0 !important;
  background: #fff !important;
  border: none !important;
  border-radius: 14px !important;
  box-sizing: content-box !important;
  object-fit: contain !important;
  display: block !important;
  aspect-ratio: 1 / 1;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3) !important;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  transform: translateY(8px);
}
.floating-item.has-qr:hover img {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== v2 加固：留言按钮 + 样式打磨 ===== */

/* 提升浮动联系栏优先级，避免被遮挡 */
.floating-contact {
  z-index: 9999 !important;
  bottom: 32px;
  right: 32px;
}

/* button.floating-item 复用圆形按钮样式 */
button.floating-item {
  border: none;
  outline: none;
  cursor: pointer;
  font: inherit;
  padding: 0;
  width: 52px;
  height: 52px;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.floating-item {
  width: 52px;
  height: 52px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.floating-item:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
button.floating-item:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* hover tooltip 气泡升级 */
.floating-item-phone .float-info,
.floating-item-email .float-info {
  right: 62px;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  background: #1d2b52;
}

/* Hero overlay 替代 ::before，配合 HTML 中的 .hero-overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 20, 46, 0.78) 0%, rgba(9, 20, 46, 0.55) 45%, rgba(9, 20, 46, 0.1) 75%, rgba(9, 20, 46, 0) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-slide {
  position: relative;
  overflow: hidden;
}
.hero-slide .hero-content {
  position: relative;
  z-index: 2;
  padding-left: 24px;
  padding-right: 24px;
}

/* hero eyebrow 胶囊标签 */
.hero-content .hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.8px;
}

/* hero 标题加强 */
.hero-content h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  letter-spacing: 1.5px;
  line-height: 1.25;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.hero-sub {
  font-size: 19px;
  font-weight: 500;
  opacity: 0.95;
}
.hero-text {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.7;
}

/* Swiper pagination 自定义为细长条 */
.hero-pagination .swiper-pagination-bullet {
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s;
}
.hero-pagination .swiper-pagination-bullet-active {
  background: #ffffff;
  transform: none;
  width: 36px;
}

/* 按钮渐变升级 */
.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 18px rgba(27, 107, 255, 0.35);
}
.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(27, 107, 255, 0.45);
}
.btn.ghost {
  border: 1.5px solid currentColor;
  transition: all 0.25s;
}
.btn.ghost:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* 卡片 hover 强化 */
.card {
  border-radius: 20px;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(16, 32, 62, 0.18);
}

/* Section title 强化 */
.section-title h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.5px;
  font-weight: 700;
}
.section-title {
  margin-bottom: 8px;
}

/* Footer 分隔线 */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 16px;
}

/* Header scroll 毛玻璃加强 */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  transition: background 0.25s, box-shadow 0.25s;
}

/* 响应式加固 */
@media (max-width: 640px) {
  .floating-contact {
    bottom: 16px;
    right: 16px;
  }
  .floating-item,
  button.floating-item {
    width: 44px;
    height: 44px;
  }
  .hero-content h1 {
    font-size: 28px;
    letter-spacing: 0.5px;
  }
  .hero-content .hero-eyebrow {
    font-size: 12px;
  }
}

/* ===== 滚动渐入动画 ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* 已可见的 hero-content 初始不动画避免首屏白屏 */
.hero-content.reveal {
  transition-delay: 0.1s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ===== Footer 海浪动态边框 ===== */
.site-footer {
  position: relative;
  padding-top: 140px;
  overflow: hidden;
}

.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 200%;
  height: 100px;
  background-repeat: repeat-x;
  background-size: 50% 100px;
  pointer-events: none;
  z-index: 1;
}

.site-footer::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'><path d='M0,0 L1200,0 L1200,50 C1100,25 1000,25 900,50 C800,75 700,75 600,50 C500,25 400,25 300,50 C200,75 100,75 0,50 Z' fill='%23f4f7fb' fill-opacity='0.35'/></svg>");
  animation: wave-flow-left 14s linear infinite;
}

.site-footer::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'><path d='M0,0 L1200,0 L1200,60 C1066,30 933,90 800,60 C666,30 533,90 400,60 C266,30 133,90 0,60 Z' fill='%23f4f7fb'/></svg>");
  animation: wave-flow-right 20s linear infinite;
}

@keyframes wave-flow-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes wave-flow-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.site-footer .footer-top,
.site-footer .footer-bottom {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer::before,
  .site-footer::after { animation: none; }
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 100px;
  }
  .site-footer::before,
  .site-footer::after {
    height: 60px;
    background-size: 50% 60px;
  }
}

/* ===== 标签云 ===== */
.scene-tag-cloud { margin-top: 32px; }
.scene-tag-title { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.scene-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.scene-tag { padding: 6px 16px; border-radius: 999px; background: rgba(27,107,255,0.08);
  color: var(--primary); font-size: 13px; font-weight: 500; border: 1px solid rgba(27,107,255,0.2);
  cursor: pointer; transition: all 0.2s; }
.scene-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
