/* ==========================================================================
   UVLOOK 优彩科技 · 企业官网样式
   ------------------------------------------------------------------
   说明：本文件为全站共用样式。
   想调整网站主色调，只需要修改下面 :root 里的颜色变量即可。
   ========================================================================== */

:root {
  /* --- 品牌色（可自行修改） --- */
  --violet: #8b5cf6;
  --violet-deep: #6d3bf5;
  --cyan: #22d3ee;
  --magenta: #ec4899;

  /* --- 深色区域 --- */
  --bg-dark: #0a0714;
  --bg-dark-2: #120b26;
  --card-dark: #171032;
  --border-dark: rgba(139, 92, 246, 0.28);

  /* --- 浅色区域 --- */
  --bg-light: #ffffff;
  --bg-tint: #f6f4fe;
  --text: #0f0b1f;
  --text-muted: #5c5578;
  --border-light: #e6e1f5;

  /* --- 深色区域文字 --- */
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #a79fc4;
  --text-on-dark-faint: #7e76a3;

  /* --- 其他 --- */
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
  --shadow-card: 0 2px 8px rgba(15, 11, 31, 0.04), 0 12px 32px rgba(15, 11, 31, 0.06);
  --shadow-card-hover: 0 6px 16px rgba(15, 11, 31, 0.08), 0 24px 56px rgba(109, 59, 245, 0.16);
  --spectrum: linear-gradient(90deg, var(--cyan), var(--violet), var(--magenta));

  --font: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC",
    "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- 通用布局 ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 104px 0;
}

.section--dark {
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(109, 59, 245, 0.28) 0%, rgba(10, 7, 20, 0) 60%),
    var(--bg-dark);
  color: var(--text-on-dark);
}

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

.section-head {
  max-width: 780px;
  margin-bottom: 56px;
}

.kicker {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--violet);
  margin-bottom: 14px;
}

.section--dark .kicker {
  color: #a855f7;
}

.section-title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

.section-desc {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
}

.section--dark .section-desc {
  color: var(--text-on-dark-muted);
}

.spectrum-bar {
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: var(--spectrum);
  margin-top: 24px;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease,
    border-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 10px 26px rgba(139, 92, 246, 0.34);
}

.btn--primary:hover {
  background: var(--violet-deep);
  box-shadow: 0 14px 32px rgba(139, 92, 246, 0.42);
}

.btn--ghost-dark {
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
  background: transparent;
}

.btn--ghost-dark:hover {
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--light {
  background: #fff;
  color: #2a0f55;
}

.btn--sm {
  padding: 11px 22px;
  font-size: 15px;
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 7, 20, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.brand__logo {
  display: block;
  height: 26px;
  width: auto;
}

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

.nav a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.18s ease;
  padding: 6px 0;
  position: relative;
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--spectrum);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span {
  top: 50%;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle.is-open span {
  background: transparent;
}

.nav-toggle.is-open span::before {
  transform: translateX(-50%) translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span::after {
  transform: translateX(-50%) translateY(-6px) rotate(-45deg);
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 120% at 18% 8%, rgba(109, 59, 245, 0.42) 0%, rgba(10, 7, 20, 0) 58%),
    radial-gradient(60% 90% at 88% 78%, rgba(34, 211, 238, 0.12) 0%, rgba(10, 7, 20, 0) 60%),
    var(--bg-dark);
  color: #fff;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 64px;
  align-items: center;
  padding: 96px 0 104px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.42);
  background: rgba(139, 92, 246, 0.16);
  color: #c9bdf5;
  font-size: 13px;
  margin-bottom: 30px;
}

.hero__badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.hero__title {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.015em;
}

.hero__title em {
  font-style: normal;
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__desc {
  margin-top: 26px;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--text-on-dark-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero__spec {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 44px;
  font-size: 13px;
  color: var(--text-on-dark-faint);
}

.hero__spec span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__spec span::before {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--violet);
}

.hero__visual {
  border-radius: 20px;
  padding: 12px;
  background: rgba(23, 16, 50, 0.75);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.hero__visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.hero__video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

/* ---------- 应用场景 ---------- */

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.app-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(139, 92, 246, 0.35);
}

.app-card__img {
  aspect-ratio: 41 / 20;
  overflow: hidden;
  background: var(--bg-dark-2);
}

.app-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.app-card:hover .app-card__img img {
  transform: scale(1.04);
}

.app-card__body {
  padding: 24px;
}

.app-card__tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--violet);
  margin-bottom: 10px;
}

.app-card__title {
  font-size: 20px;
  font-weight: 700;
}

.app-card__desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

.app-more {
  margin-top: 48px;
  text-align: center;
}

