:root {
  --brand: #0a1f44;
  /* 深海军蓝 */
  --brand2: #0d2b5e;
  --accent: #00e0a8;
  /* 霓虹青绿 */
  --accent2: #3d8bff;
  /* 科技蓝 */
  --neon: #7c5cff;
  /* 霓虹紫 */
  --ink: #e7ecf3;
  --muted: #9aa7b8;
  --line: rgba(255, 255, 255, .10);
  --bg: #070d1a;
  /* 深空黑蓝 */
  --bg-soft: #0c1527;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0, 224, 168, .10);
}

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

html {
  scroll-behavior: smooth;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  background-image: radial-gradient(1200px 600px at 85% -10%, rgba(124, 92, 255, .18), transparent 60%), radial-gradient(900px 500px at -10% 10%, rgba(0, 224, 168, .10), transparent 55%), linear-gradient(rgba(7, 13, 26, .92), rgba(7, 13, 26, .92)), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><path d='M0 40 L40 0' stroke='rgba(0,224,168,.05)' stroke-width='1'/></svg>");
  background-attachment: fixed;
}

a {
  color: var(--accent2);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

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

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 13, 26, .82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .5px;
  color: #fff;
}

.brand span {
  color: var(--accent);
}

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

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  position: relative;
  transition: .2s;
}

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

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  background: var(--accent);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 224, 168, .6);
}

.lang-select {
  font-size: 14px;
  padding: 6px 10px;
  border: 1px solid rgba(0, 224, 168, .35);
  border-radius: 8px;
  background: rgba(12, 21, 39, .92);
  color: #e7ecf3;
  cursor: pointer;
  appearance: auto;
}

.lang-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 224, 168, .18);
}

.lang-select option {
  background: #0c1527;
  color: #e7ecf3;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
}

/* ===== Hero ===== */
.hero {
  padding: 90px 0 70px;
  background: linear-gradient(135deg, rgba(7, 13, 26, .74), rgba(10, 31, 68, .64) 60%, rgba(124, 92, 255, .28)), url('/assets/img/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
  position: relative;
}

body.page-solutions .hero {
  background: linear-gradient(135deg, rgba(7, 13, 26, .74), rgba(10, 31, 68, .64)), url('/assets/img/solutions-bg.jpg') center/cover no-repeat;
}

body.page-products .hero {
  background: linear-gradient(135deg, rgba(7, 13, 26, .74), rgba(10, 31, 68, .64)), url('/assets/img/products-bg.jpg') center/cover no-repeat;
}

body.page-partners .hero {
  background: linear-gradient(135deg, rgba(7, 13, 26, .74), rgba(10, 31, 68, .64)), url('/assets/img/partners-bg.jpg') center/cover no-repeat;
}

body.page-about .hero {
  background: linear-gradient(135deg, rgba(7, 13, 26, .74), rgba(10, 31, 68, .64)), url('/assets/img/about-bg.jpg') center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(0, 224, 168, .30), transparent 70%);
}

.hero::before {
  content: "";
  position: absolute;
  left: -100px;
  bottom: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(61, 139, 255, .22), transparent 70%);
}

.hero-inner {
  max-width: 920px;
  position: relative;
  z-index: 2;
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: -30px -50px -20px -50px;
  background: linear-gradient(90deg, rgba(7, 13, 26, .45), rgba(7, 13, 26, .12) 75%, transparent);
  border-radius: 18px;
  z-index: -1;
  pointer-events: none;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.25;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: .2px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.hero h1 .hl {
  color: var(--accent);
  text-shadow: 0 0 24px rgba(0, 224, 168, .35), 0 2px 12px rgba(0, 0, 0, .4);
}

.hero p.lead {
  font-size: 18.5px;
  opacity: 1;
  margin-bottom: 30px;
  max-width: 780px;
  color: #eaf0f7;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
  line-height: 1.8;
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  transition: .25s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #04120e;
  box-shadow: 0 8px 24px rgba(0, 224, 168, .25);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #04120e;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .45);
  margin-left: 12px;
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .10);
}

