:root {
  --landing-bg: #f4f9ff;
  --landing-surface: #ffffff;
  --landing-surface-soft: #f8fbff;
  --landing-border: #d7e7fb;
  --landing-text: #0f172a;
  --landing-muted: #475569;
  --landing-primary: #0f62fe;
  --landing-primary-2: #0a4ed6;
  --landing-accent: #1ba9c5;
  --landing-shadow: 0 18px 48px rgba(15, 44, 98, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--landing-text);
  background: linear-gradient(180deg, #f2f6fc 0%, #edf3fb 100%);
}

.container {
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
  background: rgba(242, 246, 252, 0.96);
  border-bottom: 1px solid #d7dfec;
}

.top-nav .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0e2f74;
}

.menu-toggle {
  display: none;
  border: 1px solid #bcd5f5;
  background: #ffffff;
  color: #0f172a;
  border-radius: 10px;
  font-size: 1.1rem;
  padding: 6px 10px;
  cursor: pointer;
}

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

.nav-link-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  color: #1e2f4d;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link-item:hover {
  background: #e7f0fd;
  color: #0b4ec7;
  transform: translateY(-1px);
}

.nav-link-item.active {
  background: #dceaff;
  color: #0747bd;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  min-height: 46px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, var(--landing-primary), var(--landing-primary-2));
  box-shadow: 0 12px 24px rgba(15, 98, 254, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 15px 28px rgba(15, 98, 254, 0.28);
}

.btn.secondary {
  color: #0f4cbf;
  border-color: #b7d1f8;
  background: #eef5ff;
  box-shadow: none;
}

.btn.secondary:hover {
  box-shadow: 0 10px 20px rgba(12, 70, 180, 0.12);
}

.landing-v2 {
  padding: 34px 0 64px;
}

.mfx-page {
  display: grid;
  gap: 14px;
}

.mfx-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid #d7e4f7;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
}

.mfx-hero::before {
  display: none;
}

.mfx-hero-copy {
  position: relative;
  z-index: 2;
}

.mfx-hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.mfx-hero-copy h1 span {
  color: #0f5fe8;
}

.mfx-hero-copy p {
  margin: 16px 0 0;
  max-width: 56ch;
  color: var(--landing-muted);
  font-size: 1.04rem;
  line-height: 1.66;
}

.mfx-cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mfx-rating-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #1f3150;
}

.mfx-rating-row span {
  color: #f59e0b;
  letter-spacing: 0.04em;
}

.mfx-rating-row strong {
  font-size: 0.95rem;
}

.mfx-rating-row small {
  color: #5f7191;
  font-size: 0.84rem;
}

.mfx-brand-row {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mfx-brand-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #cadff9;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #24426f;
  background: #f7fbff;
}

.mfx-hero-media {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
}

.mfx-hero-card {
  width: min(100%, 520px);
  border: 1px solid #d7e4f7;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: none;
  padding: 10px;
  animation: about-float 5.5s ease-in-out infinite;
}

.mfx-hero-card img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.mfx-hero-orb {
  display: none;
}

.mfx-orb-a {
  width: 120px;
  height: 120px;
  left: 6%;
  top: 12%;
  background: radial-gradient(circle, rgba(27, 169, 197, 0.33), rgba(27, 169, 197, 0));
}

.mfx-orb-b {
  width: 170px;
  height: 170px;
  right: 4%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(15, 98, 254, 0.28), rgba(15, 98, 254, 0));
  animation-delay: -5s;
}

.mfx-block {
  border: 1px solid #d7e4f7;
  border-radius: 10px;
  background: #ffffff;
  padding: 16px;
  display: grid;
  gap: 14px;
}

.mfx-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  letter-spacing: -0.01em;
  color: #0f1f3b;
}

.mfx-title span {
  color: #0e63ea;
}

.mfx-subtitle {
  margin: 0;
  color: #4f6485;
  font-size: 1rem;
}

.mfx-grid {
  display: grid;
  gap: 18px;
}

