﻿:root {
  --md-ink: #0b1024;
  --md-muted: #556080;
  --md-primary: #2b6cff;
  --md-accent: #3ed0bd;
  --md-white: #ffffff;
  --md-shadow: 0 26px 60px rgba(15, 23, 42, 0.16);
  --md-card-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
  --md-radius-lg: 26px;
}

.md-page {
  color: var(--md-ink);
  -webkit-font-smoothing: antialiased;
}

.md-container {
  width: min(1180px, 92vw);
  margin-inline: auto;
}

.md-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(43, 108, 255, 0.12);
  color: var(--md-primary);
}

.md-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.md-btn--primary {
  background: linear-gradient(135deg, var(--md-primary), #5f8cff);
  color: #fff;
  box-shadow: 0 20px 36px rgba(43, 108, 255, 0.26);
}

.md-btn--ghost {
  background: rgba(255, 255, 255, 0.92);
  color: var(--md-primary);
  border-color: rgba(43, 108, 255, 0.28);
}

.md-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(43, 108, 255, 0.22);
}

.md-hero {
  position: relative;
  overflow: hidden;
  padding: 140px 0 110px;
}

.md-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.md-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
}

.md-orb--one {
  width: 460px;
  height: 460px;
  top: -160px;
  right: -140px;
  background: radial-gradient(circle at 36% 34%, rgba(43, 108, 255, 0.6), transparent 68%);
}

.md-orb--two {
  width: 360px;
  height: 360px;
  bottom: -140px;
  left: -120px;
  background: radial-gradient(circle at 66% 42%, rgba(62, 208, 189, 0.45), transparent 70%);
}

.md-mesh {
  position: absolute;
  top: 18%;
  left: 50%;
  width: clamp(420px, 58vw, 780px);
  height: clamp(420px, 58vw, 780px);
  transform: translateX(-50%) rotate(18deg);
  background-image:
    linear-gradient(rgba(43, 108, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 108, 255, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}

.md-hero__wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 70px;
  align-items: center;
  z-index: 1;
}

.md-hero__lead {
  font-size: 19px;
  color: var(--md-muted);
  margin: 18px 0 24px;
  max-width: 640px;
}

.md-hero__bullets {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.md-hero__bullets li {
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 255, 0.82);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.md-hero__bullets strong {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(11, 16, 36, 0.66);
}

.md-hero__bullets span {
  color: var(--md-ink);
  font-size: 15px;
}

.md-hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.md-hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.md-hero__screen {

  width: clamp(280px, 40vw, 500px);
  border-radius: 28px;
  border: 1px solid rgba(226, 232, 255, 0.92);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--md-shadow);
  overflow: hidden;
  transform-origin: center;
}

.md-hero__screen-head {
  display: flex;
  gap: 6px;
  padding: 16px 18px;
  background: rgba(15, 23, 42, 0.06);
}

.md-hero__screen-head span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.18);
}

.md-hero__screen-body {
  padding: 26px 26px 32px;
}

.md-hero__screen-body img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
}

.md-hero__badge {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 255, 0.86);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.14);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(11, 16, 40, 0.58);
}

.md-hero__badge strong {
  font-size: 18px;
  text-transform: none;
  color: var(--md-ink);
}

.md-hero__badge--one {
  top: -38px;
  left: -24px;
}

.md-hero__badge--two {
  bottom: 18px;
  right: -30px;
}

.md-section {
  position: relative;
  padding: 110px 0 90px;
}

.md-section--essentials {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
}

.md-section--plans {
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}

.md-head {
  text-align: left;
  max-width: 720px;
  margin-bottom: 52px;
}

.md-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.md-head h2 {
  font-size: clamp(34px, 4.4vw, 46px);
  margin: 18px 0 14px;
}

.md-lead {
  font-size: 18px;
  color: var(--md-muted);
  margin: 0;
}

.md-checklist {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.md-checklist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.md-checklist li {
  position: relative;
  padding: 16px 18px 16px 42px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 255, 0.88);
  box-shadow: var(--md-card-shadow);
  color: var(--md-ink);
  font-weight: 600;
}

.md-checklist li::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(43, 108, 255, 0.12);
  border: 1px solid rgba(43, 108, 255, 0.28);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

.md-checklist li::after {
  content: '✓';
  position: absolute;
  left: 21px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 12px;
  font-weight: 800;
  color: var(--md-primary);
}

.md-plan-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.md-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 32px 30px 28px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(188, 198, 233, 0.45);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  --accent: #2b6cff;
  --accent-soft: rgba(43, 108, 255, 0.12);
  --accent-border: rgba(43, 108, 255, 0.22);
  --accent-text: #2b6cff;
}

.md-plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(15, 23, 42, 0.16);
  border-color: var(--accent-border);
}

.md-plan-card__art {
  width: 152px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: var(--accent-soft);
  padding: 14px;
}

.md-plan-card__art img {
  width: 100%;
  height: auto;
}

.md-plan-card h3 {
  margin: 4px 0 6px;
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 600;
  color: #0b122c;
}

.md-plan-card h3 span {
  color: var(--accent-text);
}

.md-plan-card p {
  margin: 0;
  color: rgba(11, 18, 48, 0.72);
  line-height: 1.65;
}

.md-plan-card__divider {
  width: 100%;
  margin: 18px 0 10px;
  border-top: 1px dashed rgba(188, 198, 233, 0.7);
}

.md-plan-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.md-plan-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.md-plan-card__link span {
  font-size: 18px;
  line-height: 1;
  transform: translateY(-1px);
}

.md-plan-card__link--admin {
  background: var(--accent-text);
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(43, 108, 255, 0.24);
}