/* ===== Sections ===== */
.section {
  padding: 76px 0;
}

.section-soft {
  background: linear-gradient(180deg, transparent, rgba(12, 21, 39, .6));
}

.sec-head {
  text-align: center;
  margin-bottom: 44px;
}

.sec-head h2 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.sec-head p {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
  font-size: 16px;
}

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.card {
  background: linear-gradient(180deg, rgba(13, 27, 52, .85), rgba(10, 20, 40, .85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: .3s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 13, 26, .62) 0%, rgba(7, 13, 26, .80) 55%, rgba(7, 13, 26, .92) 100%);
  z-index: 1;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 120px at 50% -20%, rgba(0, 224, 168, .14), transparent 60%);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 224, 168, .14);
  border-color: rgba(0, 224, 168, .45);
}

/* SEO：卡片场景图改为可索引 <img>（替代 background-image），z-index 置于背景之上、遮罩之下 */
.card .card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.card .num {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  opacity: .75;
}

.card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}

.card p {
  font-size: 14px;
  color: #cad6e6;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.card a.more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent2);
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

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

.card:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 224, 168, .30);
}

/* ===== Solution detail blocks ===== */
.sol-block {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 46px;
  background: linear-gradient(180deg, rgba(13, 27, 52, .85), rgba(10, 20, 40, .85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: .3s;
}

.sol-block:hover {
  border-color: rgba(0, 224, 168, .35);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .25);
}

.sol-block .tag {
  display: none;
}

.sol-block h3 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.sol-block p.desc {
  color: var(--muted);
  margin-bottom: 16px;
}

.sol-block ul {
  list-style: none;
}

.sol-block ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 15px;
  color: #cdd8e6;
}

.sol-block ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.sol-icon {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--brand2), var(--neon));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 42px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(124, 92, 255, .25);
  position: relative;
  overflow: hidden;
}

/* SEO：解决方案场景图改为可索引 <img>，数字水印置于图上层 */
.sol-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sol-icon .sol-num {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .75);
}

/* ===== Product ===== */
.prod-overview {
  background: linear-gradient(135deg, rgba(13, 27, 52, .7), rgba(10, 20, 40, .7));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  margin-bottom: 40px;
}

.prod-overview p {
  color: #cdd8e6;
  font-size: 16px;
}

.core-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 46px;
}

.cv {
  border-left: 4px solid var(--accent);
  background: rgba(13, 27, 52, .7);
  padding: 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow);
}

.cv h4 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.cv p {
  font-size: 14px;
  color: var(--muted);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-top: 8px;
}

.spec-table th,
.spec-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  background: rgba(13, 27, 52, .8);
  color: var(--accent);
  font-weight: 700;
  width: 34%;
}

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

.spec-table td {
  color: #cdd8e6;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(13, 27, 52, .6);
  cursor: pointer;
  font-weight: 600;
  color: var(--muted);
  transition: .2s;
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #04120e;
  border-color: transparent;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ===== Partners / About ===== */
.prose {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  color: #cdd8e6;
}

.prose h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 28px 0 12px;
}

.prose ul {
  list-style: none;
  margin: 12px 0 20px;
}

.prose ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.prose ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.contact-box {
  background: linear-gradient(135deg, var(--brand2), var(--neon));
  color: #fff;
  border-radius: var(--radius);
  padding: 26px;
  margin-top: 26px;
  box-shadow: 0 12px 30px rgba(124, 92, 255, .25);
}

.contact-box a {
  color: var(--accent);
}

.contact-box h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

/* ===== POC / Pricing (inside spec-table) ===== */
.poc-list {
  list-style: none;
  margin: 0;
}

.poc-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #cdd8e6;
}

.poc-list li:last-child {
  margin-bottom: 0;
}

.poc-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.spec-table td a {
  color: var(--accent);
}

/* ===== CTA / Manifesto ===== */
.manifesto {
  background: linear-gradient(135deg, var(--brand), var(--brand2) 60%, rgba(124, 92, 255, .6));
  color: #fff;
  text-align: center;
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}

