/* ==========================================================
   云澜科技官网 · 深色科技风
   ========================================================== */

:root {
  --bg: #050810;
  --bg-alt: #080d1a;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.62);
  --text-muted: rgba(255, 255, 255, 0.4);
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --gradient: linear-gradient(120deg, var(--cyan), var(--blue) 50%, var(--purple));
  --radius: 18px;
  --nav-h: 72px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: rgba(59, 130, 246, 0.4); }

/* ---------- 通用组件 ---------- */

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.5);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.btn-block { width: 100%; }

.section { padding: 110px 0; position: relative; }
.section-alt { background: var(--bg-alt); }

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

.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--cyan);
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.section-desc { color: var(--text-secondary); font-size: 17px; }

/* ---------- 滚动进入动画 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 导航栏 ---------- */

.navbar {
  position: fixed;
  inset: 0 0 auto;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(5, 8, 16, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark { width: 36px; height: 36px; }
.logo-text {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-link {
  font-size: 15px;
  color: var(--text-secondary);
  transition: color 0.25s ease;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after { transform: scaleX(1); }

.nav-cta {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.5);
  color: var(--text);
  background: rgba(59, 130, 246, 0.12);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  background: rgba(59, 130, 246, 0.25);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 0 80px;
}

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

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
  animation: drift 14s ease-in-out infinite alternate;
}
.glow-cyan {
  width: 480px; height: 480px;
  background: rgba(34, 211, 238, 0.35);
  top: -10%; left: -8%;
}
.glow-purple {
  width: 560px; height: 560px;
  background: rgba(139, 92, 246, 0.32);
  bottom: -18%; right: -10%;
  animation-delay: -5s;
}
.glow-blue {
  width: 420px; height: 420px;
  background: rgba(59, 130, 246, 0.3);
  top: 30%; left: 45%;
  animation-delay: -9s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(60px, -50px) scale(1.15); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 40%, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  text-align: center;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 32px;
}

.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero-title {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.25;
  margin-bottom: 26px;
}
.title-dot { color: var(--text-muted); font-weight: 300; }

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 44px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 80px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.stat { text-align: center; }
.stat-number {
  display: block;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  animation: bob 2.2s ease-in-out infinite;
  z-index: 1;
}
.scroll-hint svg { width: 20px; height: 20px; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* ---------- 核心业务 ---------- */

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.biz-card {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.7s ease;
  overflow: hidden;
}
.biz-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at 50% -10%, rgba(59, 130, 246, 0.18), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.biz-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.biz-card:hover::before { opacity: 1; }

.biz-icon {
  width: 58px; height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(139, 92, 246, 0.16));
  border: 1px solid var(--border);
  color: var(--cyan);
  margin-bottom: 24px;
}
.biz-icon svg { width: 28px; height: 28px; }

.biz-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  position: relative;
}
.biz-card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 22px;
  position: relative;
}

.biz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
}
.biz-tags li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

/* ---------- 产品矩阵 ---------- */

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 56px 0;
}
.product + .product { border-top: 1px solid var(--border); }
.product-reverse .product-visual { order: 2; }
.product-reverse .product-info { order: 1; }

.product-kicker {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--cyan);
  margin-bottom: 12px;
}
.product-info h3 {
  font-size: clamp(24px, 3vw, 30px);
  margin-bottom: 16px;
}
.product-info > p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.product-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}
.product-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(var(--bg-alt), var(--bg-alt)) padding-box,
    var(--gradient) border-box;
  border: 1.5px solid transparent;
}
.product-features li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}

/* 产品示意图 —— 窗口 mock */
.product-visual { display: flex; justify-content: center; }

