/* ============================================================
   永利电子 · 全站样式
   设计基调：深海蓝 + 青色点缀 + 金色高光
   ============================================================ */

:root {
  --navy: #0b2744;
  --navy-deep: #071a2e;
  --navy-soft: #14365c;
  --accent: #14b8a6;
  --accent-dark: #0f766e;
  --accent-light: #e6faf7;
  --accent-blue: #0ea5e9;
  --gold: #d4af37;
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #1c2838;
  --muted: #5b6b7e;
  --line: #e4ebf3;
  --shadow: 0 12px 40px rgba(11, 39, 68, 0.08);
  --shadow-lg: 0 22px 48px rgba(11, 39, 68, 0.14);
  --radius: 16px;
  --max: 1120px;
  --grad-brand: linear-gradient(135deg, var(--accent), var(--accent-blue));
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

::selection {
  background: rgba(20, 184, 166, 0.25);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 通用图标（feather 风格描边） ---------- */
.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 布局 ---------- */
.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.section {
  padding: 76px 0;
}

.section-tight {
  padding-top: 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
}

.section-head h2,
.about-title {
  font-size: 30px;
  letter-spacing: 0.01em;
  position: relative;
  padding-left: 16px;
}

.section-head h2::before,
.about-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-blue));
}

.section-head p {
  color: var(--muted);
  max-width: 460px;
  margin-top: 6px;
  font-size: 15px;
}

.section-head > a {
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: color 0.2s;
}

.section-head > a:hover {
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

.btn .icon {
  width: 16px;
  height: 16px;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.3);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.btn-dark {
  background: var(--navy);
}

.btn-dark:hover {
  background: var(--navy-soft);
  box-shadow: 0 10px 24px rgba(11, 39, 68, 0.3);
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 26, 46, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.25s, background 0.25s;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-blue), var(--gold));
  opacity: 0.85;
}

.site-header.scrolled {
  background: rgba(7, 26, 46, 0.97);
  box-shadow: 0 10px 30px rgba(7, 26, 46, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.35);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.logo-text small {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  text-transform: uppercase;
}

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

.nav > a:not(.btn) {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  transition: color 0.2s;
}

.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: right 0.25s var(--ease);
}

.nav > a:not(.btn):hover,
.nav > a:not(.btn).active {
  color: #fff;
}

.nav > a:not(.btn):hover::after,
.nav > a:not(.btn).active::after {
  right: 0;
}

.nav .nav-cta {
  padding: 9px 18px;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: none;
  cursor: pointer;
  border-radius: 10px;
}

.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  margin: 5px auto;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

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

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

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

/* ---------- 首页 Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 82% 8%, rgba(20, 184, 166, 0.2), transparent),
    radial-gradient(700px 380px at 8% 100%, rgba(14, 165, 233, 0.14), transparent),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 55%, #0e3a5a);
  color: #fff;
  padding: 92px 0 84px;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.5;
  pointer-events: none;
  animation: float 10s ease-in-out infinite;
}

.hero-blob.b1 {
  width: 340px;
  height: 340px;
  background: rgba(20, 184, 166, 0.3);
  top: -90px;
  right: -70px;
}

.hero-blob.b2 {
  width: 280px;
  height: 280px;
  background: rgba(14, 165, 233, 0.24);
  bottom: -110px;
  left: -50px;
  animation-direction: reverse;
  animation-duration: 13s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  max-width: 540px;
  margin-bottom: 20px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 13px;
  border-radius: 999px;
}

.chip .icon {
  width: 14px;
  height: 14px;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.hero-panel h3 {
  margin-bottom: 18px;
  font-size: 16px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat {
  text-align: left;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.stat strong {
  display: block;
  font-size: 27px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

.stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 优势条（压叠 Hero 底部） ---------- */
.feature-wrap {
  margin-top: -58px;
  position: relative;
  z-index: 2;
  padding-bottom: 4px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.feature {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}

.feature:last-child {
  border-right: 0;
}

.f-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.25s, color 0.25s;
}

.f-icon .icon {
  width: 22px;
  height: 22px;
}

.feature:hover .f-icon {
  background: var(--grad-brand);
  color: #fff;
}

.feature strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.feature span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 服务卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: block;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.icon-box .icon {
  width: 23px;
  height: 23px;
}

.card:hover .icon-box {
  background: var(--grad-brand);
  color: #fff;
  transform: scale(1.05);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
}

.card:hover .card-link {
  color: var(--accent);
}