/* ---------- 核心产品 ---------- */

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.product-grid__visual {
  border-radius: 20px;
  padding: 12px;
  background: rgba(23, 16, 50, 0.75);
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.product-grid__visual img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  aspect-ratio: 48 / 39;
  object-fit: cover;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
  margin-top: 34px;
}

.spec-item {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.22);
}

.spec-item__value {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.spec-item__label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-on-dark-faint);
}

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

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

.adv-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.adv-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.12);
  margin-bottom: 18px;
}

.adv-card__icon svg {
  width: 24px;
  height: 24px;
}

.adv-card__title {
  font-size: 18px;
  font-weight: 700;
}

.adv-card__desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ---------- 合作对象 / 通用双栏 ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-muted);
}

.check-list li strong {
  color: var(--text);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.14) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M6 12.5l4 4L18 8' stroke='%238B5CF6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 11px no-repeat;
}

/* ---------- 询价 CTA ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 140% at 50% 0%, rgba(139, 92, 246, 0.4) 0%, rgba(10, 7, 20, 0) 62%),
    linear-gradient(120deg, #12082a 0%, #2a1050 50%, #12082a 100%);
  color: #fff;
  text-align: center;
  padding: 92px 0;
}

.cta-band__title {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 700;
}

.cta-band__desc {
  margin-top: 18px;
  color: #c4b8e8;
  font-size: 16px;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.cta-band__note {
  margin-top: 26px;
  font-size: 13px;
  color: #8f84b8;
}

/* ---------- 子页面顶部 ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 20% 0%, rgba(109, 59, 245, 0.38) 0%, rgba(10, 7, 20, 0) 60%),
    var(--bg-dark);
  color: #fff;
  padding: 84px 0 88px;
}

.page-hero__title {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.26;
}

.page-hero__desc {
  margin-top: 20px;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-on-dark-muted);
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 22px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a:hover {
  color: #fff;
}

/* ---------- 规格参数表 ---------- */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.spec-table caption {
  text-align: left;
  padding: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
}

.spec-table th,
.spec-table td {
  padding: 15px 22px;
  font-size: 15px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table th {
  width: 220px;
  font-weight: 600;
  color: var(--text);
  background: #faf9ff;
  white-space: nowrap;
}

.spec-table td {
  color: var(--text-muted);
}

.spec-table td strong {
  color: var(--text);
  font-weight: 600;
}

/* 多列规格对比表（如 130-EM 与 230 选型对比） */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll .spec-table {
  min-width: 680px;
}

.spec-table--compare thead th {
  width: auto;
  background: #f2eeff;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.spec-table--compare thead th:first-child,
.spec-table--compare tbody th {
  width: 180px;
}

.spec-table--compare tbody th {
  white-space: normal;
}

/* 首页核心产品区：产品线补充说明（uvlook 230） */

.lineup-note {
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  background: rgba(139, 92, 246, 0.1);
}

.lineup-note__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-on-dark);
}

.lineup-note__desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-on-dark-muted);
}

.lineup-note__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #a855f7;
}

.lineup-note__link:hover {
  color: #c084fc;
}

/* ---------- 特性卡片 ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.feature-card__title {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-card__title i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--spectrum);
  flex-shrink: 0;
}

.feature-card__desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ---------- 应用详情 ---------- */

.app-detail {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border-light);
}

.app-detail:first-of-type {
  padding-top: 0;
}

.app-detail:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.app-detail--reverse .app-detail__media {
  order: 2;
}

.app-detail__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  background: var(--bg-dark-2);
}

.app-detail__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 41 / 25;
  object-fit: cover;
}

.app-detail__index {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--violet);
  margin-bottom: 14px;
}

.app-detail__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
}

.app-detail__desc {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
}

.app-detail__points {
  margin-top: 22px;
}

.app-detail__points li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.app-detail__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--violet);
}

.app-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.app-detail__tags span {
  font-size: 12.5px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--violet-deep);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* ---------- 交付形态 ---------- */

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.delivery-card {
  background: rgba(23, 16, 50, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.24);
  border-radius: var(--radius);
  padding: 30px;
  color: #fff;
}

.delivery-card__title {
  font-size: 19px;
  font-weight: 700;
}

.delivery-card__desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-on-dark-muted);
}

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

.timeline {
  position: relative;
  margin-top: 8px;
  padding-left: 28px;
  border-left: 2px solid rgba(139, 92, 246, 0.25);
}

.timeline__item {
  position: relative;
  padding-bottom: 34px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--violet);
}

.timeline__year {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--violet);
}

.timeline__title {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 700;
}

.timeline__desc {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-muted);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.cert-card {
  background: #fff;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
}

.cert-card__title {
  font-size: 15px;
  font-weight: 600;
}

.cert-card__desc {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
}

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

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

.contact-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

/* 微信卡：文字居左、二维码居右 */
.contact-card--wechat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.contact-card--wechat .contact-card__info {
  min-width: 0;
}

