﻿:root {
  --bg: #050608;
  --panel: rgba(8, 12, 17, 0.72);
  --panel-strong: rgba(12, 17, 23, 0.92);
  --text: #f4f7f8;
  --muted: #94a1aa;
  --line: rgba(210, 230, 242, 0.16);
  --cyan: #9deaff;
  --blue: #4a94ff;
  --silver: #dfe8ee;
  --accent: #ddff37;
  --heat: #ff6b38;
  --gold: #f7c95f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 70% 15%, rgba(74, 148, 255, 0.18), transparent 32%),
    radial-gradient(circle at 18% 70%, rgba(157, 234, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #050608, #07080b 44%, #040405);
  font-family: Inter, "Microsoft YaHei", system-ui, sans-serif;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.88), transparent);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  gap: clamp(12px, 3vw, 34px);
  color: var(--muted);
  font-size: 13px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(5, 8, 12, 0.54);
  padding: 7px 9px;
  color: var(--muted);
  font-size: 11px;
}

.language-control select {
  width: 118px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
}

.language-control option {
  color: #050608;
}

.support-link {
  border: 1px solid rgba(221, 255, 55, 0.42);
  background: rgba(221, 255, 55, 0.08);
  padding: 9px 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.section-panel {
  position: relative;
  min-height: 100vh;
  padding: clamp(84px, 12vh, 140px) clamp(20px, 6vw, 84px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  align-items: center;
  gap: 32px;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 6, 8, 0.96), rgba(5, 6, 8, 0.62) 42%, rgba(5, 6, 8, 0.12));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(48px, 7.4vw, 116px);
  line-height: 0.88;
}

h2 {
  max-width: 900px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.02;
}

.lead,
.section-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--line);
  padding: 0 22px;
  font-size: 14px;
}

.button.primary {
  color: #061014;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 800;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.04);
}

.hero-status {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: clamp(24px, 8vh, 88px);
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto;
  gap: 8px 18px;
  border: 1px solid var(--line);
  background: rgba(5, 8, 12, 0.62);
  padding: 14px 16px;
  color: var(--muted);
  font-size: 11px;
  backdrop-filter: blur(16px);
}

.hero-status strong {
  color: var(--text);
}

.origin,
.engines,
.care,
.ai-scan,
.fashion,
.wearables,
.products,
.proof,
.scenes,
.contact {
  display: grid;
  align-items: center;
  gap: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.origin,
.fashion {
  grid-template-columns: 1fr 1fr;
}

.origin-board {
  display: grid;
  gap: 14px;
}

.origin-board div,
.engine-card,
.proof-metrics article,
.style-stack div {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    var(--panel);
  padding: 26px;
  backdrop-filter: blur(16px);
}

.origin-board span,
.engine-card span {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.origin-board strong {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
}

.engine-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.engine-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}

.engine-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.care-card::before {
  box-shadow: 0 0 90px rgba(157, 234, 255, 0.28);
}

.fashion-card::before {
  box-shadow: 0 0 90px rgba(255, 107, 56, 0.26);
}

.engine-card h3 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.95;
}

.engine-card p {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.split-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.shoe-card {
  min-height: 390px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px;
  overflow: hidden;
}

.shoe-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.mini-shoe {
  position: relative;
  width: 100%;
  height: 280px;
  margin-top: 44px;
}

.mini-shoe::before {
  content: "";
  position: absolute;
  left: 8%;
  top: 32%;
  width: 84%;
  height: 42%;
  border-radius: 55% 24% 22% 42%;
  background: linear-gradient(135deg, #f6f6f4, #9fa8ad);
  transform: skewX(-14deg);
}

.mini-shoe::after {
  content: "";
  position: absolute;
  left: 5%;
  top: 68%;
  width: 90%;
  height: 18%;
  border-radius: 999px;
  background: #eef3f5;
}

.dirty .mini-shoe {
  filter: sepia(0.8) brightness(0.55);
}

.dirty .mini-shoe::after {
  box-shadow: inset 0 0 0 999px rgba(40, 25, 13, 0.38);
}

.clean .mini-shoe {
  filter: drop-shadow(0 0 34px rgba(157, 234, 255, 0.2));
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.system-grid article,
.scene-list article,
.product-grid article,
.wearable-grid article,
.ai-flow article,
.contact-box {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 26px;
}

.system-grid span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.system-grid h3 {
  margin: 18px 0 12px;
  font-size: 25px;
}

.system-grid p,
.scene-list span,
.style-stack span,
.contact-box p {
  color: var(--muted);
  line-height: 1.6;
}

.style-stack {
  display: grid;
  gap: 14px;
}

.style-stack div {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  min-height: 112px;
}

.style-stack b {
  color: var(--heat);
  font-size: clamp(30px, 4vw, 54px);
}

.proof-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.wearable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.wearable-grid article {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(150deg, rgba(255, 107, 56, 0.1), rgba(157, 234, 255, 0.04)),
    var(--panel);
  position: relative;
  overflow: hidden;
}

.wearable-grid article::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -60px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 107, 56, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(255, 107, 56, 0.12);
}

.wearable-grid span {
  position: absolute;
  top: 24px;
  left: 26px;
  color: var(--heat);
  font-size: 12px;
  font-weight: 800;
}

.wearable-grid b {
  max-width: 420px;
  font-size: clamp(30px, 4vw, 58px);
  line-height: 0.95;
}

.wearable-grid small {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

.ai-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ai-flow article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(157, 234, 255, 0.08), rgba(255, 255, 255, 0.015)),
    var(--panel);
  position: relative;
  overflow: hidden;
}

.ai-flow article::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(157, 234, 255, 0.12);
  pointer-events: none;
}

