/* 奇遇科技官网视觉系统：负责响应式布局、品牌样式、可访问交互与轻量动效。 */
:root {
  --ink: #14213d;
  --ink-soft: #30415f;
  --muted: #647087;
  --blue: #2458e6;
  --blue-dark: #173eb5;
  --mint: #dff5ed;
  --mint-strong: #1f8068;
  --paper: #f7f9fc;
  --surface: #fff;
  --line: #dce3ec;
  --shadow: 0 28px 70px rgba(27, 48, 84, 0.13);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
  transition: transform 180ms ease-out;
}
.skip-link:focus {
  transform: translateY(0);
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 4px;
}
.site-header {
  width: min(1180px, calc(100% - 64px));
  min-height: 88px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  font-size: 19px;
  font-weight: 800;
}
.brand img {
  width: 28px;
  height: 28px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}
.mobile-navigation {
  display: none;
}
.nav > a,
.nav-menu > summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-menu > summary > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav > .is-current,
.nav-menu.is-current > summary {
  color: var(--blue);
  font-weight: 800;
}
.nav-menu {
  position: relative;
}
.nav-menu > summary {
  gap: 5px;
  cursor: pointer;
  list-style: none;
}
.nav-menu > summary::-webkit-details-marker,
.mobile-navigation > summary::-webkit-details-marker {
  display: none;
}
.nav-menu > summary span {
  font-size: 12px;
  transition: transform 180ms ease-out;
}
.nav-menu[open] > summary span {
  transform: rotate(180deg);
}
.nav-menu-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 50%;
  width: 250px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(27, 48, 84, 0.15);
  transform: translateX(-50%);
}
.nav-menu-panel a {
  min-height: 62px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav-menu-panel a:hover {
  background: #f2f5fa;
}
.nav-menu-panel strong,
.nav-menu-panel small {
  display: block;
}
.nav-menu-panel strong {
  color: var(--ink);
  font-size: 13px;
}
.nav-menu-panel small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}
.nav-menu-panel b {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 10px;
}
.nav-menu-panel b.pending {
  color: var(--muted);
}
.nav a,
.text-button,
.contact-note a,
.footer-meta a {
  transition: color 180ms ease-out;
}
.nav a:hover,
.text-button:hover,
.contact-note a:hover,
.footer-meta a:hover {
  color: var(--blue);
}
.header-cta {
  min-height: 44px;
  padding: 9px 16px;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 180ms ease-out, color 180ms ease-out, transform 180ms ease-out;
}
.header-cta:hover {
  color: var(--blue);
  border-color: #aebde4;
  transform: translateY(-1px);
}
main {
  overflow: hidden;
}
.hero {
  width: min(1180px, calc(100% - 64px));
  min-height: 650px;
  margin: auto;
  padding: 84px 0 104px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
  align-items: center;
  gap: 64px;
}
.hero-copy {
  animation: enter-up 700ms var(--ease) both;
}
.eyebrow,
.section-label {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}
.eyebrow span {
  width: 22px;
  height: 2px;
  background: var(--blue);
}
h1 {
  margin: 22px 0 28px;
  font-size: clamp(46px, 5.4vw, 72px);
  font-weight: 800;
  line-height: 1.16;
}
h2 {
  margin: 0 0 24px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.28;
}
h3 {
  line-height: 1.35;
}
em {
  color: var(--blue);
  font-style: normal;
}
.hero-text {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 30px;
}
.primary-button {
  min-height: 48px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  border-radius: 4px;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(36, 88, 230, 0.2);
  color: #fff;
  font-weight: 700;
  transition: background 200ms ease-out, box-shadow 200ms ease-out, transform 200ms ease-out;
}
.primary-button:hover {
  background: var(--blue-dark);
  box-shadow: 0 16px 34px rgba(36, 88, 230, 0.28);
  transform: translateY(-2px);
}
.primary-button:active,
.header-cta:active {
  transform: translateY(0);
}
.text-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.hero-metrics {
  margin: 42px 0 0;
  padding-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.hero-metrics div {
  padding-right: 14px;
}
.hero-metrics dt {
  font-size: 13px;
  font-weight: 800;
}
.hero-metrics dd {
  color: var(--muted);
  font-size: 11px;
}
.product-visual {
  position: relative;
  min-height: 448px;
  border: 1px solid #d5dfec;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: enter-up 760ms 100ms var(--ease) both;
}
.visual-header {
  height: 62px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.visual-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
}
.visual-brand img {
  width: 20px;
  height: 20px;
}
.live-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--mint-strong);
  font-size: 11px;
  font-weight: 700;
}
.live-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #21a884;
  box-shadow: 0 0 0 5px rgba(33, 168, 132, 0.1);
  animation: status-pulse 2s ease-in-out infinite;
}
.visual-content {
  min-height: 386px;
  display: grid;
  grid-template-columns: 185px 1fr;
}
.source-panel {
  padding: 24px 14px;
  background: #f3f6fa;
  border-right: 1px solid var(--line);
}
.panel-label {
  color: #758197;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}
.source-item {
  margin-top: 10px;
  padding: 12px 10px;
  display: flex;
  gap: 10px;
  color: var(--ink-soft);
  border: 1px solid transparent;
  font-size: 12px;
}
.source-item.active {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 6px 16px rgba(27, 48, 84, 0.07);
}
.source-item b {
  color: var(--blue);
  font-size: 10px;
}
.source-item span {
  font-weight: 700;
}
.source-item small {
  display: block;
  color: #8994a7;
  font-size: 9px;
  font-weight: 500;
}
.insight-panel {
  padding: 30px 26px;
}
.insight-top {
  display: flex;
  justify-content: space-between;
  color: #9aa4b4;
  font-size: 10px;
}
.query {
  margin: 24px 0 28px;
  padding: 16px;
  background: #eef3ff;
  color: #243c78;
  border-left: 3px solid var(--blue);
  font-size: 13px;
  font-weight: 700;
}
.answer-line {
  width: 84%;
  height: 8px;
  margin-top: 13px;
  background: #dfe5ed;
  transform-origin: left;
  animation: line-grow 800ms 700ms var(--ease) both;
}
.answer-line.wide {
  width: 100%;
}
.answer-line.short {
  width: 58%;
}
.action-row {
  margin-top: 46px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  color: #7f8b9e;
  font-size: 10px;
}
.action-row strong {
  color: var(--blue);
  font-size: 11px;
}
.action-row i {
  font-style: normal;
}
.floating-note {
  position: absolute;
  right: -24px;
  bottom: 28px;
  width: 220px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #14213d;
  box-shadow: 0 16px 35px rgba(20, 33, 61, 0.25);
  color: #fff;
  animation: note-in 500ms 1s var(--ease) both;
}
.floating-note > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: #32a884;
  font-weight: 800;
}
.floating-note strong,
.floating-note small {
  display: block;
}
.floating-note strong {
  font-size: 12px;
}
.floating-note small {
  color: #b8c1d1;
  font-size: 9px;
}
.intro,
.values,
.download-section,
.contact {
  padding: 112px max(32px, calc((100% - 1116px) / 2));
}
.intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  border-top: 1px solid var(--line);
}
.section-heading > span {
  color: #99a4b5;
  font-size: 12px;
}
.intro p:not(.section-label) {
  max-width: 670px;
  color: var(--muted);
  font-size: 17px;
}
.values {
  background: #101c35;
  color: #fff;
}
.values-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
}
.values-heading h2 {
  margin: 24px 0 0;
}
.values-heading > p {
  max-width: 390px;
  color: #aebbd0;
}
.value-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #33415b;
  border-left: 1px solid #33415b;
}
.value-grid article {
  position: relative;
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid #33415b;
  border-bottom: 1px solid #33415b;
  transition: background 220ms ease-out, transform 220ms ease-out;
}
.value-grid article:hover {
  background: #172746;
  transform: translateY(-4px);
}
.value-grid article > span {
  color: #7b90b4;
  font-size: 12px;
  font-weight: 700;
}
.value-grid h3 {
  margin: 28px 0 10px;
  font-size: 23px;
}
.value-grid p {
  margin: 0;
  color: #aebbd0;
  font-size: 14px;
}
.feature-icon {
  width: 52px;
  height: 52px;
  margin-top: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #4b5e7d;
  color: #80a3ff;
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 700;
}
.feature-icon.nodes,
.feature-icon.steps {
  position: relative;
  display: block;
}
.nodes i {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid #80a3ff;
  border-radius: 50%;
}
.nodes i:nth-child(1) {
  left: 10px;
  top: 20px;
}
.nodes i:nth-child(2) {
  right: 10px;
  top: 9px;
}
.nodes i:nth-child(3) {
  right: 10px;
  bottom: 9px;
}
.nodes::before,
.nodes::after {
  position: absolute;
  left: 18px;
  width: 19px;
  height: 1px;
  background: #80a3ff;
  content: "";
  transform-origin: left;
}
.nodes::before {
  top: 23px;
  transform: rotate(-27deg);
}
.nodes::after {
  top: 27px;
  transform: rotate(27deg);
}
.steps i {
  position: absolute;
  left: 11px;
  height: 3px;
  background: #80a3ff;
}
.steps i:nth-child(1) {
  top: 13px;
  width: 15px;
}
.steps i:nth-child(2) {
  top: 24px;
  width: 23px;
}
.steps i:nth-child(3) {
  top: 35px;
  width: 31px;
}
.contact {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 64px;
  background: var(--mint);
}
.contact h2 {
  margin-bottom: 0;
}
.contact-note {
  max-width: 350px;
  color: #43675f;
}
.contact-note a {
  min-height: 44px;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 800;
}
.download-section {
  background: #eef3ff;
  scroll-margin-top: 20px;
}
.download-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
}
.download-heading h2 {
  margin-bottom: 14px;
}
.download-heading > div > p {
  max-width: 620px;
  color: var(--muted);
}
.platform-grid {
  width: 100%;
  margin: 52px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.platform-grid article {
  min-height: 390px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  scroll-margin-top: 28px;
}
.platform-number {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.platform-icon {
  width: 58px;
  height: 58px;
  margin-top: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #aebde4;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}
.platform-grid h3 {
  margin: 26px 0 10px;
  font-size: 25px;
}
.platform-grid p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
}
.platform-grid .primary-button,
.unavailable {
  margin-top: auto;
}
.unavailable {
  min-height: 48px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #f2f4f7;
  color: #7b879a;
  font-size: 14px;
  font-weight: 700;
  cursor: not-allowed;
}
.site-footer {
  width: min(1180px, calc(100% - 64px));
  margin: auto;
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #7b879a;
  font-size: 12px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  width: 25px;
  height: 25px;
  opacity: 0.75;
}
.footer-brand strong,
.footer-brand span {
  display: block;
}
.footer-brand strong {
  color: var(--ink);
  font-size: 13px;
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: 28px;
}
.footer-meta a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
@keyframes enter-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes line-grow {
  from {
    opacity: 0;
    transform: scaleX(0.35);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
@keyframes note-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes status-pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(33, 168, 132, 0);
  }
}
@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
    position: relative;
  }
  .desktop-navigation {
    display: none;
  }
  .mobile-navigation {
    display: block;
  }
  .mobile-navigation > summary {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    background: var(--surface);
    cursor: pointer;
    list-style: none;
  }
  .mobile-navigation > summary span {
    width: 18px;
    height: 2px;
    display: block;
    background: var(--ink);
  }
  .mobile-navigation > .nav {
    position: absolute;
    z-index: 30;
    top: 72px;
    right: 0;
    width: min(360px, calc(100vw - 40px));
    padding: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 18px 42px rgba(27, 48, 84, 0.16);
  }
  .mobile-navigation[open] > .nav {
    display: flex;
  }
  .nav > a,
  .nav-menu > summary {
    width: 100%;
    padding: 5px 10px;
    justify-content: space-between;
  }
  .nav-menu-panel {
    position: static;
    width: 100%;
    padding: 4px 8px 8px;
    border: 0;
    border-left: 2px solid var(--line);
    box-shadow: none;
    transform: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }
  .hero-copy {
    max-width: 680px;
  }
  .product-visual {
    width: min(100%, 680px);
  }
  .values-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .platform-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .site-header {
    width: calc(100% - 40px);
    min-height: 72px;
  }
  .hero {
    width: calc(100% - 40px);
    padding: 58px 0 72px;
    gap: 52px;
  }
  h1 {
    font-size: clamp(40px, 12vw, 54px);
  }
  .hero-text {
    font-size: 16px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .hero-metrics {
    gap: 12px;
  }
  .hero-metrics dd {
    line-height: 1.5;
  }
  .product-visual {
    min-height: 420px;
  }
  .visual-content {
    min-height: 358px;
    grid-template-columns: 1fr;
  }
  .source-panel {
    display: none;
  }
  .insight-panel {
    padding: 26px 20px;
  }
  .floating-note {
    right: -8px;
    bottom: 22px;
    width: 205px;
  }
  .intro,
  .values,
  .download-section,
  .contact {
    padding: 76px 20px;
  }
  .download-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .platform-grid article {
    min-height: 340px;
    padding: 26px;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .value-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .value-grid article {
    min-height: 270px;
  }
  .contact {
    align-items: flex-start;
    flex-direction: column;
    gap: 38px;
  }
  .site-footer {
    width: calc(100% - 40px);
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
