/* ===== HRMax лендинг ===== */
:root {
  --bg: #f3f7f5;
  --bg-alt: #e9f1ed;
  --dark: #071c18;
  --dark-2: #0f3d35;
  --panel: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #d9e6e0;
  --blue: #10b981;
  --blue-2: #34d399;
  --gold: #10b981;
  --gold-2: #34d399;
  --success: #10b981;
  --error: #d64545;
  --radius: 14px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Inter",
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(16, 185, 129, 0.09), transparent 60%),
    radial-gradient(900px 480px at -10% 30%, rgba(16, 185, 129, 0.06), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  font-size: 15.5px;
  font-feature-settings: "cv02", "cv03", "cv04";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-narrow {
  max-width: 760px;
}
.center {
  text-align: center;
}
.muted {
  color: var(--muted);
}
.accent {
  color: var(--blue);
}
h1 {
  font-size: clamp(32px, 5.2vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, #071c18 0%, #0f3d35 45%, #10b981 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
h2 {
  font-size: clamp(25px, 3.8vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  background: linear-gradient(95deg, var(--text) 55%, var(--gold-2) 130%);
  -webkit-background-clip: text;
  background-clip: text;
}
h3 {
  letter-spacing: -0.01em;
}
h1 span,
h2 span,
.gradient-text {
  background: linear-gradient(95deg, var(--gold), var(--gold-2) 70%, var(--gold-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.15s;
}
.btn-primary {
  background: linear-gradient(135deg, #10b981, #0d9268);
  color: #fff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--border);
  background: transparent;
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--blue-2);
  background: #e7f6ef;
}
.btn-lg {
  padding: 14px 26px;
  font-size: 16px;
}

/* Шапка */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 62px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 19px;
}
.logo img {
  width: 120px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(13, 18, 32, 0.18));
}

/* ===== Шапка: стиль + анимации ===== */

/* Липкая шапка со стеклянным фоном */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(13, 18, 32, 0.06);
  transition: box-shadow 0.3s ease;
}

/* Логотип: мягкое покачивание при наведении */
.logo img {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
.logo:hover img {
  transform: scale(1.06) rotate(-2deg);
  filter: drop-shadow(0 6px 18px rgba(13, 18, 32, 0.26));
}

/* Ссылки меню: подчёркивание выезжает из-под логотипа */
.nav a {
  position: relative;
  transition: color 0.25s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav a:hover::after {
  transform: scaleX(1);
}

/* Селектор языка: подъём при наведении */
.lang-select {
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}
.lang-select:hover {
  transform: translateY(-1px);
}

/* Кнопки: подъём + тень; primary — свечение */
.header-actions .btn {
  transition:
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.header-actions .btn:hover {
  transform: translateY(-2px);
}
.header-actions .btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(13, 18, 32, 0.1);
}
.header-actions .btn-primary:hover {
  box-shadow:
    0 6px 18px color-mix(in srgb, var(--blue) 40%, transparent),
    0 0 0 3px color-mix(in srgb, var(--blue) 14%, transparent);
}
.header-actions .btn:active {
  transform: translateY(0) scale(0.97);
}
.nav {
  display: flex;
  gap: 18px;
  margin-right: auto;
}
.nav a {
  font-size: 14.5px;
  color: var(--text);
  opacity: 0.78;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.25s ease, opacity 0.25s ease;
}
.nav a:hover {
  color: var(--blue);
  opacity: 1;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-select {
  padding: 8px 30px 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text);
  background: var(--panel)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b7280' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.lang-select:hover {
  border-color: var(--blue);
}
.lang-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent);
}
.burger {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  padding: 88px 0 64px;
  background:
    radial-gradient(600px 300px at 85% 10%, rgba(16, 185, 129, 0.14), transparent 70%),
    radial-gradient(500px 280px at 10% 90%, rgba(16, 185, 129, 0.08), transparent 70%),
    linear-gradient(180deg, #eef1f6 0%, var(--bg) 90%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}
.badge-pill {
  display: inline-block;
  background: linear-gradient(90deg, #e7f6ef, #f5f8fd);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--blue-2);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  margin: 16px 0 26px;
  max-width: 520px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 34px;
}
.hero-stats b {
  display: block;
  font-size: 24px;
  color: var(--blue);
}
.hero-stats span {
  font-size: 13px;
  color: var(--muted);
}

/* Мок-окно */
.mock-window {
  background: var(--dark);
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(13, 18, 32, 0.35);
  overflow: hidden;
  transform: rotate(1.5deg);
}
.mock-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: var(--dark-2);
}
.mock-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a4460;
}
.mock-body {
  padding: 20px;
  color: #e6f2ec;
}
.mock-kpi {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 13px;
}
.mock-kpi b {
  font-size: 16px;
}
.mock-funnel {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
  margin-top: 18px;
}
.mock-funnel div {
  flex: 1;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #34d399, #10b981);
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
  font-weight: 700;
  font-size: 13px;
}
.mock-f1 {
  height: 100%;
}
.mock-f2 {
  height: 62%;
}
.mock-f3 {
  height: 40%;
}
.mock-f4 {
  height: 24%;
}
.mock-note {
  margin-top: 10px;
  font-size: 12px;
  color: #7da08f;
  text-align: center;
}

/* Секции */
.section {
  padding: 72px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-dark {
  position: relative;
  background: radial-gradient(700px 320px at 80% 0%, rgba(16, 185, 129, 0.12), transparent 65%), linear-gradient(135deg, var(--dark), var(--dark-2));
  color: #fff;
}
.section-dark .muted {
  color: #7da08f;
}
.section-dark h2 {
  background: linear-gradient(95deg, #fff 55%, var(--gold-2) 130%);
  -webkit-background-clip: text;
  background-clip: text;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
/* Карточки — бизнес-стиль: постоянное выделение (граница + тень + акцентная полоска) */
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow:
    0 1px 2px rgba(13, 18, 32, 0.04),
    0 8px 24px rgba(13, 18, 32, 0.06);
}
.card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: linear-gradient(135deg, #e7f6ef, #f6f8fc);
  border: 1px solid rgba(16, 185, 129, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

/* Шаги */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

/* Тарифы */
.pricing {
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card h3 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}
.price {
  font-size: 38px;
  font-weight: 800;
  margin: 8px 0 16px;
}
.price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.price-card ul {
  list-style: none;
  margin-bottom: 22px;
  flex: 1;
}
.price-card li {
  font-size: 14px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border);
}
.price-card li::before {
  content: "✓ ";
  color: var(--blue);
  font-weight: 700;
}
.price-card .btn {
  width: 100%;
}
.featured {
  border-color: var(--blue);
  box-shadow: 0 20px 44px rgba(16, 185, 129, 0.18);
  transform: translateY(-6px);
}
.ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  color: #071c18;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
}

/* Форма заявки */
.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  margin-top: 30px;
}
.lead-form input {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
}
.lead-form input::placeholder {
  color: #8b97b6;
}
.lead-form input:focus {
  outline: none;
  border-color: var(--blue);
}
.form-msg {
  margin-top: 18px;
  color: #7de2a8;
  font-weight: 600;
}

/* FAQ */
details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: #fff;
}
details summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 15px;
}
details p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

/* Футер */
.footer {
  background: var(--dark);
  color: #cbd4e6;
  padding: 54px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 34px;
}
.footer h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 12px;
}
.footer a {
  display: block;
  font-size: 14px;
  color: #7da08f;
  padding: 4px 0;
}
.footer a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

/* Адаптив */
@media (max-width: 940px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .steps,
  .pricing {
    grid-template-columns: 1fr 1fr;
  }
  .lead-form {
    grid-template-columns: 1fr 1fr;
  }
  .trust-stats {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .nav {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 18px 22px;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-130%);
    transition: 0.25s;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.08);
  }
  .nav.open {
    transform: translateY(0);
  }
  .burger {
    display: block;
  }
  .btn-ghost.header-login {
    display: none;
  }
  .grid-3,
  .steps,
  .pricing,
  .lead-form {
    grid-template-columns: 1fr;
  }
  .trust-stats {
    grid-template-columns: 1fr 1fr;
  }
  .cta-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 44px;
  }
  .hero-stats {
    gap: 20px;
  }
}
/* ===== Анимации появления при скролле ===== */
.anim-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--d, 0s);
}
.anim-up.in-view {
  opacity: 1;
  transform: none;
}

