/* Omencia 官网 · 2026.11
   深色品牌页 + 浅色内容页；系统字体，不依赖 Google Fonts。 */

:root {
  --bg: #070B14;
  --bg-2: #0A1120;
  --panel: #0D1524;
  --panel-2: #111B2E;
  --line: #1D2A40;
  --line-2: #D8DDE2;
  --text: #F2F5FA;
  --text-dark: #1F242B;
  --muted: #8F9AB3;
  --muted-dark: #6A737D;
  --blue: #4E89D8;
  --blue-2: #8ABFDB;
  --blue-deep: #163C69;
  --orange: #FF6B2C;
  --paper: #F5F7FA;
  --white: #FFFFFF;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, .35);
  --max: 1240px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --mono: Consolas, "SFMono-Regular", "Cascadia Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
::selection { background: rgba(78, 137, 216, .35); }

.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.mono { font-family: var(--mono); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(7, 11, 20, .86);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.wordmark {
  display: flex; align-items: baseline; gap: 10px;
  font-weight: 800; font-size: 22px; letter-spacing: .01em;
}
.wordmark .dot { color: var(--blue); }
.wordmark .cn { font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: .18em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14px; color: var(--muted); letter-spacing: .02em;
  transition: color .2s; position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--blue); border-radius: 2px;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border: 1px solid rgba(78, 137, 216, .55);
  border-radius: 999px; color: var(--text) !important; font-size: 13px !important;
  transition: background .2s, border-color .2s;
}
.lang-switch {
  font-size: 12px !important; color: var(--muted) !important;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 11px; letter-spacing: .06em;
  transition: color .2s, border-color .2s;
}
.lang-switch:hover { color: var(--text) !important; border-color: rgba(78, 137, 216, .55); }
.nav-cta:hover { background: rgba(78, 137, 216, .14); border-color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 24px; cursor: pointer; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 170px 0 100px;
  background:
    radial-gradient(52% 44% at 78% 26%, rgba(46, 104, 190, .30), transparent 72%),
    radial-gradient(40% 34% at 12% 84%, rgba(24, 58, 110, .22), transparent 76%),
    var(--bg);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 170, 230, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 230, .055) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(72% 72% at 50% 40%, #000 38%, transparent 100%);
  -webkit-mask-image: radial-gradient(72% 72% at 50% 40%, #000 38%, transparent 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 52%, rgba(0, 0, 0, .55) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--blue);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 34px; height: 2px; background: var(--blue); }
h1.hero-title {
  font-size: clamp(42px, 5.4vw, 76px); line-height: 1.08;
  margin: 22px 0 24px; letter-spacing: -.03em; font-weight: 800;
}
h1.hero-title em { font-style: normal; color: var(--blue-2); }
.hero-lead {
  font-size: clamp(16px, 1.5vw, 19px); color: #BFCCDE; max-width: 560px; line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #5f97e3; }
.btn-ghost { border-color: rgba(255, 255, 255, .22); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .04); }
.hero-note { margin-top: 22px; font-size: 12px; color: var(--muted); letter-spacing: .02em; }

.hero-visual { position: relative; height: 560px; }
.phone {
  position: absolute; border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(160, 200, 245, .22);
  box-shadow: var(--shadow);
  background: #0B0F16;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.phone img, .phone video { width: 100%; height: 100%; object-fit: cover; }
.phone.p1 { width: 210px; height: 374px; left: 4%; top: 92px; transform: rotate(-5deg); z-index: 1; }
.phone.p2 { width: 300px; height: 534px; left: 34%; top: 0; z-index: 3; }
.phone.p3 { width: 190px; height: 338px; right: 0; top: 190px; transform: rotate(6deg); z-index: 2; }
.hero-visual:hover .p1 { transform: rotate(-7deg) translateY(-6px); }
.hero-visual:hover .p2 { transform: translateY(-8px); }
.hero-visual:hover .p3 { transform: rotate(8deg) translateY(-6px); }
.phone-tag {
  position: absolute; left: 14px; bottom: 14px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .1em;
  color: rgba(255, 255, 255, .72); background: rgba(4, 7, 12, .55);
  padding: 4px 8px; border-radius: 4px;
}

/* ---------- metrics ---------- */
.metrics {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.metric-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 34px 0;
}
.metric { padding: 0 28px; border-left: 1px solid var(--line); }
.metric:first-child { border-left: 0; padding-left: 0; }
.metric .num {
  font-size: clamp(34px, 3.6vw, 48px); font-weight: 800; color: var(--blue);
  line-height: 1; letter-spacing: -.03em;
}
.metric .cap { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section.light { background: var(--paper); color: var(--text-dark); }
.section.dark { background: var(--bg); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.section.light .kicker { color: #006BA6; }
h2.h2 {
  font-size: clamp(30px, 3.4vw, 46px); line-height: 1.16; letter-spacing: -.03em;
  font-weight: 800; margin: 0;
}
.section.light h2.h2 { color: var(--text-dark); }
.lead { font-size: 16px; color: var(--muted); max-width: 560px; line-height: 1.7; }
.section.light .lead { color: var(--muted-dark); }

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

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), border-color .35s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(78, 137, 216, .45); }
.section.light .card { background: var(--white); border-color: var(--line-2); }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; background: #0B0F16; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 22px 22px 26px; }
.card-body .tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  color: var(--blue); text-transform: uppercase;
}
.section.light .card-body .tag { color: #006BA6; }
.card-body h3 { font-size: 20px; margin: 8px 0 8px; letter-spacing: -.01em; }
.card-body p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.65; }
.section.light .card-body p { color: var(--muted-dark); }

/* ---------- cases ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card .card-media { aspect-ratio: 16 / 9; }
.case-card .metric-line {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; color: var(--muted);
}
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--muted); font-size: 12px; cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { color: var(--text); border-color: rgba(78, 137, 216, .5); }
.filter-btn.active { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- method / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 30px; }
.step { padding: 26px 26px 26px 0; border-top: 2px solid var(--line); position: relative; }
.step:not(:last-child)::after {
  content: ''; position: absolute; right: 18px; top: 34px;
  width: 20px; height: 1px; background: var(--line);
}
.step .n { font-family: var(--mono); font-size: 12px; color: var(--blue); letter-spacing: .16em; }
.step h3 { font-size: 17px; margin: 10px 0 8px; }
.step p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.65; }
.section.light .step { border-top-color: var(--line-2); }
.section.light .step p { color: var(--muted-dark); }

/* ---------- feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.section.light .split-media .frame { border-color: var(--line-2); box-shadow: 0 24px 60px rgba(20, 30, 50, .12); }
.split-copy h3 { font-size: clamp(24px, 2.4vw, 34px); margin: 0 0 14px; letter-spacing: -.02em; }
.split-copy p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.section.light .split-copy p { color: var(--muted-dark); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li {
  position: relative; padding-left: 26px; margin-bottom: 10px;
  font-size: 14px; color: var(--text); line-height: 1.6;
}
.section.light .check-list li { color: var(--text-dark); }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 4px rgba(78, 137, 216, .16);
}

/* ---------- band / cta ---------- */
.band {
  background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 64px 0;
}
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.band-item h3 { font-size: 17px; margin: 0 0 8px; }
.band-item p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.65; }
.band-item .k { font-family: var(--mono); font-size: 11px; color: var(--blue); letter-spacing: .16em; }

.cta {
  background: var(--bg-2); border-top: 1px solid var(--line);
  padding: 90px 0;
}
.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  border: 1px solid rgba(78, 137, 216, .28); border-radius: 22px;
  padding: 44px 48px;
  background:
    radial-gradient(60% 120% at 80% 20%, rgba(46, 104, 190, .20), transparent 70%),
    var(--panel);
}
.cta-box h2 { font-size: clamp(26px, 3vw, 38px); margin: 0; letter-spacing: -.02em; }
.cta-box p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 54px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 40px; }
.footer h4 { font-size: 12px; letter-spacing: .16em; color: var(--muted); font-weight: 600; margin: 0 0 14px; text-transform: uppercase; }
.footer a { display: block; font-size: 13px; color: #C7D2E4; margin-bottom: 8px; }
.footer a:hover { color: var(--blue-2); }
.footer .brandline { font-size: 13px; color: var(--muted); max-width: 300px; line-height: 1.7; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line);
  font-size: 11px; color: var(--muted); font-family: var(--mono);
}

/* ---------- page hero (sub pages) ---------- */
.page-hero {
  position: relative; padding: 160px 0 70px; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(48% 50% at 80% 20%, rgba(46, 104, 190, .22), transparent 72%),
    var(--bg);
}
.page-hero h1 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1.1; letter-spacing: -.03em; margin: 18px 0 18px; }
.page-hero .lead { max-width: 680px; }

