:root {
  --bg-main: #13112a;
  --bg-hero-1: #241c4c;
  --bg-hero-2: #3e3178;
  --bg-panel: rgba(250, 248, 255, 0.95);
  --bg-panel-dark: rgba(31, 25, 63, 0.92);
  --card-line: rgba(185, 176, 216, 0.28);
  --text-main: #f7f5ff;
  --text-dark: #2c2550;
  --text-muted: #8a82af;
  --accent-cyan: #67b6f4;
  --accent-blue: #3e67d8;
  --accent-violet: #7862d9;
  --accent-magenta: #c774b4;
  --accent-gold: #e0bb53;
  --accent-pink: #f19cca;
  --success: #22c55e;
  --danger: #ff4d5f;
  --shadow-soft: 0 18px 42px rgba(22, 16, 53, 0.25);
  --shadow-card: 0 20px 54px rgba(14, 9, 35, 0.28);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 50% 0%, rgba(114, 90, 214, 0.24), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(103, 182, 244, 0.16), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(241, 156, 202, 0.16), transparent 22%),
    linear-gradient(180deg, #100d22 0%, #181332 26%, #13112a 100%);
}
body.page-contact {
  background: #efefef;
  color: #161616;
}
body.page-download {
  background: #dedee3;
  color: #111;
}

a {
  color: inherit;
  text-decoration: none;
}
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }

.page-shell {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.container {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  background: rgba(18, 14, 36, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(198, 198, 236, 0.12);
}
.light-header {
  background: rgba(255, 255, 255, 0.96);
  border-top: 4px solid rgba(81, 49, 33, 0.75);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo-wrap img {
  width: auto;
  height: 52px;
  filter: drop-shadow(0 10px 20px rgba(83, 73, 166, 0.32));
}
.top-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.dark-nav a,
.dark-nav a.active,
.dark-nav a:hover { color: #161616; }
.icon-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(198, 198, 236, 0.18);
  background: linear-gradient(135deg, rgba(199, 116, 180, 0.24), rgba(103, 182, 244, 0.24));
  box-shadow: 0 10px 26px rgba(24, 18, 60, 0.34);
  transition: transform .18s ease, filter .18s ease;
  color: #fff;
}
.light-icons .icon-btn {
  color: #161616;
  background: #fff;
  border-color: rgba(0, 0, 0, 0.10);
  box-shadow: none;
}
.icon-btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.icon-btn img { width: 22px; height: 22px; }
.icon-btn svg { width: 22px; height: 22px; }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(198, 198, 236, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.dark-btn {
  color: #161616;
  background: #fff;
  border-color: rgba(0, 0, 0, 0.10);
}
.menu-btn svg { width: 24px; height: 24px; }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 24;
  background: rgba(0, 0, 0, 0.58);
}
.mobile-overlay.show { display: block; }
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(82vw, 320px);
  z-index: 25;
  transform: translateX(-100%);
  transition: transform .24s ease;
  background: rgba(25, 20, 49, 0.98);
  border-right: 1px solid rgba(198, 198, 236, 0.14);
  box-shadow: 20px 0 48px rgba(0, 0, 0, 0.35);
  padding: 16px;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-close {
  border: none;
  background: transparent;
  color: #ff8ba5;
  font-weight: 700;
  margin-bottom: 12px;
}
.drawer-nav {
  display: grid;
  gap: 10px;
}
.drawer-nav a,
.drawer-nav button {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text-main);
  text-align: left;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 118px;
  background:
    radial-gradient(circle at top left, rgba(103, 182, 244, 0.20), transparent 24%),
    radial-gradient(circle at top right, rgba(241, 156, 202, 0.18), transparent 22%),
    linear-gradient(135deg, var(--bg-hero-1) 0%, var(--bg-hero-2) 52%, #2f2863 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 32px 8px 132px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero .typing {
  min-height: 52px;
  margin-top: 16px;
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.35rem, 4vw, 2.2rem);
  color: var(--accent-gold);
  text-shadow: 0 0 18px rgba(224, 187, 83, 0.12);
}
.hero p {
  margin: 16px 0 0;
  max-width: 720px;
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  line-height: 1.5;
}

.verify-wrap {
  margin-top: -70px;
  position: relative;
  z-index: 5;
}
.verify-card,
.info-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}
.verify-card {
  background: var(--bg-panel);
  color: var(--text-dark);
  padding: 20px;
  border: 1px solid rgba(120, 98, 217, 0.14);
}
.verify-form {
  display: flex;
  gap: 12px;
  align-items: center;
}
.verify-form input {
  flex: 1;
  height: 58px;
  border-radius: 14px;
  border: 1px solid rgba(120, 98, 217, 0.18);
  padding: 0 18px;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.4);
}
.verify-form input::placeholder { color: #7d73a7; }
.verify-form input:focus {
  outline: none;
  border-color: rgba(103, 182, 244, 0.48);
  box-shadow: 0 0 0 3px rgba(103, 182, 244, 0.14);
}
.primary-btn,
.secondary-btn,
.list-btn,
.simple-link-btn {
  border: none;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-magenta), var(--accent-cyan));
  box-shadow: 0 12px 26px rgba(61, 44, 121, 0.22);
}
.primary-btn { min-width: 112px; height: 52px; padding: 0 20px; border-radius: 14px; }
.secondary-btn,
.simple-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
}
.simple-link-btn.secondary {
  background: linear-gradient(135deg, #f0a8bf, #9fc6ff);
}
.status-text {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.links-card {
  margin-top: 24px;
  background: linear-gradient(145deg, rgba(38, 31, 76, 0.92), rgba(27, 22, 56, 0.94));
  color: var(--text-main);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(198, 198, 236, 0.1);
  box-shadow: var(--shadow-card);
  padding: 18px;
}
.links-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid rgba(103, 182, 244, 0.24);
  background: rgba(103, 182, 244, 0.10);
}
.links-title {
  margin: 0;
  font-size: 1.6rem;
}
.links-subtitle {
  margin: 4px 0 0;
  color: #d7d2f0;
  font-size: 0.98rem;
}
.links-list {
  display: grid;
  gap: 12px;
}
.link-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(198, 198, 236, 0.08);
}
.row-index {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #e53e5b, #c51d38);
  flex: 0 0 auto;
}
.row-domain {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.row-main {
  flex: 1;
  min-width: 0;
}
.row-note {
  margin-top: 4px;
  font-size: 0.84rem;
  color: #bbb2db;
}
.list-btn {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 12px;
}

.content-section {
  padding: 26px 0 60px;
}
.info-grid {
  display: grid;
  gap: 20px;
}
.info-card {
  background: rgba(248, 245, 255, 0.96);
  color: var(--text-dark);
  padding: 24px;
  border: 1px solid rgba(120, 98, 217, 0.10);
}
.info-card h2 {
  margin: 0 0 14px;
  color: #5c48b2;
  font-size: 1.65rem;
}
.info-card p { color: #463d74; line-height: 1.62; }
.table-card {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(54, 42, 106, 0.10);
  border: 1px solid rgba(105, 84, 170, 0.14);
  margin-top: 16px;
}
.table-head,
.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.table-card.cols-3 .table-head,
.table-card.cols-3 .table-row {
  grid-template-columns: minmax(110px, 1fr) minmax(140px, 1.1fr) minmax(110px, 1fr);
}
.table-head {
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-magenta));
}
.table-head span,
.table-row span { padding: 12px 14px; text-align: center; }
.table-row {
  background: rgba(255,255,255,0.72);
  border-top: 1px solid rgba(105, 84, 170, 0.12);
}
.table-card.cols-3 .table-head span,
.table-card.cols-3 .table-row span {
  padding: 12px 10px;
  font-size: 0.95rem;
}
.feature-list {
  margin: 16px 0 0;
  padding-left: 20px;
}
.feature-list li { margin-top: 10px; color: #463d74; }
.feature-list strong { color: #5e4da8; }

.simple-page-main {
  padding-top: 76px;
}
.contact-simple-wrap {
  min-height: calc(100vh - 76px);
  background: #efefef;
  padding: 30px 0 50px;
}
.contact-simple-container {
  max-width: 860px;
}
.contact-simple-card {
  width: min(100%, 680px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  padding: 18px 14px;
  color: #111;
}
.contact-simple-card h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 600;
}
.contact-simple-card p {
  margin: 0 0 10px;
  line-height: 1.5;
  color: #111;
  font-size: 1.05rem;
}
.contact-email-line a {
  color: #ff4d4f;
  font-weight: 700;
}
.contact-simple-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.site-footer {
  border-top: 1px solid rgba(198,198,236,0.12);
  background: rgba(16, 12, 31, 0.92);
  color: #bdb5dd;
  text-align: center;
  padding: 18px 16px 100px;
}
.site-footer a { color: #d0c3ff; font-weight: 700; text-decoration: underline; }

.mobile-download {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 18;
  display: none;
  background: linear-gradient(135deg, #2b2354, #44327e, #355da9);
  border-top: 1px solid rgba(198,198,236,0.18);
  box-shadow: 0 -18px 40px rgba(17, 13, 35, 0.35);
}
.mobile-download .inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
}
.mobile-download img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.18);
}
.mobile-download .text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mobile-download .text strong { font-size: 1rem; }
.mobile-download .text span { font-size: 0.88rem; color: rgba(255,255,255,0.85); }
.mobile-download .download-btn {
  margin-left: auto;
  border: none;
  border-radius: 16px;
  padding: 10px 14px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-cyan));
}
.floating-telegram {
  position: fixed;
  right: 14px;
  bottom: 102px;
  z-index: 19;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(199, 116, 180, 0.24), rgba(103, 182, 244, 0.24));
  border: 1px solid rgba(198, 198, 236, 0.18);
  box-shadow: 0 10px 22px rgba(35,26,74,0.35);
}
.floating-telegram img { width: 28px; height: 28px; }

