﻿:root {
  --bg: #05060b;
  --panel: #0c0e18;
  --card: #111426;
  --text: #f4f6ff;
  --muted: #c7cbe3;
  --accent: #7cf0c1;
  --accent-2: #8fb2ff;
  --line: rgba(255, 255, 255, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(140, 178, 255, 0.1), transparent 35%),
              radial-gradient(circle at 80% 0%, rgba(124, 240, 193, 0.12), transparent 36%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.shell {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease, border 0.2s ease;
}
.btn.full { width: 100%; }

.btn.primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0a0b10;
  box-shadow: 0 12px 36px rgba(127, 214, 191, 0.35);
  background-size: 200% 200%;
}
.btn.outline {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}

.btn.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn.dark {
  background: #0b0d14;
  border: 1px solid var(--line);
  color: var(--text);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn.primary:hover {
  background-position: 100% 0;
  box-shadow: 0 14px 42px rgba(127, 214, 191, 0.45), 0 0 18px rgba(143, 178, 255, 0.35);
}
.btn.outline {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}
.btn.outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn.outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 26px;
  background: rgba(5, 6, 11, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(0,0,0,0.28);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo {
  width: 48px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  overflow: hidden;
}

.nav__logo img {
  display: block;
}

.nav__text strong { letter-spacing: 0.04em; font-size: 15px; }
.nav__text small { display: block; color: var(--muted); font-size: 11px; letter-spacing: 0.03em; }

.nav__links { display: flex; gap: 12px; justify-content: center; }
.nav__links a {
  position: relative;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  font-weight: 650;
  color: var(--text);
  transition: border 0.2s ease, color 0.2s ease, background 0.25s ease, transform 0.2s ease;
  background: rgba(255,255,255,0.02);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
  border-radius: 999px;
}
.nav__links a:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}
.nav__links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}
.nav__links a:active {
  transform: translateY(0);
}

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav .phone { font-weight: 700; letter-spacing: 0.02em; }

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(12, 14, 24, 0.82), rgba(10, 12, 20, 0.7));
  z-index: 0;
  pointer-events: none;
}

.hero__bg .grid-lines {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02), transparent 60%),
              repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 60px),
              repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 60px);
  mask: radial-gradient(circle at 50% 45%, rgba(0,0,0,0.8), transparent 70%);
  animation: gridMove 22s linear infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.95;
  mix-blend-mode: screen;
}

.orb.o1 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(124, 240, 193, 0.8), transparent 62%);
  top: 14%;
  left: 12%;
  animation: float1 18s ease-in-out infinite;
}

.orb.o2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(143, 178, 255, 0.78), transparent 68%);
  top: 28%;
  right: 8%;
  animation: float2 20s ease-in-out infinite;
}

.orb.o3 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 190, 59, 0.6), transparent 68%);
  bottom: 6%;
  left: 40%;
  animation: float3 16s ease-in-out infinite;
}

.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; align-items: center; }

.hero__content h1 {
  margin: 6px 0 12px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.lede { color: var(--muted); margin: 0 0 18px; max-width: 600px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }

.hero__chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.hero__chips li { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-weight: 600; }

.hero__panel {
  background: rgba(17, 20, 38, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

.stat { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: linear-gradient(120deg, rgba(124, 240, 193, 0.08), rgba(143, 178, 255, 0.08)); }
.stat span { display: block; font-size: 28px; font-weight: 700; color: var(--accent); }
.stat p { margin: 4px 0 0; color: var(--muted); }

/* Sections */
.section { padding: 70px 0; position: relative; }
.section::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); pointer-events: none; }
.section__head { margin: 0 0 26px; width: 100%; }
.section__head h2 { margin: 6px 0 0; font-size: clamp(30px, 4vw, 44px); }
.section__head.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: auto;
}
.section__head.center > * { max-width: none; width: auto; }