.md-plan-card__link--admin:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(43, 108, 255, 0.28);
}

.md-plan-card__link--user {
  background: #ffffff;
  border: 1px solid var(--accent-border);
  color: var(--accent-text);
}

.md-plan-card__link--user:hover {
  transform: translateY(-2px);
  background: var(--accent-soft);
}

.md-plan-card--unilevel {
  --accent: #0f766e;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --accent-border: rgba(15, 118, 110, 0.26);
  --accent-text: #0f766e;
  box-shadow: 0 22px 48px rgba(15, 118, 110, 0.16);
}

.md-plan-card--binary {
  --accent: #1d4ed8;
  --accent-soft: rgba(29, 78, 216, 0.12);
  --accent-border: rgba(29, 78, 216, 0.26);
  --accent-text: #1d4ed8;
  box-shadow: 0 22px 48px rgba(29, 78, 216, 0.14);
}

.md-plan-card--matrix {
  --accent: #6d28d9;
  --accent-soft: rgba(109, 40, 217, 0.12);
  --accent-border: rgba(109, 40, 217, 0.26);
  --accent-text: #6d28d9;
  box-shadow: 0 22px 48px rgba(109, 40, 217, 0.14);
}

.md-workflow {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 60px;
  align-items: center;
}

.md-workflow__copy h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin: 16px 0 18px;
}

.md-workflow__copy p {
  margin: 0 0 24px;
  color: var(--md-muted);
  line-height: 1.7;
}

.md-workflow__steps {
  position: relative;
  display: grid;
  gap: 20px;
}

.md-workflow__steps::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(43, 108, 255, 0.18), rgba(62, 208, 189, 0.18));
}

.md-step {
  position: relative;
  margin-left: 44px;
  padding: 24px 24px 24px 36px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 255, 0.9);
  box-shadow: var(--md-card-shadow);
}

.md-step__num {
  position: absolute;
  left: -32px;
  top: 26px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(43, 108, 255, 0.12);
  color: var(--md-primary);
}

.md-step h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.md-step p {
  margin: 0;
  color: var(--md-muted);
  line-height: 1.6;
}

.md-section--faq {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.md-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.md-acc-item {
  border-radius: 20px;
  border: 1px solid rgba(226, 232, 255, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--md-card-shadow);
  overflow: hidden;
}

.md-acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  padding: 18px 22px;
  background: transparent;
  border: none;
  font-weight: 700;
  font-size: 17px;
  text-align: left;
  cursor: pointer;
  color: var(--md-ink);
}

.md-acc-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11, 16, 36, 0.6);
}

.md-acc-body {
  padding: 0 22px 22px;
  color: var(--md-muted);
  line-height: 1.6;
}

.md-acc-body[hidden] {
  display: none;
}

.md-section--cta {
  padding-bottom: 140px;
}

.md-cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 46px 48px;
  border-radius: var(--md-radius-lg);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 255, 0.92);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.18);
}

.md-cta-card__score {
  padding: 18px 22px;
  border-radius: 18px;
  background: rgba(43, 108, 255, 0.12);
  color: var(--md-primary);
  font-weight: 800;
  font-size: 20px;
}

.md-cta-card__copy h2 {
  font-size: clamp(32px, 4.2vw, 44px);
  margin: 12px 0 14px;
}

.md-cta-card__copy p {
  margin: 0;
  color: var(--md-muted);
  max-width: 520px;
  line-height: 1.6;
}

.md-cta-card__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].show {
  opacity: 1;
  transform: none;
}

[data-sway] {
  position: relative;
}

.swaying {
  animation-name: sway;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes sway {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@media (max-width: 1100px) {
  .md-hero__wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .md-hero__visual {
    justify-content: flex-start;
  }
  .md-hero__badge--one {
    top: auto;
    bottom: 90%;
    left: 18px;
  }
  .md-hero__badge--two {
    right: 18px;
  }
  .md-workflow {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .md-workflow__steps::before {
    left: 10px;
  }
  .md-step {
    margin-left: 36px;
  }
  .md-step__num {
    left: -26px;
  }
  .md-mesh {
    top: 14%;
    width: clamp(360px, 60vw, 560px);
    height: clamp(360px, 60vw, 560px);
  }
}

@media (max-width: 820px) {
  .md-hero {
    padding: 120px 0 90px;
  }
  .md-hero__cta .md-btn,
  .md-workflow__copy .md-btn,
  .md-cta-card__actions .md-btn {
    width: 100%;
    justify-content: center;
  }
  .md-plan-card,
  .md-checklist li,
  .md-step,
  .md-cta-card {
    padding: 24px 26px;
  }
  .md-cta-card {
    flex-direction: column;
    text-align: center;
  }
  .md-cta-card__copy p {
    max-width: none;
  }
  .md-mesh {
    top: 16%;
    width: clamp(320px, 70vw, 520px);
    height: clamp(320px, 70vw, 520px);
  }
}

@media (max-width: 620px) {
  .md-hero__bullets {
    gap: 12px;
  }
  .md-step {
    margin-left: 24px;
    padding-left: 26px;
  }
  .md-step__num {
    left: -32px;
  }
  .md-workflow__steps::before {
    left: 0;
  }
  .md-mesh {
    top: 18%;
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 480px) {
  .md-hero__screen {
    width: min(100%, 360px);
  }
  .md-hero__badge--two {
    right: -4px;
  }
  .md-mesh {
    top: 22%;
    width: 260px;
    height: 260px;
  }
}



.md-plan-card__art {
     width: 301px;
    height: 302px;
}