:root {
  --navy: #16357a;
  --navy-deep: #102a62;
  --ink: #2a436f;
  --muted: #5d7398;
  --blue: #2f6bff;
  --blue-2: #5b6cff;
  --line: rgba(255, 255, 255, 0.82);
  --glass: rgba(255, 255, 255, 0.62);
  --shadow: 0 18px 44px rgba(72, 116, 190, 0.14);
  --wrap: 1440px;
  --radius: 28px;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  background: #d5e7ff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul { margin: 0; padding: 0; list-style: none; }

p { margin: 0; }

h1, h2, h3 { margin: 0; }

.icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.18em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 3px;
}

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

.screen {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 72px 0 64px;
}

.kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.kicker i {
  width: 42px;
  height: 1.5px;
  background: #8eb6f5;
  display: block;
}

.kicker span {
  font-family: "Avenir Next", "Segoe UI", "PingFang SC", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #3d78e8;
}

.section-title {
  text-align: center;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.25;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.02em;
  transform: skewX(-9deg);
}

.mark {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.mark::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: 0.06em;
  height: 0.32em;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffe56a, #ffc83d);
  z-index: -1;
  transform: rotate(-1.5deg);
}

.section-sub {
  margin: 12px auto 0;
  max-width: 760px;
  text-align: center;
  color: #5a7198;
  font-size: 16px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(180deg, #4b93ff 0%, #2f6ef8 100%);
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.35);
}

.btn-ghost {
  height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  color: #fff;
  background: rgba(7, 22, 48, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
}

.btn-pill {
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 52%, rgba(37, 22, 126, 0.24)),
    linear-gradient(105deg, #416de5, #6138d6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.46), inset 0 -3px 6px rgba(36, 24, 125, 0.28),
    0 6px 10px rgba(56, 44, 160, 0.19), 0 14px 26px rgba(79, 70, 229, 0.23);
}

.btn-pill:hover {
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.46), inset 0 -3px 6px rgba(36, 24, 125, 0.28),
    0 8px 12px rgba(56, 44, 160, 0.22), 0 18px 30px rgba(79, 70, 229, 0.3);
}

.btn-pill:active { transform: translateY(1px); }

.center-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #e7f1ff;
  color: #2f6bff;
  flex: none;
}

.tick .icon { width: 12px; height: 12px; }

.art-slot {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.28);
  border: 1.5px dashed rgba(80, 128, 205, 0.38);
}

.art-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  display: block;
}

.art-slot.is-ready {
  background: transparent;
  border-color: transparent;
}

.art-slot.is-ready img { opacity: 1; }

.art-hint {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  color: #6d8ec4;
  pointer-events: none;
  padding: 8px;
}

.art-hint b { font-size: 13px; font-weight: 700; }

.art-hint small { font-size: 11px; opacity: 0.9; }

.art-slot.is-ready .art-hint { display: none; }

.art-slot:has(.art-fallback):not(.is-ready) {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: radial-gradient(ellipse at 35% 20%, rgba(255, 255, 255, 0.65), rgba(150, 181, 250, 0.28));
}

.art-slot .art-fallback {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #355bb8;
}

.art-fallback .icon { width: 30px; height: 30px; }
.art-slot--appicon .art-fallback .icon { width: 24px; height: 24px; }
.case-feature .art-fallback .icon { width: 64px; height: 64px; }

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  display: block;
}

/* Hero */
.hero {
  z-index: 1;
  padding: 0;
  justify-content: flex-start;
  color: #fff;
  background-color: #071428;
  background-image: url("../assets/hero/hero-bg.webp");
}

.flow {
  position: relative;
  z-index: 1;
  background-color: #d6e8ff;
  background-image:
    radial-gradient(78% 14% at 50% 12%, rgba(255, 255, 255, 0.72), transparent 72%),
    radial-gradient(72% 14% at 50% 38%, rgba(255, 255, 255, 0.58), transparent 74%),
    radial-gradient(72% 14% at 50% 63%, rgba(255, 255, 255, 0.52), transparent 74%),
    radial-gradient(78% 14% at 50% 88%, rgba(255, 255, 255, 0.48), transparent 74%),
    linear-gradient(180deg, #d3e5fb 0%, #e7f3ff 16%, #d9ebff 42%, #d4e7ff 68%, #c9e0ff 100%);
}

.flow > .screen {
  background: none;
}

.seam {
  position: relative;
  z-index: 4;
  height: 0;
  pointer-events: none;
}

.seam::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -88px;
  height: 176px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(214, 232, 255, 0) 0%, rgba(214, 232, 255, 0.28) 38%, rgba(222, 236, 255, 0.62) 68%, rgba(226, 239, 255, 0.08) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
}

.seam-footer::before {
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(206, 226, 255, 0) 0%, rgba(198, 222, 255, 0.4) 46%, rgba(176, 210, 255, 0.28) 100%);
}

.seam-flow { z-index: 2; }

