:root {
  --ink: #111827;
  --muted: #5b6475;
  --line: rgba(34, 45, 70, 0.12);
  --blue: #2368ff;
  --violet: #7c3df2;
  --cyan: #19b7d8;
  --panel: rgba(255, 255, 255, 0.78);
  --shadow: 0 18px 60px rgba(21, 32, 68, 0.14);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 12%, rgba(35, 104, 255, 0.18), transparent 26rem),
    radial-gradient(circle at 82% 2%, rgba(124, 61, 242, 0.16), transparent 24rem),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #f5f8ff 100%);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(35, 104, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 104, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(38, 51, 92, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: white;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 10px 22px rgba(35, 104, 255, 0.26);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 16px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 8px;
  color: #344055;
  font-size: 14px;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
  background: rgba(35, 104, 255, 0.09);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: 72px 0 42px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.hero-subtitle {
  margin: 0;
  color: #26364d;
  font-size: 24px;
  font-weight: 700;
}

.hero-text,
.lead,
.page-hero p,
.notice p,
.info-card p,
.service-item p,
.assistant-sidebar p,
.chat-tip {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-text {
  max-width: 760px;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 16px 32px rgba(35, 104, 255, 0.22);
}

.button.secondary {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(35, 104, 255, 0.22);
}

.hero-panel,
.chat-preview,
.assistant-sidebar,
.chat-card,
.contact-list,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel {
  padding: 22px;
}

.orbital-card {
  min-height: 220px;
  padding: 28px;
  border-radius: 8px;
  color: white;
  background:
    linear-gradient(135deg, rgba(35, 104, 255, 0.92), rgba(124, 61, 242, 0.9)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: auto, 28px 28px;
}

.orbital-card span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 700;
}

.orbital-card strong {
  display: block;
  margin-top: 42px;
  font-size: 34px;
}

.orbital-card p {
  color: rgba(255, 255, 255, 0.84);
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.section {
  padding: 66px 0;
}

.section.band {
  margin-inline: calc(50% - 50vw);
  padding-inline: calc(50vw - min(590px, calc(50vw - 16px)));
  background: linear-gradient(180deg, rgba(234, 241, 255, 0.64), rgba(255, 255, 255, 0.2));
}

.section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.section-heading.left {
  text-align: left;
}

.section-heading span {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.section-heading h2,
.assistant-sidebar h2,
.notice h2 {
  margin: 8px 0 0;
  font-size: 32px;
  letter-spacing: 0;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 32px rgba(37, 50, 86, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.info-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.capability-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.capability-item span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 0 6px rgba(35, 104, 255, 0.1);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 28px;
  align-items: center;
}

.chat-preview {
  padding: 20px;
}

.chat-preview p {
  width: fit-content;
  max-width: 88%;
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(35, 104, 255, 0.1);
  color: #26364d;
  line-height: 1.7;
}

.chat-preview p:nth-child(2) {
  margin-left: auto;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.notice {
  padding: 28px;
}

.notice.compact {
  box-shadow: none;
}

.page-hero {
  padding: 82px 0 34px;
  max-width: 880px;
}

.page-hero h1 {
  font-size: clamp(36px, 6vw, 62px);
}

.service-list {
  display: grid;
  gap: 16px;
}

.service-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 28px rgba(37, 50, 86, 0.07);
}

.service-item span {
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
}

.service-item h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.assistant-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px 0 72px;
}

.assistant-sidebar {
  padding: 24px;
}

.limit-box {
  margin-top: 20px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(35, 104, 255, 0.08);
}

.limit-box span,
.contact-list span {
  color: var(--muted);
  font-size: 13px;
}

.limit-box strong {
  display: block;
  margin-top: 6px;
}

.chat-card {
  display: grid;
  grid-template-rows: minmax(360px, 52vh) auto auto;
  overflow: hidden;
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  padding: 22px;
}

.message {
  max-width: min(680px, 90%);
  padding: 13px 15px;
  border-radius: 8px;
  line-height: 1.75;
  white-space: pre-wrap;
}

.message.assistant {
  align-self: flex-start;
  background: rgba(35, 104, 255, 0.1);
}

.message.user {
  align-self: flex-end;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 12px;
  padding: 16px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.chat-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 58px;
  max-height: 150px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  line-height: 1.6;
}

.chat-form textarea:focus {
  outline: 2px solid rgba(35, 104, 255, 0.18);
  border-color: rgba(35, 104, 255, 0.45);
}

.chat-tip {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 13px;
}

.contact-list {
  padding: 26px;
}

.contact-list div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list div:last-child {
  border-bottom: 0;
}

.contact-list a {
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 26px auto 0;
  padding: 30px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-meta a {
  color: var(--blue);
}

.reveal {
  animation: fade-up 0.7s ease both;
}

.hero-panel.reveal {
  animation-delay: 0.12s;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .hero,
  .split,
  .assistant-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 50px;
  }

  .card-grid.four,
  .card-grid.three,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .site-header,
  main,
  .site-footer {
    width: min(100% - 22px, 1180px);
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 38px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .card-grid.four,
  .card-grid.three,
  .capability-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-meta {
    align-items: flex-start;
  }
}
