:root {
  --bg: #05050c;
  --bg-elev: #0b0b16;
  --bg-glass: rgba(12, 12, 24, 0.62);
  --line: rgba(140, 210, 255, 0.16);
  --line-strong: rgba(0, 240, 255, 0.45);
  --text: #eef6ff;
  --muted: #93a0b8;
  --cyan: #00f0ff;
  --violet: #8b6cff;
  --magenta: #ff2bd6;
  --lime: #b8ff3d;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --header-h: 76px;
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Syne", "Outfit", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(0, 240, 255, 0.28);
  color: #fff;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  padding: 8px 12px;
  background: #00161a;
  border: 1px solid var(--cyan);
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.fx {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.fx-aurora {
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(0, 240, 255, 0.16), transparent 55%),
    radial-gradient(700px 480px at 90% 8%, rgba(255, 43, 214, 0.14), transparent 50%),
    radial-gradient(600px 500px at 50% 100%, rgba(139, 108, 255, 0.18), transparent 55%);
  animation: aurora-shift 18s ease-in-out infinite alternate;
}

.fx-grid {
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
  transform: perspective(800px) rotateX(62deg) scale(1.8) translateY(-8%);
  transform-origin: center top;
  opacity: 0.55;
  animation: grid-drift 24s linear infinite;
}

.fx-noise {
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

#particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.site {
  position: relative;
  z-index: 1;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-on {
  background: rgba(5, 5, 12, 0.72);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.05rem;
}

.brand img {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.35));
}

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

.nav a,
.nav-drop > button {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav a:hover,
.nav a.is-active,
.nav-drop > button:hover,
.nav-drop > button.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-drop {
  position: relative;
}

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  min-width: 220px;
  padding: 10px;
  border-radius: 16px;
  background: #0d0d1c;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
}

.nav-drop:hover .nav-drop-panel,
.nav-drop:focus-within .nav-drop-panel {
  display: grid;
  gap: 4px;
}

.nav-drop-panel a {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
}

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

.lang {
  position: relative;
}

.lang-btn,
.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  width: min(320px, 80vw);
  max-height: 360px;
  overflow: auto;
  padding: 10px;
  border-radius: 16px;
  background: #0d0d1c;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  z-index: 50;
}

.lang.is-open .lang-menu {
  display: grid;
}

