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

:root {
  --c1: #6C3EF4;
  --c2: #A855F7;
  --c3: #EC4899;
  --bg: #0A0A0F;
  --bg2: #111118;
  --bg3: #18181F;
  --text: #F1F0FF;
  --muted: #9B9AAA;
  --border: rgba(108, 62, 244, 0.25);
  --card: rgba(255, 255, 255, 0.04);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.read-progress {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 99;
}

.read-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #6C3EF4, #EC4899);
  transition: width 0.1s;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 64px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-link {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--text);
  background: rgba(108, 62, 244, 0.15);
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #A78BFA, #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* NAV LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* HAMBURGER */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: all 0.3s;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--text);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--text);
}

/* MOBILE DRAWER */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 5vw 20px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a,
.mobile-drawer button {
  display: block;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.mobile-drawer a:hover,
.mobile-drawer button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-drawer a.active {
  color: var(--text);
  background: rgba(108, 62, 244, 0.12);
}

.mobile-drawer .drawer-cta {
  margin-top: 8px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--c1), var(--c3));
  color: #fff;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
}

.lang-toggle {
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg3);
}

.lang-btn {
  padding: 4px 14px;
  font-size: 13px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--muted);
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--c1);
  color: #fff;
}

.nav-cta {
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(135deg, var(--c1), var(--c3));
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.85;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 5vw 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 62, 244, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.4);
  background: rgba(168, 85, 247, 0.1);
  font-size: 13px;
  color: #C084FC;
  margin-bottom: 32px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #A855F7;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

h1 {
  font-size: clamp(36px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.grad {
  background: linear-gradient(135deg, #A78BFA 0%, #EC4899 50%, #F97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 2.5vw, 22px);
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 48px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 64px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--c1), var(--c3));
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 32px rgba(108, 62, 244, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 40px rgba(108, 62, 244, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* TIMER */
.timer-section {
  background: var(--bg2);
  padding: 60px 5vw;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.timer-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--muted);
  margin-bottom: 8px;
}

.timer-title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 32px;
}

.timer-grid {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 32px);
  flex-wrap: wrap;
}

.timer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(16px, 3vw, 28px) clamp(20px, 4vw, 40px);
  min-width: 90px;
}

.timer-num {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #A78BFA, #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}

.timer-unit {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.timer-price {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 20px 36px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(108, 62, 244, 0.15), rgba(236, 72, 153, 0.15));
  border: 1px solid rgba(168, 85, 247, 0.3);
  flex-wrap: wrap;
  justify-content: center;
}

.price-big {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  color: #fff;
}

.price-desc {
  font-size: 14px;
  color: var(--muted);
  text-align: left;
  max-width: 200px;
}

/* OFFER */
.offer-banner {
  background: linear-gradient(135deg, rgba(108, 62, 244, 0.2), rgba(236, 72, 153, 0.2));
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 16px;
  padding: 24px 32px;
  margin: 0 5vw;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.offer-icon {
  font-size: 32px;
}

.offer-text h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.offer-text p {
  color: var(--muted);
  font-size: 14px;
}

/* SECTIONS */
section {
  padding: 80px 5vw;
}

.section-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--c2);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-sub {
  color: var(--muted);
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 48px;
}

/* WHO */
.who-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.who-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

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

.who-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.who-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.who-card p {
  font-size: 13px;
  color: var(--muted);
}

/* FEATURES */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.feat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s;
}

.feat-card:hover {
  border-color: rgba(168, 85, 247, 0.5);
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.feat-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feat-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.feat-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.15);
  color: #4ADE80;
}

/* NEXT VERSION */
.next-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.next-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--muted);
}

.next-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c2);
  flex-shrink: 0;
}

/* COMPARE */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare-table th {
  padding: 16px;
  text-align: center;
  font-weight: 700;
  background: var(--bg2);
  border: 1px solid var(--border);
}

.compare-table th:first-child {
  text-align: left;
}

.compare-table td {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  color: var(--muted);
}

.compare-table td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 500;
}

.compare-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.check {
  color: #4ADE80;
  font-size: 18px;
}

