:root {
  color-scheme: light;
  --ink: #122033;
  --muted: #60718a;
  --soft: #fff1f8;
  --cream: #fff8fb;
  --lavender: #f2edff;
  --line: rgba(93, 120, 151, .18);
  --panel: rgba(255, 255, 255, .78);
  --panel-strong: rgba(255, 255, 255, .92);
  --blue: #4f86ff;
  --pink: #ff6daf;
  --teal: #41c7bd;
  --violet: #9b7cff;
  --shadow: 0 24px 70px rgba(42, 78, 118, .16);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255, 109, 175, .18), transparent 32%),
    linear-gradient(245deg, rgba(65, 199, 189, .16), transparent 34%),
    linear-gradient(135deg, #fff8fb 0%, #eef6ff 48%, #f8fbff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(255,255,255,.62), transparent 46%),
    linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25));
}

a { color: inherit; text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 6vw;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 251, 255, .8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
}

.brand::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  box-shadow: 0 0 0 5px rgba(47, 123, 255, .1);
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4c5f78;
  font-weight: 800;
}

nav a {
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

nav a:hover {
  color: var(--ink);
  background: rgba(255,255,255,.76);
  transform: translateY(-1px);
}

.hero {
  min-height: 620px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr);
  align-items: center;
  gap: 56px;
  padding: 76px 6vw 62px;
}

h1, h2, h3, p { letter-spacing: 0; }

.soft-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 109, 175, .22);
  border-radius: 999px;
  color: #9d3a72;
  background: rgba(255, 241, 248, .82);
  font-size: 13px;
  font-weight: 900;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.04;
  font-weight: 950;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  font-weight: 950;
}

h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.3;
}

.lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  height: 46px;
  border-radius: 12px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), #4e8dff);
  box-shadow: 0 14px 34px rgba(47, 123, 255, .28);
}

.secondary {
  color: #243a56;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
}

.primary:hover,
.secondary:hover {
  transform: translateY(-2px);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  color: #6b5270;
  font-size: 13px;
  font-weight: 800;
}

.hero-notes span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(255, 109, 175, .16);
}

.product-preview {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 22px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(33, 68, 72, .68), rgba(36, 83, 86, .58)),
    linear-gradient(135deg, rgba(255, 109, 175, .22), transparent 42%);
  box-shadow: var(--shadow);
  color: white;
  animation: previewIn .7s cubic-bezier(.16, 1, .3, 1) both;
}

.preview-glow {
  position: absolute;
  inset: 14px 14px auto auto;
  width: 160px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 180, 218, .32), rgba(148, 220, 255, .18));
  filter: blur(28px);
  pointer-events: none;
}

.preview-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(7, 16, 24, .34);
}

.preview-toolbar span {
  color: rgba(255,255,255,.62);
  font-size: 13px;
}

.preview-toolbar strong {
  min-width: 90px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #fff;
}

.chat-stream {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  margin-top: 64px;
}

.bubble {
  max-width: 74%;
  padding: 13px 16px;
  border-radius: 16px;
  line-height: 1.6;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
}

.bubble.teammate {
  justify-self: start;
  color: #f4f8ff;
  background: rgba(255,255,255,.14);
}

.bubble.self {
  justify-self: end;
  color: #122033;
  background: linear-gradient(135deg, #98ff72, #72df59);
}

.preview-status {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  z-index: 1;
  color: rgba(255,255,255,.68);
  font-size: 13px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  padding: 0 6vw 24px;
}

.proof-strip div,
.cards article,
.feature-grid article,
.download-panel,
.info-box,
.announcement-list p {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.70));
  box-shadow: 0 16px 44px rgba(50, 83, 121, .08);
}

.proof-strip div {
  padding: 20px;
}

.proof-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.proof-strip span,
.cards p,
.feature-grid p,
.section p,
.clean-list,
.info-box,
.announcement-list {
  color: var(--muted);
  line-height: 1.78;
}

.section {
  padding: 54px 6vw;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 20px;
}

.section-head a {
  color: var(--blue);
  font-weight: 900;
}

.cards,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.cards article,
.feature-grid article {
  padding: 22px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.cards article:hover,
.feature-grid article:hover {
  transform: translateY(-3px);
  background: var(--panel-strong);
  box-shadow: 0 22px 60px rgba(50, 83, 121, .12);
}

.split,
.download-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 20px;
  align-items: start;
}

.download-layout {
  grid-template-columns: 1fr 1fr;
}

.download-panel,
.info-box {
  padding: 24px;
}

.download-panel.featured {
  background: rgba(255,255,255,.9);
}

.info-box {
  min-height: 112px;
}

.info-box a {
  color: var(--blue);
  font-weight: 950;
}

.clean-list {
  margin: 0;
  padding-left: 22px;
}

.clean-list li + li {
  margin-top: 8px;
}

.announcement-list {
  display: grid;
  gap: 14px;
}

.announcement-list.compact {
  display: block;
}

.announcement-list p {
  margin: 0;
  padding: 18px 20px;
}

.page-hero {
  padding: 86px 6vw 24px;
}

.page-hero h1 {
  max-width: 960px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.16, 1, .3, 1), transform .55s cubic-bezier(.16, 1, .3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .product-preview { animation: none; }
}

.site-footer {
  display: grid;
  gap: 10px;
  padding: 34px 6vw 46px;
  color: var(--muted);
}

.footer-main {
  font-size: 14px;
  line-height: 1.7;
}

.footer-records {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  font-size: 13px;
  line-height: 1.7;
}

.footer-records a {
  color: var(--muted);
  text-decoration: none;
  transition: color .18s ease;
}

.footer-records a:hover {
  color: var(--blue);
}

.police-record {
  color: rgba(96, 113, 138, .72);
}

@keyframes previewIn {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .split,
  .download-layout {
    grid-template-columns: 1fr;
  }

  .cards,
  .feature-grid,
  .proof-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
    gap: 4px;
  }

  nav a {
    padding: 8px 10px;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .product-preview {
    min-height: 380px;
    border-radius: 16px;
  }

  .preview-glow {
  position: absolute;
  inset: 14px 14px auto auto;
  width: 160px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 180, 218, .32), rgba(148, 220, 255, .18));
  filter: blur(28px);
  pointer-events: none;
}

.preview-toolbar {
    flex-wrap: wrap;
  }

  .bubble {
    max-width: 88%;
  }

  .cards,
  .feature-grid,
  .proof-strip {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s cubic-bezier(.16, 1, .3, 1), transform .55s cubic-bezier(.16, 1, .3, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .product-preview { animation: none; }
}

.site-footer {
    padding-bottom: 34px;
  }

  .footer-records {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
