:root {
  --bg-deep: #050816;
  --bg-panel: #faf8ff;
  --bg-panel-head: linear-gradient(135deg, #eef2ff 0%, #e0f2fe 100%);
  --ink: #0f172a;
  --ink-muted: #64748b;
  --accent: #6366f1;
  --accent-bright: #22d3ee;
  --accent-soft: rgba(99, 102, 241, 0.15);
  --success: #10b981;
  --success-bg: #ecfdf5;
  --ring: #a855f7;
  --radius-lg: 24px;
  --radius-md: 14px;
  --font: "DM Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --glass: rgba(15, 23, 42, 0.55);
  --glass-border: rgba(148, 163, 184, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: #e2e8f0;
  background: var(--bg-deep);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* --- Background --- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(99, 102, 241, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(34, 211, 238, 0.2), transparent 50%),
    radial-gradient(ellipse 60% 45% at 0% 60%, rgba(168, 85, 247, 0.22), transparent 50%),
    linear-gradient(165deg, #030712 0%, #0f172a 45%, #020617 100%);
}

.grid-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 40%, black 20%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: orb-float 18s ease-in-out infinite;
}

.orb-a {
  width: 420px;
  height: 420px;
  top: -8%;
  left: 15%;
  background: #6366f1;
}

.orb-b {
  width: 360px;
  height: 360px;
  top: 35%;
  right: -5%;
  background: #06b6d4;
  animation-delay: -6s;
}

.orb-c {
  width: 300px;
  height: 300px;
  bottom: 5%;
  left: -5%;
  background: #d946ef;
  animation-delay: -12s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* --- Header --- */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.6));
}

.brand-kicker {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  background: linear-gradient(90deg, #a5b4fc, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-title {
  margin: 0.2rem 0 0;
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f8fafc;
  text-shadow: 0 2px 24px rgba(99, 102, 241, 0.35);
}

.header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.6rem;
}

.pill-auto {
  border-color: rgba(129, 140, 248, 0.45);
  font-weight: 600;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pill-en {
  cursor: pointer;
  font: inherit;
  border-color: rgba(56, 189, 248, 0.55);
  color: #e0f2fe;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.35), rgba(14, 165, 233, 0.25));
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pill-en:hover {
  transform: translateY(-1px);
  border-color: rgba(125, 211, 252, 0.8);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.25);
}

.pill-en:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 2px;
}

html.i18n-busy body {
  cursor: progress;
}

html[dir="rtl"] .site-header,
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .requirements-banner {
  text-align: right;
}

html[dir="rtl"] .benefits li {
  padding-inline: 1.2rem 1.35rem;
}

html[dir="rtl"] .benefits li::before {
  left: auto;
  right: 0;
  border-radius: 0 4px 4px 0;
}

html[dir="rtl"] .stat {
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.pill-live {
  border-color: rgba(34, 197, 94, 0.35);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.15);
}

.pill-live .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 12px #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3.5rem;
}

/* --- Hero --- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
  }
}

.hero-copy h2 {
  margin: 0 0 1.15rem;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #f1f5f9;
}

.headline-gradient {
  display: inline;
  background: linear-gradient(120deg, #818cf8 0%, #22d3ee 45%, #c084fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  color: #94a3b8;
  max-width: 54ch;
  line-height: 1.65;
}

.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.benefits li {
  position: relative;
  padding: 1.1rem 1.2rem 1.1rem 1.35rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.75), rgba(15, 23, 42, 0.85));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 4px 0 0 4px;
}

.benefits li:nth-child(1)::before {
  background: linear-gradient(180deg, #6366f1, #22d3ee);
}

.benefits li:nth-child(2)::before {
  background: linear-gradient(180deg, #a855f7, #6366f1);
}

.benefits li:nth-child(3)::before {
  background: linear-gradient(180deg, #10b981, #22d3ee);
}

.benefits li:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.12);
}

.benefits strong {
  display: block;
  font-size: 0.98rem;
  color: #f1f5f9;
  margin-bottom: 0.3rem;
}

.benefits span {
  font-size: 0.875rem;
  color: #94a3b8;
}

.hero-visual {
  position: relative;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.65), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(129, 140, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 80px rgba(99, 102, 241, 0.12);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.5), transparent 40%, rgba(34, 211, 238, 0.4));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.setup-svg {
  width: 100%;
  height: auto;
  display: block;
}

.link-pulse {
  animation: dash-flow 3s linear infinite;
}

.link-pulse.delay-1 { animation-delay: 0.4s; }
.link-pulse.delay-2 { animation-delay: 0.8s; }
.link-pulse.delay-3 { animation-delay: 1.2s; }

@keyframes dash-flow {
  to { stroke-dashoffset: -20; }
}

.dongle-led {
  animation: led-blink 2s ease-in-out infinite;
}

@keyframes led-blink {
  0%, 100% { opacity: 1; fill: #22c55e; }
  50% { opacity: 0.35; fill: #16a34a; }
}

/* --- Requirements --- */
.requirements {
  margin-bottom: 3.5rem;
}