.lang-menu a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.lang-menu a:hover,
.lang-menu a.is-active {
  color: var(--text);
  background: rgba(0, 240, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.btn-primary {
  color: #041016;
  background: linear-gradient(120deg, var(--cyan), #7cf6ff 40%, #c9b6ff);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.25), 0 10px 30px rgba(0, 240, 255, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.menu-btn {
  display: none;
}

.hero {
  position: relative;
  padding: 72px 0 40px;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 240, 255, 0.06);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: pulse-border 3.6s ease-in-out infinite;
}

.kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.05em;
  line-height: 1.05;
  margin: 0;
}

.hero h1 {
  margin-top: 18px;
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  max-width: 12ch;
}

.hero h1 span {
  background: linear-gradient(120deg, #fff 10%, var(--cyan) 45%, var(--magenta), var(--cyan));
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: hue-flow 8s linear infinite;
}

.lede {
  margin: 18px 0 28px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.orbit-stage {
  position: relative;
  height: 520px;
  display: grid;
  place-items: center;
}

.orbit-core {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 35% 30%, #fff, #9af6ff 18%, transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.4), rgba(10, 10, 20, 0.2) 60%);
  border: 1px solid rgba(0, 240, 255, 0.4);
  box-shadow:
    0 0 40px rgba(0, 240, 255, 0.28),
    0 0 120px rgba(139, 108, 255, 0.22);
  animation: core-breathe 4.8s ease-in-out infinite;
  z-index: 2;
}

.orbit-core strong {
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ring {
  position: absolute;
  border: 1px dashed rgba(0, 240, 255, 0.22);
  border-radius: 50%;
  animation: spin linear infinite;
}

.ring-1 {
  width: 280px;
  height: 280px;
  animation-duration: 18s;
}

.ring-2 {
  width: 380px;
  height: 380px;
  animation-duration: 28s;
  animation-direction: reverse;
  border-color: rgba(255, 43, 214, 0.2);
}

.ring-3 {
  width: 490px;
  height: 490px;
  animation-duration: 38s;
  border-color: rgba(139, 108, 255, 0.22);
}

.node {
  position: absolute;
  width: 118px;
  padding: 12px;
  border-radius: 16px;
  background: var(--bg-glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  text-align: center;
  animation: float-y 5s ease-in-out infinite;
}

.node small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
}

.node b {
  font-family: var(--display);
}

.node-image {
  top: 36px;
  inset-inline-start: 18px;
}

.node-audio {
  top: 58px;
  inset-inline-end: 8px;
  animation-delay: -1.4s;
}

.node-video {
  bottom: 48px;
  inset-inline-start: 38%;
  animation-delay: -2.6s;
}

.section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
  max-width: 720px;
}

.section-head p,
.muted {
  color: var(--muted);
}

.center {
  text-align: center;
  margin-inline: auto;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

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

.card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(18px);
  opacity: 0;
  animation: rise 0.9s var(--ease) forwards;
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent, rgba(0, 240, 255, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.card h3 {
  font-size: 1.45rem;
  margin: 12px 0 8px;
}

.card h3 a:hover {
  color: var(--cyan);
}

a.chip:hover {
  border-color: var(--cyan);
  color: var(--text);
}

.card .btn {
  margin-top: 18px;
}

a.node {
  color: inherit;
}

a.node:hover {
  border-color: var(--cyan);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.crumbs a:hover {
  color: var(--cyan);
}

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

.tool-card {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  scroll-margin-top: 96px;
}

.tool-card:target {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.22);
}

.tool-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.tool-card h3 {
  font-size: 1.12rem;
}

.faq-item {
  margin-bottom: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
}

a.related-card {
  display: block;
}
  font-size: 1.45rem;
  margin: 12px 0 8px;
}

.ico {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 240, 255, 0.08);
  color: var(--cyan);
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.02);
}

.chip em {
  font-style: normal;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 42px;
}

.stat {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.stat b {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: -0.05em;
  background: linear-gradient(90deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.feature {
  padding: 22px;
  border-radius: 20px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}

.feature h3 {
  margin: 10px 0 8px;
  font-size: 1.15rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  padding: 26px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(139, 108, 255, 0.05);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--mono);
  color: var(--cyan);
  letter-spacing: 0.12em;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 32px;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 180px at 20% 0%, rgba(0, 240, 255, 0.16), transparent 60%),
    radial-gradient(400px 180px at 90% 100%, rgba(255, 43, 214, 0.14), transparent 55%),
    #0b0b18;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.page-hero {
  padding: 64px 0 28px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  max-width: 16ch;
}

.prose {
  max-width: 820px;
  color: #d5deee;
}

.prose h2 {
  font-size: 1.6rem;
  margin: 32px 0 10px;
}

.prose p,
.prose li {
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.panel {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #090912;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.12);
}

.form-ok,
.form-err {
  display: none;
  padding: 10px 12px;
  border-radius: 12px;
}

.form-ok {
  background: rgba(184, 255, 61, 0.1);
  color: #d6ff8a;
}

.form-err {
  background: rgba(255, 80, 80, 0.1);
  color: #ffb4b4;
}

.footer {
  margin-top: 40px;
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer h3 {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.footer a {
  display: block;
  color: var(--muted);
  padding: 4px 0;
}

.footer a:hover {
  color: var(--cyan);
}

.legal-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.cookie {
  position: fixed;
  z-index: 60;
  inset-inline: 16px;
  bottom: 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(8, 8, 18, 0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.cookie.is-on {
  display: flex;
}

.lang-wall {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 0;
}

.lang-wall h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 14ch;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.lang-card {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.lang-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
}

.lang-card b {
  display: block;
  font-family: var(--display);
}

.lang-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.mobile-nav {
  display: none;
}

@keyframes aurora-shift {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-18px) scale(1.05); }
}

@keyframes grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 72px, 72px 0; }
}

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

@keyframes core-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(0, 240, 255, 0); }
}

@keyframes hue-flow {
  to { background-position: 220% center; }
}

@media (max-width: 980px) {
  .hero-grid,
  .cards-3,
  .features,
  .steps,
  .stats,
  .contact-grid,
  .footer-grid,
  .lang-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .contact-grid,
  .cta-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .menu-btn,
  .mobile-nav.is-open {
    display: flex;
  }

  .mobile-nav {
    position: fixed;
    inset: var(--header-h) 12px auto;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
    background: #0c0c18;
    border: 1px solid var(--line);
    z-index: 45;
  }

  .orbit-stage {
    height: 420px;
  }

  .cookie {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 680px) {
  .cards-3,
  .features,
  .steps,
  .stats,
  .lang-grid,
  .tool-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
    min-height: auto;
  }

  .ring-3 {
    display: none;
  }

  .cta-band {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--cyan), var(--violet));
  border-radius: 99px;
}

body::after {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(0, 0, 0, 0.08) 2px 3px
  );
  opacity: 0.18;
  mix-blend-mode: overlay;
}

.card:nth-child(2) { animation-delay: 0.12s; }
.card:nth-child(3) { animation-delay: 0.24s; }
