/* ============================================================
   doovi.cn — 单页落地页样式
   设计语言与 biivi.com 企业站一致：白底导航 + 深墨蓝点阵 Hero + 天蓝主色
   改配色只改 :root 变量；不依赖任何 CDN / 图标字体
   ============================================================ */

:root {
  --accent: #0369a1;
  --accent-dark: #075985;
  --accent-light: #eff6ff;
  --accent-soft: #e0f2fe;

  --ink: #0f172a;
  --ink-2: #1e293b;
  --slate-700: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --white: #fff;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, .07), 0 2px 4px -2px rgba(15, 23, 42, .05);
  --shadow-lg: 0 10px 24px -6px rgba(15, 23, 42, .12), 0 4px 8px -4px rgba(15, 23, 42, .06);

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

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-2);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: rgba(3, 105, 161, .12); }
img, svg { max-width: 100%; }
::selection { background: rgba(3, 105, 161, .15); }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--white); color: var(--ink); padding: .6rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-weight: 600; font-size: .94rem; line-height: 1.4;
  padding: .72rem 1.3rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-outline-dark {
  border-color: rgba(255, 255, 255, .3); color: #fff; background: transparent;
}
.btn-outline-dark:hover { border-color: rgba(255, 255, 255, .65); background: rgba(255, 255, 255, .08); }
.btn-outline-ink { border-color: #cbd5e1; color: var(--slate-700); background: transparent; }
.btn-outline-ink:hover { border-color: var(--ink-2); color: var(--ink); background: var(--soft); }
.btn:focus-visible { outline: 3px solid rgba(3, 105, 161, .3); outline-offset: 2px; }

/* -------------------------------------------------------------- navbar -- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; gap: 1.2rem;
  height: 62px;
}
.brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; color: var(--ink);
}
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--accent) 0%, #0ea5e9 100%);
  color: #fff; box-shadow: 0 2px 6px rgba(3, 105, 161, .28);
}
.brand-mark svg { width: 17px; height: 17px; }
.nav-links { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav-links a {
  color: var(--slate-700); font-size: .93rem; font-weight: 500;
  padding: .42rem .8rem; border-radius: var(--radius-sm);
  transition: color .14s ease, background .14s ease;
}
.nav-links a:hover { color: var(--accent); background: var(--soft); }
.nav-cta { margin-left: .5rem; padding: .48rem 1rem; font-size: .9rem; }

/* ---------------------------------------------------------------- hero -- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(14, 165, 233, .22) 0%, rgba(14, 165, 233, 0) 62%),
    radial-gradient(700px 460px at 96% 88%, rgba(34, 211, 238, .16) 0%, rgba(34, 211, 238, 0) 60%),
    linear-gradient(150deg, #1e293b 0%, #172033 45%, #0f172a 100%);
  padding: clamp(40px, 4.6vw, 62px) 0 clamp(36px, 4vw, 54px);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(147, 213, 255, .5) 1.1px, transparent 1.1px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 62% 92% at 82% 44%, #000 0%, rgba(0, 0, 0, .7) 38%, transparent 76%);
  mask-image: radial-gradient(ellipse 62% 92% at 82% 44%, #000 0%, rgba(0, 0, 0, .7) 38%, transparent 76%);
  opacity: .9;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(15, 23, 42, .84) 0%, rgba(15, 23, 42, .38) 46%, transparent 74%);
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: #7dd3fc; margin: 0 0 .85rem;
}
.hero h1 {
  font-size: clamp(1.95rem, 4.2vw, 3rem); font-weight: 800; line-height: 1.18;
  letter-spacing: -.03em; margin: 0 0 1rem; max-width: 36rem; text-wrap: balance;
}
.hero p.lead {
  font-size: clamp(1rem, 1.5vw, 1.14rem); line-height: 1.85;
  color: rgba(255, 255, 255, .68); max-width: 33rem; margin: 0 0 1.9rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-points {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: flex; flex-wrap: wrap; gap: 1.5rem;
}
.hero-points li {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .88rem; color: rgba(255, 255, 255, .66);
}
.hero-points svg { width: 15px; height: 15px; color: #7dd3fc; flex: 0 0 auto; }
.hero-status {
  display: inline-flex; align-items: center; gap: .5rem;
  margin-top: 1.1rem; font-size: .84rem; color: rgba(255, 255, 255, .55);
}
.dot {
  width: 7px; height: 7px; border-radius: 50%; background: #34d399; flex: 0 0 auto;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, .18);
}

/* ------------------------------------------------------------ sections -- */
.section { padding: clamp(32px, 3.6vw, 50px) 0; }
.section--soft { background: var(--soft); }
.section--line { border-top: 1px solid var(--line); }
.section-head { max-width: 44rem; margin: 0 auto clamp(20px, 2.4vw, 30px); text-align: center; }
.section-head h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem); font-weight: 800; letter-spacing: -.022em;
  line-height: 1.35; margin: 0; color: var(--ink); text-wrap: balance;
}
.section-head p { color: var(--muted); font-size: .96rem; line-height: 1.8; margin: .7rem 0 0; }
.section-head .eyebrow { color: var(--accent); margin-bottom: .8rem; }

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tile {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; display: flex; gap: .9rem; align-items: flex-start;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.tile:hover { box-shadow: var(--shadow-lg); border-color: #cbd5e1; transform: translateY(-2px); }
.tile-icon {
  width: 42px; height: 42px; border-radius: 10px; flex: 0 0 auto;
  display: grid; place-items: center; color: var(--accent); background: var(--accent-light);
}
.tile-icon svg { width: 20px; height: 20px; }
.tile h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .35rem; color: var(--ink); }
.tile p { color: var(--muted); font-size: .9rem; line-height: 1.72; margin: 0; }

.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; display: flex; align-items: center; gap: .95rem;
  box-shadow: var(--shadow-sm);
}
.stat-num {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem); font-weight: 800; letter-spacing: -.03em;
  line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--muted); font-size: .84rem; margin-top: .15rem; }

