:root {
  --bg: #050d1c;
  --card: rgba(16, 34, 64, 0.55);
  --line: rgba(120, 170, 255, 0.14);
  --line-strong: rgba(0, 229, 255, 0.45);
  --text: #e8f0ff;
  --muted: #93a6c6;
  --cyan: #00e5ff;
  --violet: #8b5cf6;
  --ok: #22d3a6;
  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font:
    -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
#main {
  overflow-x: hidden;
  overflow-x: clip;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
p {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.i18n-wait body {
  visibility: hidden;
}

.ic {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding-top: 96px;
}
.grad {
  background: linear-gradient(100deg, var(--cyan) 0%, #7dd3fc 35%, var(--violet) 70%, var(--cyan) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: 220% center;
  }
}

/* ---------- background ---------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(120, 170, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation: drift 22s ease-in-out infinite alternate;
}
.orb-1 {
  width: 520px;
  height: 520px;
  background: #0ea5e9;
  top: -160px;
  right: -120px;
}
.orb-2 {
  width: 460px;
  height: 460px;
  background: #6d28d9;
  top: 40%;
  left: -200px;
  opacity: 0.3;
  animation-duration: 28s;
}
.orb-3 {
  width: 380px;
  height: 380px;
  background: #00e5ff;
  bottom: -160px;
  right: 20%;
  opacity: 0.18;
  animation-duration: 32s;
}
@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-60px, 80px) scale(1.15);
  }
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 13, 28, 0.6);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  transition: background 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.site-header.scrolled::before,
.menu-open .site-header::before {
  background: rgba(5, 13, 28, 0.9);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: inline-flex;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 4px 18px rgba(0, 229, 255, 0.25);
  transition: transform 0.5s var(--ease);
}
.brand:hover img {
  transform: rotate(-8deg) scale(1.06);
}
.brand-footer img {
  width: 52px;
  height: 52px;
  border-radius: 13px;
}

.main-nav {
  position: relative;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.nav-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s;
}
.nav-link .ic {
  width: 16px;
  height: 16px;
}
.nav-link:hover {
  color: var(--text);
}
.nav-link.active {
  color: #04121f;
}
.nav-indicator {
  position: absolute;
  z-index: 0;
  top: 5px;
  left: 0;
  height: calc(100% - 10px);
  width: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), #67e8f9);
  box-shadow: 0 6px 22px rgba(0, 229, 255, 0.35);
  opacity: 0;
  transition:
    transform 0.45s var(--ease),
    width 0.45s var(--ease),
    opacity 0.3s;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-switch {
  position: relative;
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.lang-switch button {
  position: relative;
  z-index: 1;
  min-width: 46px;
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.3s;
}
.lang-switch button:hover {
  color: var(--text);
}
.lang-switch button.active {
  color: #04121f;
}
.lang-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  height: calc(100% - 8px);
  width: calc(50% - 4px);
  border-radius: 999px;
  background: #fff;
  transition: transform 0.4s var(--ease);
}
.lang-switch[data-active='zh'] .lang-thumb {
  transform: translateX(100%);
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}
.menu-toggle .ic {
  width: 22px;
  height: 22px;
}
.menu-toggle .ic-close {
  display: none;
}
.menu-open .menu-toggle .ic-open {
  display: none;
}
.menu-open .menu-toggle .ic-close {
  display: block;
}

/* ---------- buttons ---------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s,
    background 0.3s,
    border-color 0.3s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn-primary {
  color: #04121f;
  background: linear-gradient(135deg, var(--cyan), #60a5fa);
  box-shadow: 0 10px 30px -8px rgba(0, 229, 255, 0.55);
}
.btn-primary:hover {
  box-shadow: 0 16px 40px -8px rgba(0, 229, 255, 0.7);
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
}
.btn-primary:hover::after {
  transform: translateX(120%);
}
.btn-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover {
  border-color: var(--line-strong);
  background: rgba(0, 229, 255, 0.08);
}

/* ---------- panels ---------- */
.js .panel {
  display: none;
}
.js .panel.active {
  display: block;
  animation: panelIn 0.6s var(--ease) both;
}
@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
}

/* hero (home) */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - var(--header-h) - 120px);
  padding-top: 56px;
}
.hero-title {
  margin-top: 22px;
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero-sub {
  margin-top: 22px;
  max-width: 580px;
  font-size: 18px;
  color: var(--muted);
}
.hero-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 14px;
  color: var(--muted);
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-points .ic {
  color: var(--ok);
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 480px;
  width: 100%;
  justify-self: center;
  display: grid;
  place-items: center;
}
.hero-logo-wrap {
  position: relative;
  width: 54%;
  animation: floaty 6s ease-in-out infinite;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.35), transparent 65%);
  filter: blur(10px);
  animation: pulse 4s ease-in-out infinite;
}
.hero-logo {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 22%;
  box-shadow:
    0 30px 80px -20px rgba(0, 229, 255, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(0, 229, 255, 0.25);
  animation: spin 26s linear infinite;
}
.orbit span {
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}
.orbit-1 {
  inset: 6%;
}
.orbit-2 {
  inset: -4%;
  border-color: rgba(139, 92, 246, 0.22);
  animation-duration: 40s;
  animation-direction: reverse;
}
.orbit-2 span {
  background: var(--violet);
  box-shadow: 0 0 18px var(--violet);
}
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(12, 31, 58, 0.85);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.6);
  animation: floaty 5s ease-in-out infinite;
}
.float-chip .ic {
  color: var(--ok);
}
.chip-1 {
  top: 12%;
  left: -4%;
}
.chip-2 {
  bottom: 16%;
  right: -6%;
  animation-delay: -1.6s;
}
.chip-2 .ic {
  color: var(--cyan);
}
.chip-3 {
  bottom: 4%;
  left: 6%;
  animation-delay: -3.2s;
}
.chip-3 .ic {
  color: #a78bfa;
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.stat {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  text-align: center;
}
.stat b {
  display: block;
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat span {
  font-size: 14px;
  color: var(--muted);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
}
.section-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}

/* service cards */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  transition:
    border-color 0.35s,
    box-shadow 0.35s,
    transform 0.35s var(--ease);
  transform-style: preserve-3d;
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 229, 255, 0.16), transparent 45%);
}
.svc-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px -24px rgba(0, 229, 255, 0.45);
}
.svc-card:hover::before {
  opacity: 1;
}
.svc-card > * {
  position: relative;
}
.svc-card h3 {
  font-size: 20px;
}
.svc-card p {
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}
.svc-icon,
.feat-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: var(--cyan);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(0, 229, 255, 0.25);
  transition: transform 0.5s var(--ease);
}
.svc-icon .ic,
.feat-icon .ic {
  width: 26px;
  height: 26px;
}
.svc-card:hover .svc-icon {
  transform: rotate(-8deg) scale(1.08);
}
.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--cyan);
}
.svc-more .ic {
  transition: transform 0.3s var(--ease);
}
.svc-card:hover .svc-more .ic {
  transform: translateX(5px);
}
.svc-card-accent {
  background: linear-gradient(145deg, rgba(0, 229, 255, 0.14), rgba(139, 92, 246, 0.12));
  border-color: rgba(0, 229, 255, 0.3);
}

