:root {
  --brand: #2068f0;
  --brand-dark: #1048c0;
  --brand-deep: #0a2b76;
  --brand-soft: #eaf2ff;
  --ink: #071735;
  --muted: #5d6b83;
  --line: #dce8fb;
  --panel: rgba(255, 255, 255, 0.86);
  --shadow: 0 24px 70px rgba(32, 104, 240, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f7fbff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

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

.section-inner {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 28px;
  height: 74px;
  padding: 0 clamp(28px, 5vw, 72px);
  background: rgba(247, 251, 255, 0.9);
  border-bottom: 1px solid rgba(193, 213, 244, 0.68);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(32, 104, 240, 0.28);
}

.brand strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #314463;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--brand);
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover {
  color: var(--brand);
}

.site-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 704px;
  padding: 76px 0 54px;
  background:
    linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.96) 43%, rgba(234, 242, 255, 0.72) 100%),
    radial-gradient(circle at 74% 26%, rgba(32, 104, 240, 0.16), transparent 34%),
    linear-gradient(135deg, #f7fbff 0%, #eaf2ff 100%);
}

.hero-orbit {
  position: absolute;
  top: 120px;
  right: 10vw;
  z-index: -1;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(32, 104, 240, 0.16);
  border-radius: 999px;
  animation: orbitPulse 5.8s ease-in-out infinite;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  inset: 46px;
  content: "";
  border: 1px solid rgba(32, 104, 240, 0.12);
  border-radius: inherit;
}

.hero-orbit::after {
  inset: 92px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(430px, 0.92fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  animation: fadeUp 700ms ease both;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 590px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(50px, 5vw, 74px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: #324762;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  padding: 0 26px;
  border: 1px solid transparent;
  font-size: 16px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 18px 42px rgba(32, 104, 240, 0.28);
}

.button-secondary {
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(118, 157, 221, 0.7);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 46px 0 0;
}

.hero-proof div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(193, 213, 244, 0.8);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(32, 104, 240, 0.08);
}

.hero-proof dt {
  color: var(--brand-deep);
  font-size: 20px;
  font-weight: 900;
}

.hero-proof dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-showcase {
  position: relative;
  min-height: 594px;
  animation: fadeIn 900ms ease 120ms both;
}

.phone-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(149, 181, 230, 0.75);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-card-back {
  top: 58px;
  left: 18px;
  width: 280px;
  height: 606px;
  opacity: 0.72;
  transform: rotate(-4deg);
  animation: floatSlow 6s ease-in-out infinite;
}

.phone-card-front {
  top: 0;
  right: 0;
  width: 340px;
  height: 636px;
  animation: floatSlow 6s ease-in-out 1.2s infinite;
}

.banner {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
}

.banner::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 18% 18%, rgba(32, 104, 240, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 430px);
  gap: 74px;
  align-items: center;
}

.banner-grid-reverse {
  grid-template-columns: minmax(350px, 430px) minmax(0, 1fr);
}

.banner-copy {
  animation: fadeUp 700ms ease both;
}

.banner-copy h2 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: 0;
}

.banner-copy > p {
  max-width: 640px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 18px;
}

.banner-phone {
  position: relative;
  margin: 0;
  overflow: hidden;
  justify-self: center;
  width: min(100%, 380px);
  max-height: 640px;
  background: #ffffff;
  border: 1px solid rgba(168, 195, 236, 0.88);
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: floatSlow 6.4s ease-in-out infinite;
}

.banner-phone::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.38) 42%, transparent 58%);
  transform: translateX(-120%);
  animation: scan 5s ease-in-out infinite;
}

.banner-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-wide {
  width: min(100%, 410px);
}

.signal-grid,
.share-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.signal-grid article,
.priority-list li,
.share-cards article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(32, 104, 240, 0.08);
}

.signal-grid article {
  padding: 20px;
}

.signal-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-deep);
  font-size: 20px;
}

.signal-grid span,
.priority-list span {
  color: var(--muted);
}

.priority-list {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin: 0;
  padding: 0;
  counter-reset: advice;
  list-style: none;
}

.priority-list li {
  position: relative;
  padding: 20px 22px 20px 76px;
}

.priority-list li::before {
  position: absolute;
  top: 20px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  content: counter(advice);
  counter-increment: advice;
  background: var(--brand);
  border-radius: 8px;
  font-weight: 900;
}

.priority-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 20px;
}

.design-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
}

.design-flow span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  color: var(--brand-deep);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(32, 104, 240, 0.08);
  font-weight: 900;
}

.design-flow span:not(:last-child)::after {
  position: absolute;
  right: -20px;
  color: var(--brand);
  content: ">";
  font-size: 22px;
  font-weight: 900;
}

.share-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 520px;
}

.share-cards article {
  display: flex;
  align-items: center;
  min-height: 74px;
  padding: 0 22px;
  color: var(--brand-deep);
  font-weight: 900;
}

.banner-advice::before,
.banner-share::before {
  background:
    radial-gradient(circle at 78% 18%, rgba(32, 104, 240, 0.12), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.site-footer {
  padding: 28px 0;
  color: #687891;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.footer-inner span:first-child {
  color: var(--brand-deep);
  font-weight: 900;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes floatSlow {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes scan {
  0%,
  56% {
    transform: translateX(-120%);
  }
  78%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes orbitPulse {
  0%,
  100% {
    opacity: 0.38;
    transform: scale(1);
  }
  50% {
    opacity: 0.68;
    transform: scale(1.08);
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero-grid,
  .banner-grid,
  .banner-grid-reverse {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 560px;
  }

  .phone-card-back {
    left: 20%;
  }

  .phone-card-front {
    right: 18%;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 66px;
    padding: 0 18px;
  }

  .brand small {
    display: none;
  }

  .section-inner {
    width: min(100% - 36px, var(--max));
  }

  .hero {
    min-height: auto;
    padding: 58px 0 70px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-lead,
  .banner-copy > p {
    font-size: 17px;
  }

  .hero-proof,
  .signal-grid,
  .design-flow,
  .share-cards {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 490px;
  }

  .phone-card-back {
    display: none;
  }

  .phone-card-front {
    right: 50%;
    width: 260px;
    height: 514px;
    transform: translateX(50%);
  }

  .banner {
    padding: 72px 0;
  }

  .banner-copy h2 {
    font-size: 32px;
  }

  .banner-phone {
    max-height: 560px;
  }

  .design-flow span:not(:last-child)::after {
    right: auto;
    bottom: -23px;
    transform: rotate(90deg);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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