.seam-flow::before {
  top: -64px;
  height: 128px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  background:
    radial-gradient(closest-side at 20% 50%, rgba(255, 255, 255, 0.55), transparent 72%),
    radial-gradient(closest-side at 52% 50%, rgba(150, 205, 255, 0.38), transparent 74%),
    radial-gradient(closest-side at 82% 50%, rgba(255, 186, 220, 0.32), transparent 72%),
    linear-gradient(180deg, rgba(222, 236, 255, 0) 0%, rgba(222, 236, 255, 0.35) 50%, rgba(222, 236, 255, 0) 100%);
  filter: blur(8px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 72%, transparent 100%);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0 0 -1px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(145deg, #f8fbff, #e1ebff 72%, #e9e1ff);
  border-bottom: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 0 #fff, 0 10px 26px rgba(25, 54, 116, 0.18);
  opacity: 0;
  transition: opacity 220ms ease;
}

.topbar.is-stuck::before { opacity: 1; }

/* 顶部透明时的导航文字；固定导航不再依赖 .hero 的父级。 */
.topbar:not(.is-stuck) .brand { color: #fff; }
.topbar.is-stuck .brand,
.topbar.is-stuck .menu a { color: var(--navy); }

.topbar.is-stuck .menu a.is-active,
.topbar.is-stuck .menu a:hover { color: var(--navy-deep); }

.topbar.is-stuck .menu a::after { background: var(--blue); }

.topbar.is-stuck .burger {
  color: var(--navy);
  border-color: rgba(22, 53, 122, 0.18);
  background: rgba(255, 255, 255, 0.7);
}

.topbar .brand,
.topbar .menu a,
.topbar .burger,
.topbar .menu a::after {
  transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 750;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-text strong { font-size: 22px; font-weight: 800; }

.brand-text em {
  font-style: normal;
  font-size: 22px;
  font-weight: 800;
}

.hero .brand { color: #fff; }

.menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.menu a {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  font-weight: 600;
  padding: 8px 0;
}

.menu a.is-active,
.menu a:hover { color: #fff; }

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.menu a.is-active::after { transform: scaleX(1); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(6, 18, 40, 0.28);
}

.burger .icon { width: 22px; height: 22px; }

.hero-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: 6vh;
}

.hero-copy { max-width: 640px; }

.hero-en {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #dce9ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-style: italic;
  letter-spacing: 0.055em;
  text-shadow: 0 0 16px rgba(138, 185, 255, 0.58);
}

.hero-en::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: none;
  background: #d7e6ff;
  transform: rotate(45deg);
  box-shadow: 0 0 12px #93bbff;
}

.hero-copy h1 {
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: 0.035em;
  text-shadow: 0 3px 18px rgba(4, 14, 36, 0.55);
}

.hero-copy h1 span { color: #cbe0ff; }

@media (forced-colors: none) {
  @supports (background-clip: text) {
    .hero-copy h1 span {
      background: linear-gradient(105deg, #fff 8%, #bee5ff 55%, #d9ccff);
      background-clip: text;
      color: transparent;
      text-shadow: none;
      filter: drop-shadow(0 3px 9px rgba(4, 14, 36, 0.62));
    }
  }
}

.hero-sub {
  margin-top: 22px;
  color: #e2edff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-shadow: 0 2px 10px #071428;
}

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

.hero-actions .btn { border-radius: 999px; }

.hero-actions .btn-primary {
  border: 1px solid #a9beff;
  background: linear-gradient(155deg, #6b9aff, #4268df 49%, #5635b9);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.54), 0 8px 20px rgba(38, 52, 158, 0.46);
}

.hero-actions .btn-ghost {
  border-color: rgba(218, 231, 255, 0.68);
  background: linear-gradient(155deg, rgba(174, 202, 255, 0.28), rgba(24, 46, 97, 0.48));
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

@media (hover: hover) {
  .hero-actions .btn-primary:hover { box-shadow: inset 0 1px 2px #c8d8ff, 0 10px 24px rgba(71, 99, 235, 0.62); }
  .hero-actions .btn-ghost:hover { background: rgba(122, 159, 233, 0.38); }
}

/* Services */
.services { padding-top: 108px; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.svc-card {
  --card-tint: #b9d4ff;
  --card-edge: #739ce2;
  --card-accent: #245bc1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 16px 16px;
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 30% 3%, #fff 0%, transparent 56%),
    linear-gradient(145deg, #f9fbff 8%, #edf4ff 48%, var(--card-tint) 100%);
  border: 1px solid #fff;
  box-shadow: inset 0 1px 2px #fff, inset -1px -3px 7px color-mix(in srgb, var(--card-edge) 36%, transparent),
    0 3px 0 -1px var(--card-edge), 0 16px 28px rgba(47, 77, 156, 0.18);
}

.svc-card:nth-child(2) { --card-tint: #cec5ff; --card-edge: #9a87e5; --card-accent: #6040bf; }
.svc-card:nth-child(3) { --card-tint: #b8e8f7; --card-edge: #6fb6d8; --card-accent: #176e9c; }
.svc-card:nth-child(4) { --card-tint: #c6d6ff; --card-edge: #8399e4; --card-accent: #3b58b8; }
.svc-card:nth-child(5) { --card-tint: #e8c8f7; --card-edge: #b68cda; --card-accent: #773baa; }

.art-slot--illust {
  height: 144px;
  flex: none;
  margin-bottom: 12px;
  background: transparent;
  border-color: rgba(90, 140, 210, 0.28);
}

.art-slot--illust.is-ready,
.art-slot--step.is-ready {
  grid-template-rows: minmax(0, 1fr);
  overflow: visible;
}

.art-slot--illust img,
.art-slot--step img {
  min-height: 0;
  filter: drop-shadow(0 8px 9px rgba(54, 87, 174, 0.22));
}

.svc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
}

.tile {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(180deg, #5aa2ff, #3a6dff);
  flex: none;
}

.tile .icon { width: 16px; height: 16px; }

.tile-ai { background: linear-gradient(180deg, #8b7cff, #6257f5); }

.svc-desc {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  min-height: 44px;
}

.checks { margin-top: 12px; display: grid; gap: 7px; }

.checks li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3d5684;
  font-size: 13px;
}

.circle-arrow {
  align-self: flex-end;
  margin-top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #3b78f0;
  border: 1.5px solid rgba(59, 120, 240, 0.45);
  background: rgba(255, 255, 255, 0.55);
}

.svc-card .circle-arrow {
  margin-top: auto;
  color: var(--card-accent);
  border: 1px solid #fff;
  background: linear-gradient(160deg, #fff, #edf2ff);
  box-shadow: 0 4px 9px rgba(47, 77, 156, 0.2);
}

.svc-card .checks { margin-bottom: 12px; }

.circle-arrow .icon { width: 16px; height: 16px; }

/* Cases */
.cases { padding-top: 84px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 17px;
  border-radius: 999px;
  color: #23457f;
  font-weight: 700;
  font-size: 14px;
  background: linear-gradient(180deg, #fff, #e6eeff);
  border: 1px solid #fff;
  box-shadow: inset 0 -2px 4px rgba(80, 120, 200, 0.14), 0 5px 12px rgba(58, 86, 158, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chip:hover { transform: translateY(-2px); }
.chip:active { transform: translateY(1px); }

.chip .icon { width: 16px; height: 16px; }

.chip.is-active {
  color: #fff;
  background: linear-gradient(165deg, #638ff5, #4358d8 57%, #5332b9);
  border-color: #9caeff;
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.5), 0 6px 14px rgba(62, 52, 170, 0.3);
}

.case-layout {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.case-feature {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 8px;
  min-height: 390px;
  padding: 26px 18px 22px 26px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(120% 80% at 80% 110%, rgba(96, 200, 255, 0.45), transparent 46%),
    linear-gradient(150deg, #507fe8, #284aa7 55%, #28327f);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.5), inset 0 -5px 10px rgba(25, 31, 99, 0.28),
    0 4px 0 -1px #314998, 0 22px 40px rgba(44, 73, 168, 0.28);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb020, #ff8a00);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.badge .icon { width: 13px; height: 13px; fill: currentColor; stroke: none; }

.case-feature h3 {
  margin-top: 14px;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 850;
}

.case-feature .lead {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.7;
}

.case-feature .checks { margin-top: 16px; }

.case-feature .checks li { color: #fff; font-size: 14px; }

.case-feature .tick {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.case-feature .btn-pill {
  height: 42px;
  margin-top: 20px;
  padding: 0 18px;
  font-size: 14px;
}

.art-slot--laptop {
  min-height: 280px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.case-feature .art-hint { color: rgba(255, 255, 255, 0.82); }

.case-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.case-layout:has(.case-feature[hidden]) {
  grid-template-columns: 1fr;
}

.case-layout:has(.case-feature[hidden]) .case-side {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.case-layout:has(.case-feature[hidden]) .case-card {
  width: min(340px, 100%);
}

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 186px;
  padding: 12px;
  border-radius: 22px;
  min-width: 0;
  background: linear-gradient(150deg, #fff, #eef5ff 54%, #d1deff);
  border: 1px solid #fff;
  box-shadow: inset 0 -3px 7px rgba(97, 125, 207, 0.18), 0 3px 0 -1px #a6bbed, var(--shadow);
}

.art-slot--shot {
  height: 104px;
  border-radius: 14px;
}

.case-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 12px 6px 4px;
}

.case-card-foot .circle-arrow {
  flex: none;
  margin: 0;
  border-color: #fff;
  background: linear-gradient(150deg, #fff, #dce8ff);
  box-shadow: 0 3px 8px rgba(57, 87, 174, 0.2);
}

.case-card h3 {
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.case-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.stats,
.product-bar {
  display: grid;
  align-items: center;
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: linear-gradient(110deg, rgba(241, 245, 255, 0.57), rgba(224, 229, 255, 0.64));
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.35);
}

.stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stat,
.product-metric,
.eco {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 22px);
  min-width: 0;
  padding: 4px 10px;
}

.stat + .stat::before,
.product-bar > :not(:first-child):not(.btn)::before,
.product-bar .eco::after {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(74, 112, 216, 0.32);
}

.product-bar .eco::after { left: auto; right: 0; }

.stat-ico {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  flex: none;
  color: #1457e5;
  filter: drop-shadow(0 0 3px #fff);
}

.stat-ico .icon { width: 34px; height: 34px; }

.stat b,
.product-metric b {
  display: block;
  color: #101c62;
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.1;
}

.stat b small,
.product-metric b small { font-size: 0.72em; }

.stat div span,
.product-metric div span,
.eco small {
  display: block;
  margin-top: 4px;
  color: #35486c;
  font-size: clamp(12px, 1.1vw, 16px);
}

/* Products */
.products { padding-top: 84px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 16px 16px;
  border-radius: 28px;
  border: 1px solid #fff;
  background:
    radial-gradient(ellipse at 32% 0%, #fff, transparent 58%),
    linear-gradient(150deg, #f9fbff, var(--product-tint));
  box-shadow: inset 0 1px 2px #fff, inset 0 -4px 8px rgba(77, 88, 156, 0.13),
    0 3px 0 -1px var(--product-edge), 0 16px 30px rgba(67, 85, 155, 0.17);
}

.product-card.is-focus { --product-tint: #c5d9ff; --product-edge: #90aaf0; }
.product-card:focus-visible {
  outline: 3px solid #3b78ef;
  outline-offset: 5px;
}

.product-coming-soon {
  flex: none;
  font-size: 12px;
  color: var(--muted);
}

.product-card.is-journey { --product-tint: #bdebdc; --product-edge: #83c3b6; }
.product-card.is-wish { --product-tint: #ffe0c8; --product-edge: #e5ab8f; }
.product-card.is-serene { --product-tint: #dfcef9; --product-edge: #b49bdf; }

.product-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.art-slot--appicon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  flex: none;
}

.product-head h3 {
  color: var(--navy);
  font-size: 20px;
  font-weight: 850;
}

.product-head .en {
  margin-top: 2px;
  color: #7e93b6;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.product-desc {
  margin: 12px 2px 10px;
  color: #51688f;
  font-size: 14px;
  line-height: 1.65;
  min-height: 46px;
}

.art-slot--phone {
  flex: 1;
  min-height: 230px;
  height: clamp(240px, 25vw, 350px);
  grid-template-rows: minmax(0, 1fr);
  background: rgba(255, 255, 255, 0.2);
}

.art-slot--phone.is-ready { overflow: visible; }

.art-slot--phone img {
  min-height: 0;
  filter: drop-shadow(0 9px 9px rgba(45, 62, 134, 0.22));
}

.product-card-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.product-card-foot .product-tag {
  display: block;
  margin: 0;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.product-card-foot .circle-arrow {
  align-self: center;
  flex: none;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid #fff;
  background: linear-gradient(150deg, #fff, #edf4ff);
  color: #1859de;
  box-shadow: 0 2px 0 #b3c8f6, 0 5px 12px rgba(54, 86, 158, 0.16);
}

.product-bar {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.45fr) auto;
  column-gap: 10px;
  padding-right: 22px;
}

#product-list { scroll-margin-top: 96px; }

.product-bar .stat-ico {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.92), rgba(230, 239, 255, 0.35));
}

.eco b { color: #101c62; font-size: clamp(15px, 1.4vw, 20px); }

.product-bar .btn-pill { min-height: 46px; height: auto; padding: 10px 18px; }

/* Cooperation */
.cooperation { padding-bottom: 108px; }

.steps-wrap { position: relative; margin-top: 28px; }

.steps-wrap::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -36px;
  height: 46px;
  background: radial-gradient(ellipse at center, rgba(130, 176, 255, 0.7), transparent 70%);
  filter: blur(4px);
  pointer-events: none;
}

.steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 8px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 14px 22px;
  border-radius: 26px;
  background:
    radial-gradient(ellipse at 50% 0%, #fff, transparent 65%),
    linear-gradient(155deg, #f8fbff 12%, #e7f0ff 58%, #cad8ff 100%);
  border: 1px solid #fff;
  box-shadow: inset 0 1px 2px #fff, inset 0 -4px 9px rgba(100, 125, 202, 0.18),
    0 3px 0 -1px #a7bbed, 0 14px 25px rgba(56, 87, 165, 0.17);
}

.art-slot--step {
  width: 100%;
  height: 128px;
  margin-bottom: 8px;
  background: transparent;
}

.step-no {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  border: 1px solid #a5c4ff;
  background: linear-gradient(160deg, #72a9ff, #416de9 58%, #4a3dc1);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.65), 0 6px 12px rgba(47, 98, 240, 0.28);
}

.step h3 {
  margin-top: 12px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 850;
}

.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.step-join {
  align-self: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #7aa4e8;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 6px 16px rgba(90, 140, 210, 0.16);
}

.step-join .icon { width: 16px; height: 16px; }

/* Footer */
.footer {
  z-index: 1;
  justify-content: center;
  padding: 120px 0 12vh;
  color: #fff;
  background-color: #7eb6ff;
  background-image: url("../assets/footer/footer-bg.webp");
  --foot-gap: 22px;
  --foot-line: 2px;
}

.footer .wrap {
  width: min(var(--wrap), calc(100% - (var(--foot-gap) - var(--foot-line))));
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 320px;
  gap: var(--foot-gap);
  align-items: stretch;
}

.foot-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer .brand {
  flex-direction: column;
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 12px;
  color: #fff;
}

.footer .brand-text { justify-content: center; max-width: 100%; }

.footer .brand-mark {
  position: relative;
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex: none;
  /* box-shadow:
    0 0 8px rgba(255, 255, 255, 0.28),
    0 0 18px rgba(255, 255, 255, 0.14); */
}

.footer-main > * { position: relative; min-width: 0; }

.footer-main > * + *::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc((var(--foot-gap) + var(--foot-line)) / -2);
  width: var(--foot-line);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.72) 16%,
    #fff 30%,
    #fff 70%,
    rgba(255, 255, 255, 0.72) 84%,
    rgba(255, 255, 255, 0) 100%
  );
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.55));
  pointer-events: none;
}

.foot-col {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.foot-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.foot-list:has(> .friend-link) {
  display: grid;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  justify-items: stretch;
}

.foot-list:has(> .friend-link) > .friend-link { width: 100%; }

.footer .brand-mark .brand-logo { width: 100%; height: 100%; }

.footer-main,
.footer-bottom {
  text-shadow: 0 1px 2px rgba(16, 42, 110, 0.34);
}

.footer .icon { color: #fff; }

.foot-slogan {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  margin-top: 18px;
  font-weight: 800;
  color: #fff;
}

.foot-slogan::before,
.foot-slogan::after {
  content: "";
  width: 16px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}

.foot-en {
  margin-top: 8px;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 14px;
}

.foot-desc {
  margin-top: 12px;
  max-width: min(250px, 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.75;
  text-align: center;
}

.col-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 20px;
  font-weight: 850;
}

.col-title .icon {
  width: 22px;
  height: 22px;
  color: #fff;
  background: none;
  box-shadow: none;
}

.friend-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 0;
  padding: 10px 12px;
  border-radius: 18px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0.14) 100%);
  border: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 14px 20px rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.friend-link:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.16) 46%, rgba(255, 255, 255, 0.22) 100%);
}

.mini-ico {
  display: grid;
  place-items: center;
  color: #fff;
  background: none;
  box-shadow: none;
  flex: none;
}

.mini-ico .icon { width: 18px; height: 18px; color: #fff; }

.friend-link .meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.friend-link strong { color: #fff; font-size: 14px; }

.friend-link small { color: rgba(255, 255, 255, 0.78); font-size: 12px; }

.friend-link .go { margin-left: auto; color: #fff; }

.foot-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 2vw;
  color: #fff;
  font-weight: 700;
}

.foot-nav a:hover { color: #fff; opacity: 0.82; }

.foot-nav .go { margin-left: auto; color: #fff; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  color: #fff;
  padding: 0px 0.5vw;
}

.contact-item b {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 650;
}

.contact-item span {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.cli,
.cli * { text-shadow: none; }

.cli-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 20px;
  font-weight: 850;
}

.cli-label .icon {
  width: 22px;
  height: 22px;
  color: #fff;
}

.cli-win {
  height: 214px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #020617;
  border: 1px solid #1e293b;
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
  text-align: left;
}

.cli-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 32px;
  padding: 0 10px;
  color: #94a3b8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  background: #0f172a;
  border-bottom: 1px solid #1e293b;
}

.cli-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.cli-title .icon { width: 12px; height: 12px; color: #94a3b8; }

.dots { display: flex; gap: 5px; flex: none; }

.dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: block;
}

.dots i:nth-child(1) { background: #f43f5e; }
.dots i:nth-child(2) { background: #f59e0b; }
.dots i:nth-child(3) { background: #10b981; }

.cli-log {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 8px 10px;
  color: #cbd5e1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  line-height: 1.45;
}

.cli-line { margin-bottom: 8px; }

.cli-log .prompt,
.cli-form .prompt { color: #34d399; font-weight: 800; }

.cli-log .cmd { color: #fff; font-weight: 700; margin-left: 6px; }

.cli-out { padding: 2px 0 0 12px; line-height: 1.5; }

.cli-out .amber { color: #fbbf24; font-weight: 700; }
.cli-out .blue { color: #60a5fa; }
.cli-out .green { color: #34d399; }
.cli-out .purple { color: #c084fc; }
.cli-out .rose { color: #fb7185; }

.cli-form {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.96);
  border-top: 1px solid #1e293b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.cli-field {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.cli-form input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  outline: none;
  caret-color: #34d399;
}

.cli-caret {
  position: absolute;
  left: calc(var(--caret, 0) * 1ch);
  width: 2px;
  height: 13px;
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.75);
  pointer-events: none;
  animation: cli-blink 1.05s steps(1) infinite;
}

.cli-form:focus-within .cli-caret { visibility: hidden; }

@keyframes cli-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.cli-form input::placeholder { color: #475569; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(28px, 5vh, 56px);
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
}

.footer-bottom p { margin: 0; overflow-wrap: anywhere; }

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover { opacity: 0.82; }

.footer-bottom .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.footer-bottom .status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
}

/* Let the seam blend the footer background while leaving its contents sharp. */
.home-page .footer { z-index: auto; }
.home-page .footer-main,
.home-page .footer-bottom { position: relative; z-index: 5; }

@media (min-width: 981px) {
  .cooperation,
  .footer { min-height: 0; }

  .cooperation { padding-bottom: 56px; }
  .footer { padding: 64px 0 48px; }

  .home-page .flow > .screen {
    min-height: 0;
    padding-block: 52px 44px;
  }

  .home-page .flow > .services { padding-top: 64px; }

  .home-page .flow { z-index: auto; }
  .home-page .cooperation .center-cta { position: relative; z-index: 5; }
}

@media (max-width: 1200px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .footer .wrap { width: min(var(--wrap), calc(100% - 48px)); }
  .footer-main > * + *::before { content: none; }
  .cli { grid-column: 1 / -1; max-width: 560px; }
  .steps { grid-template-columns: repeat(5, 1fr); }
  .step-join { display: none; }
}

@media (max-width: 980px) {
  .case-layout,
  .case-feature { grid-template-columns: 1fr; }
  .art-slot--laptop { min-height: 220px; }
  .stats, .product-bar { border-radius: 24px; row-gap: 12px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .stat:nth-child(3)::before,
  .product-bar > .eco::before,
  .product-bar > .eco::after { content: none; }
  .product-bar { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .product-metric { grid-column: span 2; }
  .eco { grid-column: span 4; }
  .product-bar .btn-pill { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .menu {
    position: absolute;
    top: calc(100% + 6px);
    right: clamp(14px, 3vw, 24px);
    width: min(290px, calc(100% - 28px));
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px;
    border-radius: 22px;
    border: 1px solid #fff;
    background: linear-gradient(145deg, #f8fbff, #e1ebff 72%, #e9e1ff);
    box-shadow: inset 0 1px 0 #fff, 0 14px 32px rgba(25, 54, 116, 0.26);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 200ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1), visibility 240ms;
  }
  .menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .topbar .menu a {
    color: var(--navy);
    padding: 10px 14px;
    border-radius: 13px;
  }
  .topbar .menu a:is(.is-active, :hover, :focus-visible) {
    color: #2547a4;
    background: rgba(255, 255, 255, 0.66);
  }
  .topbar .menu a::after {
    width: 22px;
    left: 14px;
    bottom: 5px;
    right: auto;
    background: var(--blue);
  }
  .burger { display: grid; }
  .topbar .burger[aria-expanded="true"] {
    color: #2547a4;
    background: #eef3ff;
    border-color: #fff;
  }
  .art-slot--phone { min-height: 0; height: 208px; flex: none; }
  .product-card-foot { margin-top: auto; padding-top: 10px; }
  .hero { background-position: 70% center; }
}

@media (max-width: 720px) {
  .wrap, .footer .wrap { width: min(var(--wrap), calc(100% - 30px)); }
  .screen { padding: 56px 0 48px; }
  .svc-grid,
  .case-side,
  .product-grid { grid-template-columns: 1fr; }
  .svc-card,
  .product-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(76px, 26vw, 150px);
    column-gap: 10px;
    padding: 14px;
    border-radius: 22px;
  }
  .svc-title, .svc-desc, .svc-card .checks,
  .product-head, .product-desc { grid-column: 1; }
  .svc-title, .product-head { grid-row: 1; }
  .svc-desc, .product-desc { grid-row: 2; }
  .svc-card .checks { grid-row: 3; margin: 8px 0 0; gap: 5px; }
  .svc-card .art-slot--illust,
  .product-card .art-slot--phone {
    grid-column: 2;
    grid-row: 1 / span 3;
    align-self: center;
    height: clamp(94px, 33vw, 172px);
    margin: 0;
  }
  .svc-card .circle-arrow {
    grid-column: 2;
    grid-row: 3;
    justify-self: end;
    position: relative;
  }
  .svc-card .art-slot--illust { grid-row: 1 / span 2; }
  .svc-title, .product-head h3 { font-size: 16px; }
  .svc-desc, .product-desc { min-height: 0; margin: 6px 0 0; font-size: 13px; }
  .product-head { gap: 8px; }
  .product-head .en { font-size: 12px; }
  .product-head .art-slot--appicon { width: 36px; height: 36px; border-radius: 10px; }
  .product-card-foot { grid-column: 1 / -1; grid-row: 4; }
  .hero {
    min-height: 0;
    padding: clamp(116px, 31vw, 142px) 0 clamp(150px, 40vw, 235px);
    background-image:
      linear-gradient(180deg, rgba(4, 19, 47, 0.24), rgba(4, 19, 47, 0.56) 45%, transparent 84%),
      url("../assets/hero/hero-bg-mobile.webp");
    background-position: center 58%;
  }
  .hero-main { flex: none; padding: 0; }
  .hero-copy { max-width: 480px; padding-inline: 6px; }
  .hero-en { gap: 10px; margin-bottom: 12px; font-size: 13px; }
  .hero-copy h1 { font-size: clamp(26px, 8vw, 42px); }
  .hero-sub { margin-top: 12px; font-size: 14px; line-height: 1.6; }
  .hero-actions { margin-top: 18px; gap: 8px; }
  .hero-actions .btn { height: 42px; padding-inline: 12px; font-size: 14px; }
  .steps { gap: 12px; }
  .step {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) clamp(64px, 21vw, 105px);
    gap: 5px 10px;
    padding: 12px;
    border-radius: 20px;
    text-align: left;
  }
  .step-no { grid-area: 1 / 1; width: 30px; height: 30px; font-size: 12px; }
  .step h3 { grid-area: 1 / 2; margin: 0; font-size: 16px; }
  .step p { grid-area: 2 / 2; margin: 0; }
  .step .art-slot--step { grid-area: 1 / 3 / span 2; height: 78px; margin: 0; }
  .stats, .product-bar { padding: 12px; }
  .stat { align-items: flex-start; gap: 7px; padding: 4px; }
  .stat-ico { width: 34px; height: 34px; }
  .stat-ico .icon { width: 25px; height: 25px; }
  .product-metric { flex-direction: column; text-align: center; gap: 5px; }
  .product-metric b { font-size: 16px; }
  .eco, .product-bar .btn-pill { grid-column: 1 / -1; }
  .eco { justify-content: center; padding-top: 8px; border-top: 1px solid #fff; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (hover: hover) {
  .btn-primary:hover { box-shadow: 0 15px 32px rgba(37, 99, 235, 0.5); }
  .btn-ghost:hover { background: rgba(142, 184, 255, 0.22); }
  .chip:not(.is-active):hover { box-shadow: 0 7px 16px rgba(58, 86, 158, 0.24); }
  .menu a:not(.is-active):hover::after { transform: scaleX(0.55); opacity: 0.55; }
  .burger:hover, a.contact-item:hover { background: rgba(255, 255, 255, 0.14); }
  .foot-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

  :is(.svc-card, .case-feature, .case-card, .product-card, .step):hover {
    border-color: #fff;
    box-shadow: inset 0 1px 2px #fff, 0 16px 34px rgba(49, 76, 155, 0.26);
  }

  :is(.svc-card, .case-card, .product-card):hover .circle-arrow {
    color: #fff;
    border-color: #7799f1;
    background: linear-gradient(150deg, #5489f6, #4059d0);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(.svc-card, .case-feature, .case-card, .product-card, .step) {
    transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
  }

  :is(.svc-card, .case-feature, .case-card, .product-card, .step):hover {
    transform: translateY(-5px);
  }

  .circle-arrow, .burger, a.contact-item { transition: background-color 220ms ease, color 220ms ease; }
}

@media (prefers-reduced-motion: no-preference) {
  .topbar .menu a::after { transition: transform 240ms ease, opacity 240ms ease; }

  .hero-copy > .hero-en,
  .hero-copy > h1,
  .hero-copy > .hero-sub,
  .hero-actions > .btn,
  .reveal-ready {
    animation: reveal-in 640ms cubic-bezier(0.22, 1, 0.36, 1) backwards;
    animation-delay: var(--reveal-delay, 0ms);
  }

  .hero-copy > h1 { --reveal-delay: 140ms; }
  .hero-copy > .hero-sub { --reveal-delay: 280ms; }
  .hero-actions > .btn { --reveal-delay: 420ms; }
  .hero-actions > .btn + .btn { --reveal-delay: 505ms; }

  .reveal-pending:not(:focus-within) {
    opacity: 0;
    translate: 0 18px;
  }

  .reveal-ready:focus-within,
  .hero-actions > .btn:focus-visible { animation: none; }

  @keyframes reveal-in {
    from { opacity: 0; translate: 0 18px; }
    to { opacity: 1; translate: 0 0; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cursor, .cli-caret, .topbar::before { animation: none; transition: none; }
  .topbar .brand, .topbar .menu a, .topbar .burger, .topbar .menu a::after { transition: none; }
  .btn, .chip, .friend-link, .menu { transition: none; }
  .btn:hover, .btn-pill:active, .chip:hover, .chip:active { transform: none; }
}

/* Homepage Hero */
.home-page .hero {
  min-height: max(720px, 100svh);
  padding: clamp(105px, 11vh, 154px) 0 clamp(100px, 12vh, 136px);
  background-image: none;
  overflow: hidden;
}

.hero-landscape {
  --scene-shade: linear-gradient(90deg, #041d4942, transparent 60%);
  position: absolute;
  inset: 0;
  container-type: size;
  pointer-events: none;
}
.hero-landscape:not(.hero-foreground)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--scene-shade);
}
.hero-foreground { z-index: 3; }
.hero-scene {
  /* Both layers share the crop, so the cat stays on the rock. */
  position: absolute;
  --scene-height: max(100cqh, calc(100cqw * 941 / 1672));
  --scene-width: calc(var(--scene-height) * 1672 / 941);
  --scene-left: calc((100cqw - var(--scene-width)) / 2);
  top: clamp(calc(100cqh - var(--scene-height)), calc(78cqh - .73 * var(--scene-height)), 0px);
  left: clamp(calc(100cqw - var(--scene-width)), var(--scene-left), 0px);
  width: var(--scene-width);
  aspect-ratio: 1672 / 941;
}
.hero-scene-art { display: block; width: 100%; height: auto; }
.hero-rock-seat {
  position: absolute;
  z-index: 1;
  left: 55.6%;
  top: 72.9%;
  width: min(10.5%, 18cqh);
}
.hero-rock-seat::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 60%;
  height: clamp(4px, .65vw, 10px);
  border-radius: 50%;
  background: #251e19a6;
  filter: blur(3px);
  translate: 0 -45%;
}
.hero-cat { display: block; position: absolute; width: 100%; translate: -49% -91%; }
.hero-cat img { display: block; width: 100%; height: auto; }

.home-page .topbar::before {
  background: linear-gradient(105deg,#031c43,#073777);
  border-bottom: 1px solid #b2d8ff32;
  box-shadow: none;
}
.home-page .topbar .brand { color: #fff; }
.home-page .topbar .burger { color: #fff; border-color: #bedcff70; background: #092b6066; }
.home-page .topbar.is-stuck .burger { background: #092b60; }
@media (min-width: 981px) {
  .home-page .topbar .menu { gap: clamp(30px,4vw,66px); }
  .home-page .topbar .menu a { color: #f0f6ff; }
  .home-page .topbar .menu a:is(.is-active, :hover, :focus-visible) { color: #31c8ff; }
  .home-page .topbar .menu a::after { bottom: -10px; background: #31c8ff; }
}

.home-page .hero-main { padding: 0; }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  align-items: start;
  width: min(92%, 1530px);
}
.hero-layout .hero-copy { position: relative; z-index: 2; padding-top: clamp(26px,4.2vw,76px); }
.hero-layout .hero-en::after { width: clamp(32px,6vw,112px); height: 1px; transform: none; box-shadow: none; background: #cae5ff70; }
.hero-layout .hero-copy h1 { font-size: clamp(33px,3.85vw,68px); font-style: italic; letter-spacing: .02em; }
.hero-layout .hero-sub { font-size: clamp(13px,1.13vw,20px); letter-spacing: .015em; }
.hero-layout .hero-actions { margin-top: clamp(18px,2.6vw,40px); }
.hero-layout .hero-actions .btn { border-radius: 6px; }

.hero-stage {
  --panel-tilt: -24deg;
  position: relative;
  width: 100%;
  aspect-ratio: 1.43;
  translate: 0 calc(-1 * clamp(26px, 5vw, 70px));
  container-type: inline-size;
}
.hero-stage-plane {
  position: absolute;
  inset: 0;
  transform: perspective(240cqw) rotateY(var(--panel-tilt));
}
.hero-display {
  position: absolute; z-index: 1; width: 76%; left: 38%; top: 10%;
  translate: -50% 0;
  container-type: inline-size; filter: drop-shadow(0 0 24px #83caff7a);
}
.hero-display-art { display: block; width: 100%; height: auto; }
.hero-console {
  position: absolute; inset: 23% 38% 22.4% 16.5%; overflow: hidden;
  display: flex; flex-direction: column; border-radius: 4px;
  background: #0b193b; color: #d8e6ff; font: 500 clamp(4px,2.35cqw,11px)/1.5 ui-monospace, monospace;
}
.hero-console-title {
  display: flex; justify-content: space-between; gap: 3%; flex: none;
  padding: 1.8% 4%; border-bottom: 1px solid #75a8ed40; background: #142953; color: #96d5ff;
}
.hero-console-title small { font-size: inherit; color: #afbddb; }
.hero-console-output { overflow: hidden; min-height: 0; padding: 3% 4%; white-space: pre; }
.hero-console-output span { display: block; }
.hero-console-output .hero-console-cursor::after { content: "▍"; color: #9bdbff; }
.hero-console-code { color: #c8b5ff; }
.hero-console-command { color: #7cdbff; }
.hero-console-success { color: #83e9ab; }
.hero-capabilities {
  position: absolute;
  z-index: 2;
  top: 6%;
  right: 0;
  width: 26%;
  display: grid;
  gap: 1.8cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-capability {
  display: flex; align-items: center; gap: 1.2cqw;
  aspect-ratio: 2.15; padding: 1.8cqw 2.1cqw;
  background: url("../assets/hero/home-card.webp") center / 100% 100% no-repeat;
  filter: drop-shadow(0 4px 12px #44b4ff63);
  animation: hero-card-float var(--float-duration, 5s) ease-in-out var(--float-delay, 0s) infinite;
}
.hero-capability img { width: 25%; height: auto; flex: none; }
.hero-capability span { min-width: 0; color: #112c64; text-shadow: 0 1px 3px #ebf6ff95; }
.hero-capability strong,.hero-capability small { display: block; white-space: nowrap; line-height: 1.35; }
.hero-capability strong { font-size: clamp(10px,2.5cqw,19px); }
.hero-capability small { font-size: clamp(8px,1.55cqw,12px); white-space: normal; }
.hero-capability small span { white-space: nowrap; }
.hero-capability-web { --float-delay: -1.2s; }
.hero-capability-app { --float-delay: -2.6s; --float-duration: 5.6s; }
.hero-capability-mini { --float-delay: -3.1s; }
.hero-capability-ai { --float-delay: -0.6s; --float-duration: 5.8s; }
@keyframes hero-card-float { 0%,100% { translate: 0 0; } 50% { translate: 0 calc(-1 * min(7px, 1cqw)); } }

.hero-bottom {
  position: absolute; z-index: 2; inset: auto 0 clamp(33px,7.5vh,82px);
  display: flex; justify-content: space-between; align-items: end; gap: 12px;
  width: min(87%, 1440px);
}
.hero-explore { display: inline-flex; align-items: center; gap: 14px; color: white; font-size: 15px; font-weight: 650; text-shadow: 0 2px 8px #001531; }
.hero-mouse { display: block; position: relative; width: 24px; height: 37px; border: 1px solid #e9f3ff; border-radius: 15px; background: #071e4466; }
.hero-mouse::before { content: ""; position: absolute; width: 3px; height: 7px; border-radius: 4px; background: #fff; top: 8px; left: calc(50% - 1.5px); animation: hero-scroll 1.9s ease-out infinite; }
.hero-signature { display: grid; justify-items: center; transform: rotate(-5deg); text-shadow: 0 2px 9px #001522; }
.hero-signature span { color: #fff; font: italic 600 clamp(15px,1.3vw,23px) "Kaiti SC",KaiTi,STKaiti,serif; letter-spacing: .11em; }
.hero-signature svg { width: 100%; max-width: 220px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; }
.hero-signature path { stroke-dasharray: 1; animation: hero-signature-line 2.6s ease-out both; }
@keyframes hero-scroll { 0% { transform: translateY(0); opacity: 1; } 70%,100% { transform: translateY(12px); opacity: 0; } }
@keyframes hero-signature-line { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

@media (max-width: 980px) {
  .hero-landscape { --scene-shade: linear-gradient(180deg,#041a4588,transparent 80%); }
  .home-page .topbar .menu { background: linear-gradient(145deg,#071f4c,#0e4080); border-color: #a9cbff56; box-shadow: 0 14px 32px #00142d65; }
  .home-page .topbar .menu a { color: #eaf4ff; }
  .home-page .topbar .menu a:is(.is-active, :hover, :focus-visible) { color: #5ed5ff; background: #d0e7ff16; }
  .home-page .topbar .menu a::after { background: #31c8ff; }
}
@media (min-width: 821px) {
  .hero-stage-plane { translate: clamp(-44px, -2.6vw, -20px) -5%; }
}
@media (min-width: 1200px) and (max-height: 850px) {
  .hero-stage { width: 86%; margin-inline: auto; translate: 0 -14px; }
  .hero-display { width: 73%; top: 8%; }
}
@media (max-width: 820px) {
  .home-page .hero {
    min-height: 100svh;
    padding: clamp(110px,14svh,148px) 0 clamp(155px,27svh,248px);
  }
  .home-page .hero-main { flex: 1 0 auto; }
  .hero-scene {
    --scene-left: calc(50cqw - .664 * var(--scene-width));
  }
  .hero-rock-seat { left: 58.2%; width: min(9%, 20cqw); }
  .hero-layout { grid-template-columns: minmax(0,1fr); width: min(92%,560px); gap: clamp(16px,3.8vw,25px); }
  .hero-layout .hero-copy { padding: 0; }
  .hero-layout .hero-copy h1 { font-size: clamp(27px,7.75vw,48px); }
  .hero-layout .hero-sub { margin-top: 12px; font-size: 13px; }
  .hero-layout .hero-actions { margin-top: 19px; }
  .hero-stage { --panel-tilt: -20deg; width: 100%; margin: 0; aspect-ratio: 1.64; translate: none; }
  .hero-display { width: 67%; left: 33%; top: 5%; }
  .hero-capabilities { top: 0; width: 31%; gap: 1.5cqw; }
  .hero-capability { aspect-ratio: 2.4; padding: 1.5cqw 2cqw; }
  .hero-capability strong { font-size: clamp(9px,2.9cqw,14px); }
  .hero-capability small { font-size: clamp(7px,2.2cqw,11px); }
  .hero-bottom { width: min(92%,560px); bottom: 57px; }
  .hero-explore { font-size: 12px; gap: 7px; white-space: nowrap; }
  .hero-mouse { width: 19px; height: 31px; }
  .hero-signature { width: clamp(116px,42vw,200px); }
  .hero-signature span { font-size: clamp(11px,3.2vw,16px); }
}
@media (max-width: 820px) and (max-height: 760px) {
  .hero-stage { translate: 0 -6px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mouse::before,.hero-signature path,.hero-capability { animation: none; }
}

/* Homepage solutions */
.home-page .flow > .solutions {
  min-height: 0;
  scroll-margin-top: 80px;
  padding: var(--module-gap, 48px) 0 var(--module-edge, 24px);
  background:
    radial-gradient(ellipse at 5% 8%, #fbe4ff 0, transparent 40%),
    radial-gradient(ellipse at 100% 100%, #f5dbff 0, transparent 35%),
    linear-gradient(170deg, #e7e7ff, #d6def9 65%, #dce6fb);
  overflow: hidden;
}

.solutions::before {
  content: "";
  position: absolute;
  inset: -160px auto auto -7%;
  width: min(66%, 900px);
  height: 190px;
  border-radius: 45% 55% 50% 50%;
  rotate: 8deg;
  background: linear-gradient(180deg, #a8bcf87a, #f3c5ff4d);
  box-shadow: 0 2px 2px #ffffff75, 0 9px 25px #ffe9fa;
  pointer-events: none;
}

.solutions .wrap { position: relative; }
.solutions .svc-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(9px, 1vw, 16px);
  margin-top: 16px;
}
.solutions .svc-card {
  position: relative;
  display: flex;
  padding: 4px clamp(10px, 1.6vw, 24px) 15px;
  border: 1px solid #ffffff8c;
  border-radius: 19px;
  background: linear-gradient(150deg, #fff6ffcf, #dce9ffac);
  box-shadow: inset 0 1px 1px #fff9, 0 7px 12px #5364ac26;
}
.solutions .svc-card:nth-child(even) {
  background: linear-gradient(150deg, #f8f1ffdb, #dbe7ffb8);
}
.svc-art {
  display: block;
  width: clamp(65px, 6.6vw, 101px);
  height: clamp(53px, 5.2vw, 80px);
  margin: 0 auto 2px;
  object-fit: contain;
}
.solutions .svc-title {
  font-size: clamp(14px, 1.32vw, 19px);
  line-height: 1.35;
}
.solutions .svc-desc {
  min-height: 0;
  margin: 3px 0 0;
  color: #435780;
  font-size: clamp(11px, .99vw, 14px);
  line-height: 1.55;
}
.solutions .svc-card .circle-arrow {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 24px;
  height: 24px;
  margin: 0;
  color: #515af0;
}
.solutions .circle-arrow .icon { width: 13px; height: 13px; }
.solutions .svc-card .svc-desc { padding-right: 6px; }

@media (max-width: 1090px) {
  .solutions .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .solutions .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solutions .svc-card { border-radius: 16px; }
}

/* Homepage partners */
.partners {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(16px, 2vw, 28px);
  scroll-margin-top: 96px;
  border: 1px solid #fff;
  border-radius: clamp(20px, 3vw, 36px);
  background:
    radial-gradient(ellipse at 8% 18%, #ffe5ffb8, transparent 36%),
    radial-gradient(ellipse at 93% 20%, #ead1ffcc, transparent 36%),
    linear-gradient(165deg, #e2dcfa, #eef0ff 55%, #ced5f9);
  box-shadow: inset 0 1px 3px #fff, 0 10px 24px #4d60a721;
}

.partners::before,
.partners::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 55%;
  height: 80%;
  border: 1px solid #ffffffb0;
  border-radius: 50%;
  background: linear-gradient(165deg, #a7a8f04d, #d7b7f330);
  box-shadow: 0 -3px 16px #fff2ff9c;
  pointer-events: none;
}
.partners::before { left: -24%; top: 38%; rotate: 20deg; }
.partners::after { right: -19%; top: 25%; rotate: -23deg; }

.partners .section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(7px, 2.5vw, 30px);
}
.partner-laurel { width: 20px; height: 38px; flex: none; color: #e5a536; }
.partner-laurel:last-child { scale: -1 1; }

.partner-list {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.partner-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 0;
  min-height: 48px;
  padding: 7px 5px;
  border: 1px solid #ffffffad;
  border-radius: 13px;
  background: linear-gradient(155deg, #fffaff, #e8edffdd);
  box-shadow: 0 4px 9px #5365ab25, inset 0 1px #fff;
  color: var(--navy);
  font-size: clamp(12px, 1.05vw, 16px);
  font-weight: 800;
}
.partner-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  color: #3c65e8;
}
.partner-icon .icon { width: 22px; height: 22px; }
.partner-icon.is-press { color: #db383d; }
.partner-icon.is-union {
  border: 1px solid #f2a62a;
  border-radius: 50%;
  color: #ffc646;
  background: #d93437;
}
.partner-icon.is-union .icon { width: 17px; height: 17px; }

@media (max-width: 1100px) {
  .partner-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-list li:last-child { grid-column: 1 / -1; }
}

/* Why WaySun */
.why-waysun {
  position: relative;
  padding: clamp(17px, 2vw, 26px);
  scroll-margin-top: 96px;
  border: 1px solid #ffffffa8;
  border-radius: clamp(18px, 2.5vw, 30px);
  background:
    radial-gradient(ellipse at 4% 80%, #fff0fa, transparent 42%),
    radial-gradient(ellipse at 100% 40%, #efdcff9e, transparent 40%),
    linear-gradient(165deg, #e5ebfc, #f4f4ff 68%, #e1e8ff);
  box-shadow: inset 0 1px 2px #fff, 0 8px 20px #5365ab17;
}
.why-waysun-body {
  display: grid;
  grid-template-columns: minmax(100px, 15%) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 13px;
}
.why-waysun-mascot {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 50% 85%, #ffc99887, transparent 64%);
}
.why-waysun-mascot img {
  display: block;
  width: clamp(116px, 14vw, 196px);
  height: auto;
  filter: drop-shadow(0 7px 9px #5069ac38);
}
.why-waysun-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.why-waysun-list li {
  display: flex;
  align-items: center;
  gap: clamp(6px, .9vw, 13px);
  min-width: 0;
  padding: 11px clamp(8px, 1vw, 15px);
  border: 1px solid #ffffffba;
  border-radius: 15px;
  background: linear-gradient(145deg, #ffffffcf, #e7ecffba);
  box-shadow: 0 5px 10px #5365ab1e, inset 0 1px #fff;
}
.why-waysun-list .icon {
  flex: none;
  width: clamp(20px, 2.2vw, 30px);
  height: clamp(20px, 2.2vw, 30px);
  color: #4a60ed;
}
.why-waysun-list h3 { margin: 0; font-size: clamp(13px, 1.18vw, 17px); color: var(--navy); }
.why-waysun-list p { margin: 2px 0 0; font-size: clamp(11px, .9vw, 13px); color: #4b608a; }
.why-waysun-process {
  display: grid;
  grid-template-columns: minmax(85px, 12%) minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
  margin-top: 14px;
  scroll-margin-top: 96px;
}
.why-waysun-process h3 {
  margin: 2px 0 0;
  color: var(--navy);
  font-size: clamp(16px, 1.65vw, 23px);
  text-align: center;
}
.why-waysun-process h3::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin: 5px auto 0;
  background: linear-gradient(90deg, transparent, #5c77f5, transparent);
}
.why-waysun-process ol {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.why-waysun-process li {
  position: relative;
  min-width: 0;
  padding-inline: 4px;
  text-align: center;
}
.why-waysun-process li::before {
  content: "";
  position: absolute;
  inset: 12px 0 auto;
  height: 1px;
  background: #758aff;
}
.why-waysun-process li::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 5px;
  height: 5px;
  border: 1px solid #758aff;
  border-radius: 50%;
  background: #f4f6ff;
}
.why-waysun-process li > span {
  position: relative;
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 25px;
  border-radius: 20px;
  background: #f5f6ff;
  color: #344ce3;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 0 7px 3px #f5f6ff;
}
.why-waysun-process h4 { margin: 4px 0 0; color: var(--navy); font-size: 14px; }
.why-waysun-process p { margin: 2px 0 0; color: #4b608a; font-size: 12px; }
.why-waysun-process-cta {
  grid-column: 2;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #3359d2;
  font-size: 13px;
  font-weight: 700;
}
.why-waysun-process-cta .icon { width: 15px; height: 15px; }
.why-waysun-process-cta:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .why-waysun-process ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .why-waysun-process { display: block; margin-top: 20px; }
  .why-waysun-process ol { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; }
}

@media (max-width: 1100px) {
  .why-waysun-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .why-waysun-body { display: block; }
  .why-waysun-mascot { margin: 0 auto 8px; }
  .why-waysun-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-waysun-list li:last-child { grid-column: 1 / -1; }
}

/* Cooperation and company introduction */
.company-story {
  position: relative;
  isolation: isolate;
  padding: clamp(20px, 3vw, 42px) 0 clamp(64px, 9vw, 126px);
  background:
    radial-gradient(circle at 54% 74%, #fff2b1 0 3%, #ffefcaa8 4%, transparent 12%),
    radial-gradient(ellipse at 61% 76%, #ffe8f496 0, transparent 30%),
    radial-gradient(ellipse at 82% 4%, #a9c8ff9e, transparent 43%),
    radial-gradient(ellipse at 18% 75%, #f4f5ff, transparent 57%),
    linear-gradient(180deg, #d9e7ff00, #e0e8ff 44%, #e9eeff 84%, #bccfff);
}
.company-landscape {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  width: 100%;
  height: clamp(54px, 8vw, 114px);
  pointer-events: none;
}
.company-info-grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(12px, 1.35vw, 22px);
  margin-top: 34px;
  padding-bottom: 48px;
}
.company-route {
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  width: 100%;
  height: 64px;
  overflow: visible;
  fill: none;
  pointer-events: none;
}
.company-shape-defs { position: absolute; pointer-events: none; }
.company-route-glow {
  stroke: url("#company-route-light");
  stroke-width: 9;
  filter: blur(5px) drop-shadow(0 5px 6px #7669f7);
}
.company-route-core { stroke: url("#company-route-light"); stroke-width: 2.5; }
.company-route-echo { stroke: #fff; stroke-width: 1; opacity: .58; }
.company-route circle { fill: #7c73f4; stroke: #fff; stroke-width: 3; filter: drop-shadow(0 0 5px #a99dff); }
.company-step {
  position: absolute;
  top: 0;
  left: clamp(15px, 2vw, 30px);
  transform: translateY(-52%);
  padding: 5px 15px;
  border: 1px solid #ffffffb0;
  border-radius: 999px;
  background: linear-gradient(105deg, #2965e3, #8443cc);
  box-shadow: inset 0 2px 5px #ffffff58, 0 4px 10px #6656cf51;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.company-info-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 31px clamp(16px, 2vw, 30px) 25px;
  color: var(--navy);
  scroll-margin-top: 96px;
}
.company-card-shape {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 7px 9px #5469bd32);
}
.company-card-fill { fill: url("#company-card-fill"); }
.company-card-sheen {
  fill: url("#company-card-sheen");
  stroke: url("#company-card-edge");
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
}
.company-pricing-copy { padding-inline-end: 27%; }
.company-quote-art {
  position: absolute;
  top: 5px;
  right: 8px;
  width: 27%;
  max-width: 134px;
  height: 103px;
  pointer-events: none;
}
.company-info-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: clamp(17px, 1.65vw, 24px);
  line-height: 1.25;
  font-weight: 800;
}
.company-info-card .icon { width: 18px; height: 18px; flex: none; color: #234cff; }
.company-info-note { display: block; margin: 5px 0 0; color: #405477; font-size: 13px; line-height: 1.5; }
.price-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 17px 0 12px;
}
.price-list > div {
  padding: 8px 3px;
  border: 1px solid #ffffffba;
  border-radius: 13px;
  background: linear-gradient(155deg, #fff, #e8ebff);
  box-shadow: 0 4px 8px #5365ab23;
  text-align: center;
}
.price-list dt { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 750; }
.price-list dt .icon { width: 15px; height: 15px; }
.price-list dd { margin: 3px 0 0; font-size: clamp(15px, 1.7vw, 25px); font-weight: 850; white-space: nowrap; }
.price-list small { font-size: .6em; }
.company-info-card summary { cursor: pointer; list-style: none; }
.company-info-card summary::-webkit-details-marker { display: none; }
.pricing-details > summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 4px 13px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(100deg, #1a59dc, #5839dc 75%, #8a44d0);
  font-size: 14px;
  font-weight: 750;
}
.pricing-details > summary .icon { color: inherit; }
.pricing-details-body p, .company-faq p { margin: 7px 0; color: #405477; font-size: 13px; line-height: 1.55; }
.pricing-details-body a { color: #234cd4; font-size: 13px; text-decoration: underline; }
.company-faq-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 9px; }
.home-about-values .icon {
  box-sizing: content-box;
  width: 23px;
  height: 23px;
  padding: 8px;
  border-radius: 50%;
  color: #234cff;
  background: #f3f5ff;
  box-shadow: 0 4px 10px #687cce23;
}
.company-chat-art { display: flex; align-items: center; min-width: 78px; }
.company-chat-art i {
  position: relative;
  padding: 4px 8px;
  border-radius: 50% 50% 50% 18%;
  color: #fff;
  background: linear-gradient(155deg, #8bcaff, #325cf2);
  font-style: normal;
  font-size: 16px;
  letter-spacing: 2px;
  box-shadow: 0 5px 9px #5a6bbb3b;
}
.company-chat-art i + i {
  margin: 16px 0 0 -7px;
  border-radius: 50% 50% 18% 50%;
  color: #564bcc;
  background: linear-gradient(155deg, #fff, #b5a5f5);
}
.company-faq { display: grid; gap: 5px; }
.company-faq details { padding: 3px 9px; border: 1px solid #fff9; border-radius: 10px; background: linear-gradient(140deg, #f7f8ff, #e1e6ff); box-shadow: 0 2px 4px #5365ab1a; }
.company-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 28px; font-size: 13px; font-weight: 700; }
.company-faq summary .icon { width: 13px; height: 13px; transform: rotate(90deg); }
.company-faq details[open] summary .icon { transform: rotate(-90deg); }
.company-products-copy { min-height: 83px; padding-inline-end: 24%; }
.company-product-phone {
  position: absolute;
  top: 10px;
  right: clamp(12px, 2vw, 26px);
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  width: clamp(44px, 5vw, 70px);
  aspect-ratio: .6;
  border: 3px solid #e9efff;
  border-radius: 12px;
  color: #fff;
  font-size: 11px;
  background: linear-gradient(155deg, #235ae2, #73bcff 62%, #a565e8);
  box-shadow: 2px 2px #6071c5, 0 6px 15px #5c60bd58;
  transform: rotate(15deg);
  pointer-events: none;
}
.company-product-phone::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 25%;
  width: 50%;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: #20388d;
}
.company-products-links { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 20px; }
.company-products-links .circle-arrow { flex: none; width: 34px; height: 34px; margin: 0; }
.company-products-apps { display: flex; flex-wrap: wrap; gap: clamp(5px, .6vw, 10px); margin: 0; padding: 0; list-style: none; }
.company-products-apps a { display: block; border-radius: 10px; }
.company-products-apps img { display: block; width: clamp(31px, 3vw, 47px); height: auto; border: 1px solid #fff; border-radius: inherit; box-shadow: 0 4px 9px #4759a750; }
.company-info-card :is(summary, a):focus-visible { outline: 2px solid #4059ec; outline-offset: 2px; }

.home-about {
  display: grid;
  margin-block-start: clamp(28px, 4.5vw, 64px);
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  scroll-margin-top: 96px;
}
.home-about-art { display: block; width: 100%; height: auto; }
.home-about-values, .home-about-facts { display: flex; flex-wrap: wrap; gap: 12px 16px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--navy); }
.home-about-values li, .home-about-facts li { display: flex; align-items: center; gap: 6px; }
.home-about-values strong, .home-about-values small { display: block; }
.home-about-values strong { font-size: 14px; }
.home-about-values small { margin-top: 3px; color: #405477; font-size: 12px; }
.home-about-values .icon { width: 18px; height: 18px; padding: 7px; }
.home-about-facts { font-size: 13px; }
.home-about-facts .icon { width: 16px; height: 16px; color: #4358ee; }
.home-about-seam::before { top: -12px; height: 36px; }

@media (width > 1040px) {
  .company-story > :is(.company-info, .home-about).wrap {
    width: min(1360px, calc(100% - clamp(80px, 8vw, 144px)));
  }
  .company-story > .home-about {
    margin-block-start: clamp(64px, 6vw, 104px);
  }
}
@media (max-width: 1040px) {
  .company-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .company-pricing { grid-column: 1 / -1; }
  .company-quote-art { max-width: 135px; }
  .company-route { display: none; }
  .company-info-grid { padding-bottom: 0; }
}
@media (max-width: 700px) {
  .company-info-grid { grid-template-columns: minmax(0, 1fr); }
  .home-about { grid-template-columns: minmax(0, 1fr); }
  .home-about-art { max-width: 460px; margin-inline: auto; }
}
/* Shared homepage heading rhythm and module spacing. */
.home-flow {
  --module-gap: clamp(36px, 5vw, 72px);
  --module-edge: clamp(32px, 3vw, 44px);
  --module-content-gap: clamp(18px, 2vw, 28px);
}
.home-page .home-flow > .cases { padding-block: var(--module-edge); }
.home-flow > .partners { margin-block-start: var(--module-edge); }
.home-flow > :is(.why-waysun, .company-story) {
  margin-block-start: var(--module-gap);
}
.home-flow > :is(.partners, .why-waysun) {
  padding-block: clamp(20px, 2.7vw, 38px);
}
.home-flow .module-kicker {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: #2858e8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}
.home-flow .module-kicker::before,
.home-flow .module-kicker::after {
  content: "";
  width: 30px;
  height: 1px;
  background: #a9acf0;
}
.home-flow .module-kicker span { font-size: .8em; letter-spacing: .12em; color: inherit; text-transform: uppercase; }

.home-flow .section-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 40px);
  text-wrap: balance;
}
.home-flow .section-sub {
  margin: 8px auto 0;
  color: #455984;
  font-size: clamp(13px, 1.25vw, 16px);
}
.home-flow :is(.solutions .svc-grid, .partner-list, .why-waysun-body) {
  margin-block-start: var(--module-content-gap);
}
.home-flow :is(.company-heading, .home-about) .module-kicker { justify-content: flex-start; }
.home-flow :is(.company-heading, .home-about) .module-kicker::before { display: none; }
:is(.company-heading, .home-about) :is(.section-title, .section-sub) {
  margin-inline: 0;
  text-align: left;
}

/* Homepage project showcase */
.case-showcase {
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr);
  gap: 14px;
  margin-block-start: var(--module-content-gap);
}
.case-showcase .case-feature {
  grid-template-columns: minmax(0, 1fr) minmax(112px, 31%);
  align-items: center;
  min-height: 0;
  padding: clamp(16px, 2vw, 28px);
  border-radius: 22px;
  background: radial-gradient(ellipse at 84% 94%, #c7b1ff 0, transparent 53%),
    linear-gradient(125deg, #34449e, #5569c9 54%, #6b60d8);
  box-shadow: inset 0 1px 3px #ffffff6b, 0 9px 20px #3f52a739;
}
.case-feature-copy { position: relative; z-index: 1; }
.case-showcase .badge { background: linear-gradient(100deg, #ffe38d, #f6bb40); color: #583908; }
.case-showcase .case-feature h3 { margin: 9px 0 0; font-size: clamp(19px, 2vw, 28px); }
.case-showcase .lead { margin-top: 5px; }
.case-feature-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(10px, 1.6vw, 24px);
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.case-feature-highlights li { display: flex; align-items: center; gap: 6px; }
.case-feature-highlights strong,
.case-feature-highlights small { display: block; }
.case-feature-highlights strong { font-size: 14px; }
.case-feature-highlights small { color: #ecedff; font-size: 11px; }
.case-feature-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.case-feature-actions :is(.btn-pill, .case-demo-link) {
  min-height: 36px;
  height: auto;
  margin: 0;
  padding: 0 12px;
  font-size: 12px;
}
.case-demo-link { color: #172764; background: #e7eaff; box-shadow: inset 0 1px #fff; }
.case-demo-link:hover { background: #fff; }
.case-feature-art { position: relative; align-self: stretch; }
.case-preview-phone {
  position: absolute;
  top: 5%;
  left: 50%;
  width: min(100%, 178px);
  aspect-ratio: .63;
  padding: 12px 6px 0;
  border: 4px solid #fff2e0;
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 87%, #ffe8ab, transparent 53%),
    linear-gradient(155deg, #ffab61, #e75c33 55%, #ffca76);
  box-shadow: 4px 0 #bdbee9, 0 10px 22px #25235560;
  transform: translateX(-50%) rotate(11deg);
  text-align: center;
}
.case-preview-camera { display: block; width: 26px; height: 4px; margin: 0 auto 8px; border-radius: 4px; background: #6e352d; }
.case-preview-phone p { margin: 0; font-size: clamp(13px, 1.5vw, 21px); font-weight: 800; }
.case-preview-label { display: inline-block; margin-top: 6px; padding: 3px 9px; border-radius: 999px; color: #6c290e; background: #ffdf96; font-size: 11px; }
.case-preview-phone img { display: block; width: 100%; height: auto; margin: 8px auto 0; }

.case-showcase .case-side { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; gap: 9px; }
.case-showcase .case-card {
  display: grid;
  grid-template-columns: clamp(42px, 6vw, 76px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(8px, 1.2vw, 16px);
  min-height: 72px;
  padding: 8px 12px;
  border-radius: 17px;
  background: linear-gradient(150deg, #fff, #edefff 58%, #dfdef8);
}
.case-card-art { display: block; width: 100%; height: 52px; object-fit: contain; }
.case-card-symbol {
  display: grid;
  place-items: center;
  width: min(100%, 51px);
  height: 37px;
  justify-self: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #ab91ff, #5542d1);
  box-shadow: inset 0 1px #ffffff91, 0 5px 9px #5343b943;
}
.case-card-symbol .icon { width: 24px; height: 24px; }
.case-showcase .case-card .circle-arrow { margin: 0; }
@media (max-width: 820px) {
  .case-showcase { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) {
  .case-showcase .case-feature { grid-template-columns: minmax(0, 1fr) 24%; gap: 4px; }
  .case-preview-phone { top: auto; bottom: 4px; width: 100%; border-width: 2px; padding: 7px 3px 0; border-radius: 11px; }
  .case-preview-camera { margin-bottom: 4px; }
  .case-preview-phone p { font-size: 10px; }
  .case-preview-label { display: none; }
}

.company-heading .mark { color: #6035e9; font-size: 1.12em; }