.contact-card__qr {
  flex: none;
  width: 110px;
  height: 110px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: #fff;
}

/* 免费在线地图（Leaflet + OpenStreetMap） */
.contact-map {
  width: 100%;
  max-width: 520px;
  height: 300px;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  background: #e8eef2;
}

.contact-card__label {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--violet);
}

.contact-card__value {
  margin-top: 8px;
  font-size: 17px;
  font-weight: 600;
  word-break: break-all;
}

.contact-card__desc {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.form-panel {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 14px;
  font-weight: 600;
}

.field label em {
  color: #e11d48;
  font-style: normal;
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #fbfaff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
  background: #fff;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.form-tip {
  font-size: 13px;
  color: var(--text-muted);
}

.form-status {
  font-size: 14px;
  color: var(--violet-deep);
  display: none;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 820px;
}

.faq__item {
  border-bottom: 1px solid var(--border-light);
}

.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text);
  padding: 22px 40px 22px 0;
  cursor: pointer;
  position: relative;
}

.faq__q::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--violet);
  border-bottom: 2px solid var(--violet);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq__item.is-open .faq__q::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq__a {
  display: none;
  padding: 0 40px 24px 0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-muted);
}

.faq__item.is-open .faq__a {
  display: block;
}

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

.site-footer {
  background: #07050f;
  color: #8f84b8;
  padding: 76px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 64px;
}

.footer-brand__desc {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.85;
}

.footer-brand__contact {
  margin-top: 16px;
  font-size: 14px;
  color: #c4b8e8;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.footer-col__title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14px;
  color: #8f84b8;
  transition: color 0.18s ease;
}

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

.footer-bottom {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #6b628c;
}

/* ---------- 返回顶部 ---------- */

.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--violet);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- 动画 ---------- */

/* 进场动画只在 JS 正常运行时启用（main.js 会给 <html> 加上 .js 类），
   这样即使脚本被禁用或未加载，页面内容也完整可见，利于 SEO 与抓取。 */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 72px 0 80px;
  }
  .hero__visual {
    max-width: 560px;
  }
  .product-grid,
  .split {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .app-grid,
  .feature-grid,
  .delivery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .adv-grid,
  .cert-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .app-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .app-detail--reverse .app-detail__media {
    order: 0;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 72px 0;
  }
  .nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 7, 20, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 24px 18px;
    display: none;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 16px;
  }
  .nav a.is-active::after {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .header-cta {
    display: none;
  }
  .app-grid,
  .adv-grid,
  .feature-grid,
  .delivery-grid,
  .cert-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .spec-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .footer-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
  }
  .footer-col:last-child {
    border-bottom: none;
  }
  .form-panel {
    padding: 26px 22px;
  }
  .spec-table th,
  .spec-table td {
    padding: 12px 14px;
    font-size: 14px;
  }
  .spec-table th {
    width: 130px;
  }
}

/* ==========================================================================
   多语言支持（中文 / 英语 / 法语 / 日语 / 韩语 / 西班牙语 / 俄语 /
              德语 / 阿拉伯语 / 葡萄牙语 / 意大利语）
   ------------------------------------------------------------------
   1. 各语种字体栈
   2. 顶部语言切换器
   3. 长文本语种的排版微调
   4. 阿拉伯语 RTL 从右到左适配
   ========================================================================== */

/* ---------- 1. 各语种字体栈 ---------- */

