:root {
  --teal: #21b7a7;
  --blue: #409eff;
  --pale-blue: #eaf3ff;
  --ink: #4f5965;
  --muted: #838b96;
  --line: #e6eaf0;
  --panel: #ffffff;
  --orange: #ee9700;
  --shadow: 0 18px 54px rgba(84, 125, 185, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

button {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(230, 234, 240, 0.8);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.brand,
.nav-links,
.hero-logo {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: #59616b;
  font-size: 20px;
  font-weight: 600;
}

.brand-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.hero-icon {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.nav-links {
  gap: 34px;
  color: #69727d;
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  padding: 72px 0 24px;
}

.soft-circle {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: #eaf3ff;
}

.circle-top {
  top: -260px;
  right: -120px;
  width: 540px;
  height: 540px;
}

.circle-left {
  left: -120px;
  top: 310px;
  width: 180px;
  height: 180px;
  background: #c7d8ff;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(430px, 0.9fr) minmax(520px, 1.1fr);
  gap: 72px;
  align-items: center;
}

.hero-illustration {
  position: relative;
  min-height: 720px;
  background-image: var(--login-bg-url);
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: min(780px, 100%) auto;
}

.wall-icons {
  position: absolute;
  left: 8%;
  right: 6%;
  bottom: 315px;
  display: flex;
  justify-content: space-around;
}

.hero-illustration[style*="login_bg"] .wall-icons,
.hero-illustration[style*="login_bg"] .office-scene {
  display: none;
}

.wall-card {
  position: relative;
  width: 88px;
  height: 116px;
  border: 9px solid #aec8ff;
  background: #e7efff;
  box-shadow: inset 13px 0 0 rgba(135, 172, 250, 0.22);
}

.wall-card::after {
  position: absolute;
  inset: 14px;
  content: "";
  border: 4px solid #a7c1ff;
}

.mountain::before {
  position: absolute;
  left: 28px;
  top: 36px;
  z-index: 2;
  width: 30px;
  height: 42px;
  content: "";
  border: 3px solid #94b6ff;
  transform: skew(-25deg);
}

.squares::before,
.rings::before {
  position: absolute;
  z-index: 2;
  content: "";
}

.squares::before {
  left: 25px;
  top: 37px;
  width: 34px;
  height: 34px;
  border: 3px solid #94b6ff;
  box-shadow: 18px 18px 0 -3px #e7efff, 18px 18px 0 0 #94b6ff;
}

.rings::before {
  left: 24px;
  top: 34px;
  width: 48px;
  height: 48px;
  border: 3px solid #94b6ff;
  border-radius: 50%;
  box-shadow: -16px -10px 0 -3px #e7efff, -16px -10px 0 0 #94b6ff;
}

.office-scene {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 305px;
  border-bottom: 22px solid #d7e5ff;
}

.desk {
  position: absolute;
  bottom: 0;
  height: 138px;
  border-top: 16px solid #c7dcff;
}

.desk::before,
.desk::after {
  position: absolute;
  bottom: -118px;
  width: 12px;
  height: 118px;
  content: "";
  background: #b9d1ff;
}

.desk::before {
  left: 42px;
}

.desk::after {
  right: 42px;
}

.desk-left {
  left: 70px;
  width: 330px;
}

.desk-right {
  right: 10px;
  width: 355px;
}

.monitor {
  position: absolute;
  bottom: 88px;
  width: 150px;
  height: 86px;
  border-radius: 7px;
}

.monitor::after {
  position: absolute;
  left: 62px;
  bottom: -38px;
  width: 30px;
  height: 38px;
  content: "";
  border-radius: 8px 8px 0 0;
  background: #86b0ff;
}

.monitor::before {
  position: absolute;
  left: 70px;
  top: 34px;
  width: 15px;
  height: 15px;
  content: "";
  border-radius: 50%;
  background: #fff;
}

.monitor-gold {
  right: 18px;
  background: #ffbc24;
}

.monitor-purple {
  right: 68px;
  background: #ad4de0;
}

.lamp {
  position: absolute;
  left: 54px;
  bottom: 73px;
  width: 72px;
  height: 9px;
  background: #2f86ed;
  transform: rotate(-39deg);
  transform-origin: left center;
}

.lamp::before {
  position: absolute;
  right: -18px;
  top: -8px;
  width: 34px;
  height: 22px;
  content: "";
  border-radius: 8px 8px 3px 3px;
  background: #6fa7ff;
}

.books {
  position: absolute;
  left: 40px;
  bottom: 83px;
  width: 88px;
  height: 15px;
  background: #ffd249;
  box-shadow: 0 -18px 0 #ff6086;
}

.agent {
  position: absolute;
  bottom: 50px;
  z-index: 3;
  width: 112px;
  height: 250px;
}

.agent-left {
  left: -2px;
}

.agent-right {
  right: 300px;
}

.agent span {
  position: absolute;
  display: block;
}

.face {
  left: 37px;
  top: 28px;
  width: 46px;
  height: 54px;
  border-radius: 40% 40% 45% 45%;
  background: #f4a188;
}

.hair {
  left: 28px;
  top: 14px;
  z-index: 2;
  width: 64px;
  height: 42px;
  border-radius: 50% 50% 22% 22%;
  border-top: 9px solid #792b1f;
  background: #20365f;
}

.headset {
  left: 21px;
  top: 36px;
  z-index: 4;
  width: 72px;
  height: 33px;
  border-left: 9px solid #3c88f1;
  border-right: 9px solid #3c88f1;
  border-radius: 28px 28px 0 0;
}

.body {
  left: 16px;
  top: 91px;
  width: 88px;
  height: 132px;
  border-radius: 40px 40px 18px 18px;
  background: #0e4974;
  transform: skew(-8deg);
}

.agent-left .body {
  background: linear-gradient(90deg, #232b35 0 48%, #d20b5c 48%);
}

.arm {
  left: 93px;
  top: 113px;
  width: 48px;
  height: 18px;
  border-radius: 999px;
  background: #ffb295;
  transform: rotate(-54deg);
}

.phone {
  right: -5px;
  top: 74px;
  width: 24px;
  height: 50px;
  border: 5px solid #70a7ff;
  border-radius: 5px;
  background: #fff;
}

.hero-content {
  padding: 34px 0 62px;
}

.hero-download {
  margin-top: 42px;
}

.hero-logo {
  gap: 16px;
  margin-bottom: 22px;
}

.hero-logo strong {
  color: #666d75;
  font-size: 34px;
  font-weight: 400;
}

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

h1 {
  margin-bottom: 18px;
  color: #404852;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 540px;
  margin-bottom: 28px;
  color: #74808d;
  font-size: 18px;
  line-height: 1.8;
}

.features-section {
  padding: 88px 0;
  background: linear-gradient(180deg, #fff, #f8fbff);
}

.section-title {
  max-width: 660px;
  margin-bottom: 34px;
}

.hero-download .section-title {
  margin-bottom: 24px;
}

.section-title span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-title h2 {
  margin-bottom: 12px;
  color: #434b55;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 0;
}

.section-title p {
  color: #7b8591;
  line-height: 1.7;
}

.download-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.hero-download .download-grid {
  grid-template-columns: minmax(0, 1fr);
}

.download-card,
.feature-grid article {
  border: 1px solid #e4ebf5;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.download-card {
  display: flex;
  align-items: center;
  min-height: 210px;
  padding: 34px;
  gap: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.windows-card {
  grid-column: span 2;
  border-color: rgba(64, 158, 255, 0.28);
  background: linear-gradient(135deg, #f4f9ff 0%, #ffffff 52%, #eaf4ff 100%);
  box-shadow: 0 26px 70px rgba(64, 158, 255, 0.2);
}

.hero-download .windows-card {
  grid-column: auto;
  min-height: 150px;
  padding: 26px;
}

.download-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(64, 158, 255, 0.28);
}

.download-card strong {
  color: #46505b;
  font-size: 24px;
  font-weight: 600;
}

.download-copy {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.windows-card .device-icon {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
  margin-bottom: 0;
  border-radius: 20px;
  background: #dcebff;
  box-shadow: inset 0 0 0 1px rgba(64, 158, 255, 0.18);
}

.windows-card strong {
  color: #2f3b48;
  font-size: 30px;
}

.download-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 152px;
  height: 52px;
  width: fit-content;
  padding: 0 22px;
  border-radius: 5px;
  color: #fff;
  background: var(--blue);
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(64, 158, 255, 0.32);
}

.device-icon {
  position: relative;
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  border-radius: 16px;
  background: #eaf3ff;
}

.device-icon::before,
.device-icon::after {
  position: absolute;
  content: "";
}

.windows::before {
  left: 17px;
  top: 20px;
  width: 42px;
  height: 30px;
  border: 4px solid var(--blue);
  border-radius: 5px;
}

.windows::after {
  left: 37px;
  top: 22px;
  width: 4px;
  height: 28px;
  background: var(--blue);
  box-shadow: -18px 13px 0 -1px var(--blue), 18px 13px 0 -1px var(--blue);
}

.features-section {
  background: #fff;
}

.features-title {
  margin-bottom: 28px;
}

.feature-grid article {
  min-height: 210px;
  padding: 28px;
}

.feature-grid span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

.feature-grid h3 {
  margin-bottom: 12px;
  color: #434b55;
  font-size: 22px;
  font-weight: 600;
}

.feature-grid p {
  color: #7b8591;
  line-height: 1.8;
}

.compliance {
  padding: 18px 0 20px;
  color: var(--orange);
  background: #fff;
  border-top: 1px solid #eef1f5;
  font-size: 17px;
  line-height: 1.45;
}

.floating-contact {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(64, 158, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 18px 42px rgba(64, 158, 255, 0.32);
  font-weight: 700;
}

.floating-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(64, 158, 255, 0.38);
}

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-illustration {
    min-height: 520px;
    order: 2;
  }

  .hero-content {
    order: 1;
    padding-bottom: 12px;
  }

  .agent-right {
    right: 240px;
  }

  .download-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .windows-card {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .container,
  .nav {
    width: min(100% - 28px, 1180px);
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .circle-top {
    right: -240px;
  }

  .hero-logo strong {
    font-size: 28px;
  }

  h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .download-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-cta {
    width: 100%;
    margin-left: 0;
  }

  .hero-illustration {
    min-height: 390px;
    transform: scale(0.72);
    transform-origin: top left;
    width: 138%;
  }

  .features-section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .compliance {
    font-size: 14px;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
    min-height: 44px;
    padding: 0 16px;
  }
}
