:root {
  --blue: #1a73e8;
  --blue-deep: #0b57d0;
  --red: #ea4335;
  --yellow: #fbbc05;
  --green: #34a853;
  --ink: #0f172a;
  --muted: #526178;
  --surface: #ffffff;
  --surface-soft: #f8faff;
  --line: #dce7f8;
  --shadow: 0 24px 64px rgba(35, 79, 143, 0.13);
  --radius-lg: 28px;
  --radius-md: 20px;
  --header-height: 76px;
  color-scheme: light;
  font-family:
    Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.65;
  overflow-x: clip;
}

body::before {
  position: fixed;
  inset: 0 0 auto;
  z-index: -1;
  height: 540px;
  background:
    radial-gradient(circle at 9% 12%, rgba(26, 115, 232, 0.13), transparent 30%),
    radial-gradient(circle at 80% 4%, rgba(52, 168, 83, 0.08), transparent 25%),
    radial-gradient(circle at 95% 34%, rgba(251, 188, 5, 0.08), transparent 22%);
  content: "";
  pointer-events: none;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  color: white;
  background: var(--blue-deep);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(20px, 4vw, 72px);
  border-bottom: 1px solid rgba(220, 231, 248, 0.78);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  transition: box-shadow 240ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 34px rgba(30, 64, 120, 0.1);
}

.brand-link {
  display: flex;
  min-width: 250px;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-logo {
  width: 58px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.5vw, 24px);
  font-size: 0.87rem;
  font-weight: 650;
  color: #34445e;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:is(:hover, :focus-visible)::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 9px 15px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(26, 115, 232, 0.24);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.section-shell {
  width: min(1540px, calc(100% - 40px));
  min-height: 90vh;
  margin: 0 auto;
  padding: clamp(84px, 10vh, 132px) clamp(22px, 4vw, 68px);
  scroll-margin-top: var(--header-height);
}

.content-section,
.contact-section {
  display: grid;
  align-items: center;
  gap: clamp(40px, 5vw, 84px);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - var(--header-height));
  place-items: center start;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(1, 13, 45, 0.92) 0%, rgba(2, 25, 78, 0.72) 42%, rgba(3, 24, 72, 0.17) 78%),
    linear-gradient(0deg, rgba(0, 10, 35, 0.32), transparent 42%);
  content: "";
  pointer-events: none;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
  background: #03133f;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  opacity: 0.72;
  object-fit: cover;
  object-position: center;
}

.content-section {
  grid-template-columns: minmax(320px, 0.72fr) minmax(560px, 1.28fr);
}

.content-section:has(.visual-card:first-child) {
  grid-template-columns: minmax(560px, 1.28fr) minmax(320px, 0.72fr);
}

.section-tint,
.section-dark {
  position: relative;
  width: min(1600px, calc(100% - 24px));
  margin-top: 14px;
  margin-bottom: 14px;
  border-radius: 40px;
  overflow: hidden;
}

.section-tint {
  background:
    radial-gradient(circle at 12% 18%, rgba(26, 115, 232, 0.12), transparent 35%),
    var(--surface-soft);
}

.section-dark {
  color: white;
  background:
    radial-gradient(circle at 82% 15%, rgba(26, 115, 232, 0.38), transparent 36%),
    radial-gradient(circle at 10% 76%, rgba(138, 78, 255, 0.21), transparent 30%),
    #03102d;
}

.section-dark .section-copy p {
  color: #b9c8e2;
}

.section-dark .eyebrow {
  color: #88baff;
}

.section-dark .tag-list li {
  border-color: rgba(136, 186, 255, 0.25);
  color: #d7e7ff;
  background: rgba(26, 115, 232, 0.15);
}

.hero-copy,
.section-copy,
.contact-copy {
  max-width: 580px;
}

.hero-copy {
  width: min(680px, calc(100% - 40px));
  max-width: none;
  margin-left: clamp(20px, 6vw, 120px);
  padding: clamp(46px, 7vh, 90px) 0;
  color: white;
}

.hero-logo {
  width: clamp(150px, 13vw, 230px);
  aspect-ratio: 3 / 2;
  margin: 16px 0 18px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.96))
    drop-shadow(0 2px 10px rgba(255, 255, 255, 0.36));
}