.mfx-feature-grid,
.mfx-step-grid,
.mfx-testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mfx-card,
.mfx-step-card,
.mfx-testimonial-card {
  border: 1px solid #d7e4f7;
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: none;
  padding: 12px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.mfx-card:hover,
.mfx-step-card:hover,
.mfx-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(17, 50, 113, 0.13);
  border-color: #bcd9ff;
}

.mfx-card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid #c9defc;
  background: linear-gradient(135deg, #edf5ff, #dff1f7);
  font-size: 1.2rem;
}

.mfx-card h3,
.mfx-step-card h3 {
  margin: 14px 0 8px;
  font-size: 1.08rem;
}

.mfx-card p,
.mfx-step-card p,
.mfx-testimonial-card p {
  margin: 0;
  color: #52657f;
  line-height: 1.62;
  font-size: 0.96rem;
}

.mfx-step-card {
  position: relative;
  background: #f8fbff;
}

.mfx-step-index {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0f62fe;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
}

.mfx-step-demo {
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px dashed #c6dcfa;
  border-radius: 12px;
  color: #1f4ea5;
  background: #f4f9ff;
  font-size: 0.95rem;
}

.mfx-testimonial-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pricing-card {
  border: 1px solid #d7e4f7;
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: none;
  padding: 14px;
  display: grid;
  gap: 10px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(17, 50, 113, 0.14);
  border-color: #9ec3fb;
}

.pricing-card.featured {
  border-color: #a8c7f5;
  box-shadow: none;
}

.pricing-label {
  margin: 0;
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #b5d3fc;
  background: #edf5ff;
  color: #1145a5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  color: #0f2140;
}

.pricing-card h3 span {
  margin-left: 6px;
  font-size: 0.95rem;
  color: #557094;
  font-weight: 600;
}

.pricing-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.pricing-card li {
  position: relative;
  padding-left: 20px;
  color: #415d82;
  font-size: 0.95rem;
}

.pricing-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0f62fe;
}

.pricing-page-note {
  margin: 4px 0 0;
  color: #4f6688;
  font-size: 0.92rem;
  font-weight: 600;
}


.mfx-person {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mfx-person img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #c5daf7;
}

.mfx-person strong {
  font-size: 0.94rem;
}

.mfx-person p {
  margin: 2px 0 0;
  font-size: 0.84rem;
  color: #5d718f;
}

.footer {
  margin-top: 12px;
  border-top: 1px solid #d7dfec;
  background: #f5f8fd;
}

.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.3fr 0.8fr 0.8fr;
  padding: 24px 0 14px;
}

.footer-brand h3 {
  margin: 0;
  color: #102a59;
}

.footer-brand p {
  margin: 10px 0 0;
  max-width: 52ch;
  color: #526786;
  line-height: 1.65;
}

.footer-cta-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links h4 {
  margin: 0 0 12px;
  color: #143365;
}

.footer-links a {
  display: block;
  margin-bottom: 8px;
  color: #33527b;
  text-decoration: none;
}

.footer-links a:hover {
  color: #0f5be2;
}

.footer-bottom {
  border-top: 1px solid #dbe3ef;
  color: #607492;
  font-size: 0.88rem;
  padding: 12px 0 16px;
}

@keyframes about-float {
  0%,
  100% {
    transform: translateY(0);
  }

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

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes drift {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(8px, -10px);
  }

  50% {
    transform: translate(-10px, -4px);
  }

  75% {
    transform: translate(7px, 8px);
  }

  100% {
    transform: translate(0, 0);
  }
}

@media (max-width: 1080px) {
  .mfx-hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mfx-feature-grid,
  .mfx-step-grid,
  .mfx-testimonial-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1420px, calc(100% - 30px));
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border: 1px solid #cde1fc;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 16px 30px rgba(17, 50, 113, 0.16);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .btn,
  .nav-link-item {
    width: 100%;
    justify-content: flex-start;
    min-height: 42px;
  }

  .landing-v2 {
    padding: 18px 0 34px;
  }

  .mfx-hero {
    padding: 14px;
    border-radius: 8px;
  }

  .mfx-hero-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .mfx-feature-grid,
  .mfx-step-grid,
  .mfx-testimonial-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    padding-top: 30px;
  }
}
