:root {
  --bg: #070b14;
  --blue: #2c8fff;
  --cyan: #5bd0ff;
  --text: #f5f7fa;
  --gray: #9aa4b2;
  --line: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 70% 8%, rgba(44,143,255,.17), transparent 28%), linear-gradient(180deg, #050810, var(--bg) 46%, #05070d);
  color: var(--text);
  font-family: Inter, "SF Pro Display", "HarmonyOS Sans", "PingFang SC", system-ui, sans-serif;
  letter-spacing: 0;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.42), transparent 62%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 40px, 1180px); margin-inline: auto; }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 20, .54);
  backdrop-filter: blur(24px);
  transition: background .25s ease;
}
.site-header.scrolled { background: rgba(7, 11, 20, .9); }
.nav { height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 0; font-weight: 900; letter-spacing: .18em; }
.brand img { width: 130px; height: auto; display: block; }
.brand span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--text); color: #07101f; font-size: 12px; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--gray); font-size: 14px; font-weight: 700; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
select, .nav-cta {
  height: 40px; border: 1px solid var(--line); border-radius: 999px; color: var(--text);
  background: rgba(255,255,255,.08); padding: 0 14px; font-weight: 800;
}
select option { color: var(--text); background: #07101f; }
.nav-cta { display: inline-flex; align-items: center; background: var(--text); color: #07101f; }
.menu-button { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.08); color: var(--text); font-size: 22px; }
.hero {
  min-height: 100svh;
  padding-top: 70px;
  background-image: linear-gradient(90deg, rgba(5,8,16,.88), rgba(5,8,16,.4)), url("../images/hero-bg.webp");
  background-size: cover;
  background-position: center;
}
.hero-grid { min-height: calc(100svh - 70px); display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 44px; padding: 54px 0 70px; }
.eyebrow, .mini { color: var(--cyan); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3, p { margin: 0; }
h1 { max-width: 720px; font-size: clamp(3.2rem, 7.4vw, 7.6rem); line-height: .94; font-weight: 950; }
.hero h2 { max-width: 620px; margin-top: 24px; font-size: clamp(1.25rem, 2.2vw, 1.9rem); line-height: 1.16; }
.lead { max-width: 680px; margin-top: 22px; color: var(--gray); font-size: 18px; line-height: 1.8; }
.hero-actions, .card-actions, .store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.button, .store-row a {
  display: inline-flex; justify-content: center; align-items: center; min-height: 46px; padding: 0 22px;
  border-radius: 999px; font-weight: 900; border: 1px solid var(--line);
  flex: 0 0 auto;
}
.button.light { background: var(--text); color: #07101f; }
.button.blue, .store-row a:first-child { background: var(--blue); color: white; border-color: transparent; }
.button.ghost { background: rgba(255,255,255,.04); color: var(--text); }
.hero-visual { position: relative; }
.hero-visual {
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 1 / 1;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(230,239,250,.92));
  box-shadow: 0 40px 110px rgba(0,0,0,.34);
  overflow: hidden;
  justify-self: center;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  filter: drop-shadow(0 30px 45px rgba(0,0,0,.22));
}
.glow-dot { position: absolute; top: 44%; right: 19%; width: 58px; height: 58px; border-radius: 50%; background: rgba(91,208,255,.42); filter: blur(18px); animation: pulse 3.4s ease-in-out infinite; }
.float { animation: float 6s ease-in-out infinite; }
.section { padding: 96px 0; }
.section-title { max-width: 980px; font-size: clamp(2.3rem, 5.2vw, 5.1rem); line-height: 1.02; font-weight: 950; white-space: pre-line; word-break: keep-all; overflow-wrap: normal; }
.panel {
  border: 1px solid rgba(154,164,178,.18); border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.024));
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
}
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.product-card { padding: 30px; display: grid; gap: 26px; }
.product-card h3 { margin-top: 12px; font-size: 32px; }
.product-card p:not(.mini):not(.muted) { margin-top: 20px; color: rgba(245,247,250,.86); line-height: 1.75; }
.muted { color: var(--gray); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { padding: 9px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--gray); font-size: 14px; }
.blue-chips span { background: rgba(44,143,255,.12); color: var(--text); }
.product-images { display: grid; place-items: center; border-radius: 20px; background: rgba(255,255,255,.92); padding: 10px; }
.product-images.split { grid-template-columns: 1fr 1fr; gap: 10px; }
.product-images img { border-radius: 14px; object-fit: contain; }
.app-band { background: rgba(255,255,255,.025); border-block: 1px solid var(--line); }
.section-copy { max-width: 820px; }
.section-copy .section-title { margin-top: 16px; }
.app-grid { margin-top: 44px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 44px; }
.phone { width: min(100%, 390px); margin-inline: auto; padding: 12px; border-radius: 44px; background: #02050a; border: 1px solid var(--line); box-shadow: 0 40px 110px rgba(0,0,0,.58); }
.phone-screen { overflow: hidden; border-radius: 34px; background: black; border: 1px solid rgba(255,255,255,.08); padding: 18px; }
.status { display: flex; justify-content: space-between; color: var(--gray); font-size: 12px; margin-bottom: 18px; }
.ear-view {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(91,208,255,.3);
  background:
    radial-gradient(circle at 48% 44%, rgba(239, 165, 138, .95) 0 18%, rgba(190, 105, 88, .86) 26%, rgba(95, 48, 52, .88) 48%, rgba(20, 25, 34, 1) 73%),
    #141922;
  box-shadow: inset 0 0 46px rgba(91,208,255,.22), 0 0 38px rgba(91,208,255,.18);
}
.ear-view::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: radial-gradient(circle at 60% 42%, rgba(255,255,255,.32), transparent 14%), transparent;
}
.ear-view img { display: none; }
.tool-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 18px; }
.tool-row span { border-radius: 999px; background: rgba(255,255,255,.08); padding: 9px 0; text-align: center; color: var(--gray); font-size: 12px; font-weight: 800; }
.steps { display: grid; gap: 14px; }
.step { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.045); padding: 18px; font-size: 18px; font-weight: 800; }
.step b { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--blue); }
.qr-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 18px; border-radius: 24px; background: rgba(44,143,255,.08); border: 1px solid rgba(91,208,255,.2); }
.qr-card img {
  width: clamp(132px, 16vw, 178px);
  height: clamp(132px, 16vw, 178px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 16px;
  background: white;
  padding: 8px;
}
.tech-grid, .scenario-grid { display: grid; gap: 18px; margin-top: 40px; }
.tech-grid { grid-template-columns: repeat(3, 1fr); }
.tech-card, .scenario-card { min-height: 0; padding: 26px; }
.tech-card { display: grid; align-content: start; gap: 8px; }
.param-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px; border-radius: 26px; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.param { border-radius: 18px; background: #050912; padding: 20px; }
.param strong { display: block; font-size: 26px; }
.safety { margin-top: 18px; padding: 24px; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 26px; color: var(--gray); }
.safety .mini { grid-column: 1 / -1; }
.scenario-grid { grid-template-columns: repeat(5, 1fr); }
.scenario-card { min-height: 210px; background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.025)); border: 1px solid var(--line); border-radius: 24px; display: grid; align-content: start; gap: 8px; }
.mascot { padding: 34px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 36px; align-items: center; }
.mascot img {
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-inline: auto;
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  padding: 10px;
}
.about-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 36px;
  align-items: stretch;
  border: 1px solid rgba(154,164,178,.16);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  padding: 34px;
}
.about-grid > div:first-child {
  display: grid;
  align-content: start;
  gap: 22px;
  min-height: 260px;
  border-radius: 22px;
  background: radial-gradient(circle at 16% 0%, rgba(91,208,255,.16), transparent 38%), rgba(255,255,255,.035);
  padding: 28px;
}
#about .section-title {
  max-width: 520px;
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0;
}
#about .section-title::after {
  content: "Visual Imaging · Real-Time Transmission · BORO Global";
  display: block;
  max-width: 420px;
  margin-top: 22px;
  color: var(--gray);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.7;
  text-transform: uppercase;
}
.about-copy {
  align-self: center;
  color: var(--gray);
  font-size: 17px;
  line-height: 1.85;
  display: grid;
  gap: 18px;
  padding: 10px 10px 10px 0;
}
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; }
.contact { padding: 38px; align-items: center; }
.contact-links { display: grid; gap: 12px; }
.contact-links a { padding: 18px; border-radius: 18px; font-weight: 900; background: var(--text); color: #07101f; }
.contact-links a:nth-child(2) { background: rgba(44,143,255,.14); color: var(--text); border: 1px solid rgba(91,208,255,.24); }
.footer { padding: 42px 0; background: #03060c; border-top: 1px solid var(--line); color: var(--gray); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: end; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: var(--text); letter-spacing: .18em; }
.footer-brand img { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: flex-end; font-weight: 800; }
.reveal { animation: reveal .72s ease-out both; }
[dir="rtl"] .container { text-align: right; }
[dir="rtl"] .brand, [dir="rtl"] .step, [dir="rtl"] .footer-brand { flex-direction: row-reverse; }
[lang="zh-CN"] h1,
[lang="zh-CN"] .section-title {
  white-space: pre-line;
  word-break: keep-all;
  overflow-wrap: normal;
  line-height: 1.04;
}
[lang="zh-CN"] h1 {
  max-width: 680px;
  font-size: clamp(4.8rem, 7.4vw, 6.6rem);
}
[lang="zh-CN"] .app-band .section-title {
  max-width: none;
  font-size: clamp(3.3rem, 5vw, 4.35rem);
  white-space: nowrap;
}
[lang="zh-CN"] #technology .section-title {
  max-width: 1100px;
  font-size: clamp(3.1rem, 4.8vw, 4.5rem);
}
[lang="zh-CN"] #products .section-title,
[lang="zh-CN"] #contact .section-title {
  max-width: 1000px;
  font-size: clamp(3rem, 4.8vw, 4.6rem);
}
[lang="zh-CN"] #about .section-title {
  font-size: clamp(2rem, 3.1vw, 3rem);
}
@keyframes reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%,100% { opacity: .7; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.08); } }