.hero-eyebrow {
  color: #a9d0ff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 630px;
  font-size: clamp(3.2rem, 5.1vw, 5.9rem);
  text-shadow: 0 4px 24px rgba(0, 8, 31, 0.3);
}

h2 {
  font-size: clamp(1.95rem, 3vw, 3.45rem);
}

.hero-lead,
.section-copy p,
.contact-copy p {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.84);
}

.hero-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 0;
  padding: 0;
  color: #d6e8ff;
  font-size: 0.9rem;
  font-weight: 750;
  list-style: none;
}

.hero-capabilities li {
  position: relative;
  padding-left: 15px;
}

.hero-capabilities li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5bb1ff;
  box-shadow: 0 0 14px rgba(91, 177, 255, 0.75);
  content: "";
  transform: translateY(-50%);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:is(:hover, :focus-visible) {
  transform: translateY(-3px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 14px 30px rgba(26, 115, 232, 0.3);
}

.button-primary:is(:hover, :focus-visible) {
  box-shadow:
    0 18px 38px rgba(26, 115, 232, 0.36),
    0 0 24px rgba(26, 115, 232, 0.18);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.85);
}

.hero .button-secondary {
  border-color: #f2ad69;
  color: #d63b2f;
  background: rgba(255, 241, 224, 0.92);
  box-shadow: 0 10px 26px rgba(205, 74, 42, 0.16);
}

.hero .button-secondary:is(:hover, :focus-visible) {
  border-color: #ed8c45;
  color: #b92c24;
  background: #ffe7cb;
  box-shadow: 0 14px 30px rgba(205, 74, 42, 0.24);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 38px;
}

.hero .metric {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(2, 25, 78, 0.56);
  backdrop-filter: blur(10px);
}

.hero .metric span {
  color: rgba(255, 255, 255, 0.74);
}

.metric {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.metric strong {
  display: block;
  color: var(--blue-deep);
  font-size: 1.55rem;
  line-height: 1.2;
}

.metric:nth-child(2) strong {
  color: var(--red);
}

.metric:nth-child(3) strong {
  color: var(--green);
}

.metric span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.visual-card {
  position: relative;
  margin: 0;
  padding: clamp(8px, 1.1vw, 16px);
  border: 1px solid rgba(220, 231, 248, 0.9);
  border-radius: var(--radius-lg);
  background: rgba(248, 250, 255, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-card::after {
  position: absolute;
  inset: auto 10% -18px;
  height: 26px;
  border-radius: 50%;
  background: rgba(26, 115, 232, 0.16);
  filter: blur(18px);
  content: "";
  pointer-events: none;
}

.visual-card img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 10px);
  object-fit: contain;
}

.visual-card-dark {
  border-color: rgba(74, 139, 255, 0.3);
  background: rgba(5, 21, 58, 0.74);
  box-shadow: 0 30px 90px rgba(0, 5, 25, 0.55);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 9px 14px;
  border: 1px solid #dce8fa;
  border-radius: 999px;
  color: #21466f;
  background: #f1f7ff;
  font-size: 0.88rem;
  font-weight: 750;
}

.tag-list li:nth-child(4n + 2) {
  border-color: #ffe0dd;
  color: #a53228;
  background: #fff5f4;
}

.tag-list li:nth-child(4n + 3) {
  border-color: #d7f2df;
  color: #24743b;
  background: #f1fbf4;
}

.tag-list li:nth-child(4n + 4) {
  border-color: #f9e9aa;
  color: #816000;
  background: #fffaf0;
}

.contact-section {
  grid-template-columns: minmax(320px, 0.68fr) minmax(560px, 1.32fr);
  min-height: 100vh;
}

.contact-visual {
  padding: 10px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px clamp(20px, 5vw, 90px) 110px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface-soft);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 72px;
  height: 58px;
  border-radius: 12px;
  object-fit: contain;
}

.footer-brand strong,
.footer-brand span {
  display: block;
}

.footer-brand strong {
  color: var(--ink);
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 24px;
  font-size: 0.9rem;
}

.footer-info a {
  color: var(--blue-deep);
  font-weight: 700;
}

.floating-contacts {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: grid;
  gap: 10px;
}