/* features */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feat-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.feat {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s;
}
.feat:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}
.feat h3 {
  margin-top: 18px;
  font-size: 18px;
}
.feat p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}

/* faq */
.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  align-items: start;
}
.faq-more {
  display: none;
  margin-top: 16px;
  text-align: center;
}
.faq-more .ic {
  transform: rotate(90deg);
  transition: transform 0.3s var(--ease);
}
.faq-more [aria-expanded='true'] .ic {
  transform: rotate(-90deg);
}
.faq-more .lbl-less,
.faq-more [aria-expanded='true'] .lbl-more {
  display: none;
}
.faq-more [aria-expanded='true'] .lbl-less {
  display: inline;
}
.faq details {
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color 0.3s;
}
.faq details[open] {
  border-color: var(--line-strong);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 54px 18px 22px;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--cyan);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq details p {
  padding: 0 22px 20px;
  color: var(--muted);
  animation: panelIn 0.4s var(--ease);
}

/* panel hero */
.panel-hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  padding-top: 64px;
}
.panel-title {
  margin-top: 20px;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.panel-sub {
  margin-top: 20px;
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
}

/* showcase mockups */
.showcase {
  position: relative;
  padding: 10px 40px 50px 0;
  perspective: 1400px;
}
.browser,
.window {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #0b1628;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 40px 100px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(0, 229, 255, 0.06),
    0 0 60px -20px rgba(0, 229, 255, 0.3);
  transition: transform 0.6s var(--ease);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.browser-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}
.browser-bar i:nth-child(2) {
  background: #febc2e;
}
.browser-bar i:nth-child(3) {
  background: #28c840;
}
.browser-bar span {
  margin-left: 12px;
  padding: 3px 14px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.shot {
  width: 100%;
  height: auto;
  cursor: zoom-in;
}
.phone {
  margin: 0;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 30%;
  min-width: 130px;
  padding: 7px;
  border-radius: 30px;
  background: #0a0f1a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 30px 70px -20px rgba(0, 0, 0, 0.85),
    0 0 50px -15px rgba(0, 229, 255, 0.35);
}
.phone .shot {
  border-radius: 23px;
  aspect-ratio: 390 / 700;
  object-fit: cover;
  object-position: top;
}
.phone::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 14px;
  border-radius: 10px;
  background: #000;
}
.phone-float {
  animation: floaty 7s ease-in-out infinite;
}
.app-icon-float {
  position: absolute;
  z-index: 3;
  top: -18px;
  left: -22px;
  width: 92px;
  height: 92px;
  border-radius: 22px;
  box-shadow: 0 20px 50px -10px rgba(59, 130, 246, 0.6);
  animation: floaty 5s ease-in-out infinite;
  animation-delay: -2s;
}

.showcase-check .result-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 56%;
  min-width: 240px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(10, 24, 48, 0.92);
  border: 1px solid rgba(34, 211, 166, 0.35);
  backdrop-filter: blur(12px);
  box-shadow:
    0 30px 70px -20px rgba(0, 0, 0, 0.85),
    0 0 50px -18px rgba(34, 211, 166, 0.5);
  animation: floaty 7s ease-in-out infinite;
}
.rc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 15px;
}
.rc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-style: normal;
  font-size: 12px;
  color: #04121f;
  background: var(--ok);
}
.rc-badge .ic {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}
.result-card dl {
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}
.result-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}
.result-card dt {
  color: var(--muted);
}
.result-card dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rc-bar {
  margin-top: 14px;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.rc-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ok), var(--cyan));
  transition: width 1.6s var(--ease) 0.5s;
}
.showcase.in .rc-bar span {
  width: 100%;
}

