:root {
  --bg: #ffffff;
  --bg-soft: #f6f5ff;
  --text: #16123a;
  --muted: #5d5a78;
  --purple: #7b68ee;
  --pink: #fd71af;
  --blue: #49ccf9;
  --green: #2ecf96;
  --border: rgba(22, 18, 58, 0.09);
  --grad: linear-gradient(120deg, #fd71af 0%, #7b68ee 52%, #49ccf9 100%);
  --shadow-sm: 0 4px 16px rgba(22, 18, 58, 0.06);
  --shadow-md: 0 18px 50px rgba(123, 104, 238, 0.16);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---- Шапка ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 6vw;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--grad);
  box-shadow: 0 6px 16px rgba(123, 104, 238, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: 30px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--purple);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--purple);
}

/* ---- Кнопки ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.92rem;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 26px rgba(123, 104, 238, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(123, 104, 238, 0.5);
}

.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--purple);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* ---- Hero ---- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 50px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 6vw 70px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 26px;
}

.badge .stars {
  color: #ffb020;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 32px;
}

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

.hero-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

/* ---- Hero мокап ---- */
.hero-visual {
  position: relative;
}

.app-window {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.app-bar {
  display: flex;
  gap: 7px;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }

.app-body {
  display: grid;
  grid-template-columns: 64px 1fr;
  min-height: 300px;
}

.app-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 14px;
  background: var(--bg-soft);
}

.side-item {
  height: 10px;
  border-radius: 5px;
  background: rgba(123, 104, 238, 0.18);
}

.side-item.active {
  background: var(--grad);
}

.app-main {
  padding: 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.app-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tag {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 7px;
  color: #fff;
}
.tag-pink { background: var(--pink); }
.tag-purple { background: var(--purple); }
.tag-blue { background: var(--blue); }
.tag-green { background: var(--green); }

.bar {
  height: 12px;
  border-radius: 6px;
  background: rgba(22, 18, 58, 0.08);
}
.bar-1 { width: 78%; }
.bar-2 { width: 60%; }
.bar-3 { width: 88%; }
.bar-4 { width: 45%; }

.app-card {
  margin-top: 6px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.app-card-line {
  height: 9px;
  border-radius: 5px;
  background: rgba(22, 18, 58, 0.08);
}
.w70 { width: 70%; }
.w90 { width: 90%; }
.w50 { width: 50%; }

.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.chip-1 {
  top: 10%;
  left: -32px;
  animation: floaty 4s ease-in-out infinite;
}

.chip-2 {
  bottom: 12%;
  right: -26px;
  animation: floaty 4s ease-in-out infinite 1.5s;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---- Лого-стрип ---- */
.logos {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 6vw 50px;
  text-align: center;
}

.logos-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.logos-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 44px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: rgba(22, 18, 58, 0.32);
}

/* ---- Секции ---- */
.section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 80px 6vw;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--muted);
  font-size: 1.1rem;
}

/* ---- Карточки ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.icon-pink { background: rgba(253, 113, 175, 0.14); }
.icon-purple { background: rgba(123, 104, 238, 0.14); }
.icon-blue { background: rgba(73, 204, 249, 0.16); }
.icon-green { background: rgba(46, 207, 150, 0.16); }

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---- О нас ---- */
.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.about .eyebrow,
.about .section-title {
  text-align: left;
}

.about-lead {
  text-align: left;
  margin-bottom: 26px;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-bottom: 32px;
}

.checklist li {
  position: relative;
  padding-left: 36px;
  font-weight: 600;
  color: var(--text);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.metric-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 40px 44px;
  text-align: center;
  width: 100%;
  max-width: 320px;
}

.metric-num {
  display: block;
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  display: block;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 22px;
}

.metric-spark {
  height: 70px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(123, 104, 238, 0.18), rgba(123, 104, 238, 0)),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(123, 104, 238, 0.12) 22px 23px);
  clip-path: polygon(0 80%, 14% 60%, 28% 70%, 42% 40%, 56% 52%, 70% 25%, 84% 38%, 100% 12%, 100% 100%, 0 100%);
}

/* ---- Статистика ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat {
  padding: 34px 24px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.stat-num {
  display: block;
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---- CTA ---- */
.cta-box {
  background: var(--grad);
  border-radius: 28px;
  padding: 64px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-md);
}

.cta-box h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.cta-box > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 540px;
  margin: 0 auto;
}

.cta-form input {
  flex: 1;
  min-width: 230px;
  padding: 15px 22px;
  border-radius: 12px;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.cta-form input:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.cta-note {
  margin-top: 20px;
  color: #fff;
  font-weight: 700;
}

/* ---- Подвал ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---- Адаптив ---- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 56px;
  }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; margin-top: 10px; }
  .badge, .hero-actions { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .about {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about .eyebrow,
  .about .section-title,
  .about-lead { text-align: center; }
  .checklist { justify-items: center; text-align: left; }
  .about .btn { display: inline-flex; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .float-chip { display: none; }
  .logos-row { gap: 28px; font-size: 1.05rem; }
}
