:root {
  --blue: #176df5;
  --blue-deep: #0b57dc;
  --ink: #14233e;
  --muted: #65738b;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 1180px;
  color: var(--ink);
  background: #f4f9ff;
  font-family: "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei",
    "PingFang SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, a { font: inherit; }
button { cursor: pointer; }

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 0%, transparent 72%, rgba(244,249,255,.88) 100%),
    url("../images/hero-seamless-background-v11.png") center top / cover no-repeat;
}

.page::before,
.page::after {
  position: absolute;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(80,160,255,.12);
  border-radius: 50%;
  content: "";
}

.page::before { top: 170px; left: -150px; }
.page::after { right: -120px; bottom: 60px; }

.navbar,
.hero,
.features {
  position: relative;
  z-index: 1;
  width: 1320px;
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  background: #fff;
  border-top: 1px solid #e4e7eb;
  border-bottom: 1px solid #edf1f6;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.brand__icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  color: transparent;
  background: #1718ef url("../images/product-logo-yellow-x.png") center / 100% 100% no-repeat;
  border-radius: 11px;
  box-shadow: 0 8px 18px rgba(23,109,245,.24);
  font-size: 0;
  font-weight: 900;
}

.brand__icon::before { content: none; }

.button {
  text-decoration: none;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  color: white;
  border: 0;
  background: linear-gradient(135deg, #3489ff, #1267ed);
  box-shadow: 0 10px 24px rgba(23,109,245,.23);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.button:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(23,109,245,.31);
}

.button:focus-visible {
  outline: 3px solid rgba(23,109,245,.28);
  outline-offset: 3px;
}

.button--nav {
  min-width: 136px;
  height: 46px;
  padding: 0 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

.button--primary {
  min-width: 280px;
  height: 72px;
  padding: 0 42px;
  border-radius: 12px;
  font-size: 23px;
  font-weight: 800;
}

.button--primary span { font-size: 23px; }

.button--primary > span {
  width: 25px;
  height: 25px;
  overflow: hidden;
  background: url("../images/wrench.svg") center / contain no-repeat;
  color: transparent;
  font-size: 0;
}

.hero {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  min-height: 560px;
  padding: 28px 0 18px;
}

.hero__copy {
  z-index: 2;
  padding-bottom: 20px;
}

h1 {
  display: flex;
  align-items: baseline;
  max-width: 650px;
  margin: 0;
  color: #10223f;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.045em;
  white-space: nowrap;
}

h1 strong {
  color: #0877f9;
  font-weight: 900;
}

.hero__description {
  max-width: 630px;
  margin: 24px 0 58px;
  color: var(--muted);
  font-size: 26px;
  line-height: 1.65;
}

.compatibility {
  margin: 20px 0 0;
  color: #70809a;
  font-size: 15px;
  font-weight: 600;
}

.hero__visual {
  min-height: 500px;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0 0 30px;
}

.feature {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 15px;
  min-height: 180px;
  padding: 28px 22px 24px;
  text-align: center;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(229,238,251,.92);
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(58,113,174,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(58,113,174,.13);
}

.feature__icon {
  display: grid;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  place-items: center;
  color: white;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(40,120,230,.2);
  font-size: 30px;
  font-weight: 900;
}

.feature__icon--1 { background: linear-gradient(145deg, #49a6ff, #226eef); }
.feature__icon--2 { background: linear-gradient(145deg, #5a8cff, #705eea); }
.feature__icon--3 { background: linear-gradient(145deg, #44cda2, #23a879); }
.feature__icon--4 { background: linear-gradient(145deg, #57b5ff, #2176e9); }

.feature h2 {
  margin: 0 0 8px;
  font-size: 20px;
}

.feature p {
  margin: 0;
  color: #7a879a;
  font-size: 14px;
  line-height: 1.65;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 20px 0 24px;
  color: #7a879a;
  text-align: center;
  border-top: 1px solid rgba(185, 209, 238, 0.48);
  background: rgba(255, 255, 255, 0.46);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.toast {
  position: fixed;
  z-index: 10;
  right: 28px;
  bottom: 28px;
  padding: 13px 18px;
  color: white;
  background: #183964;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(16,45,82,.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: .2s ease;
}

.toast--visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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