.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; color: var(--accent-2); margin: 0; }
.muted { color: var(--muted); }
.muted.small { font-size: 13px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.cards.wide { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  animation: fadeUp 0.9s ease forwards;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, background 0.25s ease;
  overflow: hidden;
  will-change: transform, box-shadow, opacity;
}

.card .icon { font-size: 22px; }
.card p { margin: 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.stats strong { display: block; color: var(--accent); font-size: 18px; }
.stats span { color: var(--muted); font-size: 13px; }

.section.alt { background: linear-gradient(180deg, #0c0f1c, #0a0c16); }

/* How it works */
.how { background: linear-gradient(180deg, #0b0e18, #0a0c14); }
.how__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  justify-items: center;
  margin-top: 22px;
  padding-top: 12px;
}
.how__card {
  position: relative;
  width: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(143, 178, 255, 0.16), transparent 46%), #0f1322;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 22px 26px;
  box-shadow: 0 26px 60px rgba(0,0,0,0.32);
  display: grid;
  gap: 12px;
  min-height: 240px;
  text-align: center;
  animation: fadeUp 0.9s ease forwards;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, background 0.25s ease;
  overflow: visible;
  will-change: transform, box-shadow, opacity;
}
.how__badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-2), #5f8cff);
  color: #0a0b10;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(95, 140, 255, 0.45);
  z-index: 2;
}
.how__icon { font-size: 28px; line-height: 1; color: var(--accent-2); margin-top: 6px; }
.how__card h3 { margin: 10px 0 0; font-size: 19px; }
.how__cta { margin-top: 24px; display: flex; justify-content: center; }
.how__cta .btn { min-width: 260px; padding-inline: 28px; box-shadow: 0 16px 40px rgba(95, 140, 255, 0.32); }

/* Results */
.results { background: linear-gradient(180deg, #0a0c14, #090b12); }
.results__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 22px;
  padding-top: 10px;
}
.result__card {
  background: linear-gradient(150deg, rgba(124, 240, 193, 0.08), rgba(143, 178, 255, 0.06), rgba(10, 12, 20, 0.9));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  display: grid;
  gap: 8px;
  min-height: 150px;
  animation: fadeUp 0.9s ease forwards;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, background 0.25s ease;
  overflow: hidden;
  will-change: transform, box-shadow, opacity;
}
.result__value {
  font-size: 30px;
  font-weight: 800;
  color: var(--accent);
}

/* Animations */
@keyframes float1 {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(40px, -30px, 0) scale(1.05); }
  100% { transform: translate3d(0,0,0) scale(1); }
}
@keyframes float2 {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-30px, 20px, 0) scale(1.08); }
  100% { transform: translate3d(0,0,0) scale(1); }
}
@keyframes float3 {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(20px, -20px, 0) scale(0.96); }
  100% { transform: translate3d(0,0,0) scale(1); }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes floatIcon {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

@keyframes gridMove {
  0% { background-position: 0 0, 0 0, 0 0; }
  100% { background-position: 80px 40px, 80px 0, 0 60px; }
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border 0.2s ease, color 0.2s ease;
}
.social-link svg {
  width: 22px;
  height: 22px;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.social-link--wa { color: #25d366; }
.social-link--wa:hover { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
.social-link--tg { color: #26a5e4; }
.social-link--tg:hover { box-shadow: 0 8px 24px rgba(38, 165, 228, 0.35); }
.social-link--vb { color: #7360f2; }
.social-link--vb:hover { box-shadow: 0 8px 24px rgba(115, 96, 242, 0.35); }

.admin-gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg);
  padding: 24px 16px;
}
.admin-hidden { display: none; }

/* Hover lifts */
.card:hover,
.how__card:hover,
.result__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.12);
}
.steps .step {
  transition: border-color 0.2s ease, background 0.25s ease, transform 0.2s ease;
}
.steps .step:hover {
  border-color: rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.02);
  transform: translateY(-4px);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 40;
}
.modal-overlay.active { display: flex; }
.modal {
  position: relative;
  width: min(420px, 92vw);
  background: #0f111c;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0,0,0,0.4);
  padding: 22px 22px 18px;
  animation: fadeUp 0.4s ease forwards;
}
.modal h3 { margin: 0 0 8px; }
.modal .muted.small { margin: 0 0 14px; }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.modal-close:hover { border-color: var(--accent); }
.modal-form {
  display: grid;
  gap: 10px;
}
.modal-form label { display: grid; gap: 6px; font-weight: 600; }
.modal-form input {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #090b14;
  color: var(--text);
  font: inherit;
}
.modal-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 240, 193, 0.2);
}
.auth-tabs {
  display: inline-flex;
  gap: 6px;
  margin: 0 0 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
}
.auth-tab {
  border: none;
  background: transparent;
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}
.auth-tab.active {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0a0b10;
}
.auth-panel.hidden { display: none; }