.mock-window {
  width: min(440px, 100%);
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.mock-dots {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.mock-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.mock-dots span:nth-child(1) { background: #f87171; }
.mock-dots span:nth-child(2) { background: #fbbf24; }
.mock-dots span:nth-child(3) { background: #34d399; }

.mock-body { padding: 26px; }

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 150px;
  margin-bottom: 22px;
}
.mock-chart span {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--cyan), rgba(59, 130, 246, 0.25));
  opacity: 0.85;
  animation: bar-grow 1.2s ease both;
}
.mock-chart span:nth-child(even) {
  background: linear-gradient(180deg, var(--purple), rgba(139, 92, 246, 0.22));
}
@keyframes bar-grow {
  from { height: 0; }
  to { height: var(--h); }
}

.mock-lines { display: grid; gap: 12px; padding: 0 26px 26px; }
.mock-body .mock-lines { padding: 0; }
.mock-lines i {
  display: block;
  height: 11px;
  width: var(--w);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
}

/* 产品示意图 —— 手机 mock */
.mock-phone {
  width: 250px;
  border-radius: 34px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  padding: 18px 18px 26px;
}
.mock-notch {
  width: 90px; height: 22px;
  margin: 0 auto 20px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border);
}

.mock-game {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.game-tile {
  aspect-ratio: 1;
  border-radius: 12px;
  animation: tile-glow 3s ease-in-out infinite;
}
.t1, .t5, .t9 { background: linear-gradient(135deg, #22d3ee, #0ea5e9); }
.t2, .t6, .t7 { background: linear-gradient(135deg, #8b5cf6, #6366f1); animation-delay: -1s; }
.t3, .t4, .t8 { background: linear-gradient(135deg, #f472b6, #fb7185); animation-delay: -2s; }
@keyframes tile-glow {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.94); }
}

/* 产品示意图 —— 聊天 mock */
.mock-chat { padding: 26px; display: grid; gap: 14px; }
.chat-bubble {
  max-width: 82%;
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
}
.chat-bubble.user {
  justify-self: end;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble.ai {
  justify-self: start;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-bottom-left-radius: 4px;
}
.chat-bubble.short { width: 55%; height: 40px; }

.typing {
  display: inline-flex;
  gap: 4px;
  margin-right: 8px;
  vertical-align: middle;
}
.typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: typing 1.2s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 100% { opacity: 0.25; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-3px); }
}

/* ---------- 技术优势 ---------- */

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.adv-card {
  padding: 34px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, opacity 0.7s ease;
}
.adv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.4);
  background: var(--surface-hover);
}

.adv-icon {
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid var(--border);
  color: var(--cyan);
  margin-bottom: 20px;
}
.adv-icon svg { width: 24px; height: 24px; }

.adv-card h3 { font-size: 18px; margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: var(--text-secondary); }

/* ---------- 关于我们 ---------- */

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text .section-tag { margin-bottom: 20px; }
.about-text .section-title { margin-bottom: 22px; }
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about-values { display: grid; gap: 18px; }

.value-card {
  padding: 26px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--cyan), var(--purple)) 1;
  transition: transform 0.3s ease, opacity 0.7s ease;
}
.value-card:hover { transform: translateX(6px); }
.value-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.value-card p { font-size: 15px; color: var(--text-secondary); }

/* ---------- 联系我们 ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-info { display: grid; gap: 22px; }

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s ease;
}
.contact-item:hover { border-color: rgba(59, 130, 246, 0.4); }

.contact-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid var(--border);
  color: var(--cyan);
}
.contact-icon svg { width: 22px; height: 22px; }

.contact-item h4 { font-size: 16px; margin-bottom: 4px; }
.contact-item p { font-size: 15px; color: var(--text-secondary); }

.contact-form {
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.form-tip {
  font-size: 14px;
  text-align: center;
  color: var(--cyan);
  min-height: 1.5em;
}

/* ---------- 页脚 ---------- */

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 56px 0 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.footer-bottom a:hover { color: var(--text-secondary); }

/* ==========================================================
   响应式
   ========================================================== */

@media (max-width: 1024px) {
  .business-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .product { gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  /* 移动端导航 */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(5, 8, 16, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 6vw 22px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-link {
    padding: 15px 4px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-link::after { display: none; }
  .nav-cta {
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
  }

  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: min(320px, 100%); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .br-desktop { display: none; }

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

  .product,
  .product-reverse { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .product-reverse .product-visual { order: 0; }
  .product-reverse .product-info { order: 1; }

  .adv-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .adv-card { padding: 26px 20px; }

  .about-inner { grid-template-columns: 1fr; gap: 40px; }

  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .adv-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .hero-stats { padding: 22px 14px; }
  .contact-form { padding: 26px 20px; }
}