.verify-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}
.verify-modal.show { display: block; }
.verify-modal .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.36);
}
.verify-modal .dialog {
  position: relative;
  width: min(92vw, 410px);
  margin: min(20vh, 160px) auto 0;
  padding: 26px 22px;
  border-radius: 18px;
  background: #fff;
  color: #111;
  text-align: center;
  box-shadow: 0 18px 48px rgba(0,0,0,0.26);
}
.verify-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
}
.verify-icon.success { background: var(--success); }
.verify-icon.error { background: var(--danger); }
.verify-icon svg {
  width: 30px;
  height: 30px;
  display: block;
  stroke: #111;
  stroke-width: 2.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.verify-modal p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 800;
}

.download-page-main {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}
.download-shell {
  position: relative;
  width: min(100vw, 390px);
  min-height: 100vh;
  background: #dedee3;
}
.download-topbar {
  height: 48px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  padding: 0 4px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.download-back {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333;
}
.download-back svg {
  width: 22px;
  height: 22px;
}
.download-title {
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
}
.download-content {
  padding: 22px 12px 120px;
}
.download-banner {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.download-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.download-actions {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  padding: 0 24px;
}
.install-btn {
  height: 52px;
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(0,0,0,0.10);
}
.install-btn.quick {
  background: linear-gradient(135deg, #f4b000, #eda300);
}
.install-btn.full {
  background: linear-gradient(135deg, #ff6c6a, #f04d66);
}
.btn-icon {
  font-size: 0.95rem;
  line-height: 1;
}
.customer-service-float {
  position: absolute;
  right: 14px;
  bottom: 26px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 5px solid #ffd7d1;
  background: linear-gradient(135deg, #ff8e7a, #ff5c72);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.customer-service-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

@media (min-width: 900px) {
  .contact-simple-wrap {
    padding-top: 86px;
  }
  .download-page-main {
    padding: 30px 16px;
  }
  .download-shell {
    min-height: 760px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(18, 14, 36, 0.22);
  }
}

@media (max-width: 860px) {
  .nav-links,
  .icon-actions { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 680px) {
  .hero-inner { padding-bottom: 112px; }
  .verify-wrap { margin-top: -48px; }
  .verify-form { flex-direction: column; }
  .primary-btn { width: 100%; }
  .links-top { flex-direction: column; align-items: flex-start; }
  .link-row { align-items: flex-start; flex-wrap: wrap; }
  .list-btn { width: 100%; }
  .mobile-download { display: block; }
  .site-footer { padding-bottom: 100px; }
}