/* Animated glows */
.card::after,
.how__card::after,
.result__card::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255,255,255,0.08), transparent 60%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}
.card:hover::after,
.how__card:hover::after,
.result__card:hover::after {
  transform: scale(1);
  opacity: 1;
}

/* Staggered entrance */
.cards .card:nth-child(1) { animation-delay: 0.05s; }
.cards .card:nth-child(2) { animation-delay: 0.12s; }
.cards .card:nth-child(3) { animation-delay: 0.18s; }
.cards .card:nth-child(4) { animation-delay: 0.24s; }
.cards .card:nth-child(5) { animation-delay: 0.3s; }
.cards .card:nth-child(6) { animation-delay: 0.36s; }

.how__grid .how__card:nth-child(1) { animation-delay: 0.08s; }
.how__grid .how__card:nth-child(2) { animation-delay: 0.16s; }
.how__grid .how__card:nth-child(3) { animation-delay: 0.24s; }

.results__grid .result__card:nth-child(1) { animation-delay: 0.08s; }
.results__grid .result__card:nth-child(2) { animation-delay: 0.14s; }
.results__grid .result__card:nth-child(3) { animation-delay: 0.2s; }
.results__grid .result__card:nth-child(4) { animation-delay: 0.26s; }

.steps .step:nth-child(1) { animation: fadeUp 0.8s ease forwards 0.08s; }
.steps .step:nth-child(2) { animation: fadeUp 0.8s ease forwards 0.16s; }
.steps .step:nth-child(3) { animation: fadeUp 0.8s ease forwards 0.24s; }

/* Icon motion on hover */
.card:hover .icon,
.how__card:hover .how__icon,
.result__card:hover .result__value {
  animation: floatIcon 0.9s ease-in-out infinite alternate;
}
.badge { transition: transform 0.2s ease; }
.step:hover .badge { transform: translateY(-2px); }


/* Steps */
.steps { display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.badge { padding: 8px 14px; border-radius: 999px; background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #0a0b10; font-weight: 800; }

.price { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: rgba(124, 240, 193, 0.1); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.price__value { font-size: 26px; font-weight: 800; color: var(--accent); }

/* Contact */
.contact { background: linear-gradient(180deg, #0b0d15, #0c0f1c); }
.contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: center; }
.contact__text h2 { margin: 0 0 12px; font-size: clamp(30px, 4.5vw, 44px); }
.contact__text .accent { color: var(--accent-2); }

.contact__form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 12px;
}

.contact__form label { display: grid; gap: 6px; font-weight: 600; }
.contact__form input, .contact__form textarea { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #090b14; color: var(--text); font: inherit; }
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(124, 240, 193, 0.2); }

.form-note { min-height: 18px; font-size: 14px; color: var(--accent); }
.caption { font-size: 12px; }

#clients-list { position: relative; z-index: 2; }
#clients-list button { cursor: pointer !important; }

.password-field {
  position: relative;
  display: grid;
  align-items: center;
}
.password-field input { padding-right: 88px; }
.pass-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 10px;
}
.pass-toggle:hover { color: var(--accent); background: rgba(255,255,255,0.04); }

/* Footer */
.footer { padding: 26px 0 34px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; color: var(--muted); }
.footer__links { display: flex; gap: 14px; flex-wrap: wrap; }

.scroll-top {
  position: fixed;
  bottom: 28px;
  left: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0a0b10;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 15;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.scroll-top:not(.visible) {
  transform: translateY(10px);
}

/* Responsive */
@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr; row-gap: 10px; }
  .nav__links { justify-content: flex-start; flex-wrap: wrap; }
  .nav__cta { justify-content: flex-start; }
  .hero { padding-top: 96px; }
}

@media (max-width: 640px) {
  .hero__actions { width: 100%; }
  .hero__panel { grid-template-columns: 1fr; }
  .steps .step { grid-template-columns: 1fr; }
  .nav { position: static; }
}
.logo-mark {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(111, 181, 255, 0.32));
  transition: transform 0.25s ease, filter 0.3s ease;
}

.nav__brand:hover .logo-mark {
  transform: translateY(-1px) scale(1.03);
  filter: drop-shadow(0 10px 20px rgba(111, 181, 255, 0.45));
}