@media (max-width: 1024px) {
  .hero-grid, .product-grid, .app-grid, .about-grid, .contact, .footer-grid { grid-template-columns: 1fr; }
  .tech-grid, .param-grid { grid-template-columns: repeat(2,1fr); }
  .scenario-grid { grid-template-columns: repeat(2,1fr); }
  .nav-links { display: none; position: absolute; inset: 66px 20px auto; flex-direction: column; align-items: stretch; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: rgba(7,11,20,.96); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.05); }
  .menu-button { display: block; }
  .nav-cta { display: none; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }
  .nav { height: 62px; }
  .brand { letter-spacing: .1em; }
  .brand img { width: 104px; }
  .brand span { width: 32px; height: 32px; }
  select { max-width: 118px; padding-inline: 8px; }
  .hero-grid { padding: 42px 0 56px; gap: 24px; }
  .hero-actions, .card-actions, .store-row { flex-direction: column; }
  .button, .store-row a { width: 100%; }
  .section { padding: 70px 0; }
  .panel, .product-card, .contact { border-radius: 20px; padding: 22px; }
  .product-images.split, .tech-grid, .param-grid, .scenario-grid, .safety, .mascot, .qr-card { grid-template-columns: 1fr; }
  .phone { border-radius: 34px; }
  .phone-screen { border-radius: 26px; }
  .footer-links { justify-content: flex-start; }
  [lang="zh-CN"] h1 {
    font-size: clamp(3.5rem, 16vw, 5rem);
  }
  [lang="zh-CN"] .app-band .section-title,
  [lang="zh-CN"] #technology .section-title,
  [lang="zh-CN"] #products .section-title,
  [lang="zh-CN"] #contact .section-title {
    white-space: pre-line;
    font-size: clamp(2.35rem, 10.5vw, 3.6rem);
  }
}
