:root {
  --bg: #0b0f14;
  --bg-deep: #06090d;
  --ink: #eaf0f5;
  --muted: #a0a5b5;
  --line: #2a3441;
  --primary: #00e676;
  --primary-dim: #00b85f;
  --accent: #00b0ff;
  --font-display: "Syne", "Vazirmatn", system-ui, sans-serif;
  --font-body: "Vazirmatn", "IBM Plex Sans", system-ui, sans-serif;
  --font-latin: "IBM Plex Sans", "Vazirmatn", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  overflow-x: hidden;
}

body[dir="ltr"] {
  font-family: var(--font-latin);
}

a {
  color: inherit;
  text-decoration: none;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 70% 10%, rgba(0, 176, 255, 0.12), transparent 55%),
    radial-gradient(90% 70% at 10% 80%, rgba(0, 230, 118, 0.1), transparent 50%),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 40%, #0d141c);
}

.atmosphere__grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(234, 240, 245, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 240, 245, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.atmosphere__glow {
  position: absolute;
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: drift 14s ease-in-out infinite alternate;
}

.atmosphere__glow--a {
  top: -8%;
  right: 8%;
  background: var(--accent);
}

.atmosphere__glow--b {
  bottom: 5%;
  left: -5%;
  background: var(--primary);
  animation-delay: -4s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, -18px) scale(1.08); }
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand__mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.2);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.top__nav {
  display: flex;
  gap: 0.35rem;
}

.lang {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.lang[aria-pressed="true"] {
  color: var(--bg);
  background: var(--ink);
  border-color: var(--ink);
}

.hero {
  min-height: calc(100vh - 4.5rem);
  display: grid;
  align-content: center;
  gap: 1.25rem;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 4rem;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}

.hero__brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  animation: rise 0.9s ease both;
}

.hero__title {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.35;
  color: var(--primary);
  animation: rise 0.9s ease 0.12s both;
}

body[dir="ltr"] .hero__title {
  font-family: var(--font-latin);
}

.hero__lead {
  margin: 0;
  max-width: 36ch;
  color: var(--muted);
  font-size: 1.05rem;
  animation: rise 0.9s ease 0.22s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
  animation: rise 0.9s ease 0.32s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.65rem 1.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: #04110a;
}

.btn--primary:hover {
  background: var(--primary-dim);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(20, 26, 34, 0.5);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero__visual {
  position: absolute;
  inset-inline-end: clamp(0.5rem, 6vw, 4rem);
  top: 50%;
  transform: translateY(-50%);
  width: min(38vw, 320px);
  aspect-ratio: 1;
  opacity: 0.9;
  animation: fade-in 1.2s ease 0.4s both;
  pointer-events: none;
}

@media (max-width: 760px) {
  .hero__visual {
    position: relative;
    inset: auto;
    transform: none;
    width: min(70vw, 240px);
    margin-top: 1.5rem;
    justify-self: center;
  }
}

.lens {
  position: relative;
  width: 100%;
  height: 100%;
}

.lens__ring,
.lens__core {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
}

.lens__ring {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(0, 176, 255, 0.35);
  box-shadow: inset 0 0 40px rgba(0, 176, 255, 0.08);
}

.lens__ring::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(0, 230, 118, 0.4);
}

.lens__core {
  width: 28%;
  height: 28%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--primary) 45%, #021a0e 80%);
  animation: pulse 3.5s ease-in-out infinite;
}

.lens__scan {
  position: absolute;
  left: 8%;
  right: 8%;
  height: 1px;
  top: 20%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: scan 4s linear infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.85; }
}

@keyframes scan {
  0% { top: 18%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 78%; opacity: 0; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 0.9; }
}

.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 4.5rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid rgba(42, 52, 65, 0.7);
}

.section__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
}

.section__text {
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
}

.feature-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.feature-list li {
  padding-inline-start: 1.25rem;
  border-inline-start: 2px solid var(--primary);
  color: var(--ink);
}

.soon {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.foot {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid rgba(42, 52, 65, 0.7);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.foot__brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.foot__links a:hover {
  color: var(--primary);
}

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 4rem;
}

.page h1 {
  font-size: 1.75rem;
}

.page p {
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