/* ===== Дополнительные эффекты ===== */
.card,
.step,
.price-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover,
.step:hover,
.price-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 2px 4px rgba(13, 18, 32, 0.05),
    0 20px 44px rgba(13, 18, 32, 0.12);
  border-color: rgba(16, 185, 129, 0.45);
  border-top-color: var(--blue);
}
.card .icon {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover .icon {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.2);
}
.btn {
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.97);
}
.btn-primary {
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.45);
}
.nav a {
  position: relative;
  transition: color 0.15s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--blue);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav a:hover {
  color: var(--blue);
}
.nav a:hover::after {
  width: 100%;
}
.mock-window {
  animation: mockFloat 6s ease-in-out infinite;
  transition: transform 0.3s ease;
}
.mock-window:hover {
  animation-play-state: paused;
  transform: rotate(0deg) scale(1.02);
}
@keyframes mockFloat {
  0%, 100% { transform: rotate(1.5deg) translateY(0); }
  50% { transform: rotate(1.5deg) translateY(-10px); }
}
.mock-funnel div {
  animation: funnelGrow 1s ease both;
  transform-origin: bottom;
}
.mock-f2 { animation-delay: 0.15s; }
.mock-f3 { animation-delay: 0.3s; }
.mock-f4 { animation-delay: 0.45s; }
@keyframes funnelGrow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
.hero-text > * {
  opacity: 0;
  transform: translateY(18px);
  animation: heroIn 0.7s ease forwards;
}
.hero-text > *:nth-child(1) { animation-delay: 0.05s; }
.hero-text > *:nth-child(2) { animation-delay: 0.15s; }
.hero-text > *:nth-child(3) { animation-delay: 0.25s; }
.hero-text > *:nth-child(4) { animation-delay: 0.35s; }
.hero-text > *:nth-child(5) { animation-delay: 0.45s; }
@keyframes heroIn {
  to { opacity: 1; transform: none; }
}
.badge-pill {
  animation: pulseGlow 2.6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}