.cross {
  color: #F87171;
  font-size: 18px;
}

.highlight-col {
  background: rgba(108, 62, 244, 0.08) !important;
}

.compare-table th.ours {
  background: linear-gradient(135deg, rgba(108, 62, 244, 0.3), rgba(236, 72, 153, 0.2));
  color: #fff;
}

/* MOBILE HINT */
.mobile-hint {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.mobile-screen {
  width: 120px;
  height: 220px;
  border-radius: 24px;
  background: var(--bg3);
  border: 2px solid rgba(168, 85, 247, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 48px;
}

.mobile-text h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.mobile-text p {
  color: var(--muted);
  margin-bottom: 16px;
}

/* CTA BOTTOM */
.cta-bottom {
  text-align: center;
  padding: 100px 5vw;
  background: linear-gradient(180deg, transparent, rgba(108, 62, 244, 0.08));
}

.cta-bottom h2 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.cta-bottom p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 40px;
}

/* FOOTER */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 5vw;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

/* UTILS */
.text-center {
  text-align: center;
}

.tg-icon {
  font-size: 18px;
}

/* PROMO BLOCK */
.promo-block {
  background: linear-gradient(135deg, rgba(108, 62, 244, 0.18), rgba(236, 72, 153, 0.18));
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 20px;
  padding: 48px 40px;
  margin: 0 5vw 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 760px) {
  .promo-block {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}

.promo-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: rgba(236, 72, 153, 0.2);
  color: #F9A8D4;
  margin-bottom: 16px;
}

.promo-block h3 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}