/* ---------- video ---------- */
.video-frame {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  background: #000; box-shadow: var(--shadow); aspect-ratio: 16 / 9;
}
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-family: var(--mono); font-size: 11px; color: var(--muted); }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 13px; }
th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
td { color: #C7D2E4; }
tr:last-child td { border-bottom: 0; }
td.strong { color: var(--blue-2); font-weight: 700; }
.section.light th { border-bottom-color: var(--line-2); }
.section.light td { border-bottom-color: var(--line-2); color: var(--text-dark); }

/* ---------- reveal ---------- */
/* 默认可见；只有 JS 正常加载时才隐藏并做入场，避免脚本失败导致整页空白 */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { height: 500px; max-width: 640px; }
  .grid-3, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 36px; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-links { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 20px 24px 24px; flex-direction: column; align-items: flex-start; gap: 18px; box-shadow: 0 24px 48px rgba(0,0,0,.55); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-links .nav-cta { display: inline-flex; margin-top: 4px; }
  .metric-row { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .metric:nth-child(3) { border-left: 0; padding-left: 0; }
  .grid-3, .case-grid, .grid-2, .band-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2)::after { display: none; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 70px; }
  .hero-visual { height: 430px; }
  .phone.p2 { width: 230px; height: 410px; left: 28%; }
  .phone.p1 { width: 160px; height: 285px; }
  .phone.p3 { width: 150px; height: 267px; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 36px); }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .metric { padding: 0 16px; }
  .hero-visual { height: 360px; }
  .phone.p1 { display: none; }
  .phone.p2 { width: 210px; height: 374px; left: 22%; }
  .phone.p3 { width: 130px; height: 232px; top: 120px; }
}