.floating-contact {
  display: flex;
  min-width: 210px;
  align-items: center;
  gap: 11px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  color: white;
  font: inherit;
  text-align: left;
  box-shadow: 0 18px 38px rgba(13, 36, 75, 0.25);
  animation: gentle-float 4.2s ease-in-out infinite;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.floating-contact:is(:hover, :focus-visible) {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(13, 36, 75, 0.32);
}

.floating-email {
  background: linear-gradient(135deg, #2774e8, #0b57d0);
  animation-delay: -2s;
}

.floating-whatsapp {
  background: linear-gradient(135deg, #32b768, #138846);
}

.floating-wechat {
  background: linear-gradient(135deg, #23c46e, #079447);
  animation-delay: -1s;
}

.floating-wechat.is-copied {
  background: linear-gradient(135deg, #f5a623, #dc741b);
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  font-size: 0.82rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.2);
}

.contact-icon svg {
  width: 24px;
  fill: currentColor;
}

.contact-label {
  display: grid;
  line-height: 1.2;
}

.contact-label strong {
  font-size: 0.88rem;
}

.contact-label small {
  margin-top: 4px;
  opacity: 0.82;
  font-size: 0.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.visual-left {
  transform: translate(-28px, 18px) scale(0.98);
}

.visual-right {
  transform: translate(28px, 18px) scale(0.98);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.number-pulse.is-visible {
  animation: number-emphasis 720ms ease both;
}

@keyframes gentle-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes number-emphasis {
  0% {
    opacity: 0.35;
    transform: translateY(4px) scale(0.92);
  }
  65% {
    transform: translateY(-2px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1260px) {
  .site-nav {
    gap: 13px;
    font-size: 0.78rem;
  }

  .brand-link {
    min-width: 205px;
    font-size: 0.8rem;
  }

  .content-section,
  .content-section:has(.visual-card:first-child),
  .contact-section {
    grid-template-columns: minmax(300px, 0.78fr) minmax(500px, 1.22fr);
  }

  .content-section:has(.visual-card:first-child) {
    grid-template-columns: minmax(500px, 1.22fr) minmax(300px, 0.78fr);
  }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }

  .site-nav a {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .site-nav a:not(.nav-cta)::after {
    display: none;
  }

  .site-nav a:is(:hover, :focus-visible) {
    background: var(--surface-soft);
  }

  .content-section,
  .content-section:has(.visual-card:first-child),
  .contact-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .section-copy,
  .contact-copy {
    max-width: 760px;
  }

  .content-section:has(.visual-card:first-child) .visual-card {
    order: 2;
  }

  .content-section:has(.visual-card:first-child) .section-copy {
    order: 1;
  }

  .section-shell {
    padding-top: 92px;
    padding-bottom: 92px;
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 68px;
    --radius-lg: 20px;
  }

  .site-header {
    padding: 8px 14px;
  }

  .brand-link {
    min-width: 0;
  }

  .brand-logo {
    width: 54px;
    height: 44px;
  }

  .brand-name {
    max-width: 145px;
    line-height: 1.25;
  }

  .section-shell,
  .section-tint,
  .section-dark {
    width: calc(100% - 20px);
  }

  .section-shell {
    gap: 34px;
    padding: 74px 12px;
  }

  .section-tint,
  .section-dark {
    border-radius: 26px;
  }

  .hero-logo {
    width: 124px;
    margin: 10px 0 12px;
  }

  .hero-copy {
    padding: 34px 0;
  }

  h1 {
    font-size: clamp(2.15rem, 9vw, 3rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero-lead,
  .section-copy p,
  .contact-copy p {
    font-size: 1rem;
  }

  .hero-lead {
    margin-top: 16px;
  }

  .hero-capabilities {
    gap: 6px 14px;
    margin-top: 18px;
    font-size: 0.78rem;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 22px;
  }

  .hero-actions .button {
    min-height: 46px;
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .metric-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 22px;
  }

  .metric {
    padding: 10px 7px;
  }

  .metric strong {
    font-size: 1.2rem;
  }

  .metric span {
    font-size: 0.66rem;
  }

  .visual-card {
    padding: 6px;
    border-radius: 20px;
  }

  .visual-card img {
    border-radius: 15px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 20px 120px;
  }

  .footer-info {
    justify-content: flex-start;
  }

  .floating-contacts {
    right: 12px;
    bottom: 12px;
    display: flex;
  }

  .floating-contact {
    min-width: 0;
    padding: 7px;
    border-radius: 50%;
  }

  .floating-contact .contact-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
  }

  .contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
  }
}

@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;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
