/* ==========================================================
   磊视云 LEISHIYUN · 官网重设计 v2
   品牌主色 #0054E7 · Noto Sans SC · 蓝白清爽科技风
   ========================================================== */

:root {
  --brand: #0054E7;
  --brand-dark: #0747B6;
  --brand-deep: #052E9E;
  --brand-6: rgba(0, 84, 231, 0.06);
  --brand-12: rgba(0, 84, 231, 0.12);
  --ink: #0C1D3A;
  --ink-2: #34435F;
  --ink-3: #48587A;
  --ink-4: #7C8AA6;
  --ink-5: #98A6C0;
  --line: #E3E9F5;
  --bg-soft: #F7FAFF;
  --bg-tint: #F4F7FD;
  --chip-bg: #EAF0FE;
  --dark: #0A1B38;
  --dark-2: #1C2E52;
  --success: #12B76A;
  --success-bright: #35D07F;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 12px 28px -6px rgba(10, 27, 56, 0.06);
  --shadow-float: 0 8px 20px -4px rgba(10, 27, 56, 0.10);
  --shadow-brand: 0 8px 20px -4px rgba(0, 84, 231, 0.30);
  --font: "Noto Sans SC", "MiSans", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink-3);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: 1200px; max-width: calc(100% - 48px); margin: 0 auto; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 40px; height: 40px; border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 84, 231, 0.25);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { display: flex; flex-direction: column; gap: 1px; }
.brand-name .zh { font-size: 18px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.brand-name .en { font-size: 9px; font-weight: 500; color: var(--ink-4); letter-spacing: 3px; }

.main-nav { display: flex; gap: 44px; }
.main-nav a {
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 4px 0; position: relative; transition: color 0.2s;
}
.main-nav a:hover { color: var(--brand); }
.main-nav a.active { color: var(--brand); font-weight: 600; }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -20px;
  height: 3px; border-radius: 2px; background: var(--brand);
}

.header-actions { display: flex; align-items: center; gap: 24px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: inherit; font-size: 13px; font-weight: 500; color: var(--ink-4);
  background: none; border: none; padding: 6px 10px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.lang-switch:hover { color: var(--brand); background: var(--chip-bg); }
.lang-switch svg { transition: transform 0.2s; }
.lang-switch:hover svg { transform: translateY(1px); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--radius-sm); font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  padding: 10px 20px; background: var(--brand); color: #fff; font-size: 14px;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-lg {
  padding: 14px 28px; font-size: 15px;
  border-radius: var(--radius-sm);
}
.btn-white {
  background: #fff; color: var(--brand);
  box-shadow: 0 10px 24px -6px rgba(0, 26, 77, 0.25);
}
.btn-white:hover { background: #F2F6FF; }
.btn .arr { width: 18px; height: 18px; }

/* ---------------- Hero（首页） ---------------- */
.hero {
  background:
    radial-gradient(900px 480px at 88% 8%, var(--brand-6), transparent 60%),
    radial-gradient(600px 400px at 4% 90%, rgba(0, 84, 231, 0.05), transparent 60%),
    var(--bg-soft);
  padding: 88px 0 72px;
}
.hero-layout {
  display: flex; align-items: center; gap: 72px;
}
.hero-copy { width: 560px; flex-shrink: 0; display: flex; flex-direction: column; gap: 28px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--brand);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand);
}
.hero h1 {
  font-size: 60px; line-height: 1.2; color: var(--ink); font-weight: 700;
}
.hero h1 .accent { color: var(--brand); }
.hero-sub {
  font-size: 17px; line-height: 30px; width: 520px; white-space: pre-line;
}
.hero-cta { display: flex; align-items: center; gap: 28px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500; color: var(--brand);
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 6px; }
.link-arrow svg { width: 18px; height: 18px; }
.trust-line {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--ink-4);
}
.trust-line svg { width: 16px; height: 16px; color: var(--brand); flex-shrink: 0; }

