/*
 * Xiaodao UI v2
 * A bright "data harbour" system: centred panorama, bento routes and a
 * utilitarian console. This layer intentionally replaces the earlier
 * editorial split-screen treatment.
 */
:root {
  --ink: #14233a;
  --ink-deep: #071a33;
  --teal: #1358e8;
  --teal-bright: #2874ff;
  --mint: #dce9ff;
  --mint-pale: #eaf2ff;
  --ivory: #f3f7ff;
  --paper: #ffffff;
  --sand: #cfddf3;
  --gold: #baff4a;
  --coral: #ff5d7d;
  --coral-dark: #e94368;
  --muted: #66758c;
  --line: rgba(7, 26, 51, .14);
  --shadow: 0 22px 60px rgba(20, 67, 140, .13);
  --radius-lg: 18px;
  --radius-md: 12px;
  --container: 1220px;
}

html { scroll-padding-top: 86px; }
body {
  color: var(--ink);
  background: var(--ivory);
}
body::selection { color: #071a33; background: var(--gold); }
.container { width: min(var(--container), calc(100% - 56px)); }
.section { padding: 104px 0; }
.notice-bar { display: none; }

/* Navigation */
.site-header {
  height: 86px;
  top: 0;
  color: #fff;
  background: rgba(7, 26, 51, .97);
  border: 0;
  box-shadow: 0 8px 30px rgba(7, 26, 51, .16);
}
.header-inner { gap: 38px; }
.site-header .brand-mark { color: #79a7ff; }
.site-header .brand-copy strong { color: #fff; }
.site-header .brand-copy small { color: #9cbcff; }
.main-nav { gap: 7px; }
.main-nav a {
  padding: 10px 14px;
  color: #b9c8dc;
  border-radius: 7px;
  font-size: 13px;
}
.main-nav a::after { display: none; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav a.active { color: #071a33; background: var(--gold); }
.header-cta {
  color: #071a33;
  background: var(--gold);
  border-radius: 7px;
  padding: 14px 20px;
}
.header-cta:hover { background: #d0ff82; }
.menu-toggle span { background: #fff; }

/* Centred panoramic hero */
.hero {
  min-height: 0;
  padding: 84px 0 70px;
  background:
    linear-gradient(90deg, rgba(19,88,232,.055) 1px, transparent 1px),
    linear-gradient(rgba(19,88,232,.055) 1px, transparent 1px),
    linear-gradient(180deg, #f8fbff 0%, #eaf2ff 100%);
  background-size: 28px 28px, 28px 28px, auto;
}
.hero::before {
  width: 620px;
  height: 620px;
  inset: -300px auto auto 50%;
  opacity: 1;
  border: 110px solid rgba(19,88,232,.055);
  border-radius: 50%;
  background: none;
  mask-image: none;
  transform: translateX(-50%);
}
.hero-orbit { display: none; }
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}
.hero-copy {
  width: min(900px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.eyebrow {
  width: fit-content;
  gap: 8px;
  padding: 8px 12px;
  color: #0f4fd1;
  background: #dbe8ff;
  border: 1px solid #bfd3fb;
  border-radius: 6px;
  font-size: 10px;
}
.eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--coral);
  border-radius: 2px;
}
.eyebrow.light { color: #dbe8ff; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.17); }
.eyebrow.light span { background: var(--gold); }
.hero h1 {
  margin: 25px 0 22px;
  max-width: 980px;
  color: var(--ink-deep);
  font-size: clamp(56px, 7.4vw, 96px);
  line-height: .98;
  letter-spacing: -.075em;
}
.hero h1 span {
  display: inline-block;
  color: #1358e8;
  white-space: normal;
}
.hero h1 span::after { display: none; }
.hero-lead {
  max-width: 720px;
  color: #53657f;
  font-size: 16px;
  line-height: 1.85;
}
.hero-actions { margin: 30px 0 27px; }
.button {
  border-radius: 8px;
  min-height: 52px;
}
.button-primary { color: #071a33; background: var(--gold); }
.button-primary:hover { color: #fff; background: #1358e8; }
.button-ghost { color: #0e3977; border-color: #b9cbea; background: #fff; }
.button-ghost:hover { background: #e0ebff; }
.hero-proof { justify-content: center; }
.avatars i {
  color: #fff;
  background: #1358e8;
  border-color: #eef4ff;
  border-radius: 7px;
}
.avatars i:first-child { background: #ff5d7d; }
.avatars i:nth-child(3) { background: #06a6a6; }
.avatars i:nth-child(4) { color: #071a33; background: var(--gold); }
.hero-proof p { text-align: left; }

.hero-visual { width: 100%; padding: 0; }
.visual-frame {
  height: 440px;
  border: 8px solid #fff;
  border-radius: 22px;
  background: #d7e6ff;
  box-shadow: 0 28px 70px rgba(12, 58, 128, .2);
}
.visual-frame::before {
  content: "XIAODAO DATA HARBOUR";
  position: absolute;
  z-index: 3;
  left: 22px;
  top: 22px;
  padding: 9px 12px;
  color: #fff;
  background: #071a33;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}
.visual-frame::after {
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, transparent 55%, rgba(7,26,51,.24));
}
.visual-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 57%;
}
.float-card {
  border: 0;
  border-radius: 7px;
  box-shadow: 0 12px 30px rgba(7,26,51,.2);
}
.float-a { top: auto; left: 22px; bottom: 22px; }
.float-b { right: 22px; bottom: 22px; }
.coordinate {
  top: 25px;
  right: 25px;
  padding: 9px 12px;
  color: #dce8ff;
  background: rgba(7,26,51,.8);
  border-radius: 5px;
}
.stats-row {
  margin-top: -30px;
  padding: 0 14px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: #071a33;
  box-shadow: 0 22px 50px rgba(7,26,51,.2);
}
.stats-row > div {
  padding: 27px 28px;
  border-right-color: rgba(255,255,255,.12);
}
.stats-row > div:first-child { padding-left: 28px; }
.stats-row strong { color: var(--gold); }
.stats-row span { color: #9fb2ca; }

/* Section language */
.section-head { margin-bottom: 46px; }
.split-head {
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}
.section-head h2,
.faq-intro h2,
.workflow-copy h2 {
  color: var(--ink-deep);
  font-size: clamp(39px, 4.4vw, 58px);
}

/* Asymmetric bento route board */
.routes {
  background:
    radial-gradient(circle at 95% 10%, rgba(186,255,74,.22), transparent 24%),
    #fff;
}
.routes::before { display: none; }
.route-layout {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 205px;
  gap: 14px;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.route-feature {
  grid-column: span 2;
  grid-row: span 2;
  padding: 38px;
  color: #fff;
  background:
    linear-gradient(145deg, rgba(255,255,255,.09), transparent 45%),
    #1358e8;
  border-radius: 16px;
}
.route-number {
  right: 25px;
  top: 13px;
  color: rgba(255,255,255,.12);
  font-size: 105px;
}
.route-icon {
  width: 50px;
  height: 50px;
  color: #071a33;
  background: var(--gold);
  border: 0;
  border-radius: 8px;
}
.route-kicker { margin: 62px 0 9px; color: #d9e6ff; }
.route-feature h3 { font-size: 36px; }
.route-feature > p:not(.route-kicker) { color: #dce8ff; }
.route-feature > a {
  gap: 35px;
  color: #071a33;
  background: var(--gold);
  border: 0;
  border-radius: 7px;
  padding: 12px 15px;
}
.route-map { opacity: .4; }
.route-map i { background: var(--gold); border-color: #1358e8; }
.route-list { display: contents; }
.route-item {
  min-height: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  color: var(--ink);
  background: #eef4ff;
  border: 1px solid #cfddf4;
  border-radius: 14px;
}
.route-item:nth-child(2),
.route-item:nth-child(5) { background: #f1ffd9; border-color: #d6edac; }
.route-item:nth-child(3) { background: #fff0f4; border-color: #f7ccd7; }
.route-item:hover {
  padding: 22px;
  color: #1358e8;
  border-color: #1358e8;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.route-item > span {
  color: #1358e8;
  font-size: 11px;
}
.route-item div { margin-top: auto; }
.route-item small { color: #7789a2; }
.route-item h3 { color: #071a33; font-size: 17px; }
.route-item > i {
  position: absolute;
  align-self: flex-end;
  width: 28px;
  height: 28px;
  color: #fff;
  background: #071a33;
  border: 0;
  border-radius: 6px;
}

/* Three-card workflow */
.workflow {
  color: #fff;
  background: #1358e8;
}
.workflow::after {
  width: 520px;
  height: 520px;
  left: auto;
  right: -230px;
  bottom: -330px;
  border-radius: 24px;
  transform: rotate(24deg);
}
.workflow-grid { display: block; }
.workflow-copy {
  margin-bottom: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  align-items: end;
}
.workflow-copy .eyebrow { grid-column: 1 / -1; }
.workflow-copy h2 { color: #fff; }
.workflow-copy > p { margin: 0; color: #dce8ff; }
.workflow-copy .text-link { display: none; }
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.workflow-steps li,
.workflow-steps li:first-child {
  min-height: 210px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 35px;
  color: var(--ink-deep);
  background: #fff;
  border: 0;
  border-radius: 13px;
}
.workflow-steps b {
  width: auto;
  height: auto;
  color: #1358e8;
  background: transparent;
  font-size: 12px;
}
.workflow-steps h3 { font-size: 20px; }
.workflow-steps p { color: #697b92; line-height: 1.7; }

/* Utility-first task console */
.submit-section {
  background:
    linear-gradient(90deg, rgba(7,26,51,.045) 1px, transparent 1px),
    #e9f1ff;
  background-size: 24px 24px;
}
.submit-shell {
  grid-template-columns: 260px 1fr;
  border: 2px solid #071a33;
  border-radius: 10px;
  box-shadow: 14px 14px 0 #9bb9ed;
}
.submit-sidebar {
  padding: 35px 28px;
  background: #071a33;
}
.submit-sidebar::after { display: none; }
.console-progress i { color: #071a33; background: #9cbcff; border-radius: 5px; }
.console-progress .done i { background: var(--gold); }
.support-card a { color: var(--gold); }
.submit-main { padding: 42px 45px 50px; }
.form-heading > span { color: #1358e8; }
.form-heading p strong { color: #1358e8; }
.mode-grid {
  gap: 12px;
}
.mode-card {
  position: relative;
  min-height: 218px;
  padding: 21px;
  justify-content: flex-start;
  text-align: left;
  border-radius: 7px;
}
.mode-card::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 15px;
  width: 19px;
  height: 19px;
  border: 2px solid #b7c8e1;
  border-radius: 50%;
}
.mode-card.selected::after {
  content: "✓";
  display: grid;
  place-items: center;
  color: #071a33;
  background: var(--gold);
  border-color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}
.mode-card-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 25px;
  font-style: normal;
}
.mode-card > span {
  margin-top: 16px;
  color: #071a33;
  font-size: 15px;
}
.mode-card > span em {
  margin-left: 5px;
  color: #1358e8;
  font-size: 9px;
  font-style: normal;
}
.mode-card > small {
  margin-top: 9px;
  color: #687b94;
  font-size: 11px;
  line-height: 1.65;
}
.mode-card > b {
  margin-top: auto;
  padding-top: 15px;
  color: #1358e8;
  font-size: 10px;
}
.mode-card.selected > span,
.mode-card.selected > span em { color: #fff; }
.mode-card.selected > small { color: #dce8ff; }
.mode-card.selected > b {
  color: var(--gold);
  font-size: 0;
}
.mode-card.selected > b::after {
  content: "当前已选 ✓";
  font-size: 10px;
}
.mode-card:hover { border-color: #1358e8; }
.mode-card.selected {
  color: #fff;
  border-color: #1358e8;
  background: #1358e8;
  box-shadow: 0 8px 20px rgba(19,88,232,.2);
}
.spider-chips span { border-radius: 7px; }
.spider-chips input:checked + span { color: #071a33; background: var(--gold); border-color: #9ed52e; }
.dropzone {
  border-radius: 8px;
  border-color: #8aabe3;
  background: #f4f8ff;
}
.dropzone:hover,
.dropzone.dragging { border-color: #1358e8; background: #eaf1ff; }
.upload-icon { color: #071a33; background: var(--gold); border-radius: 6px; }
.input-wrap { border-radius: 7px; }
.button-outline { color: #1358e8; border-color: #1358e8; border-radius: 7px; }
.button-coral { background: #1358e8; }
.button-coral:hover { background: #0c43bc; }
.submit-row p a { color: #1358e8; }

/* Commerce, FAQ and footer */
.pricing { background: #fff; }
.price-card {
  border-radius: 12px;
  background: #f3f7ff;
}
.price-card.featured {
  border-color: #1358e8;
  background: #1358e8;
}
.popular { color: #071a33; background: var(--gold); border-radius: 0 0 0 7px; }
.price-top span,
.price-note a { color: #1358e8; }
.price-card.featured .price-top span { color: var(--gold); }
.price-note { border-radius: 9px; }
.faq { background: #eaf2ff; }
.accordion details {
  margin-bottom: 9px;
  padding: 0 18px;
  border: 1px solid #cfddf3;
  border-radius: 8px;
  background: #fff;
}
.accordion details:last-child { border-bottom: 1px solid #cfddf3; }
.accordion summary span { color: #1358e8; }
.final-cta { background: var(--gold); color: #071a33; }
.final-cta small { color: #41600b; }
.final-cta svg { color: rgba(7,26,51,.25); }
.final-cta .button { color: #fff; background: #071a33; }
.site-footer { background: #071a33; }
.site-footer .brand-copy small,
.site-footer .brand-mark { color: #8db2ff; }
.footer-grid a:hover { color: var(--gold); }

/* Inner pages become dark mastheads with compact utility cards */
.inner-hero {
  padding: 72px 0;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(19,88,232,.42), transparent 56%),
    #071a33;
  border: 0;
}
.inner-hero::after {
  right: 2%;
  bottom: -50px;
  color: rgba(186,255,74,.1);
  font-size: 230px;
}
.breadcrumb { color: #91a8c6; }
.breadcrumb span { color: var(--gold); }
.inner-hero-grid {
  margin-top: 38px;
  grid-template-columns: 1.35fr .65fr;
  gap: 60px;
  align-items: center;
}
.inner-hero h1 { color: #fff; }
.inner-hero h1 em { color: var(--gold); }
.inner-hero-lead { color: #aec0d8; }
.inner-hero-side {
  padding: 25px;
  color: #071a33;
  background: var(--gold);
  border: 0;
  border-radius: 10px;
}
.inner-hero-side small { color: #315900; }
.inner-hero-side p { color: #21370b; }
.inner-hero-side .button { color: #fff; background: #071a33; }
.inner-content { background: #fff; }
.path-card {
  border-radius: 10px;
  background: #f1f6ff;
}
.path-card::before { color: #1358e8; }
.scenario-section { background: #eaf2ff; }
.scenario-card { border: 1px solid #d2e0f6; border-radius: 10px; }
.scenario-card i { color: #071a33; background: var(--gold); border-radius: 6px; }
.detail-note { border-color: #bcd0f1; border-radius: 8px; background: #eef4ff; }
.detail-note b { color: #1358e8; }
.plans-hero h1 { color: #071a33; }
.plan-card {
  border-radius: 10px;
  background: #fff;
}
.plan-card.primary { background: #1358e8; }
.plan-card > small,
.all-plans td strong,
.all-plans a { color: #1358e8; }
.plan-card.primary > small { color: var(--gold); }
.plan-badge { color: #071a33; background: var(--gold); border-radius: 6px; }
.service-timeline { border-radius: 10px; }
.service-step b,
.service-feature span { color: #1358e8; }
.service-feature { border: 1px solid #d2e0f6; border-radius: 10px; }

@media (max-width: 980px) {
  .hero h1 { font-size: clamp(54px, 8vw, 78px); }
  .route-layout { grid-template-columns: repeat(2, 1fr); }
  .route-feature { grid-column: span 2; }
  .submit-shell { grid-template-columns: 1fr; }
  .submit-sidebar { min-height: 280px; }
  .mode-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 72px 0; }
  .site-header { height: 72px; }
  .main-nav {
    top: 84px;
    color: var(--ink);
    background: #fff;
    border-radius: 10px;
  }
  .main-nav a { color: var(--ink); border-radius: 6px; }
  .main-nav a.active { color: #071a33; }
  .hero { padding: 58px 0 48px; }
  .hero-grid { gap: 34px; }
  .hero h1 { font-size: clamp(44px, 13.5vw, 64px); }
  .hero-lead { font-size: 14px; }
  .hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .hero-actions .button { padding: 0 12px; gap: 8px; }
  .hero-proof { align-items: flex-start; }
  .visual-frame { height: 285px; border-width: 5px; border-radius: 14px; }
  .visual-frame::before { left: 12px; top: 12px; font-size: 7px; }
  .float-a { left: 12px; bottom: 12px; }
  .float-b { right: 12px; bottom: 12px; }
  .stats-row {
    margin-top: -15px;
    padding: 8px;
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-row > div,
  .stats-row > div:first-child { padding: 18px 12px; }
  .stats-row > div:nth-child(2) { border-right: 0; }
  .stats-row > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .stats-row strong { font-size: 23px; }
  .split-head,
  .workflow-copy,
  .inner-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-head h2,
  .faq-intro h2,
  .workflow-copy h2 { font-size: 37px; }
  .route-layout {
    grid-template-columns: 1fr;
    grid-auto-rows: 180px;
  }
  .route-feature {
    min-height: 430px;
    grid-column: auto;
    grid-row: span 2;
    padding: 28px;
  }
  .route-kicker { margin-top: 44px; }
  .route-feature h3 { font-size: 31px; }
  .route-item { min-height: 180px; }
  .workflow-steps { grid-template-columns: 1fr; }
  .workflow-steps li,
  .workflow-steps li:first-child { min-height: 170px; }
  .submit-shell { border-width: 1px; box-shadow: 8px 8px 0 #9bb9ed; }
  .submit-main { padding: 32px 19px 36px; }
  .mode-grid { grid-template-columns: 1fr; }
  .mode-card { min-height: 190px; }
  .inner-hero { padding: 55px 0; }
  .inner-hero-grid { align-items: stretch; }
  .inner-hero-side { margin-top: 10px; }
}
