@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/manrope-cyr-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/manrope-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/manrope-cyr-500.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/manrope-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/manrope-cyr-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/manrope-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-cyr-700.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-600.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk-700.woff2") format("woff2");
}

:root {
  --bg: #020617;
  --bg-2: #07101f;
  --text: #f8fbff;
  --muted: #9bb0c7;
  --cyan: #22d3ee;
  --cyan-2: #38bdf8;
  --blue: #2563eb;
  --green: #10b981;
  --green-2: #059669;
  --line: rgba(56, 189, 248, 0.18);
  --glass: rgba(8, 18, 36, 0.72);
  --radius: 16px;
  --header-h: 72px;
  --max: 1180px;
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  background:
    radial-gradient(1200px 700px at 80% 10%, rgba(34, 211, 238, 0.12), transparent 55%),
    radial-gradient(900px 600px at 10% 40%, rgba(37, 99, 235, 0.16), transparent 50%),
    linear-gradient(180deg, #020617 0%, #040b18 45%, #03101c 100%);
  overflow-x: hidden;
}

a {
  color: var(--cyan);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

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

#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(56, 189, 248, 0.14) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.35;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.brand img {
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.25);
}
.brand:hover {
  text-decoration: none;
  color: var(--cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.text-link {
  color: var(--muted);
  font-size: 0.95rem;
}
.text-link:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.55rem 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(8, 20, 40, 0.65);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.btn:hover {
  text-decoration: none;
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.25);
}
.btn-ghost {
  background: linear-gradient(180deg, rgba(15, 35, 65, 0.9), rgba(8, 18, 36, 0.8));
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
}

.hero-copy h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.brand-imd {
  color: #fff;
}
.brand-support {
  color: var(--cyan);
  text-shadow: 0 0 28px rgba(34, 211, 238, 0.45);
}

.hero-lead {
  margin: 0 0 1.4rem;
  color: #e8f2ff;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.45;
  font-weight: 500;
}

.hero-checks {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.hero-checks li::before {
  content: "✓";
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 50%;
  background: rgba(4, 16, 28, 0.95);
  border: 1.5px solid var(--cyan);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.45);
}

.download-stack {
  display: grid;
  gap: 0.75rem;
  max-width: 420px;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.dl-btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.dl-text {
  display: grid;
  gap: 0.15rem;
}
.dl-text strong {
  font-size: 1.05rem;
  font-weight: 700;
}
.dl-text small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
}
.dl-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
}

.dl-windows {
  background: linear-gradient(105deg, #1d4ed8 0%, #0ea5e9 55%, #22d3ee 100%);
  box-shadow: 0 10px 36px rgba(14, 165, 233, 0.35), 0 0 0 1px rgba(125, 211, 252, 0.25) inset;
}
.dl-windows:hover {
  box-shadow: 0 14px 42px rgba(34, 211, 238, 0.45);
}

.dl-linux {
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.95), rgba(15, 40, 40, 0.9));
  border-color: rgba(52, 211, 153, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.dl-linux:hover {
  border-color: rgba(52, 211, 153, 0.7);
  box-shadow: 0 12px 34px rgba(16, 185, 129, 0.25);
}

.dl-android {
  background: linear-gradient(105deg, #047857 0%, #10b981 60%, #34d399 100%);
  box-shadow: 0 10px 32px rgba(16, 185, 129, 0.3);
}
.dl-android:hover {
  box-shadow: 0 14px 40px rgba(52, 211, 153, 0.4);
}

.sys-req {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 420px;
}

.visual-stage {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1 / 1.05;
}

.orbit {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.25);
  animation: spin 48s linear infinite;
}
.orbit-2 {
  inset: 18%;
  animation-duration: 36s;
  animation-direction: reverse;
  border-style: solid;
  border-color: rgba(34, 211, 238, 0.12);
}

.pedestal {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: 58%;
  aspect-ratio: 1.15 / 1;
  display: grid;
  place-items: center;
}
.pedestal-glow {
  position: absolute;
  inset: 18% 5% -8%;
  background:
    radial-gradient(ellipse at center, rgba(34, 211, 238, 0.45), transparent 70%),
    linear-gradient(180deg, rgba(37, 99, 235, 0.35), transparent 70%);
  filter: blur(12px);
  border-radius: 40%;
}
.pedestal::before,
.pedestal::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) perspective(400px) rotateX(62deg);
  background: linear-gradient(180deg, rgba(30, 58, 120, 0.9), rgba(8, 20, 45, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.25);
}
.pedestal::before {
  bottom: 8%;
  width: 92%;
  height: 42%;
  border-radius: 18px;
}
.pedestal::after {
  bottom: -2%;
  width: 78%;
  height: 28%;
  opacity: 0.75;
  border-radius: 14px;
}