.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .3rem .7rem; border-radius: 999px;
  background: var(--accent-light); color: var(--accent);
  font-size: .76rem; font-weight: 800; letter-spacing: .06em;
  margin-bottom: .85rem; font-variant-numeric: tabular-nums;
}

/* ----------------------------------------------------------------- cta -- */
.cta-panel {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: clamp(28px, 3.8vw, 48px) clamp(24px, 3.6vw, 50px);
  background: linear-gradient(120deg, #1e293b 0%, #172033 55%, #0f172a 100%);
  color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem;
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(125, 211, 252, .26) 1px, transparent 1px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 60% 120% at 88% 50%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 120% at 88% 50%, #000 0%, transparent 72%);
}
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 {
  font-size: clamp(1.25rem, 2.1vw, 1.6rem); font-weight: 800; letter-spacing: -.022em;
  margin: 0 0 .5rem;
}
.cta-panel p { color: rgba(255, 255, 255, .66); margin: 0; line-height: 1.75; max-width: 32rem; font-size: .94rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

/* -------------------------------------------------------------- footer -- */
.footer {
  background: var(--ink); color: rgba(255, 255, 255, .58);
  padding: clamp(36px, 4.4vw, 56px) 0 24px; font-size: .9rem;
}
.footer-grid { display: flex; flex-wrap: wrap; gap: 2.4rem; justify-content: space-between; }
.footer-brand { display: inline-flex; align-items: center; gap: .55rem; color: #fff; font-weight: 800; font-size: 1rem; }
.footer-tag { margin-top: .85rem; line-height: 1.8; max-width: 22rem; color: rgba(255, 255, 255, .45); font-size: .87rem; }
.footer-title {
  color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin: 0 0 .9rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .55rem; line-height: 1.65; }
.footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09); margin-top: 2.2rem; padding-top: 1.2rem;
  font-size: .8rem; color: rgba(255, 255, 255, .4);
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between;
}

/* ------------------------------------------------------------ entrance -- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.hero .eyebrow, .hero h1, .hero p.lead, .hero-actions, .hero-points, .hero-status {
  animation: fadeUp .5s ease both;
}
.hero h1 { animation-delay: .05s; }
.hero p.lead { animation-delay: .1s; }
.hero-actions { animation-delay: .15s; }
.hero-points, .hero-status { animation-delay: .2s; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links { gap: 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .hero-points { gap: 1rem; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .eyebrow, .hero h1, .hero p.lead, .hero-actions, .hero-points, .hero-status { animation: none; }
  .tile:hover { transform: none; }
}