/* 拉丁语系：使用系统西文字体，避免中文字体的西文字形偏窄 */
html[lang="en"],
html[lang="fr"],
html[lang="es"],
html[lang="pt"],
html[lang="it"],
html[lang="de"],
html[lang="ru"] {
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

html[lang="ja"] {
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    "Noto Sans JP", Meiryo, system-ui, sans-serif;
}

html[lang="ko"] {
  --font: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR",
    "Nanum Gothic", system-ui, sans-serif;
}

html[lang="ar"] {
  --font: "Segoe UI", "Noto Sans Arabic", "Geeza Pro", Tahoma, "Dubai",
    system-ui, sans-serif;
}

/* 日韩文字与中文一样需要稍松的行距与字间距 */
html[lang="ja"] body,
html[lang="ko"] body {
  line-height: 1.8;
}

/* 阿拉伯文字有大量上下延伸笔画，行距需要更松 */
html[lang="ar"] body {
  line-height: 1.95;
}

html[lang="ar"] .section-title,
html[lang="ar"] .page-hero__title,
html[lang="ar"] .hero__title,
html[lang="ar"] .cta-band__title {
  line-height: 1.45;
}

/* ---------- 2. 顶部语言切换器 ---------- */

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang {
  position: relative;
  flex-shrink: 0;
}

.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  font-family: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.lang__btn:hover,
.lang.is-open .lang__btn {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.lang__globe {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.75;
}

.lang__caret {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  opacity: 0.55;
  transition: transform 0.2s ease;
}

.lang.is-open .lang__caret {
  transform: rotate(180deg);
}

/* 窄屏只显示语言简写，节省导航栏空间 */
.lang__short {
  display: none;
}

.lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  min-width: 306px;
  margin: 0;
  padding: 8px;
  list-style: none;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: #171032;
  border: 1px solid rgba(139, 92, 246, 0.32);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.lang.is-open .lang__menu {
  display: grid;
}

.lang__menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.74);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang__menu a:hover {
  background: rgba(139, 92, 246, 0.18);
  color: #fff;
}

.lang__menu a.is-current {
  color: #fff;
  font-weight: 600;
  background: rgba(139, 92, 246, 0.24);
}

/* ---------- 3. 长文本语种的排版微调 ---------- */

/* 德语、俄语、法语等译文更长：允许表格首列换行，避免撑破版面 */
html:not([lang="zh-CN"]) .spec-table th {
  white-space: normal;
}

html:not([lang="zh-CN"]) .table-scroll .spec-table {
  min-width: 760px;
}

html:not([lang="zh-CN"]) .hero__spec {
  gap: 8px 14px;
}

/* 中窄屏下让导航留出空间给语言切换器 */
@media (max-width: 1200px) {
  html:not([lang="zh-CN"]) .header-cta {
    display: none;
  }
  html:not([lang="zh-CN"]) .nav {
    gap: 22px;
  }
  html:not([lang="zh-CN"]) .nav a {
    font-size: 14.5px;
  }
}

@media (max-width: 900px) {
  html:not([lang="zh-CN"]) .nav {
    gap: 18px;
  }
  html:not([lang="zh-CN"]) .nav a {
    font-size: 14px;
  }
}

/* ---------- 4. 阿拉伯语 RTL 适配 ---------- */

/* 表格首列与标题靠右对齐（原样式写死了 left） */
[dir="rtl"] .spec-table th,
[dir="rtl"] .spec-table td,
[dir="rtl"] .spec-table caption {
  text-align: right;
}

/* 渐变色条方向翻转，视觉重心才与文字一致 */
[dir="rtl"] .spectrum-bar {
  background: linear-gradient(270deg, var(--cyan), var(--violet), var(--magenta));
}

/* 字符间距会切断阿拉伯文的连写，必须归零 */
[dir="rtl"] .kicker {
  letter-spacing: 0;
}

/* 列表项目符号：内边距与圆点/短横线上移到右侧 */
[dir="rtl"] .check-list li {
  padding-left: 0;
  padding-right: 34px;
}

[dir="rtl"] .check-list li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .app-detail__points li {
  padding-left: 0;
  padding-right: 26px;
}

[dir="rtl"] .app-detail__points li::before {
  left: auto;
  right: 0;
}

/* 发展历程时间轴：竖线与节点整体镜像 */
[dir="rtl"] .timeline {
  padding-left: 0;
  padding-right: 28px;
  border-left: none;
  border-right: 2px solid rgba(139, 92, 246, 0.25);
}

[dir="rtl"] .timeline__item::before {
  left: auto;
  right: -35px;
}

/* FAQ 问答：折叠箭头与留白镜像 */
[dir="rtl"] .faq__q {
  text-align: right;
  padding: 22px 0 22px 40px;
}

[dir="rtl"] .faq__a {
  padding: 0 0 24px 40px;
}

[dir="rtl"] .faq__q::after {
  right: auto;
  left: 8px;
  border-right: none;
  border-left: 2px solid var(--violet);
  transform: translateY(-70%) rotate(-45deg);
}

[dir="rtl"] .faq__item.is-open .faq__q::after {
  transform: translateY(-30%) rotate(225deg);
}

/* 返回顶部按钮换到左下角 */
[dir="rtl"] .to-top {
  right: auto;
  left: 26px;
}

/* 语言菜单在 RTL 下从左侧展开 */
[dir="rtl"] .lang__menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .lang__caret {
  transform: rotate(0deg);
}

/* ---------- 窄屏下的语言切换器 ---------- */

@media (max-width: 760px) {
  .lang__current {
    display: none;
  }
  .lang__short {
    display: inline;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  .lang__btn {
    height: 42px;
    padding: 0 11px;
    gap: 6px;
  }
  /* 脱离相对定位，让菜单相对顶部导航条铺满整屏宽度 */
  .lang {
    position: static;
  }
  .lang__menu {
    left: 0;
    right: 0;
    top: 100%;
    min-width: 0;
    padding: 10px;
    border-radius: 0 0 16px 16px;
    border-left: none;
    border-right: none;
    border-top: none;
  }
  .lang__menu a {
    padding: 11px 12px;
    font-size: 14px;
  }
  .header-right {
    gap: 10px;
  }
  .brand__logo {
    height: 22px;
  }
}
