:root {
  --mcx-purple: #5545c7;
  --mcx-purple-dark: #342a86;
  --mcx-purple-soft: #f0eefc;
  --mcx-lime: #a8cd36;
  --mcx-orange: #ff8120;
  --mcx-charcoal: #444444;
  --mcx-ink: #252525;
  --mcx-muted: #6b7280;
  --mcx-border: #e5e7eb;
  --mcx-surface: #ffffff;
  --mcx-soft: #f7f8fa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--mcx-ink);
  background: #fff;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(229,231,235,.9);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 188px; height: auto; }
.nav-links { display: flex; gap: 26px; align-items: center; font-weight: 600; font-size: .96rem; }
.nav-links a { text-decoration: none; transition: color .2s ease; }
.nav-links a:hover { color: var(--mcx-purple); }
.nav-cta {
  background: var(--mcx-purple);
  color: #fff !important;
  padding: 11px 18px;
  border-radius: 10px;
  box-shadow: 0 7px 20px rgba(85,69,199,.18);
}
.nav-cta:hover { background: var(--mcx-purple-dark); }
.menu-btn { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-btn svg { width: 28px; height: 28px; }
.mobile-menu { display: none; padding: 6px 20px 18px; }
.mobile-menu a { display: block; padding: 10px 0; text-decoration: none; font-weight: 600; }

.hero {
  padding: 148px 0 82px;
  background: linear-gradient(135deg, #30267f 0%, #4e41be 58%, #6152d7 100%);
  color: #fff;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 62px; align-items: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 800;
  color: rgba(255,255,255,.78);
  margin: 0 0 16px;
}
.hero h1 { font-size: clamp(2.55rem, 5vw, 4.55rem); line-height: 1.03; margin: 0 0 22px; letter-spacing: -.045em; }
.hero h1 span { color: #d9ed89; }
.hero-copy { max-width: 740px; font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,.88); margin-bottom: 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 21px; border-radius: 11px; font-weight: 800; text-decoration: none; transition: all .2s ease; }
.btn-primary { background: #fff; color: var(--mcx-purple-dark); box-shadow: 0 10px 26px rgba(18,12,72,.22); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary { border: 1px solid rgba(255,255,255,.42); color: #fff; background: rgba(255,255,255,.06); }
.btn-secondary:hover { background: rgba(255,255,255,.12); }
.hero-note { margin-top: 20px; font-size: .9rem; color: rgba(255,255,255,.72); }

.hero-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 22px 54px rgba(29,21,89,.22);
  border: 1px solid rgba(85,69,199,.12);
  color: var(--mcx-ink);
}
.hero-card::before { display: none; }
.hero-card > * { position: relative; z-index: 1; }
.hero-card img { width: min(100%, 330px); margin: 0 auto 22px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat {
  border: 1px solid var(--mcx-border);
  border-radius: 14px;
  padding: 16px;
  background: #fcfcff;
}
.stat strong { display: block; color: var(--mcx-purple); font-size: 1.42rem; line-height: 1.1; margin-bottom: 4px; }
.stat span { color: var(--mcx-muted); font-size: .88rem; }

.section { padding: 86px 0; }
.section-soft { background: var(--mcx-soft); }
.section-tint { background: linear-gradient(135deg, #fbfbff 0%, #f4f2ff 58%, #fbfcf5 100%); }
.section-head { max-width: 790px; margin: 0 auto 46px; text-align: center; }
.section-label { margin: 0 0 9px; color: var(--mcx-purple); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 850; }
.section h2 { margin: 0 0 16px; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.12; letter-spacing: -.03em; }
.section-head p, .lead { color: var(--mcx-muted); font-size: 1.08rem; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--mcx-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 26px rgba(18,24,40,.045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(85,69,199,.30); box-shadow: 0 16px 40px rgba(51,42,134,.09); }
.card h3 { margin: 0 0 9px; font-size: 1.22rem; }
.card p { margin: 0; color: var(--mcx-muted); }
.icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 13px; background: var(--mcx-purple-soft); color: var(--mcx-purple);
  margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }
.icon.orange { background: #fff1e7; color: var(--mcx-orange); }
.icon.lime { background: #f1f7d9; color: #75931d; }

.proof-band { background: var(--mcx-charcoal); color: #fff; padding: 34px 0; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proof-item { border-left: 3px solid var(--mcx-lime); padding-left: 16px; }
.proof-item strong { display: block; font-size: 1.7rem; line-height: 1; margin-bottom: 8px; }
.proof-item span { color: rgba(255,255,255,.72); font-size: .92rem; }

.service-card { padding: 30px; position: relative; overflow: hidden; }
.service-card::after {
  content: "";
  width: 96px; height: 96px; position: absolute; right: -50px; bottom: -50px; border-radius: 999px;
  background: rgba(85,69,199,.045);
}
.service-card ul { margin: 15px 0 0; padding: 0; list-style: none; color: #4b5563; }
.service-card li { margin: 8px 0; position: relative; padding-left: 22px; }
.service-card li::before { content: "✓"; position: absolute; left: 0; color: var(--mcx-lime); font-weight: 900; }

.clients-wrap { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.client-pill {
  border: 1px solid var(--mcx-border);
  background: #fff;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 760;
  color: #4b5563;
}
.client-note { margin: 22px auto 0; text-align: center; color: var(--mcx-muted); max-width: 780px; font-size: .9rem; }

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.offer { display: flex; flex-direction: column; min-height: 100%; }
.offer.featured { background: linear-gradient(160deg, #352b89 0%, #5545c7 100%); color: #fff; border: none; box-shadow: 0 18px 42px rgba(52,42,134,.22); }
.offer.featured p, .offer.featured li { color: rgba(255,255,255,.82); }
.offer .tag { align-self: flex-start; display: inline-block; border-radius: 999px; padding: 5px 10px; margin-bottom: 15px; font-weight: 850; font-size: .75rem; background: var(--mcx-purple-soft); color: var(--mcx-purple); }
.offer.featured .tag { background: rgba(255,255,255,.14); color: #fff; }
.offer ul { padding-left: 18px; color: var(--mcx-muted); }
.offer .btn { margin-top: auto; }
.offer:not(.featured) .btn { background: var(--mcx-purple); color: #fff; }
.offer.featured .btn { background: #fff; color: var(--mcx-purple-dark); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: steps; }
.step { padding: 25px; background: #fff; border: 1px solid var(--mcx-border); border-radius: 17px; }
.step::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  margin-bottom: 16px; background: var(--mcx-purple); color: #fff; font-weight: 900;
}
.step h3 { margin: 0 0 8px; font-size: 1.07rem; }
.step p { margin: 0; color: var(--mcx-muted); font-size: .94rem; }

.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: center; }
.services-grid { align-items: stretch; }

.mobile-carousel { -webkit-overflow-scrolling: touch; }
.mobile-carousel > * { scroll-snap-align: start; }
.mobile-carousel::-webkit-scrollbar { height: 8px; }
.mobile-carousel::-webkit-scrollbar-thumb { background: rgba(85,69,199,.22); border-radius: 999px; }
.mobile-carousel::-webkit-scrollbar-track { background: rgba(85,69,199,.06); }
.about-logo-card {
  min-height: 360px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(85,69,199,.10);
  box-shadow: 0 18px 44px rgba(18,24,40,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
}
.about-logo-card img {
  width: min(100%, 420px);
  height: auto;
}
.about-copy h2 { text-align: left; }
.checks { display: grid; gap: 12px; margin-top: 24px; }
.check { display: flex; gap: 12px; align-items: flex-start; color: #4b5563; }
.check b { color: var(--mcx-purple); }
.check i { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #eff7d4; color: #6f8c1b; font-style: normal; font-weight: 900; }

.contact { background: linear-gradient(135deg, #362b89, #5545c7); color: #fff; }
.contact .section-head { margin-bottom: 32px; }
.contact .section-label { color: #d9ed89; }
.contact .section-head p { color: rgba(255,255,255,.82); }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.contact .btn-primary { color: var(--mcx-purple-dark); }
.contact .btn-secondary { color: #fff; }
.contact-small { text-align: center; margin-top: 20px; color: rgba(255,255,255,.72); }

.site-footer { background: #252525; color: #c9c9c9; padding: 36px 0; }
.footer-grid { display: flex; justify-content: space-between; gap: 28px; align-items: center; }
.site-footer a { color: #dcdcdc; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-menu.open { display: block; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 620px; }
  .cards-3, .offer-grid { grid-template-columns: 1fr 1fr; }
  .process, .proof-grid { grid-template-columns: 1fr 1fr; }
  .about-logo-card { min-height: 300px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand img { width: 170px; }
  .nav { min-height: 68px; }
  .hero { padding: 124px 0 66px; }
  .hero-grid { gap: 40px; }
  .hero-card { padding: 22px; }
  .stat-grid, .proof-grid { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 34px; }
  .about-logo-card { min-height: 250px; padding: 24px; }
  .mobile-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    grid-template-columns: none !important;
    padding-bottom: 8px;
  }
  .mobile-carousel > * {
    min-width: 84%;
    flex: 0 0 84%;
  }
  .process.mobile-carousel > * { min-width: 82%; flex-basis: 82%; }
  .offer-grid.mobile-carousel > * { min-width: 86%; flex-basis: 86%; }
  .cards-3.mobile-carousel > * { min-width: 85%; flex-basis: 85%; }
  .footer-grid { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
