:root {
  color-scheme: light;
  --ink: #071827;
  --muted: #66758a;
  --subtle: #91a0b4;
  --line: #dfe6f0;
  --soft-line: #edf2f7;
  --blue: #0f6bff;
  --blue-hover: #0052e0;
  --surface: #ffffff;
  --page: #f3f7fc;
  --tag: #edf4ff;
  --shadow: 0 30px 90px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: flex;
  width: min(1180px, calc(100% - 36px));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(223, 230, 240, 0.92);
  border-radius: 999px;
  padding: 10px 12px 10px 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #0f6bff, #25c7ff);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.auth-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.auth-button,
.primary-action,
.buy-action,
.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 900;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.auth-button {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.auth-login {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.auth-register,
.primary-action,
.card-action {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 16px 36px rgba(15, 107, 255, 0.24);
}

.auth-register:hover,
.primary-action:hover,
.card-action:hover {
  border-color: var(--blue-hover);
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 132px 20px 104px;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.86) 0%, rgba(255, 255, 255, 0.94) 46%, rgba(237, 244, 255, 0.96) 100%),
    radial-gradient(circle at 50% 70%, rgba(15, 107, 255, 0.08), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #edf4ff 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(15, 107, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 107, 255, 0.035) 1px, transparent 1px),
    url("./assets/zui-command-center.png");
  background-position: center, center, center;
  background-size: 88px 88px, 88px 88px, cover;
  filter: saturate(0.8);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 52%, transparent 100%);
}

.hero-inner,
.section-inner,
.footer-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  justify-items: center;
  gap: 64px;
}

.hero-copy {
  max-width: 980px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 0;
  color: #071827;
  font-size: clamp(52px, 6vw, 94px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero-subtitle {
  margin: 32px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.82;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 46px;
}

.hero-guide-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 900;
}

.hero-guide-link:hover {
  color: var(--blue-hover);
}

.primary-action {
  min-width: min(390px, 100%);
  min-height: 70px;
  border-radius: 11px;
  padding: 0 38px;
  font-size: clamp(24px, 2.2vw, 32px);
  box-shadow: 0 28px 70px rgba(15, 107, 255, 0.3);
}

.buy-action {
  min-height: 70px;
  border: 1px solid rgba(15, 107, 255, 0.24);
  border-radius: 11px;
  padding: 0 30px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--blue);
  font-size: clamp(20px, 1.7vw, 26px);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(14px);
}

.buy-action:hover {
  border-color: var(--blue);
  background: #fff;
  transform: translateY(-1px);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  display: inline-grid;
  justify-items: center;
  gap: 7px;
  color: rgba(15, 107, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  transform: translateX(-50%);
}

.scroll-cue i {
  display: block;
  width: 18px;
  height: 18px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  animation: cuePulse 1400ms ease-in-out infinite;
}

.scroll-cue:hover {
  color: var(--blue);
}

.overview-card {
  width: min(820px, 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px 34px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.overview-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--soft-line);
  padding-bottom: 20px;
}

.overview-header span {
  display: block;
  color: var(--subtle);
  font-size: 18px;
  font-weight: 900;
}

.overview-header strong {
  display: block;
  margin-top: 8px;
  color: #151a24;
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.overview-header em {
  border-radius: 999px;
  padding: 10px 20px;
  background: #e8fff3;
  color: #00a870;
  font-size: 18px;
  font-style: normal;
  font-weight: 1000;
}

.overview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border-bottom: 1px solid var(--soft-line);
  padding: 20px 0;
}

.overview-metrics article,
.comparison-card,
.process-grid article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.overview-metrics article {
  padding: 16px 18px;
}

.overview-metrics span,
.comparison-card span,
.process-grid span,
.footer-notes span {
  color: var(--blue);
  font-size: 17px;
  font-weight: 1000;
}

.overview-metrics strong {
  display: block;
  margin-top: 12px;
  color: #151a24;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.overview-metrics p {
  margin: 14px 0 0;
  color: var(--subtle);
  font-size: 16px;
  line-height: 1.62;
}

.model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 20px;
}

.model-tags span {
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--tag);
  color: var(--blue);
  font-size: 16px;
  font-weight: 900;
}

.difference-section {
  padding: 92px clamp(20px, 6vw, 80px) 0;
  background: var(--page);
}

.section-heading {
  max-width: 800px;
}

h2 {
  margin-bottom: 0;
  color: #071827;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.comparison-card {
  padding: 30px;
}

.featured-card {
  border-color: rgba(15, 107, 255, 0.22);
  box-shadow: 0 20px 60px rgba(15, 107, 255, 0.08);
}

.comparison-card h3 {
  margin: 16px 0 18px;
  color: #151a24;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.18;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  margin: 14px 0;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.72;
}

li::before {
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--blue);
  content: "";
}

.card-action {
  width: fit-content;
  min-height: 46px;
  margin-top: 20px;
  padding: 0 22px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.process-grid article {
  padding: 28px;
}

.process-grid strong {
  display: block;
  margin-top: 12px;
  color: #151a24;
  font-size: 22px;
}

.process-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.66;
}

.site-footer {
  margin-top: 64px;
  padding: 30px clamp(20px, 6vw, 80px) 32px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
}

.footer-title strong {
  display: block;
  color: #151a24;
  font-size: 26px;
}

.footer-title span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-notes {
  display: grid;
  grid-template-columns: 0.6fr 1.15fr 1.25fr;
  gap: 14px;
}

.footer-notes section {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.footer-notes p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.reveal,
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1), opacity 640ms ease;
}

.reveal {
  animation: revealUp 640ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 {
  animation-delay: 80ms;
}

.delay-2 {
  animation-delay: 160ms;
}

.delay-3 {
  animation-delay: 240ms;
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

.overview-card:hover,
.comparison-card:hover,
.process-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.overview-card,
.comparison-card,
.process-grid article {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cuePulse {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(0) rotate(45deg);
  }

  50% {
    opacity: 1;
    transform: translateY(6px) rotate(45deg);
  }
}

@media (max-width: 980px) {
  .hero-section {
    padding-top: 108px;
  }

  .comparison-grid,
  .process-grid,
  .footer-inner,
  .footer-notes {
    grid-template-columns: 1fr;
  }

  .footer-notes section {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 14px;
    padding-left: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
  }

  .auth-actions {
    display: none;
  }

  .hero-section {
    padding: 96px 18px 78px;
  }

  .hero-inner {
    gap: 38px;
  }

  h1 {
    font-size: clamp(36px, 10vw, 52px);
    line-height: 1.02;
  }

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

  .primary-action {
    min-height: 64px;
    font-size: 26px;
  }

  .overview-card {
    padding: 22px;
  }

  .overview-header,
  .overview-metrics {
    grid-template-columns: 1fr;
  }

  .overview-metrics {
    display: grid;
  }

  .difference-section {
    padding: 68px 18px 0;
  }

  .site-footer {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
