/* ============================================================
   Open Bound — 现代科技风格 / 响应式
   ============================================================ */
:root {
  --blue-50: #eef4ff;
  --blue-100: #dbe7ff;
  --blue-500: #2b6bff;
  --blue-600: #1e56e8;
  --blue-700: #0b2a97;
  --navy-900: #0b1b4d;
  --navy-950: #060f33;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #94a3b8;
  --line: #e6eaf2;
  --bg: #ffffff;
  --bg-tint: #f6f8fc;
  --red: #ff4a4a;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, .06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 64px rgba(11, 27, 77, .18);
  --grad: linear-gradient(135deg, #2b6bff 0%, #0b2a97 100%);
  --header-h: 72px;
  --container: 1200px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.container-wide {
  width: min(1520px, calc(100% - 48px));
}

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(43, 107, 255, .35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(43, 107, 255, .45);
}

.btn-ghost {
  color: var(--ink);
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, .7);
}

.btn-ghost:hover {
  border-color: var(--blue-500);
  color: var(--blue-600);
}

.btn-light {
  background: #fff;
  color: var(--blue-700);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}

.btn-sm {
  height: 40px;
  padding: 0 22px;
  font-size: 14px;
}

.btn-lg {
  height: 52px;
  padding: 0 34px;
  font-size: 16px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- 页头 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  height: var(--header-h);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(15, 23, 42, .06);
}

.header-inner {
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.logo-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .2px;
}

.logo-name em {
  font-style: normal;
  color: var(--blue-600);
}

.nav {
  display: flex;
  align-items: center;
}

.nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav ul a {
  display: block;
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color .2s, background .2s;
}

.nav ul a:hover {
  color: var(--blue-600);
  background: var(--blue-50);
}

.nav ul a.active {
  color: var(--blue-600);
  background: var(--blue-50);
}

.nav-cta {
  margin-left: 16px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(43, 107, 255, .35), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(30, 86, 232, .25), transparent 60%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, #0e2a7a 100%);
  color: #fff;
  padding: calc(var(--header-h) + 72px) 0 140px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(800px 500px at 30% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(800px 500px at 30% 20%, #000 30%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  animation: drift 12s ease-in-out infinite alternate;
}

.orb-a {
  width: 380px;
  height: 380px;
  background: #2b6bff;
  top: -120px;
  right: 12%;
}

.orb-b {
  width: 300px;
  height: 300px;
  background: #6a3cff;
  bottom: -140px;
  left: -80px;
  animation-delay: -4s;
}

.orb-c {
  width: 220px;
  height: 220px;
  background: #00c2ff;
  top: 40%;
  right: -80px;
  animation-delay: -8s;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(40px, 30px, 0) scale(1.15);
  }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #cfe0ff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(6px);
}

.hero h1 {
  margin: 24px 0 16px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: .5px;
}

.hero h1 .grad-text {
  background: linear-gradient(90deg, #6aa5ff, #37e0ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(226, 236, 255, .82);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
}

.hero-actions .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .06);
}

.hero-actions .btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.hm strong {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  background: linear-gradient(90deg, #fff, #9cc2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.hm span {
  font-size: 13px;
  color: rgba(200, 215, 245, .7);
  letter-spacing: 1px;
}

/* Hero 视觉 */
.hero-visual {
  position: relative;
  height: 460px;
}

.phone-card {
  position: absolute;
  width: 210px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .14);
  animation: float 6s ease-in-out infinite;
}

.phone-card img {
  width: 100%;
  height: auto;
}

.phone-1 {
  top: 30px;
  right: 30px;
  z-index: 2;
}

.phone-2 {
  bottom: 0;
  left: 6%;
  width: 180px;
  animation-delay: -3s;
  opacity: .96;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-16px);
  }
}

.float-chip {
  position: absolute;
  z-index: 3;
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  animation: float 7s ease-in-out infinite;
}

.chip-a {
  top: 8%;
  left: 0;
}

.chip-b {
  bottom: 12%;
  right: -2%;
  animation-delay: -2.5s;
}

/* ---------- 通用 Section ---------- */
.section {
  padding: 96px 0;
}

.section-tint {
  background: var(--bg-tint);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  color: var(--ink);
}

.section-head p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 16px;
}

/* ---------- 优势卡片 ---------- */
.cards {
  display: grid;
  gap: 24px;
}

.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--blue-50);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.card-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.card p {
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ---------- 全平台变现 ---------- */
.chips {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
}

.chip-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  transition: transform .3s, box-shadow .3s;
}

.chip-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.chip-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* ---------- 精选案例 ---------- */
.case-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.case-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-tab {
  text-align: left;
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background .25s, color .25s, box-shadow .25s;
}

.case-tab:hover {
  color: var(--blue-600);
  background: #fff;
}