/* 产品视觉卡 */
.hero-visual {
  position: relative; width: 560px; height: 620px; flex-shrink: 0;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, #EBF1FF 30%, #F7FAFF 100%);
  border: 1px solid #E3EBFA;
  box-shadow: 0 24px 48px -8px rgba(10, 27, 56, 0.08);
}
.orbit { position: absolute; border-radius: 50%; border: 1.5px solid var(--brand-12); }
.orbit-1 { width: 500px; height: 500px; left: 30px; top: 70px; }
.orbit-2 { width: 380px; height: 380px; left: 90px; top: 130px; border-color: rgba(0, 84, 231, 0.07); }
.hero-visual .cam {
  position: absolute; left: 115px; top: 165px; width: 330px; height: 358px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-visual .p-label {
  position: absolute; top: 44px; left: 0; right: 0; text-align: center;
  font-size: 11px; font-weight: 500; letter-spacing: 4px; color: var(--ink-4);
}
.badge {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 12px; background: #fff;
  box-shadow: var(--shadow-float);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.badge-conn { left: 24px; top: 92px; font-size: 13px; font-weight: 500; color: var(--ink); }
.badge-lens { left: 306px; top: 470px; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; }
.badge-lens .t { font-size: 14px; font-weight: 600; color: var(--ink); }
.badge-lens .d { font-size: 11px; color: var(--ink-4); }
.hero-visual .caption {
  position: absolute; bottom: 20px; left: 0; right: 0; text-align: center;
  font-size: 11px; color: var(--ink-5);
}

/* ---------------- 特性条 ---------------- */
.feature-strip { border-bottom: 1px solid var(--line); padding: 26px 0; }
.feature-strip .container {
  display: flex; justify-content: space-between; align-items: center;
}
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.feature-item svg { width: 20px; height: 20px; color: var(--brand); }

/* ---------------- 通用 Section ---------------- */
.section { padding: 96px 0; }
.section.soft { background: var(--bg-soft); }
.section.tint { background: var(--bg-tint); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 56px; }
.section-head.center { align-items: center; text-align: center; }
.section-head h2 { font-size: 42px; font-weight: 700; color: var(--ink); line-height: 1.3; }

/* ---------------- 场景卡片 ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.scene-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.scene-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -8px rgba(10, 27, 56, 0.12); }
.scene-card .pic { height: 240px; overflow: hidden; }
.scene-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.scene-card:hover .pic img { transform: scale(1.05); }
.scene-card .body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.tag-row { display: flex; align-items: center; gap: 8px; }
.tag-row .chip {
  width: 30px; height: 30px; border-radius: 8px; background: var(--chip-bg);
  display: inline-flex; align-items: center; justify-content: center;
}
.tag-row .chip svg { width: 16px; height: 16px; color: var(--brand); }
.tag-row .tag { font-size: 12px; font-weight: 600; letter-spacing: 1px; color: var(--brand); }
.scene-card h3 { font-size: 20px; font-weight: 600; color: var(--ink); }
.scene-card p { font-size: 14px; line-height: 24px; }

/* ---------------- 守护卡片 ---------------- */
.care-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.care-card .top { display: flex; justify-content: space-between; align-items: center; }
.care-card .chip {
  width: 48px; height: 48px; border-radius: 12px; background: var(--chip-bg);
  display: inline-flex; align-items: center; justify-content: center;
}
.care-card .chip svg { width: 24px; height: 24px; color: var(--brand); }
.care-card .num { font-size: 13px; font-weight: 600; color: #C3CEE6; }
.care-card h3 { font-size: 20px; font-weight: 600; color: var(--ink); }
.care-card p { font-size: 14px; line-height: 24px; }

/* ---------------- CTA 横幅 ---------------- */
.cta-band {
  background: linear-gradient(120deg, #0054E7, #072E9E);
  padding: 88px 0; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10); right: -160px; top: -280px;
}
.cta-band::after {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08); left: -120px; bottom: -220px;
}
.cta-band .eyebrow-light {
  font-size: 13px; font-weight: 600; letter-spacing: 2px; color: #BFD3FF;
}
.cta-band h2 { font-size: 42px; font-weight: 700; color: #fff; }
.cta-band p { font-size: 16px; color: #D6E3FF; }
.cta-band .note { font-size: 12px; color: #9DB8F0; }

/* ---------------- 页面 Hero（内页） ---------------- */
.page-hero {
  background:
    radial-gradient(700px 360px at 90% 0%, var(--brand-6), transparent 60%),
    var(--bg-soft);
  padding: 72px 0 48px;
  display: flex; flex-direction: column; gap: 20px;
}
.page-hero h1 { font-size: 48px; font-weight: 700; color: var(--ink); }
.page-hero p { font-size: 17px; }

/* ---------------- 演示区（智能体验页） ---------------- */
.demo-layout { display: flex; gap: 40px; align-items: flex-start; }
.viewer {
  position: relative; width: 720px; flex-shrink: 0; height: 470px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: #0E1626; border: 1px solid var(--line);
  box-shadow: 0 20px 44px -8px rgba(10, 27, 56, 0.12);
}
.viewer .room { position: absolute; inset: 0 0 24px 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.96; transition: opacity 0.4s, filter 0.4s; }
.viewer .room.hidden-mode { opacity: 0; }
.viewer .privacy-cover {
  position: absolute; inset: 0 0 24px 0; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: #0E1626; color: #93A5C9;
}
.viewer.privacy .privacy-cover { display: flex; }
.viewer.privacy .room { opacity: 0; }
.privacy-cover svg { width: 44px; height: 44px; color: #3D5680; }
.privacy-cover .t { font-size: 15px; font-weight: 500; color: #C6D4F2; }
.privacy-cover .d { font-size: 12px; }
.viewer-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 10px; background: rgba(7, 17, 35, 0.66);
  font-size: 13px; font-weight: 500; color: #fff;
  z-index: 2;
}
.viewer-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.chip-tl { left: 16px; top: 16px; }
.chip-tr { right: 16px; top: 16px; background: rgba(255, 255, 255, 0.14); font-size: 11px; padding: 8px 12px; }
.det-chip {
  left: 50%; top: 42%; transform: translate(-50%, -50%);
  border-radius: 999px; padding: 10px 18px;
}
.viewer-bottom {
  position: absolute; left: 0; right: 0; bottom: 0; height: 24px;
  background: var(--dark);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; font-size: 10px; color: #93A5C9; z-index: 3;
}
.viewer-bottom .time { font-size: 11px; font-weight: 500; color: #D6E3FF; }
.viewer-bottom .right { display: flex; align-items: center; gap: 10px; }
.timeline {
  position: absolute; left: 16px; right: 16px; bottom: 40px; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 500; color: #fff;
}
.timeline .track {
  flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.24);
  position: relative; overflow: hidden;
}
.timeline .track.playing { cursor: pointer; }
.timeline .progress {
  position: absolute; left: 0; top: 0; bottom: 0; width: 40%;
  border-radius: 2px; background: var(--success-bright);
}

/* 交互选项 */
.demo-options { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.option-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 20px; display: flex; flex-direction: column; gap: 10px;
  cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s;
}
.option-card:hover { border-color: #BFD3FF; }
.option-card.active {
  border: 1.5px solid var(--brand);
  box-shadow: 0 8px 20px -4px rgba(0, 84, 231, 0.12);
}
.option-card .top { display: flex; justify-content: space-between; align-items: center; }
.option-card .chip {
  width: 40px; height: 40px; border-radius: 10px; background: var(--chip-bg);
  display: inline-flex; align-items: center; justify-content: center;
}
.option-card .chip svg { width: 20px; height: 20px; color: var(--brand); }
.option-card .top svg.arrow { width: 16px; height: 16px; color: var(--brand); }
.option-card h3 { font-size: 16px; font-weight: 600; color: var(--ink); }
.option-card p { font-size: 13px; line-height: 22px; }
.demo-note { font-size: 12px; color: var(--ink-5); }

/* 功能卡 */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.feat-card .chip {
  width: 40px; height: 40px; border-radius: 10px; background: var(--chip-bg);
  display: inline-flex; align-items: center; justify-content: center;
}
.feat-card .chip svg { width: 20px; height: 20px; color: var(--brand); }
.feat-card h3 { font-size: 16px; font-weight: 600; color: var(--ink); }
.feat-card p { font-size: 13px; line-height: 20px; }

/* ---------------- 场景大块（应用场景页） ---------------- */
.scene-block {
  padding: 32px 0; display: flex; align-items: center; gap: 64px;
}
.scene-block .pic {
  width: 560px; height: 400px; flex-shrink: 0; border-radius: 24px; overflow: hidden;
  box-shadow: 0 20px 44px -8px rgba(10, 27, 56, 0.10);
}
.scene-block .pic img { width: 100%; height: 100%; object-fit: cover; }
.scene-block .copy { display: flex; flex-direction: column; gap: 18px; }
.scene-block h3 { font-size: 28px; font-weight: 700; color: var(--ink); }
.scene-block .desc { font-size: 15px; line-height: 26px; }
.scene-block ul { display: flex; flex-direction: column; gap: 12px; }
.scene-block ul li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.scene-block ul li svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }
.scene-block + .scene-block { border-top: 1px solid var(--line); }

/* ---------------- FAQ / 支持页 ---------------- */
.support-layout { display: flex; gap: 40px; align-items: flex-start; }
.faq-col { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 24px; transition: border-color 0.2s;
}
.faq-item.open { border: 1.5px solid var(--brand); }
.faq-item .q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; user-select: none;
}
.faq-item .q h3 { font-size: 16px; font-weight: 600; color: var(--ink); }
.faq-item .q svg {
  width: 20px; height: 20px; color: var(--ink-2); flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .q svg { transform: rotate(180deg); color: var(--brand); }
.faq-item .a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  font-size: 14px; line-height: 24px;
}
.faq-item.open .a { max-height: 200px; padding-top: 12px; }

.guide-card {
  width: 440px; flex-shrink: 0; background: var(--bg-tint);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 20px;
  position: sticky; top: 96px;
}
.guide-card .eyebrow-text { font-size: 12px; font-weight: 600; letter-spacing: 2px; color: var(--brand); }
.guide-card h3 { font-size: 24px; font-weight: 700; color: var(--ink); }
.guide-card .desc { font-size: 14px; line-height: 24px; }
.guide-card label { font-size: 13px; font-weight: 500; color: var(--ink-2); display: block; }
.select-box {
  width: 100%; margin-top: 8px; padding: 12px 16px; border-radius: 10px;
  border: 1px solid #D6DCEA; background: #fff; appearance: none;
  font-family: inherit; font-size: 14px; color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2334435F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  cursor: pointer;
}
.guide-result {
  display: none; padding: 14px 16px; border-radius: 10px;
  background: var(--chip-bg); border: 1px solid #C9D9FB;
  font-size: 13px; line-height: 22px; color: var(--ink-2);
}
.guide-result.show { display: block; }
.guide-result b { color: var(--brand); }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--dark); color: #B9C6E2;
  padding: 72px 64px 36px; position: relative; overflow: hidden;
}
.footer-watermark {
  position: absolute; right: 40px; top: -60px; width: 440px; height: 440px;
  opacity: 0.05; pointer-events: none;
}
.footer-top { display: flex; gap: 110px; position: relative; }
.footer-brand { width: 380px; display: flex; flex-direction: column; gap: 14px; }
.footer-brand .logo-row { display: flex; align-items: center; gap: 12px; }
.footer-brand .logo-row img { width: 44px; height: 44px; }
.footer-brand .name { display: flex; align-items: baseline; gap: 10px; }
.footer-brand .name .zh { font-size: 20px; font-weight: 600; color: #fff; }
.footer-brand .name .en { font-size: 10px; font-weight: 500; color: #8FA0C4; letter-spacing: 3px; }
.footer-brand .tagline { font-size: 14px; color: #93A5C9; }
.footer-col { display: flex; flex-direction: column; gap: 18px; }
.footer-col h4 { font-size: 13px; font-weight: 600; letter-spacing: 1px; color: #fff; }
.footer-col a, .footer-col span { font-size: 13px; color: #B9C6E2; }
.footer-col a:hover { color: #fff; }
.footer-divider { height: 1px; background: var(--dark-2); margin: 40px 0 0; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; padding-top: 24px;
  font-size: 12px; color: #6B7EA8;
}
.footer-bottom .back-top {
  display: inline-flex; align-items: center; gap: 6px; color: #93A5C9;
  cursor: pointer;
}
.footer-bottom .back-top:hover { color: #fff; }
.footer-bottom .back-top svg { width: 14px; height: 14px; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1280px) {
  .hero-layout, .demo-layout, .support-layout, .scene-block { flex-wrap: wrap; }
  .hero-copy, .hero-visual, .viewer, .scene-block .pic, .guide-card { width: 100%; }
  .scene-block .pic { height: 320px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero h1 { font-size: 42px; }
  .page-hero h1 { font-size: 36px; }
  .section-head h2 { font-size: 32px; }
  .card-grid, .feat-grid { grid-template-columns: 1fr; }
  .footer-top { flex-wrap: wrap; gap: 48px; }
  .footer-brand { width: auto; }
}