/* gallery */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.gal-item {
  margin: 0;
}
.gal-item figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}
.gal-item .window:hover {
  transform: translateY(-6px);
}

/* telegram chat mock */
.showcase-bot {
  display: grid;
  place-items: center;
  padding: 0;
}
.phone-chat {
  position: relative;
  right: auto;
  bottom: auto;
  width: min(340px, 100%);
  padding: 0;
  overflow: hidden;
  border-radius: 36px;
  border-width: 8px;
  border-color: #111827;
  background: #0e1621;
  display: flex;
  flex-direction: column;
  height: 600px;
  animation: none;
}
.phone-chat::before {
  top: 8px;
  z-index: 3;
}
.tg-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 34px 16px 12px;
  background: #17212b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.tg-head img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.tg-head b {
  display: block;
  font-size: 14px;
}
.tg-head small {
  display: block;
  font-size: 12px;
  color: #6c7883;
}
.tg-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 12px;
  overflow: hidden;
  background:
    #0e1621 radial-gradient(circle at 20% 20%, rgba(0, 229, 255, 0.06), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.07), transparent 40%);
}
.msg {
  flex: none;
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.45;
}
.js .msg:not(.show) {
  display: none;
}
.js .msg.show {
  animation: msgIn 0.35s var(--ease) both;
}
@keyframes msgIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.msg.in {
  align-self: flex-start;
  background: #182533;
  border-bottom-left-radius: 4px;
}
.msg.out {
  align-self: flex-end;
  background: #2b5278;
  border-bottom-right-radius: 4px;
}
.msg.ok {
  background: linear-gradient(135deg, rgba(34, 211, 166, 0.25), rgba(0, 229, 255, 0.18));
  border: 1px solid rgba(34, 211, 166, 0.4);
}
.msg.file {
  display: flex;
  align-items: center;
  gap: 10px;
}
.msg.file .ic {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: #4fa3e0;
  color: #fff;
}
.msg.file small {
  display: block;
  font-size: 11px;
  opacity: 0.65;
}
.tg-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 18px;
  background: #17212b;
  color: #6c7883;
  font-size: 14px;
}
.tg-input i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #4fa3e0;
}

/* steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.steps-3 {
  grid-template-columns: repeat(3, 1fr);
}
.steps li {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}
.steps li b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  color: #04121f;
  background: linear-gradient(135deg, var(--cyan), #60a5fa);
  box-shadow: 0 0 0 6px rgba(0, 229, 255, 0.1);
}
.steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50px;
  right: -20px;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.steps h3 {
  margin-top: 18px;
  font-size: 18px;
}
.steps p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
}

/* cta band */
.cta-band {
  margin-top: 72px;
  padding: 30px 36px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(0, 229, 255, 0.14), rgba(59, 130, 246, 0.12) 50%, rgba(139, 92, 246, 0.14));
  border: 1px solid rgba(0, 229, 255, 0.28);
}
.cta-band h3 {
  font-size: 24px;
}
.cta-band p {
  margin-top: 6px;
  color: var(--muted);
}

/* community */
.section.community-wrap {
  padding-top: 56px;
  padding-bottom: 56px;
}
.community {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 22px;
  background: linear-gradient(160deg, #0c1f3a, #071226);
  border: 1px solid rgba(0, 229, 255, 0.25);
}
.community > * {
  position: relative;
}
.community-glow {
  position: absolute;
  inset: -60% 30% -60% -10%;
  background: radial-gradient(ellipse at center, rgba(0, 229, 255, 0.18), transparent 60%);
  animation: pulse 5s ease-in-out infinite;
}
.community-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #2aabee, #229ed9);
  box-shadow: 0 12px 30px -10px rgba(42, 171, 238, 0.7);
}
.community-icon .ic {
  width: 28px;
  height: 28px;
}
.community-text {
  flex: 1;
  min-width: 0;
}
.community h2 {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
}
.community p {
  margin-top: 6px;
  max-width: 640px;
  color: var(--muted);
  font-size: 15px;
}
.community .btn {
  flex: none;
}

/* footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 9, 20, 0.7);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.footer-brand p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 15px;
  transition: color 0.25s;
}
.footer-col a:hover {
  color: var(--cyan);
}
.footer-col .footer-tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: rgba(42, 171, 238, 0.12);
  border: 1px solid rgba(42, 171, 238, 0.4);
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.3s var(--ease),
    color 0.25s;
}
.footer-col .footer-tg:hover {
  color: #fff;
  background: rgba(42, 171, 238, 0.24);
  border-color: #2aabee;
  transform: translateY(-2px);
}
.footer-tg .ic {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* floating */
.to-top {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(12, 31, 58, 0.9);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s var(--ease),
    border-color 0.3s;
}
.to-top .ic {
  transform: rotate(-90deg);
}
.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.to-top:hover {
  border-color: var(--line-strong);
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 6, 14, 0.88);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s,
    visibility 0.35s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: min(1200px, 100%);
  max-height: 88vh;
  width: auto;
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
  transform: scale(0.92);
  transition: transform 0.45s var(--ease);
}
.lightbox.open img {
  transform: none;
}
.lb-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
}
.lb-close .ic {
  width: 24px;
  height: 24px;
}