.case-tab.active {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 8px 20px rgba(43, 107, 255, .3);
}

.case-panel {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
}

.case-media img {
  width: 100%;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.case-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.case-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  margin-bottom: 10px;
}

.case-app {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.case-desc {
  color: var(--ink-2);
  font-size: 15px;
  margin-bottom: 24px;
}

.case-metrics {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.cm strong {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}

.cm span {
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- 广告形态（横向滑动） ---------- */
.formats-slider {
  position: relative;
  padding: 0 56px;
}

.formats-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 12px 4px 8px;
}

.formats-rail::-webkit-scrollbar {
  display: none;
}

.formats-rail.dragging {
  scroll-behavior: auto;
  cursor: grabbing;
}

.format-card {
  flex: 0 0 auto;
  width: 300px;
  scroll-snap-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 16px 16px 22px;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease;
}

.format-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.format-media {
  border-radius: 18px;
  background: linear-gradient(180deg, #f0f5ff 0%, #dfe9ff 100%);
  padding: 18px 18px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.format-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px 14px 0 0;
  filter: drop-shadow(0 12px 26px rgba(11, 27, 77, .16));
}

.format-card h3 {
  font-size: 18px;
  margin: 18px 0 6px;
}

.format-card p {
  font-size: 13.5px;
  color: var(--ink-2);
  min-height: 40px;
}

/* 箭头 */
.rail-btn {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  z-index: 4;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .25s, color .25s, opacity .25s, transform .25s;
}

.rail-btn:hover:not(:disabled) {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}

.rail-btn:disabled {
  opacity: .35;
  cursor: default;
}

.rail-btn.prev {
  left: 0;
}

.rail-btn.next {
  right: 0;
}

/* 圆点 */
.rail-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.rail-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c9d6ee;
  transition: width .3s ease, background .3s ease;
}

.rail-dots button.active {
  width: 26px;
  background: var(--blue-600);
}

/* ---------- 合作伙伴 ---------- */
.partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.partner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  transition: transform .3s, box-shadow .3s;
}

.partner:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.partner img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* ---------- CTA ---------- */
.cta {
  padding: 0 0 96px;
}

.cta-inner {
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(122, 160, 255, .35), transparent 60%),
    var(--grad);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}

.cta h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 8px;
}

.cta p {
  color: rgba(230, 238, 255, .85);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--navy-950);
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding: 64px 0 48px;
}

.logo-footer {
  margin-bottom: 16px;
}

.logo-footer img {
  width: 40px;
  height: 40px;
}

.logo-footer span {
  color: #fff;
  font-size: 18px;
}

.footer-brand p {
  font-size: 14px;
  color: #8b98b8;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #8b98b8;
  padding: 6px 0;
  transition: color .2s;
}

.footer-col a:hover {
  color: #6aa5ff;
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  padding: 22px 16px;
  font-size: 13px;
  color: #6b7a9c;
}

.footer-bar a:hover {
  color: #6aa5ff;
}

/* ---------- 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .phone-card,
  .float-chip,
  .orb {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px) {
  .cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .chips {
    grid-template-columns: repeat(4, 1fr);
  }

  .formats-slider {
    padding: 0 44px;
  }

  .format-card {
    width: 270px;
  }

  .partners {
    grid-template-columns: repeat(5, 1fr);
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero {
    padding-bottom: 96px;
  }

  .case-wrap {
    grid-template-columns: 1fr;
  }

  .case-tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 62px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .header-inner {
    width: calc(100% - 36px);
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 18px 20px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s, opacity .3s, visibility .3s;
  }

  .nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav ul a {
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 16px;
  }

  .nav-cta {
    margin: 12px 0 0;
  }

  .nav-cta .btn {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .hero {
    padding: calc(var(--header-h) + 48px) 0 72px;
  }

  .hero-metrics {
    gap: 24px;
  }

  .cols-4,
  .chips {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 移动端：整块可滑动，一屏约 1.15 张，露出下一张提示可滑 */
  .formats-slider {
    padding: 0;
  }

  .formats-rail {
    gap: 16px;
    padding: 4px 18px 4px;
    scroll-padding-left: 18px;
  }

  .format-card {
    width: 76vw;
    max-width: 320px;
    padding: 14px 14px 20px;
    scroll-snap-align: start;
  }

  .rail-btn {
    display: none;
  }

  .rail-dots {
    margin-top: 18px;
  }

  .partners {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .partner img {
    width: 52px;
    height: 52px;
  }

  .case-panel {
    grid-template-columns: 1fr;
    padding: 22px;
    text-align: left;
  }

  .case-media {
    max-width: 240px;
  }

  .case-metrics {
    gap: 24px;
  }

  .cta-inner {
    padding: 36px 26px;
    text-align: center;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 48px 0 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero-actions .btn-lg {
    width: 100%;
  }

  .chips {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