.promo-block p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.promo-list {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.promo-check {
  color: #4ADE80;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.promo-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 24px;
}

.promo-stat-num {
  font-size: 40px;
  font-weight: 900;
  background: linear-gradient(135deg, #A78BFA, #EC4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.promo-stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

.promo-deadline {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 14px;
  color: #FDE047;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* CONSULTATION MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: auto;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  position: relative;
}

.modal h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.modal-channel:hover {
  border-color: var(--c1);
  background: rgba(108, 62, 244, 0.1);
}

.modal-channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.modal-channel-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.modal-channel-text span {
  font-size: 13px;
  color: var(--muted);
}

.modal-viber-soon {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 600px) {
  .compare-table {
    font-size: 12px;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 8px;
  }

  .mobile-hint {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-banner {
    flex-direction: column;
  }
}

@media (max-width: 1200px) {
  .nav-links {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .logo {
    font-size: 20px;
  }
}

@media (max-width: 400px) {
  .logo {
    font-size: 18px;
  }

  nav {
    padding: 0 4vw;
  }
}








/*nav*/
/* ═══════════════════════════════════════════════════════
   nav-dropdown.css
   Стилі для випадаючого меню "Для кого" у навігації
   Підключити після style.css:
   <link rel="stylesheet" href="/style/nav-dropdown.css?v=1.0">
   ═══════════════════════════════════════════════════════ */

/* ── DESKTOP DROPDOWN ── */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-dropdown-btn:hover,
.nav-dropdown.open .nav-dropdown-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown-arrow {
  font-size: 9px;
  transition: transform 0.25s;
  display: inline-block;
}

.nav-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

/* ── MENU PANEL ── */
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: rgba(16, 16, 22, 0.97);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  gap: 32px;
  min-width: 680px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  animation: dropdownIn 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: flex;
}

@keyframes dropdownIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* ── КОЛОНКИ ── */
.nav-dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 160px;
}

.nav-dropdown-group-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c2, #A855F7);
  margin-bottom: 8px;
  padding: 0 10px;
}

/* ── ПУНКТИ МЕНЮ ── */
.nav-dropdown-item {
  display: block;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  color: var(--text);
  background: rgba(108, 62, 244, 0.12);
}

/* Акцентний пункт (CRM без підписки) */
.nav-dropdown-item--accent {
  color: #A78BFA !important;
  font-weight: 600;
}

.nav-dropdown-item--accent:hover {
  color: #fff;
  background: rgba(108, 62, 244, 0.2);
}

/* ── МОБІЛЬНИЙ АКОРДЕОН ── */
.mobile-accordion {
  width: 100%;
}

.mobile-accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s, background 0.2s;
}

.mobile-accordion-btn:hover,
.mobile-accordion.open .mobile-accordion-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.mobile-accordion-arrow {
  font-size: 9px;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.mobile-accordion.open .mobile-accordion-arrow {
  transform: rotate(180deg);
}

/* ── ТІЛО АКОРДЕОНУ ── */
.mobile-accordion-body {
  display: none;
  flex-direction: column;
  padding: 4px 0 8px 16px;
  gap: 0;
}

.mobile-accordion.open .mobile-accordion-body {
  display: flex;
}

/* Заголовки груп у мобільному меню */
.mobile-accordion-group {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c2, #A855F7);
  padding: 12px 16px 4px;
}

/* Посилання всередині акордеону */
.mobile-accordion-body a {
  display: block;
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.mobile-accordion-body a:hover {
  color: var(--text);
  background: rgba(108, 62, 244, 0.1);
}

.mobile-accordion-accent {
  color: #A78BFA !important;
  font-weight: 600 !important;
}

/* ── ЗАКРИТИ ДРОПДАУН КЛІКОМ ПОЗА НИМ ── */
.nav-dropdown-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
}

.nav-dropdown-overlay.active {
  display: block;
}

/* ── АДАПТИВ: ховаємо desktop dropdown на мобільному ── */
@media (max-width: 1200px) {
  .nav-dropdown {
    display: none;
  }
}

/* ── МОБІЛЬНИЙ DRAWER — скрол при переповненні ── */
.mobile-drawer {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* плавний скрол на iOS */
  max-height: calc(100vh - 64px);
  /* 64px = висота nav */
  overscroll-behavior: contain;
  /* щоб скрол не "протікав" на body */
}

/* ── АКОРДЕОН ВСЕРЕДИНІ DRAWER ── */
.mobile-accordion-body {
  /* прибираємо max-height щоб не обрізало вміст */
  max-height: none;
}

/* ── КОЛИ DRAWER ВІДКРИТО — блокуємо скрол BODY ── */
body.drawer-open {
  overflow: hidden;
}



/* ══════════════════════════════════════════
   callback.css — віджет замовлення дзвінка
   Підключити: <link rel="stylesheet" href="/style/callback.css?v=1.0">
══════════════════════════════════════════ */

.cb-pill {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: none;
  /* показується через JS через 3 сек */
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  border-radius: 50px;
  background: linear-gradient(135deg, #6C3EF4, #EC4899);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  box-shadow: 0 8px 32px rgba(108, 62, 244, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
  animation: cb-slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.cb-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(108, 62, 244, 0.65);
}

.cb-pill:active {
  transform: translateY(0);
}

.cb-pill-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

@keyframes cb-slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.cb-modal-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1001;
  width: 340px;
  background: #18181F;
  border: 1px solid rgba(108, 62, 244, 0.35);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(108, 62, 244, 0.35);
  overflow: hidden;
  animation: cb-popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform-origin: bottom right;
}

@keyframes cb-popIn {
  from {
    opacity: 0;
    transform: scale(0.7);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cb-modal-head {
  background: linear-gradient(135deg, #6C3EF4, #EC4899);
  padding: 20px 20px 18px;
  position: relative;
}

.cb-modal-head-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
}

.cb-modal-head h3 {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}

.cb-modal-head p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.4;
}

.cb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.cb-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.cb-modal-body {
  padding: 20px;
}

.cb-label {
  font-size: 12px;
  font-weight: 600;
  color: #9B9AAA;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.cb-input-wrap {
  position: relative;
  margin-bottom: 14px;
}

.cb-input {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 16px 13px 44px;
  border-radius: 12px;
  border: 1px solid rgba(108, 62, 244, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #F1F0FF;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.cb-input::placeholder {
  color: #9B9AAA;
}

.cb-input:focus {
  border-color: #6C3EF4;
  box-shadow: 0 0 0 3px rgba(108, 62, 244, 0.18);
}

.cb-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  pointer-events: none;
}

.cb-btn {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #6C3EF4, #EC4899);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(108, 62, 244, 0.4);
}

.cb-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.cb-btn:active {
  transform: translateY(0);
}

.cb-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.cb-state {
  display: none;
}

.cb-state.active {
  display: block;
}

.cb-loader {
  text-align: center;
  padding: 10px 0 6px;
  color: #9B9AAA;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cb-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(108, 62, 244, 0.25);
  border-top-color: #6C3EF4;
  border-radius: 50%;
  animation: cb-spin 0.7s linear infinite;
  flex-shrink: 0;
}

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

.cb-success {
  text-align: center;
  padding: 8px 0 4px;
}

.cb-success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.15);
  border: 2px solid rgba(74, 222, 128, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 12px;
}

.cb-success h4 {
  font-size: 16px;
  font-weight: 800;
  color: #4ADE80;
  margin: 0 0 6px;
}

.cb-success p {
  font-size: 13px;
  color: #9B9AAA;
  margin: 0;
  line-height: 1.5;
}

.cb-error-msg {
  font-size: 12px;
  color: #F87171;
  margin-top: 8px;
  display: none;
}

.cb-error-msg.show {
  display: block;
}

.cb-modal-foot {
  padding: 0 20px 16px;
  text-align: center;
  font-size: 11px;
  color: #555;
}

@media (max-width: 400px) {

  .cb-modal-wrap,
  .cb-pill {
    right: 12px;
    bottom: 12px;
  }

  .cb-modal-wrap {
    width: calc(100vw - 24px);
  }
}




/*Bot css*/
/* GYMS CRM Robot — global styles */


:root {
  --bg-0: #0A0A0F;
  --bg-1: #111118;
  --bg-2: #18181F;
  --bg-3: #1f1f29;
  --purple: #6C3EF4;
  --violet: #A855F7;
  --pink: #EC4899;
  --text: #F1F0FF;
  --muted: #9B9AAA;
  --line: rgba(168, 85, 247, 0.18);
  --line-strong: rgba(168, 85, 247, 0.35);

  --font: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}



/* Override design canvas chrome to match dark theme */
:root {
  --dc-bg: var(--bg-0);
  --dc-surface: var(--bg-1);
  --dc-border: var(--line);
  --dc-text: var(--text);
  --dc-muted: var(--muted);
}

/* === Robot wrapper === */
.robot-wrap {
  position: relative;
  display: inline-block;
}

.robot-wrap svg {
  display: block;
}

.robot-shadow {
  position: absolute;
  bottom: 6%;
  left: 18%;
  right: 18%;
  height: 10px;
  background: radial-gradient(ellipse, rgba(108, 62, 244, 0.5), rgba(0, 0, 0, 0) 70%);
  filter: blur(4px);
  z-index: -1;
  animation: shadow-pulse 3.4s ease-in-out infinite;
}

/* === Animations === */
@keyframes float-idle {

  0%,
  100% {
    transform: translateY(0) rotate(-0.5deg);
  }

  50% {
    transform: translateY(-6px) rotate(0.5deg);
  }
}

@keyframes shadow-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(0.85);
    opacity: 0.45;
  }
}