/* ---------- reveal animations ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease),
    filter 0.9s var(--ease);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}
.js .reveal-zoom {
  opacity: 0;
  transform: scale(0.9) translateY(30px);
  transition:
    opacity 1.1s var(--ease),
    transform 1.1s var(--ease);
}
.js .reveal-zoom.in {
  opacity: 1;
  transform: none;
}
.js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(36px) scale(0.97);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease),
    border-color 0.35s,
    box-shadow 0.35s;
  transition-delay: calc(var(--i, 0) * 110ms);
}
.js .reveal-stagger.in > * {
  opacity: 1;
  transform: none;
}
.js .reveal-stagger.in > *:hover {
  transition-delay: 0s;
}
.js .reveal-stagger.in > .feat:hover {
  transform: translateY(-6px);
}
.js .reveal-img {
  clip-path: inset(0 100% 0 0);
  transform: scale(1.12);
  filter: blur(10px) saturate(0.6);
  transition:
    clip-path 1.3s var(--ease),
    transform 1.8s var(--ease),
    filter 1.4s var(--ease);
}
.js .reveal-img.in {
  clip-path: inset(0 0 0 0);
  transform: none;
  filter: none;
}
.js .phone .reveal-img {
  clip-path: inset(100% 0 0 0);
}
.js .phone .reveal-img.in {
  clip-path: inset(0 0 0 0 round 23px);
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav-link {
    padding: 8px 11px;
    font-size: 13.5px;
  }
  .nav-link .ic {
    display: none;
  }
}
@media (max-width: 960px) {
  :root {
    --header-h: 64px;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 20px 24px;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: #050d1c;
    box-shadow: 0 24px 40px -10px rgba(0, 0, 0, 0.7);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition:
      transform 0.35s var(--ease),
      opacity 0.3s,
      visibility 0.3s;
  }
  .menu-open .main-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-link {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid transparent;
  }
  .nav-link .ic {
    display: block;
    width: 20px;
    height: 20px;
  }
  .nav-link.active {
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.25);
  }
  .nav-indicator {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }

  .hero,
  .panel-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
    padding-top: 40px;
  }
  .hero-copy,
  .panel-copy {
    text-align: center;
  }
  .hero-sub,
  .panel-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .btn-row,
  .hero-points {
    justify-content: center;
  }
  .hero-visual {
    max-width: 360px;
  }
  .showcase {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
  }
  .svc-grid,
  .feat-grid,
  .feat-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps li::after {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .section {
    padding-top: 72px;
  }
  .cta-band {
    margin-top: 56px;
  }
}
@media (max-width: 600px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .brand img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .lang-switch button {
    min-width: 40px;
    padding: 5px 8px;
    font-size: 12px;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-sub,
  .panel-sub {
    font-size: 16px;
  }
  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    white-space: normal;
    text-align: center;
  }
  .float-chip {
    font-size: 11.5px;
    padding: 8px 11px;
  }
  .orbit-2 {
    inset: 0;
  }
  .chip-1 {
    left: 0;
  }
  .chip-2 {
    right: 0;
  }
  .svc-grid,
  .feat-grid,
  .feat-grid-3,
  .steps,
  .steps-3,
  .gallery,
  .faq {
    grid-template-columns: 1fr;
  }
  .js .faq:not(.expanded) > details:nth-child(n + 6) {
    display: none;
  }
  .js .faq-more {
    display: block;
  }
  .faq.expanded > details:nth-child(n + 6) {
    animation: panelIn 0.5s var(--ease) both;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 18px 12px;
  }
  .stat b {
    font-size: 28px;
  }
  .showcase {
    padding: 0 24px 40px 0;
  }
  .phone {
    width: 36%;
    min-width: 0;
    border-radius: 22px;
    padding: 5px;
  }
  .phone .shot {
    border-radius: 17px;
  }
  .phone::before {
    top: 9px;
    height: 9px;
  }
  .app-icon-float {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    left: -8px;
    top: -14px;
  }
  .showcase-check .result-card {
    width: 78%;
    min-width: 0;
    padding: 14px;
  }
  .phone-chat {
    width: min(320px, 100%);
    height: 540px;
    border-radius: 30px;
  }
  .phone-chat::before {
    top: 8px;
    height: 14px;
  }
  .cta-band {
    padding: 26px 22px;
    text-align: center;
    justify-content: center;
  }
  .cta-band .btn {
    width: 100%;
  }
  .community {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 26px 20px;
  }
  .community h2 {
    font-size: 20px;
  }
  .community p {
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
  }
  .community .btn {
    width: 100%;
  }
  .section.community-wrap {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 12px;
    padding-top: 44px;
    padding-bottom: 32px;
    text-align: center;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-col {
    align-items: center;
  }
  .footer-col .footer-tg {
    gap: 6px;
    padding: 7px 14px 7px 11px;
    font-size: 13px;
    white-space: nowrap;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }
  .to-top {
    right: 16px;
    bottom: 16px;
  }
}

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