.manifesto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 50% 0%, rgba(0, 224, 168, .18), transparent 60%);
  pointer-events: none;
}

.manifesto h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.manifesto p {
  max-width: 800px;
  margin: 0 auto 24px;
  opacity: .92;
  font-size: 17px;
  position: relative;
  z-index: 1;
}

/* ===== Footer ===== */
.footer {
  background: #04091a;
  color: #8a97a8;
  padding: 40px 0 28px;
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.footer a {
  color: #9fb6e0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer .copy {
  opacity: .7;
}

/* ===== Responsive ===== */
@media(max-width:960px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .sol-block {
    grid-template-columns: 1fr;
  }

  .core-values {
    grid-template-columns: 1fr;
  }

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

@media(max-width:640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(7, 13, 26, .96);
    padding: 20px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

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

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

  .section {
    padding: 52px 0;
  }

  .sec-head h2 {
    font-size: 26px;
  }
}

/* ===== Product Video ===== */
.video-frame {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  background: #050b16;
}

.product-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050b16;
}

.video-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(180deg, rgba(7, 13, 26, .52), rgba(7, 13, 26, .80));
  border: none;
  cursor: pointer;
  color: #fff;
  font-family: inherit;
  transition: background .3s;
  z-index: 2;
}

.video-cover:hover {
  background: linear-gradient(180deg, rgba(7, 13, 26, .40), rgba(7, 13, 26, .70));
}

.video-cover-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #04120e;
  font-size: 26px;
  padding-left: 5px;
  box-shadow: 0 10px 34px rgba(0, 224, 168, .40);
  transition: transform .3s;
}

.video-cover:hover .video-cover-icon {
  transform: scale(1.08);
}

.video-cover-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  opacity: .92;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

.video-cover.hidden {
  display: none;
}

@media(max-width:640px) {
  .video-cover-icon {
    width: 58px;
    height: 58px;
    font-size: 20px;
  }

  .video-cover-text {
    font-size: 12px;
  }
}

/* ===== FAQ ===== */
body.page-faq .hero {
  background: linear-gradient(135deg, rgba(7, 13, 26, .74), rgba(10, 31, 68, .64)), url('/assets/img/about-bg.jpg') center/cover no-repeat;
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(180deg, rgba(13, 27, 52, .85), rgba(10, 20, 40, .85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: .25s;
}

.faq-item:hover {
  border-color: rgba(0, 224, 168, .35);
}

.faq-item[open] {
  border-color: rgba(0, 224, 168, .40);
  box-shadow: 0 8px 24px rgba(0, 224, 168, .08);
}

.faq-q {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  position: relative;
  padding-right: 48px;
  list-style: none;
  user-select: none;
  transition: .2s;
}

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

.faq-q::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  transition: .25s;
}

.faq-item[open] .faq-q::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.faq-item[open] .faq-q {
  color: var(--accent);
}

.faq-a {
  padding: 0 24px 20px;
  font-size: 15px;
  color: #cdd8e6;
  line-height: 1.8;
}

.faq-contact {
  max-width: 880px;
  margin: 36px auto 0;
  text-align: center;
}

body.rtl .faq-q {
  padding-right: 24px;
  padding-left: 48px;
}

body.rtl .faq-q::after {
  right: auto;
  left: 24px;
}

/* ===== RTL (Arabic) ===== */
body.rtl {
  direction: rtl;
  text-align: right;
}

body.rtl .card a.more,
body.rtl .sol-block ul li,
body.rtl .prose ul li {
  direction: rtl;
}

body.rtl .spec-table th,
body.rtl .spec-table td {
  text-align: right;
}

body.rtl .cv {
  border-left: none;
  border-right: 4px solid var(--accent);
  border-radius: var(--radius) 0 0 var(--radius);
}

body.rtl .btn-ghost {
  margin-left: 0;
  margin-right: 12px;
}

/* RTL 下导航自然镜像：brand 在右，nav-links 在左 */

body.rtl .poc-list li {
  padding-left: 0;
  padding-right: 22px;
}

body.rtl .poc-list li::before {
  left: auto;
  right: 0;
}