@keyframes wave-arm {

  0%,
  100% {
    transform: rotate(-8deg);
  }

  50% {
    transform: rotate(18deg);
  }
}

@keyframes blink {

  0%,
  92%,
  96%,
  100% {
    transform: scaleY(1);
  }

  94% {
    transform: scaleY(0.1);
  }
}

@keyframes antenna-blink {

  0%,
  50%,
  100% {
    opacity: 1;
  }

  60%,
  90% {
    opacity: 0.3;
  }
}

@keyframes chest-led-pulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

@keyframes think-dot {

  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes success-bounce {
  0% {
    transform: scale(0.5) translateY(20px);
    opacity: 0;
  }

  50% {
    transform: scale(1.15) translateY(-4px);
    opacity: 1;
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

@keyframes notify-shake {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-12deg);
  }

  75% {
    transform: rotate(12deg);
  }
}

/* All robots breathe by default */
.robot-wrap svg {
  animation: float-idle 4s ease-in-out infinite;
  transform-origin: center 80%;
}

.robot-anim-idle svg {
  animation-duration: 4s;
}

.robot-anim-wave svg {
  animation-duration: 3s;
}

.robot-anim-success svg {
  animation: success-bounce 0.9s cubic-bezier(.5, 1.6, .4, 1) both, float-idle 4s ease-in-out 0.9s infinite;
}

.robot-anim-thinking svg {
  animation-duration: 2.4s;
}

.robot-anim-notify svg {
  animation-duration: 4s;
}

.antenna-blink {
  animation: antenna-blink 2.4s ease-in-out infinite;
  transform-origin: center;
}

.chest-led {
  animation: chest-led-pulse 2.2s ease-in-out infinite;
}

.eye-blink {
  animation: blink 5s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

.arm-wave-pivot {
  animation: wave-arm 0.7s ease-in-out infinite;
}

.robot-anim-wave .arm-wave-pivot {
  animation-duration: 0.6s;
}

.robot-anim-notify .arm-wave-pivot {
  animation: notify-shake 0.8s ease-in-out infinite;
}

.think-dot {
  transform-origin: center;
  transform-box: fill-box;
}

.think-dot-1 {
  animation: think-dot 1.4s ease-in-out infinite 0s;
}

.think-dot-2 {
  animation: think-dot 1.4s ease-in-out infinite 0.2s;
}

.think-dot-3 {
  animation: think-dot 1.4s ease-in-out infinite 0.4s;
}

/* === Sticker frame === */
.sticker-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 55%, rgba(108, 62, 244, 0.18), transparent 70%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
}

.sticker-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
}

