:root {
  --bg: #fbfbfd;
  --panel: #ffffff;
  --line: #d2d2d7;
  --text: #1d1d1f;
  --muted: #86868b;
  --brand: #1d1d1f;
  --accent: #0071e3;
  --soft: #f5f5f7;
  --w: 1120px
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -.022em
}

a {
  text-decoration: none;
  color: inherit
}

img {
  display: block;
  max-width: 100%
}

.wrap {
  width: min(var(--w), calc(100% - 48px));
  margin: 0 auto
}

header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(251, 251, 253, .8);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  transition: background .3s cubic-bezier(.28, .11, .32, 1)
}

header.scrolled {
  background: rgba(251, 251, 253, .72)
}

nav {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity .3s cubic-bezier(.25, .1, .25, 1)
}

.brand:hover {
  opacity: .7
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  padding: 7px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d1d1f, #2d2d2f);
  transition: transform .3s cubic-bezier(.25, .1, .25, 1)
}

.brand:hover img {
  transform: scale(.96)
}

.brand b {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -.01em
}

.brand span {
  display: block;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: -.01em
}

.links {
  display: flex;
  gap: 32px;
  font-size: .875rem;
  color: var(--muted);
  font-weight: 400
}

.links a {
  transition: color .3s cubic-bezier(.25, .1, .25, 1)
}

.links a:hover {
  color: var(--text)
}

.hero {
  padding: 88px 0 64px;
  opacity: 0;
  animation: fadeInUp 1.2s cubic-bezier(.25, .1, .25, 1) .2s forwards
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.hero-grid,
.about,
.contact {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 48px;
  align-items: center
}

.eyebrow {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 980px;
  background: rgba(0, 113, 227, .08);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase
}

h1 {
  margin: 18px 0 0;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  font-weight: 700
}

.lead {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.5;
  max-width: 650px;
  font-weight: 400
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 980px;
  font-weight: 400;
  font-size: 1rem;
  border: 1px solid transparent;
  transition: all .3s cubic-bezier(.25, .1, .25, 1);
  cursor: pointer
}

.btn:hover {
  transform: scale(.98)
}

.primary {
  background: var(--accent);
  color: #fff
}

.primary:hover {
  background: #0077ed
}

.secondary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent)
}

.secondary:hover {
  background: var(--accent);
  color: #fff
}

.panel,
.service-table,
.contact-box {
  background: var(--panel);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .04)
}

.visual {
  padding: 32px;
  background: var(--panel);
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .06);
  opacity: 0;
  animation: fadeInScale 1.2s cubic-bezier(.25, .1, .25, 1) .5s forwards
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(.95)
  }
  to {
    opacity: 1;
    transform: scale(1)
  }
}

.logo-stage {
  position: relative;
  min-height: 440px;
  border-radius: 18px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  overflow: hidden;
  transition: transform .5s cubic-bezier(.25, .1, .25, 1)
}

.logo-stage:hover {
  transform: scale(1.01)
}

.logo-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(0, 113, 227, .12), transparent 70%),
              radial-gradient(circle at 70% 60%, rgba(0, 113, 227, .08), transparent 60%);
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(.25, .1, .25, 1)
}

.logo-stage:hover::before {
  opacity: 1
}

.logo-main {
  position: absolute;
  inset: 16% 16%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .8s cubic-bezier(.25, .1, .25, 1)
}

.logo-stage:hover .logo-main {
  transform: scale(1.05)
}

.logo-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, .5))
}

.badge {
  position: absolute;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: all .5s cubic-bezier(.25, .1, .25, 1);
  opacity: 0
}

.badge.visible {
  opacity: 1
}

.badge:hover {
  transform: translateY(-6px) scale(1.05);
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .2)
}

.badge.one {
  top: 36px;
  right: 36px;
  width: 120px;
  animation: slideInRight 1s cubic-bezier(.25, .1, .25, 1) 1s forwards
}

.badge.two {
  left: 36px;
  bottom: 36px;
  width: 110px;
  animation: slideInLeft 1s cubic-bezier(.25, .1, .25, 1) 1.3s forwards
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px)
  }
  to {
    opacity: 1;
    transform: translateX(0)
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px)
  }
  to {
    opacity: 1;
    transform: translateX(0)
  }
}

.badge img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .4))
}

section {
  padding: 48px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(.25, .1, .25, 1)
}

section.visible {
  opacity: 1;
  transform: translateY(0)
}

.section {
  max-width: 720px;
  margin-bottom: 28px
}

.section h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -.015em
}

.section p,
.muted,
.contact-list div {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.5
}

.about .panel,
.contact .panel {
  padding: 32px;
  transition: all .4s cubic-bezier(.25, .1, .25, 1)
}

.about .panel:hover,
.contact .panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08)
}

.service-table {
  overflow: hidden;
  transition: all .4s cubic-bezier(.25, .1, .25, 1)
}

.service-table:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08)
}

.service-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-top: 1px solid rgba(0, 0, 0, .06);
  transition: background .3s cubic-bezier(.25, .1, .25, 1)
}

.service-row:first-child {
  border-top: none
}

.service-row:hover {
  background: rgba(0, 113, 227, .02)
}

.service-row b {
  padding: 24px 28px;
  background: var(--soft);
  font-size: 1rem;
  font-weight: 600
}

.service-row div {
  padding: 24px 28px;
  font-size: .9375rem;
  line-height: 1.6
}

.steps {
  display: grid;
  gap: 16px
}

.step {
  padding: 20px 24px;
  border-radius: 16px;
  background: var(--soft);
  border: 1px solid rgba(0, 0, 0, .06);
  transition: all .4s cubic-bezier(.25, .1, .25, 1)
}

.step:hover {
  transform: translateX(4px);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06)
}

.step b {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 1rem
}

.contact-box {
  padding: 32px;
  transition: all .4s cubic-bezier(.25, .1, .25, 1)
}

.contact-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .08)
}

.contact-list {
  display: grid;
  gap: 16px
}

.contact-list b {
  display: inline-block;
  min-width: 100px;
  color: var(--text);
  font-weight: 600
}

footer {
  padding: 24px 0 48px;
  color: var(--muted);
  font-size: .875rem;
  text-align: center
}

@media (max-width:980px) {
  .hero-grid,
  .about,
  .contact,
  .service-row {
    grid-template-columns: 1fr
  }

  .visual {
    order: -1
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 14px 0;
    height: auto
  }

  .service-row b {
    padding-bottom: 12px
  }

  .service-row div {
    padding-top: 0
  }
}

@media (max-width:640px) {
  .wrap {
    width: min(100% - 32px, var(--w))
  }

  .links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px
  }

  .about .panel,
  .contact-box {
    padding: 24px
  }

  .logo-stage {
    min-height: 340px
  }

  .badge.one,
  .badge.two {
    padding: 14px;
    width: 90px
  }

  .badge.one {
    top: 24px;
    right: 24px
  }

  .badge.two {
    left: 24px;
    bottom: 24px
  }

  h1 {
    font-size: 2.25rem
  }
}