/* ---------- 产品卡片 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-visual {
  height: 172px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.pv-cam {
  background:
    radial-gradient(circle at 72% 28%, rgba(20, 184, 166, 0.38), transparent 55%),
    linear-gradient(135deg, #12324f, #1c4d73);
}

.pv-parts {
  background:
    radial-gradient(circle at 72% 28%, rgba(14, 165, 233, 0.38), transparent 55%),
    linear-gradient(135deg, #0e2a4a, #155e8a);
}

.pv-power {
  background:
    radial-gradient(circle at 72% 28%, rgba(245, 158, 11, 0.42), transparent 55%),
    linear-gradient(135deg, #3a2a12, #7a4a10);
}

.pv-cable {
  background:
    radial-gradient(circle at 72% 28%, rgba(139, 92, 246, 0.42), transparent 55%),
    linear-gradient(135deg, #241b3f, #4c2a8a);
}

.pv-tool {
  background:
    radial-gradient(circle at 72% 28%, rgba(34, 197, 94, 0.38), transparent 55%),
    linear-gradient(135deg, #0e3322, #16663e);
}

.pv-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(7, 26, 46, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 3px 10px;
  border-radius: 999px;
}

.pv-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.25s var(--ease);
}

.pv-icon .icon {
  width: 30px;
  height: 30px;
}

.product:hover .pv-icon {
  transform: scale(1.08);
}

/* 真实产品图视觉 */
.product-visual.pv-img {
  display: block;
  height: 210px;
  background: var(--navy-deep);
}

.pv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.product:hover .pv-img img {
  transform: scale(1.06);
}

.product-body {
  padding: 20px 22px 22px;
}

.tag {
  display: inline-block;
  font-size: 12px;
  color: var(--accent-dark);
  background: var(--accent-light);
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 10px;
  font-weight: 600;
}

.product h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.product-body .muted {
  font-size: 14px;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.price {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}

.product-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--accent-light);
  border-radius: 999px;
  padding: 6px 14px;
  transition: background 0.2s, color 0.2s;
}

.product-cta:hover {
  background: var(--accent);
  color: #fff;
}

/* ---------- 产品筛选 ---------- */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 17px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.result-count {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- 空状态（产品整理中） ---------- */
.empty-state {
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 68px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.empty-icon .icon {
  width: 30px;
  height: 30px;
}

.empty-state h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.empty-state p {
  max-width: 440px;
  margin: 0 auto 22px;
  font-size: 15px;
}

.empty-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 按钮变体（浅色背景上的描边按钮） ---------- */
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn-ghost:hover {
  background: var(--bg);
  border-color: var(--navy);
  color: var(--navy);
  box-shadow: none;
}

/* ---------- 内页 Hero ---------- */
.page-hero {
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(20, 184, 166, 0.16), transparent),
    linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff;
  padding: 66px 0 50px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  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: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 36px;
  margin-bottom: 8px;
  font-weight: 800;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 10px;
  max-width: 580px;
}

/* ---------- 关于我们 ---------- */
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.about-intro p {
  margin: 16px 0;
}

.list {
  list-style: none;
  margin: 16px 0 0;
}

.list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--muted);
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--accent-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}

.about-panel {
  background:
    radial-gradient(420px 260px at 90% 0%, rgba(20, 184, 166, 0.16), transparent),
    var(--navy);
  color: #fff;
  border-radius: 24px;
  padding: 36px;
  min-height: 320px;
  box-shadow: var(--shadow-lg);
}

.about-panel h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.about-panel h3:first-of-type {
  margin-top: 16px;
}

.about-panel p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
}

.about-panel .list li {
  color: rgba(255, 255, 255, 0.8);
}

.about-panel .list li::before {
  background-color: rgba(20, 184, 166, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314b8a6' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.link-light {
  color: var(--accent);
  font-weight: 600;
}

.link-light:hover {
  text-decoration: underline;
}

.about-cta {
  margin-top: 22px;
}

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

.value-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

.value-card p {
  font-size: 14px;
}

/* ---------- 技术支持页 ---------- */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.support-grid .value-card h3 {
  font-size: 16px;
}

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

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

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

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.step p {
  font-size: 13.5px;
  color: var(--muted);
}

.faq {
  max-width: 760px;
}

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  transition: border-color 0.2s;
}

.faq details[open] {
  border-color: rgba(20, 184, 166, 0.45);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 20px;
  line-height: 1;
  color: var(--accent-dark);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14.5px;
}

.support-form-wrap {
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- 联系页 ---------- */
.form.card {
  padding: 30px;
}

.form.card:hover {
  transform: none;
  box-shadow: var(--shadow);
}

.form {
  display: grid;
  gap: 16px;
}

.form h2 {
  margin-bottom: 2px;
}

.form-note {
  font-size: 13.5px;
  margin-bottom: 2px;
}

.form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  background: #fff;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form .btn {
  width: 100%;
  padding: 13px 22px;
  margin-top: 4px;
}