.sticker-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 1px solid var(--line);
  pointer-events: none;
}

.sticker-label {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.sticker-num {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--violet);
  letter-spacing: 0.1em;
}

/* === Holographic UI elements held by robot === */
.holo-card {
  fill: rgba(108, 62, 244, 0.08);
  stroke: var(--violet);
  stroke-width: 0.8;
}

.holo-text {
  fill: var(--text);
  font-family: var(--mono);
}

.holo-accent {
  fill: var(--pink);
}

/* Floating particles around robot */
@keyframes particle-float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }

  10% {
    opacity: 0.8;
  }

  90% {
    opacity: 0.8;
  }

  100% {
    transform: translateY(-60px) translateX(var(--px, 10px));
    opacity: 0;
  }
}

/* === Section headers in canvas === */
.canvas-section-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 28px;
  color: var(--text);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.canvas-section-sub {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--violet);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* === UX integration cards === */
.ux-card {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.ux-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}

.ux-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ux-card-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.ux-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: calc(100% - 45px);
}

/* Tweak panel overrides */
.tweak-panel {
  background: var(--bg-1) !important;
  border-color: var(--line) !important;
}

/* Spec / palette tiles */
.swatch {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.swatch-chip {
  width: 100%;
  height: 80px;
  border-radius: 12px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.swatch-name {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.swatch-hex {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text);
}

/* Callback widget */
.callback-widget {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(108, 62, 244, 0.4);
  font-weight: 600;
  color: var(--text);
}

.callback-widget .robot-wrap svg {
  animation: float-idle 3s ease-in-out infinite;
}

/* Onboarding bubble */
.speech-bubble {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text);
  max-width: 220px;
  box-shadow: 0 12px 30px rgba(108, 62, 244, 0.15);
}

.speech-bubble::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 24px;
  width: 14px;
  height: 14px;
  background: var(--bg-2);
  border-left: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  transform: rotate(45deg);
}

/* Btn pill */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(108, 62, 244, 0.35);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--text);
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font);
}

/* Scenes background star/spark */
.spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 8px var(--violet);
  pointer-events: none;
}

.bot {
  position: absolute;
  left: calc(50% - 40px);
  top: -150%;
}

.anim-1,
.anim-2 {
  display: none;
}

.bot_show {
  display: block;
}