.ai-flow span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.ai-flow b {
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 0.98;
}

.ai-flow small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.product-grid article {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.product-grid article::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -48px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(157, 234, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(157, 234, 255, 0.12);
}

.product-grid span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
}

.product-grid b {
  margin-top: 42px;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1;
}

.product-grid small {
  color: var(--muted);
  font-size: 15px;
}

.proof-metrics article {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.proof-metrics strong {
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.95;
}

.proof-metrics span {
  margin-top: 18px;
  color: var(--muted);
}

.proof-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  padding: 22px;
  color: var(--muted);
  font-size: 13px;
}

.scan-bar {
  height: 26px;
  overflow: hidden;
  border: 1px solid rgba(157, 234, 255, 0.22);
  background: linear-gradient(90deg, #2a1b14, #bfc8cc 48%, #ffffff);
}

.scan-bar i {
  display: block;
  width: 18%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(157, 234, 255, 0.8), transparent);
  animation: scanMove 2.2s ease-in-out infinite;
}

.scene-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.scene-list b {
  display: block;
  margin-bottom: 42px;
  font-size: 28px;
}

.contact {
  grid-template-columns: 1fr 360px;
}

.contact-box {
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
}

.contact-box span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.contact-box strong {
  font-size: 32px;
}

.support-dock {
  position: fixed;
  left: auto;
  top: auto;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 30;
  width: min(360px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  touch-action: none;
}

.support-panel {
  border: 1px solid rgba(221, 255, 55, 0.26);
  background:
    linear-gradient(145deg, rgba(221, 255, 55, 0.1), rgba(157, 234, 255, 0.06)),
    rgba(5, 8, 12, 0.78);
  padding: 16px;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.36);
  transform-origin: right bottom;
  transition: opacity 180ms ease, transform 180ms ease;
}

.support-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  cursor: grab;
  user-select: none;
}

.support-head:active {
  cursor: grabbing;
}

.support-orb {
  position: absolute;
  right: 0;
  bottom: 0;
  display: none;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(221, 255, 55, 0.44);
  border-radius: 50%;
  color: var(--accent);
  background:
    radial-gradient(circle at 35% 28%, rgba(221, 255, 55, 0.28), transparent 32%),
    radial-gradient(circle at 68% 72%, rgba(157, 234, 255, 0.18), transparent 38%),
    rgba(5, 8, 12, 0.72);
  box-shadow: 0 0 34px rgba(221, 255, 55, 0.16), 0 16px 54px rgba(0, 0, 0, 0.45);
  cursor: grab;
  place-items: center;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  backdrop-filter: blur(18px);
}

.support-orb:active {
  cursor: grabbing;
}

.support-orb::before,
.support-orb::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(157, 234, 255, 0.2);
  border-radius: 50%;
}

.support-orb::after {
  inset: 22px;
  border-color: rgba(221, 255, 55, 0.28);
}

.support-orb-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
  margin-bottom: 4px;
  border: 2px solid var(--accent);
  border-radius: 4px;
}

.support-orb-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  bottom: -6px;
  width: 8px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: skewY(-34deg);
  background: rgba(5, 8, 12, 0.72);
}

.support-close {
  border: 1px solid rgba(210, 230, 242, 0.16);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 7px 10px;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.support-dock.is-collapsed {
  width: 84px;
  height: 84px;
}

.support-dock.is-collapsed .support-panel {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.72);
}

.support-dock.is-collapsed .support-orb {
  display: grid;
}

.support-dock:not(.is-collapsed) .support-orb {
  display: none;
}

.support-dock span,
.support-panel span {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
}

.support-dock strong,
.support-panel strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}

.support-dock p,
.support-panel p {
  margin: 8px 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.support-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.support-actions a {
  display: grid;
  min-height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 11px;
  text-align: center;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] #heroCanvas,
html[dir="rtl"] .hero-status,
html[dir="rtl"] .support-dock {
  direction: ltr;
}

@keyframes scanMove {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(560%);
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
  }

  .nav {
    display: none;
  }

  .header-tools {
    margin-left: auto;
  }

  .language-control span,
  .support-link {
    display: none;
  }

  .language-control select {
    width: 98px;
  }

  .hero,
  .origin,
  .fashion,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(5, 6, 8, 0.96), rgba(5, 6, 8, 0.4), rgba(5, 6, 8, 0.82));
  }

  .system-grid,
  .engine-grid,
  .proof-metrics,
  .product-grid,
  .wearable-grid,
  .ai-flow,
  .scene-list,
  .split-proof {
    grid-template-columns: 1fr;
  }

  .engine-card {
    min-height: 320px;
  }

  .style-stack div {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-status {
    position: relative;
    right: auto;
    bottom: auto;
    width: fit-content;
    margin-top: 40px;
  }

  .support-dock {
    position: fixed;
    right: 14px;
    bottom: 14px;
    width: min(330px, calc(100vw - 28px));
    margin: 0;
  }

  .support-dock.is-collapsed {
    width: 72px;
    height: 72px;
  }

  .support-orb {
    width: 72px;
    height: 72px;
    font-size: 9px;
  }

  .support-actions {
    grid-template-columns: 1fr;
  }
}
