:root {
  color-scheme: dark;
  --bg: #030817;
  --bg-2: #06152d;
  --panel: rgba(9, 24, 54, 0.72);
  --panel-strong: rgba(12, 35, 78, 0.86);
  --text: #f5f8ff;
  --muted: #a8b7d8;
  --line: rgba(146, 184, 255, 0.22);
  --blue: #59a8ff;
  --cyan: #8eeeff;
  --violet: #9c7bff;
  --gold: #ffd166;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 28px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 8%, rgba(52, 126, 255, 0.32), transparent 32rem),
    radial-gradient(circle at 82% 16%, rgba(127, 104, 255, 0.26), transparent 28rem),
    radial-gradient(circle at 48% 92%, rgba(20, 211, 238, 0.16), transparent 24rem),
    linear-gradient(135deg, #020511 0%, #06142e 48%, #030817 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.72) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(142, 238, 255, 0.36) 0 1px, transparent 1px);
  background-position: 0 0, 18px 24px;
  background-size: 96px 96px, 136px 136px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), transparent 84%);
  opacity: 0.24;
}

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

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

.page-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0 44px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(3, 8, 23, 0.72);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  box-shadow: 0 0 28px rgba(89, 168, 255, 0.44);
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 17px;
  letter-spacing: 0.04em;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.language-toggle {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  background: transparent;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.nav-links a {
  padding: 10px 14px;
}

.nav-links a:hover,
.language-toggle:hover {
  color: var(--text);
  border-color: rgba(142, 238, 255, 0.24);
  background: rgba(142, 238, 255, 0.08);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  cursor: pointer;
}

.language-current {
  color: var(--cyan);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  min-height: auto;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  width: 100%;
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  white-space: normal;
  writing-mode: horizontal-tb;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.hero-lead,
.section-copy,
.product-copy p,
.contact-section p,
.values p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.86;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 32px;
  font-size: 19px;
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.button.primary {
  border-color: rgba(142, 238, 255, 0.44);
  color: #041021;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 44px rgba(89, 168, 255, 0.28);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 44px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(89, 168, 255, 0.12), transparent 36%),
    radial-gradient(circle at 50% 30%, rgba(89, 168, 255, 0.18), transparent 21rem),
    rgba(3, 8, 23, 0.62);
  box-shadow: var(--shadow);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  content: "";
  border-radius: 999px;
}

.hero-visual::before {
  width: 430px;
  height: 430px;
  border: 1px solid rgba(142, 238, 255, 0.22);
  box-shadow:
    inset 0 0 80px rgba(89, 168, 255, 0.16),
    0 0 120px rgba(89, 168, 255, 0.18);
}

.hero-visual::after {
  right: -96px;
  bottom: -96px;
  width: 250px;
  height: 250px;
  background: rgba(156, 123, 255, 0.18);
  filter: blur(20px);
}

.hero-visual img {
  position: relative;
  z-index: 2;
  width: min(72%, 430px);
  border-radius: 34px;
  box-shadow: 0 0 72px rgba(89, 168, 255, 0.32);
}

.orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background:
    conic-gradient(from 90deg, transparent, rgba(142, 238, 255, 0.92), transparent, rgba(89, 168, 255, 0.7), transparent),
    radial-gradient(circle, transparent 54%, rgba(89, 168, 255, 0.28) 56%, transparent 64%);
  filter: blur(0.2px) drop-shadow(0 0 30px rgba(89, 168, 255, 0.52));
  animation: rotate 18s linear infinite;
}

.visual-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  display: grid;
  gap: 6px;
  max-width: 260px;
  padding: 18px;
  border: 1px solid rgba(142, 238, 255, 0.28);
  border-radius: 22px;
  background: rgba(4, 14, 32, 0.74);
  backdrop-filter: blur(14px);
}

.visual-card span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  margin: 92px 0;
}

.intro-grid,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 46px;
  align-items: start;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.values {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.values article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.values span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border: 1px solid rgba(142, 238, 255, 0.3);
  border-radius: 14px;
  color: var(--cyan);
  font-weight: 800;
  background: rgba(142, 238, 255, 0.08);
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  padding: 44px;
  border: 1px solid rgba(142, 238, 255, 0.24);
  border-radius: 40px;
  background:
    radial-gradient(circle at 80% 20%, rgba(142, 238, 255, 0.18), transparent 18rem),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.product-copy {
  align-self: center;
}

.product-card {
  display: grid;
  place-items: center;
  min-height: 440px;
}

.phone-frame {
  position: relative;
  width: min(270px, 100%);
  height: 430px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03)),
    #071326;
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.42),
    inset 0 0 0 6px rgba(255, 255, 255, 0.03);
}

.phone-top {
  width: 76px;
  height: 6px;
  margin: 0 auto 20px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.28);
}

.feed-card {
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: calc(100% - 26px);
  padding: 22px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, transparent 0%, rgba(3, 8, 23, 0.24) 42%, rgba(3, 8, 23, 0.82) 100%),
    radial-gradient(circle at 38% 24%, rgba(255, 209, 102, 0.9), transparent 7rem),
    radial-gradient(circle at 70% 36%, rgba(142, 238, 255, 0.7), transparent 9rem),
    linear-gradient(160deg, #1c5dff, #081a42 62%);
}

.feed-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.feed-card strong {
  margin: 12px 0;
  font-size: 32px;
  letter-spacing: -0.04em;
}

.feed-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.contact-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
}

dl {
  display: grid;
  gap: 22px;
  margin: 0;
}

dt {
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--text);
  line-height: 1.6;
}

dd a {
  color: var(--text);
  border-bottom: 1px solid rgba(142, 238, 255, 0.44);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 36px 0 46px;
  color: var(--muted);
  font-size: 14px;
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 901px) {
  .hero {
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
    min-height: 690px;
  }

  .intro-grid,
  .contact-section {
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  }

  .values {
    grid-template-columns: repeat(3, 1fr);
  }

  .product-section {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.84fr);
  }
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    border-radius: 28px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 460px;
  }

  .values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    top: 10px;
    margin-bottom: 28px;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: clamp(36px, 10.5vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-visual,
  .intro-grid,
  .product-section,
  .contact-section {
    border-radius: 26px;
  }

  .intro-grid,
  .product-section,
  .contact-section {
    padding: 26px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .orb {
    width: 270px;
    height: 270px;
  }

  .visual-card {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }

  .section {
    margin: 64px 0;
  }
}