.logo img {
  transition: transform 0.3s ease;
}
.logo:hover img {
  transform: rotate(-8deg) scale(1.12);
}
details {
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
details:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 6px 18px rgba(13, 18, 32, 0.06);
}
details[open] summary {
  color: var(--blue);
}
summary {
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::before {
  content: "▸ ";
  color: var(--blue);
  font-weight: 700;
  transition: transform 0.2s ease;
  display: inline-block;
}
details[open] summary::before {
  transform: rotate(90deg);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .anim-up {
    opacity: 1;
    transform: none;
  }
}

/* ===== Полоса доверия ===== */
.trust {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.trust-title {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 18px;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 38px;
  font-weight: 700;
  font-size: 16px;
  color: #7da08f;
  margin-bottom: 34px;
}
.trust-logos span {
  transition: color 0.2s ease, transform 0.2s ease;
}
.trust-logos span:hover {
  color: var(--blue);
  transform: translateY(-2px);
}
.trust-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.trust-stats b {
  display: block;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.5px;
}
.trust-stats > div > span {
  font-size: 13.5px;
  color: var(--muted);
}

/* ===== Отзывы ===== */
.rev-grid {
  margin-top: 40px;
}
.rev {
  display: flex;
  flex-direction: column;
}
.rev-stars {
  color: #f5a623;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.rev-text {
  font-size: 14.5px;
  color: var(--text);
  flex: 1;
}
.rev-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.rev-author .avatar {
  width: 40px;
  height: 40px;
  font-size: 13px;
}
.rev-author b {
  display: block;
  font-size: 13.5px;
}
.rev-author span {
  font-size: 12px;
  color: var(--muted);
}

/* ===== CTA-баннер ===== */
.cta-banner {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-2) 100%);
  color: #fff;
  padding: 52px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 {
  font-size: clamp(22px, 3vw, 30px);
}
.cta-banner p {
  opacity: 0.9;
  margin-top: 4px;
}
.cta-btn {
  background: #fff;
  color: var(--blue-2);
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

/* ===== Модальные окна (вход / регистрация) ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 18, 32, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  background: var(--panel);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(13, 18, 32, 0.4);
  padding: 30px 30px 26px;
  width: 420px;
  max-width: 100%;
  position: relative;
  transform: translateY(28px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.modal-overlay.show .modal-card {
  transform: none;
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #eaf6f0;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  transition: 0.15s;
}
.modal-close:hover {
  background: #ffe4e4;
  color: #dc2626;
}
.m-title {
  font-size: 22px;
  margin-bottom: 4px;
}
.m-sub {
  font-size: 14px;
  margin-bottom: 18px;
}
.m-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.m-form input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  transition: 0.15s;
}
.m-form input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.m-form input[style*="none"],
.m-form input.hidden {
  display: none;
}
.m-btn {
  margin-top: 4px;
}
.m-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--blue);
  min-height: 18px;
}
.m-switch {
  display: inline-block;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--blue);
  font-weight: 600;
}
.m-switch:hover {
  text-decoration: underline;
}

/* ================= Продукт вживую ================= */
.show-sub {
  margin: 44px 0 18px;
  font-size: clamp(18px, 2.2vw, 24px);
}

/* --- Макеты экранов программы — бизнес-рамка --- */
.shot {
  margin: 0 0 10px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  box-shadow:
    0 1px 2px rgba(13, 18, 32, 0.05),
    0 18px 44px rgba(13, 18, 32, 0.12);
  background: var(--dark);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.shot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), #34d399);
  z-index: 1;
}
.shot:hover {
  transform: translateY(-5px) scale(1.004);
  box-shadow:
    0 2px 4px rgba(13, 18, 32, 0.06),
    0 32px 70px rgba(13, 18, 32, 0.22);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Дашборд --- */
.dash {
  background: var(--dark);
  border-radius: 20px;
  color: #e6f2ec;
  padding: 22px;
  box-shadow: 0 30px 70px rgba(13, 18, 32, 0.35);
  margin-top: 34px;
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.dash-title {
  font-weight: 800;
  font-size: 16px;
}
.dash-period {
  font-size: 12px;
  color: #7da08f;
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.dash-kpi {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 16px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.dash-kpi:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
}
.dk-label {
  display: block;
  font-size: 12px;
  color: #7da08f;
  margin-bottom: 6px;
}
.dk-value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.dk-delta {
  display: block;
  font-size: 12px;
  color: #7da08f;
  margin-top: 4px;
}
.dk-delta.up { color: #7de2a8; }
.dk-delta.down { color: #ff9a9a; }

.dash-panels {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
  margin-top: 14px;
}
.dash-chart,
.dash-donut {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
}
.dc-title {
  font-size: 13px;
  color: #7da08f;
  margin-bottom: 12px;
}

/* Столбцы — растут при появлении */
.bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 130px;
}
.bar {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #34d399, #10b981);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  padding-top: 6px;
  position: relative;
}
.bar:hover { filter: brightness(1.2); }
.dash.in-view .bar { transform: scaleY(1); }
.dash.in-view .bar:nth-child(1) { transition-delay: 0.05s; }
.dash.in-view .bar:nth-child(2) { transition-delay: 0.15s; }
.dash.in-view .bar:nth-child(3) { transition-delay: 0.25s; }
.dash.in-view .bar:nth-child(4) { transition-delay: 0.35s; }
.dash.in-view .bar:nth-child(5) { transition-delay: 0.45s; }
.dash.in-view .bar:nth-child(6) { transition-delay: 0.55s; }

/* Донат */
.donut-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}
.donut {
  width: 110px;
  height: 110px;
  transform: rotate(-90deg);
  flex-shrink: 0;
}
.d-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 14;
}
.d-seg {
  fill: none;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 0 302;
  transition: stroke-dasharray 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.s1 { stroke: #10b981; }
.s2 { stroke: #34d399; }
.s3 { stroke: #0f3d35; }
.dash.in-view .d-seg.s1 { stroke-dasharray: 130 302; }
.dash.in-view .d-seg.s2 { stroke-dasharray: 100 302; transition-delay: 0.3s; }
.dash.in-view .d-seg.s3 { stroke-dasharray: 72 302; transition-delay: 0.55s; }
.donut-legend {
  font-size: 13px;
  color: #bfd8cd;
  display: grid;
  gap: 8px;
}
.donut-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 7px;
}
.lg.s1 { background: #10b981; }
.lg.s2 { background: #34d399; }
.lg.s3 { background: #0f3d35; }

/* --- Карточки кандидатов --- */
.cand-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cand {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  cursor: default;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.cand:hover {
  transform: translateY(-8px) rotate(-0.5deg);
  box-shadow: 0 22px 44px rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.4);
}
.cand-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(13, 18, 32, 0.18);
  transition: transform 0.3s ease;
}
.cand:hover .avatar {
  transform: scale(1.1) rotate(6deg);
}
.a1 { background: linear-gradient(135deg, #10b981, #065f46); }
.a2 { background: linear-gradient(135deg, #34d399, #059669); }
.a3 { background: linear-gradient(135deg, #0f3d35, #34d399); }
.a4 { background: linear-gradient(135deg, #f0a8a8, #d64545); }
.cand-name {
  display: block;
  font-size: 14px;
}
.cand-role {
  font-size: 12px;
  color: var(--muted);
}
.cand-score {
  margin-left: auto;
  font-weight: 800;
  font-size: 15px;
  color: #059669;
  background: #e7f9f0;
  border-radius: 8px;
  padding: 3px 8px;
}
.cand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.tag {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #eaf6f0;
  color: var(--muted);
  transition: background 0.2s ease;
}
.cand:hover .tag {
  background: #e7f6ef;
}
.tag.t-blue { background: #e7f6ef; color: var(--blue-2); }
.tag.t-green { background: #e7f9f0; color: #059669; }
.cand-stage {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.stage-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.d1 { background: #059669; animation: dotPulse 1.8s infinite; }
.d2 { background: var(--blue); }
.d3 { background: #d64545; }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(29, 158, 110, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(29, 158, 110, 0); }
}

/* --- Календарь --- */
.cal {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(13, 18, 32, 0.08);
}
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.cal-nav {
  font-size: 13px;
  color: var(--muted);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.cal-day {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 10px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cal-day:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(13, 18, 32, 0.1);
}
.cal-day.today {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
  background: #eef2f8;
}
.cd-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 2px;
}
.cal-day.today .cd-name { color: var(--blue-2); }
.cd-ev {
  font-size: 11px;
  font-weight: 600;
  border-radius: 8px;
  padding: 5px 7px;
  color: #fff;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.cal.in-view .cd-ev { opacity: 1; transform: none; }
.cal.in-view .cd-ev:nth-child(2) { transition-delay: 0.15s; }
.cal.in-view .cd-ev:nth-child(3) { transition-delay: 0.3s; }
.ev-blue { background: var(--blue); }
.ev-green { background: #059669; }
.ev-purple { background: #34d399; }
.cd-ev::before {
  content: var(--t);
  display: block;
  font-size: 10px;
  opacity: 0.85;
}
.cd-now {
  margin-top: auto;
  font-size: 10.5px;
  color: var(--blue);
  font-weight: 700;
}

@media (max-width: 940px) {
  .dash-grid { grid-template-columns: 1fr 1fr; }
  .dash-panels { grid-template-columns: 1fr; }
  .cand-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .dash-grid { grid-template-columns: 1fr; }
  .cand-row { grid-template-columns: 1fr; }
  .cal-grid { grid-template-columns: 1fr; }
  .cal-day { min-height: auto; }
}


/* ===== Тени: карточки и тексты отделены от фона ===== */

/* Все карточки — постоянная заметная тень */
.card,
.step,
.price-card,
.cand,
.cal,
.shot,
.mock-window,
.dash,
.modal-card,
.lead-form input {
  box-shadow:
    0 2px 4px rgba(13, 18, 32, 0.06),
    0 12px 32px rgba(13, 18, 32, 0.12) !important;
}

/* Тарифная карточка «Популярный» — чуть сильнее выделяется */
.price-card.featured {
  box-shadow:
    0 4px 8px rgba(13, 18, 32, 0.08),
    0 16px 40px rgba(16, 185, 129, 0.18) !important;
}

/* Тексты — мягкая тень, читаются на любом фоне */
h1,
h2,
h3 {
  text-shadow: 0 1px 3px rgba(13, 18, 32, 0.12);
}
.hero-text h1,
.cta-banner h2 {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.cand-name,
.cand-score,
.step-num {
  text-shadow: 0 1px 2px rgba(13, 18, 32, 0.15);
}