.requirements-banner {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.25rem;
}

.requirements-tagline {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a5f3fc;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 999px;
}

.requirements-banner h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f8fafc;
}

.requirements-intro {
  margin: 0;
  font-size: 1.02rem;
  color: #94a3b8;
  line-height: 1.65;
}

.requirements-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 640px) {
  .requirements-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .requirements-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .req-card-accent {
    grid-column: span 1;
  }
}

.req-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.25rem;
  background: linear-gradient(160deg, rgba(30, 41, 59, 0.85), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.req-card:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.4);
  box-shadow: 0 16px 48px rgba(99, 102, 241, 0.15);
}

.req-card-accent {
  background: linear-gradient(160deg, rgba(67, 56, 202, 0.35), rgba(15, 23, 42, 0.95));
  border-color: rgba(129, 140, 248, 0.35);
}

@media (max-width: 1023px) {
  .req-card-accent {
    grid-column: 1 / -1;
  }
}

.req-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  color: #67e8f9;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(34, 211, 238, 0.15));
  border: 1px solid rgba(129, 140, 248, 0.25);
}

.req-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.02em;
}

.req-card p {
  margin: 0;
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.55;
}

.req-card strong {
  color: #e2e8f0;
  font-weight: 600;
}

.req-highlight {
  margin-top: 0.25rem !important;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.25);
  color: #cbd5e1 !important;
}

.partner-cta {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.partner-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.75rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(67, 56, 202, 0.35), rgba(14, 165, 233, 0.12));
  border: 1px solid rgba(129, 140, 248, 0.4);
  box-shadow: 0 24px 56px rgba(99, 102, 241, 0.18);
}

.partner-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.partner-kicker {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b5fd;
  background: rgba(15, 23, 42, 0.45);
  border-radius: 999px;
}

.partner-copy h2 {
  margin: 0 0 1rem;
  width: 100%;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: #f8fafc;
}

.partner-lead {
  margin: 0 0 1.25rem;
  width: 100%;
  font-size: 1.02rem;
  color: #cbd5e1;
  line-height: 1.65;
}

.partner-serious {
  display: inline-block;
  margin: 0;
  max-width: 100%;
  padding: 0.7rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  color: #fde68a;
  background: rgba(120, 53, 15, 0.25);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-md);
}

html[dir="rtl"] .partner-copy {
  text-align: center;
}

.contact {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.contact-inner {
  padding: 1.75rem 1.5rem;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.75), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(129, 140, 248, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.contact-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.contact-avatar {
  flex-shrink: 0;
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.35));
}

.contact-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.contact-sub {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: #94a3b8;
}

.contact-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .contact-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
  padding: 0.85rem 1rem;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.contact-wa:hover {
  border-color: rgba(37, 211, 102, 0.55);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.15);
}

.contact-tg:hover {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.15);
}

.contact-mail:hover {
  border-color: rgba(129, 140, 248, 0.55);
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.15);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
}

.contact-wa .contact-icon {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
}

.contact-tg .contact-icon {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
}

.contact-mail .contact-icon {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.15);
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  width: 100%;
}

@media (min-width: 768px) {
  .contact-label {
    width: auto;
  }
}

.contact-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
  word-break: break-all;
}

.site-footer {
  text-align: center;
  padding: 2rem 1.5rem 2.75rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #64748b;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.5));
}

.site-footer p {
  margin: 0;
  max-width: 40rem;
  margin-inline: auto;
}