.form-success {
  display: none;
  align-items: flex-start;
  gap: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: 14px;
  padding: 14px 16px;
}

.form-success.show {
  display: flex;
  animation: toast-in 0.3s var(--ease);
}

.form-success strong {
  display: block;
}

.form-success p {
  font-size: 13.5px;
  margin-top: 2px;
}

.fs-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.fs-icon .icon {
  width: 18px;
  height: 18px;
}

.info-list {
  display: grid;
  gap: 14px;
}

.info-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.info-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-light);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.info-icon .icon {
  width: 19px;
  height: 19px;
}

.info-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
}

.info-item .muted {
  font-size: 14px;
  word-break: break-all;
}

.info-item a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

.contact-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow);
}

.contact-note strong {
  display: block;
  font-size: 15px;
}

.contact-note p {
  font-size: 13.5px;
  margin-top: 2px;
}

.contact-note .btn {
  margin-left: auto;
  flex-shrink: 0;
  padding: 9px 16px;
  font-size: 13px;
}

/* ---------- CTA 区块 ---------- */
.cta {
  background:
    radial-gradient(420px 260px at 88% 0%, rgba(20, 184, 166, 0.2), transparent),
    linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff;
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  right: -90px;
  bottom: -120px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-copy h2 {
  font-size: 26px;
  font-weight: 800;
}

.cta-copy p {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 8px;
  max-width: 500px;
  font-size: 15px;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 0;
  margin-top: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 36px;
}

.site-footer h4 {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.footer-brand p {
  font-size: 14px;
  margin: 10px 0 16px;
  max-width: 300px;
}

.footer-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, border-color 0.2s;
}

.footer-tel .icon {
  width: 16px;
  height: 16px;
}

.footer-tel:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}

.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- 悬浮 UI：返回顶部 / 手机快捷栏 / Toast ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  box-shadow: 0 8px 24px rgba(11, 39, 68, 0.16);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s, background 0.2s, color 0.2s;
}

.to-top .icon {
  width: 18px;
  height: 18px;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--navy);
  color: #fff;
}

.quick-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  gap: 12px;
  background: rgba(7, 26, 46, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}

.quick-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.2s, border-color 0.2s;
}

.quick-bar a.solid {
  background: var(--accent);
  border-color: var(--accent);
}

.quick-bar a.solid:hover {
  background: var(--accent-dark);
}

.quick-bar .icon {
  width: 17px;
  height: 17px;
}

.toast {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--navy);
  color: #fff;
  padding: 13px 18px;
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow-lg);
  z-index: 80;
  font-size: 14px;
  max-width: min(360px, calc(100vw - 40px));
}

.toast.show {
  display: block;
  animation: toast-in 0.3s var(--ease);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 滚动显现动效 ---------- */
.js .reveal > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  will-change: opacity, transform;
}

.js .reveal.in > * {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal > *:nth-child(2) {
  transition-delay: 0.06s;
}

.js .reveal > *:nth-child(3) {
  transition-delay: 0.12s;
}

.js .reveal > *:nth-child(4) {
  transition-delay: 0.18s;
}

.js .reveal > *:nth-child(5) {
  transition-delay: 0.24s;
}

.js .reveal > *:nth-child(6) {
  transition-delay: 0.3s;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .nav {
    gap: 14px;
  }

  .nav > a:not(.btn) {
    font-size: 14px;
  }

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

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

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

  .feature:nth-child(2) {
    border-right: 0;
  }

  .feature:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.3);
  }

  .nav.open {
    display: flex;
  }

  .nav > a:not(.btn) {
    padding: 12px 4px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  }

  .nav > a:not(.btn)::after {
    display: none;
  }

  .nav .nav-cta {
    margin-top: 12px;
    justify-content: center;
  }

  .hero {
    padding: 72px 0 72px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

  .cta {
    padding: 36px 28px;
  }

  .quick-bar {
    display: flex;
  }

  body {
    padding-bottom: 68px;
  }

  .to-top {
    bottom: 84px;
    right: 16px;
  }

  .toast {
    right: 16px;
    bottom: 84px;
    left: 16px;
    max-width: none;
  }

  .contact-note {
    flex-wrap: wrap;
  }

  .contact-note .btn {
    margin-left: 0;
    width: 100%;
  }
}

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

  .cards,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    grid-template-columns: 1fr;
  }

  .support-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-panel {
    padding: 24px 20px;
  }

  .stat-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .stat + .stat::before {
    left: -5px;
  }

  .page-hero h1 {
    font-size: 30px;
  }
}

/* ---------- 减弱动效偏好 ---------- */
@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;
  }

  .js .reveal > * {
    opacity: 1;
    transform: none;
  }
}