.cube {
  position: relative;
  z-index: 2;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 18px;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.15rem;
  background:
    linear-gradient(145deg, rgba(56, 189, 248, 0.35), rgba(37, 99, 235, 0.15) 40%, rgba(2, 12, 28, 0.9)),
    linear-gradient(180deg, #0ea5e9, #1e3a8a);
  border: 1px solid rgba(165, 243, 252, 0.45);
  box-shadow:
    0 20px 50px rgba(14, 165, 233, 0.35),
    0 0 60px rgba(34, 211, 238, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: floatY 5.5s ease-in-out infinite;
  font-family: var(--display);
}
.cube span {
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  opacity: 0.9;
}
.cube strong {
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  letter-spacing: 0.12em;
}

.float-icon {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: rgba(7, 18, 36, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.28);
  backdrop-filter: blur(8px);
  animation: floatY 4.8s ease-in-out infinite;
}
.float-icon svg {
  width: 24px;
  height: 24px;
}
.fi-1 { top: 14%; left: 10%; animation-delay: 0s; }
.fi-2 { top: 10%; right: 12%; animation-delay: 0.6s; color: #67e8f9; }
.fi-3 { bottom: 22%; left: 8%; animation-delay: 1.1s; }
.fi-4 { bottom: 18%; right: 10%; animation-delay: 1.6s; color: #34d399; }

.features {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.features article {
  padding: 1.25rem 1.1rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.feat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid rgba(56, 189, 248, 0.4);
  margin-bottom: 0.85rem;
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.2);
}
.feat-icon svg {
  width: 22px;
  height: 22px;
}
.features h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}
.features p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.how {
  max-width: var(--max);
  margin: 0 auto 3.5rem;
  padding: 0 1.25rem;
}
.how h2 {
  margin: 0 0 1.5rem;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.how-steps {
  list-style: none;
  margin: 0;
  padding: 1.4rem 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(6, 14, 28, 0.7);
  backdrop-filter: blur(12px);
}
.how-steps::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 12%;
  right: 12%;
  border-top: 1px dashed rgba(56, 189, 248, 0.35);
}
.how-steps li {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.45rem;
}
.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--cyan);
  background: #071225;
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.25);
}
.step-icon svg {
  width: 24px;
  height: 24px;
}
.how-steps strong {
  font-size: 1rem;
}
.how-steps span:last-child {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(2, 8, 18, 0.85);
  padding: 2.2rem 1.25rem 1.4rem;
}
.site-footer > .footer-brand,
.site-footer > .footer-links {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.footer-brand {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}
.footer-brand p {
  margin: 0;
  color: var(--muted);
  max-width: 36rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.4rem;
  margin-bottom: 1.6rem;
}
.footer-links a,
.linkish {
  color: #d7e6f7;
  font-size: 0.95rem;
}
.linkish {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: #d7e6f7;
}
.linkish:hover,
.footer-links a:hover {
  color: var(--cyan);
}
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  color: var(--muted);
  font-size: 0.88rem;
}

.modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(560px, calc(100vw - 2rem));
}
.modal::backdrop {
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(6px);
}
.modal-card {
  margin: 0;
  border-radius: 18px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: linear-gradient(180deg, rgba(10, 22, 42, 0.96), rgba(4, 10, 22, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 40px rgba(34, 211, 238, 0.12);
  color: var(--text);
  overflow: hidden;
}
.modal-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.modal-card h2 {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--display);
}
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: transparent;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.modal-body {
  padding: 1.1rem 1.2rem 1.4rem;
  max-height: min(70vh, 520px);
  overflow: auto;
  line-height: 1.55;
}
.modal-body h3 {
  margin: 1.2rem 0 0.5rem;
  font-size: 1rem;
}
.modal-body p {
  margin: 0 0 0.85rem;
}
.muted {
  color: var(--muted);
  font-size: 0.9rem;
}
.modal-body code {
  font-size: 0.85em;
  color: var(--cyan-2);
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 0.5rem;
  }
  .hero-visual {
    order: -1;
    min-height: 320px;
  }
  .visual-stage {
    width: min(100%, 360px);
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .how-steps::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .features,
  .how-steps {
    grid-template-columns: 1fr;
  }
  .download-stack {
    max-width: none;
  }
  .hero-copy h1 {
    font-size: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit,
  .cube,
  .float-icon {
    animation: none !important;
  }
}
