:root {
  --bg: #070b12;
  --panel: rgba(15, 23, 35, 0.78);
  --panel-strong: rgba(20, 31, 46, 0.94);
  --text: #f5f9ff;
  --muted: #aeb9cb;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #35ead9;
  --green: #32d08b;
  --blue: #74a7ff;
  --gold: #f5b84d;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(53, 234, 217, 0.18), transparent 27rem),
    radial-gradient(circle at 86% 14%, rgba(116, 167, 255, 0.14), transparent 25rem),
    radial-gradient(circle at 48% 76%, rgba(50, 208, 139, 0.12), transparent 30rem),
    linear-gradient(135deg, #070b12 0%, #111827 50%, #071313 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  width: min(1180px, calc(100% - 28px));
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 16px auto 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 12, 18, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  box-shadow: 0 0 28px rgba(53, 234, 217, 0.22);
}

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

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text);
  background: rgba(53, 234, 217, 0.11);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

.section {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 92px 0;
  scroll-margin-top: 100px;
}

.compact-section {
  padding-top: 34px;
}

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 52px;
  padding-top: 76px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(4.5rem, 12vw, 9.8rem);
  line-height: 0.82;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.subtitle {
  max-width: 760px;
  color: #d7e4f5;
  font-size: clamp(1.14rem, 2vw, 1.42rem);
  line-height: 1.75;
}

.home-intro {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.page-hero {
  padding-top: 110px;
  padding-bottom: 36px;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(3.5rem, 9vw, 8.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

.btn.primary {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #041111;
  box-shadow: 0 18px 42px rgba(50, 208, 139, 0.2);
}

.btn.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.telegram-link {
  border-color: rgba(116, 167, 255, 0.28);
}

.btn.large {
  min-width: 168px;
  min-height: 58px;
}

.hero-device {
  position: relative;
}

.hero-device::before {
  content: "";
  position: absolute;
  inset: -50px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(53, 234, 217, 0.16), transparent 68%);
}

.device-window {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(10, 16, 25, 0.84);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.window-bar {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line);
}

.assistant-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(53, 234, 217, 0.22);
  border-radius: 20px;
  background: rgba(53, 234, 217, 0.07);
}

.assistant-card img {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  object-fit: cover;
}

.assistant-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.45rem;
}

.assistant-card p,
.wide-panel p,
.feature-card p,
.support-copy,
.faq-list p,
.footer p {
  color: var(--muted);
  line-height: 1.68;
}

.command-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.command-list span {
  display: block;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  color: #dce8f7;
  font-weight: 700;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.wide-panel,
.download-panel,
.dev-notice,
.news-panel,
.contact-panel,
.contact-card,
.donation-notice {
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent),
    var(--panel);
  box-shadow: var(--shadow);
}

.about-panel {
  margin-bottom: 16px;
}

.wide-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding: 34px;
}

.wide-panel p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.requirement-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    var(--panel);
}

.requirement-card.highlighted {
  border-color: rgba(53, 234, 217, 0.28);
  background:
    linear-gradient(160deg, rgba(53, 234, 217, 0.12), transparent 56%),
    var(--panel);
}

.requirement-card span {
  display: block;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 900;
}

.requirement-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.requirement-card li {
  color: var(--muted);
  line-height: 1.55;
}

.requirement-card strong {
  color: #dce8f7;
}

.about-note {
  margin: 18px 0 0;
  color: #cce0f4;
  font-weight: 700;
  line-height: 1.65;
}

.dev-notice {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 24px;
  border-color: rgba(245, 184, 77, 0.3);
  background:
    linear-gradient(135deg, rgba(245, 184, 77, 0.13), transparent),
    var(--panel);
}

.dev-notice strong {
  color: #ffe0a7;
  font-size: 1.15rem;
}

.dev-notice span {
  color: #ffe8c0;
  line-height: 1.65;
}

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

.feature-card,
.donation-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent),
    var(--panel);
}

.feature-card {
  min-height: 220px;
  padding: 22px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 234, 217, 0.34);
  background: var(--panel-strong);
}

.feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 12px;
  background: rgba(53, 234, 217, 0.11);
  color: var(--cyan);
  font-weight: 900;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px;
}

.download-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-width: 230px;
}

.download-counter {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(53, 234, 217, 0.18);
  border-radius: 999px;
  background: rgba(53, 234, 217, 0.08);
  color: rgba(224, 255, 251, 0.76);
  font-size: 0.86rem;
  font-weight: 800;
}

.download-counter strong {
  color: rgba(53, 234, 217, 0.9);
  font-size: 1rem;
}

.news-panel {
  display: grid;
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 28px;
  padding: 34px;
}

.news-panel img {
  width: 160px;
  height: 160px;
  border-radius: 36px;
  object-fit: cover;
  box-shadow: 0 0 54px rgba(53, 234, 217, 0.22);
}

.news-panel h2 {
  margin-bottom: 18px;
}

.news-panel p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.download-meta span {
  padding: 10px 13px;
  border: 1px solid rgba(53, 234, 217, 0.18);
  border-radius: 999px;
  background: rgba(53, 234, 217, 0.07);
  color: #c9fff8;
  font-weight: 800;
}

.support-copy {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: 1.08rem;
}

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

.donation-card {
  min-width: 0;
  padding: 22px;
}

.donation-notice {
  margin-top: 16px;
  padding: 18px 20px;
  border-color: rgba(245, 184, 77, 0.3);
  background:
    linear-gradient(135deg, rgba(245, 184, 77, 0.12), transparent),
    rgba(15, 23, 35, 0.78);
  color: #ffe5b7;
  font-weight: 700;
  line-height: 1.6;
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
}

.contact-panel p:not(.eyebrow),
.contact-card p {
  color: var(--muted);
  line-height: 1.68;
}

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

.contact-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
}

.contact-card span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(53, 234, 217, 0.18);
  border-radius: 999px;
  background: rgba(53, 234, 217, 0.08);
  color: #c9fff8;
  font-size: 0.8rem;
  font-weight: 900;
}

.contact-card h2 {
  font-size: clamp(1.5rem, 2vw, 2.2rem);
}

.contact-card .btn {
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
}

code {
  display: block;
  min-height: 64px;
  overflow-wrap: anywhere;
  margin: 18px 0 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  color: #d8fff9;
  font-family: Consolas, "SFMono-Regular", monospace;
  line-height: 1.45;
}

.copy-btn {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  color: #041111;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
}

.footer {
  width: min(1180px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.footer strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.footer span {
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 22px);
  opacity: 0;
  pointer-events: none;
  padding: 12px 16px;
  border: 1px solid rgba(53, 234, 217, 0.32);
  border-radius: 999px;
  background: rgba(8, 12, 18, 0.92);
  color: var(--text);
  box-shadow: var(--shadow);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(8, 12, 18, 0.96);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    text-align: center;
  }

  .hero,
  .wide-panel,
  .download-panel,
  .requirements-grid,
  .news-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .news-panel img {
    width: 120px;
    height: 120px;
  }

  .hero {
    min-height: auto;
  }

  .feature-grid,
  .donation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .section {
    padding: 66px 0;
  }

  .site-header {
    top: 10px;
    width: min(100% - 20px, 1180px);
  }

  h1 {
    font-size: 4.6rem;
  }

  .hero-actions,
  .download-panel,
  .contact-panel,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .feature-grid,
  .donation-grid {
    grid-template-columns: 1fr;
  }

  .wide-panel,
  .download-panel,
  .contact-panel {
    padding: 24px;
  }
}
