@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --mlm-cyan: #22e6c8;
  --mlm-teal: #00c2b8;
  --mlm-blue: #2f80ed;
  --mlm-purple: #7b3ff2;
  --mlm-ink: #0b1220;
  --mlm-muted: #475569;
  --mlm-muted-light: #64748b;
  --mlm-slate: #94a3b8;
  --mlm-bg: #fafbfc;
  --mlm-surface: #ffffff;
  --mlm-border: rgba(11, 18, 32, 0.07);
  --mlm-radius-card: 12px;
  --mlm-radius-pill: 6px;
  --mlm-shadow: 0 10px 24px rgba(17, 24, 39, 0.1);
  --mlm-shadow-lg: 0 18px 44px rgba(17, 24, 39, 0.14);
  --mlm-gradient: linear-gradient(135deg, #22e6c8, #2f80ed, #7b3ff2);
  --mlm-gradient-text: linear-gradient(135deg, #00c2b8, #2f80ed, #7b3ff2);
  --mlm-max: 1200px;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: rgba(47, 128, 237, 0.2);
}

@keyframes mlmGradShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

@keyframes mlmFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

body.mlm-billing-body {
  margin: 0;
  background: var(--mlm-bg);
  font-family: Inter, system-ui, sans-serif;
  color: var(--mlm-ink);
  overflow-x: hidden;
}

.mlm-main-full .page-content,
.mlm-content-full .page-content {
  padding: 0;
  margin: 0;
}

/* ---- Header / Nav ---- */
#header.mlm-header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(11, 18, 32, 0.07);
  min-height: auto;
}

.mlm-header-inner {
  max-width: var(--mlm-max);
  margin: 0 auto;
  padding: 0 24px;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mlm-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: none;
}

.mlm-logo-link img {
  height: 80px;
  width: auto;
  display: block;
}

.mlm-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mlm-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--mlm-ink);
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.2s, color 0.2s;
}

.mlm-nav a:hover {
  opacity: 1;
  color: var(--mlm-blue);
}

.mlm-nav-account {
  font-size: 14px !important;
}

/* ---- Buttons ---- */
.mlm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--mlm-radius-pill);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.mlm-btn-primary {
  color: #fff;
  background: var(--mlm-gradient);
  box-shadow: 0 6px 16px rgba(47, 128, 237, 0.26);
}

.mlm-btn-primary:hover {
  box-shadow: 0 10px 24px rgba(47, 128, 237, 0.4);
  transform: translateY(-1px);
  color: #fff;
}

.mlm-btn-secondary {
  color: var(--mlm-blue);
  background: transparent;
  border: 1.5px solid var(--mlm-blue);
}

.mlm-btn-secondary:hover {
  background: rgba(47, 128, 237, 0.06);
  color: var(--mlm-blue);
}

.mlm-btn-white {
  color: var(--mlm-blue);
  background: #fff;
  box-shadow: 0 10px 24px rgba(11, 18, 32, 0.18);
  font-weight: 700;
}

.mlm-btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(11, 18, 32, 0.26);
  color: var(--mlm-blue);
}

.mlm-btn-ghost-light {
  color: #fff;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}

.mlm-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.mlm-btn-block {
  width: 100%;
}

/* ---- Typography helpers ---- */
.mlm-gradient-text {
  background: var(--mlm-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.mlm-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--mlm-radius-pill);
  background: rgba(47, 128, 237, 0.1);
  margin-bottom: 22px;
}

.mlm-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mlm-teal);
}

.mlm-pill-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--mlm-blue);
}

.mlm-section-title {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.mlm-section-lead {
  font-size: 18px;
  color: var(--mlm-muted);
  margin: 0 auto;
  max-width: 560px;
  line-height: 1.55;
}

.mlm-check {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 194, 184, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--mlm-teal);
  font-size: 11px;
  font-weight: 800;
}

/* ---- Sections ---- */
.mlm-section {
  max-width: var(--mlm-max);
  margin: 0 auto;
  padding: 64px 24px;
  scroll-margin-top: 80px;
}

.mlm-section-muted {
  background: linear-gradient(180deg, #fafbfc, #f1f5f9);
}

.mlm-section-dark {
  background: var(--mlm-ink);
  color: #fff;
}

.mlm-section-head {
  text-align: center;
  margin-bottom: 36px;
}

/* ---- Cards ---- */
.mlm-card {
  background: var(--mlm-surface);
  border: 1px solid rgba(11, 18, 32, 0.06);
  border-radius: var(--mlm-radius-card);
  box-shadow: var(--mlm-shadow);
  padding: 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.mlm-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--mlm-shadow-lg);
}

.mlm-badge-popular {
  position: absolute;
  top: -12px;
  left: 30px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 11px;
  border-radius: var(--mlm-radius-pill);
  background: var(--mlm-gradient);
  box-shadow: 0 6px 14px rgba(47, 128, 237, 0.3);
}

.mlm-badge-popular-right {
  left: auto;
  right: 24px;
}

.mlm-stack-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--mlm-blue);
  margin-bottom: 6px;
}

.mlm-price-big {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mlm-price-unit {
  font-size: 16px;
  font-weight: 600;
  color: var(--mlm-muted-light);
}

.mlm-setup-fee {
  font-size: 13px;
  color: var(--mlm-muted-light);
}

.mlm-annual-note {
  font-size: 13px;
  color: var(--mlm-teal);
  font-weight: 600;
}

/* ---- Toggle groups ---- */
.mlm-toggle-group {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(11, 18, 32, 0.08);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
}

.mlm-toggle-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: var(--mlm-muted-light);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.mlm-toggle-btn.is-active {
  background: var(--mlm-gradient);
  color: #fff;
  box-shadow: 0 4px 12px rgba(47, 128, 237, 0.28);
}

/* ---- Hero ---- */
.mlm-hero {
  position: relative;
  scroll-margin-top: 80px;
}

.mlm-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.mlm-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  background-size: 200% 200%;
  animation: mlmGradShift 12s ease infinite;
}

.mlm-hero-orb-a {
  top: -180px;
  right: -120px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at 40% 40%, rgba(34, 230, 200, 0.22), rgba(123, 63, 242, 0.16), transparent 70%);
}

.mlm-hero-orb-b {
  bottom: -220px;
  left: -160px;
  width: 520px;
  height: 520px;
  filter: blur(6px);
  background: radial-gradient(circle at 60% 60%, rgba(47, 128, 237, 0.16), transparent 70%);
  animation-duration: 16s;
}

.mlm-hero-grid {
  max-width: var(--mlm-max);
  margin: 0 auto;
  padding: 48px 24px 84px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: center;
}

.mlm-hero h1 {
  font-size: clamp(40px, 5.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 22px;
}

.mlm-hero-lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: var(--mlm-muted);
  margin: 0 0 32px;
  max-width: 520px;
}

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

.mlm-hero-stats {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.mlm-hero-stat-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--mlm-ink);
}

.mlm-hero-stat-label {
  font-size: 13px;
  color: var(--mlm-muted-light);
}

.mlm-hero-divider {
  width: 1px;
  background: rgba(11, 18, 32, 0.1);
}

.mlm-hero-visual {
  position: relative;
  height: 440px;
}

.mlm-hex {
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.mlm-hex-gradient {
  background: var(--mlm-gradient);
  box-shadow: 0 24px 50px rgba(47, 128, 237, 0.32);
}

.mlm-hero-hex-main {
  position: absolute;
  top: 30px;
  left: 18%;
  width: 190px;
  height: 214px;
  animation: mlmFloat 7s ease-in-out infinite;
}

.mlm-hero-hex-card {
  position: absolute;
  top: 170px;
  left: 46%;
  width: 140px;
  height: 158px;
  background: #fff;
  border: 1px solid var(--mlm-border);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mlmFloat2 6s ease-in-out infinite;
}

.mlm-hero-hex-outline {
  position: absolute;
  top: 10px;
  left: 54%;
  width: 96px;
  height: 108px;
  background: transparent;
  border: 2px solid rgba(47, 128, 237, 0.35);
  animation: mlmFloat 8s ease-in-out infinite;
}

.mlm-hero-badge-float {
  position: absolute;
  bottom: 24px;
  left: 24%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--mlm-ink);
  color: #fff;
  box-shadow: 0 14px 30px rgba(11, 18, 32, 0.3);
  animation: mlmFloat2 7.5s ease-in-out infinite;
  font-size: 13px;
  font-weight: 600;
}

.mlm-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mlm-cyan);
  box-shadow: 0 0 0 4px rgba(34, 230, 200, 0.25);
}

.mlm-hero-offer-card {
  position: relative;
  z-index: 1;
  max-width: 380px;
  margin-left: auto;
  padding: 28px;
}

.mlm-feature-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mlm-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #334155;
}

/* ---- Pillars ---- */
.mlm-pillars {
  max-width: var(--mlm-max);
  margin: 0 auto;
  padding: 24px 24px 40px;
}

.mlm-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.mlm-hex-icon {
  width: 54px;
  height: 60px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mlm-hex-icon.mlm-hex-gradient .mlm-server-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mlm-server-bars span {
  display: block;
  width: 24px;
  height: 5px;
  border-radius: 2px;
  background: #fff;
}

.mlm-server-bars span:nth-child(2) { opacity: 0.85; }
.mlm-server-bars span:nth-child(3) { opacity: 0.7; width: 18px; }

/* ---- Pricing grids ---- */
.mlm-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.mlm-pricing-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  max-width: 760px;
  margin: 0 auto;
}

.mlm-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.mlm-pricing-card.is-popular {
  border-color: rgba(47, 128, 237, 0.35);
  box-shadow: 0 20px 44px rgba(47, 128, 237, 0.12);
}

.mlm-pricing-card[hidden] {
  display: none !important;
}

.mlm-pricing-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* ---- Themes ---- */
.mlm-theme-preview {
  position: relative;
  height: 172px;
  background: repeating-linear-gradient(135deg, #eef2f7, #eef2f7 11px, #e3e9f1 11px, #e3e9f1 22px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mlm-theme-preview span {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  color: var(--mlm-muted-light);
  background: rgba(255, 255, 255, 0.7);
  padding: 6px 10px;
  border-radius: 6px;
}

.mlm-theme-body {
  padding: 18px 20px;
}

.mlm-theme-stack {
  font-size: 12px;
  font-weight: 600;
  color: var(--mlm-blue);
  background: rgba(47, 128, 237, 0.1);
  padding: 4px 9px;
  border-radius: 6px;
}

/* ---- Personas ---- */
.mlm-persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.mlm-persona-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--mlm-radius-card);
  padding: 24px;
  transition: background 0.2s, border-color 0.2s;
}

.mlm-persona-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(34, 230, 200, 0.35);
}

.mlm-persona-hex {
  width: 44px;
  height: 50px;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  margin-bottom: 16px;
}

/* ---- FAQ ---- */
.mlm-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mlm-faq-item {
  background: #fff;
  border: 1px solid rgba(11, 18, 32, 0.07);
  border-radius: var(--mlm-radius-card);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.mlm-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--mlm-ink);
}

.mlm-faq-icon {
  flex: none;
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  color: var(--mlm-blue);
  transition: transform 0.25s;
}

.mlm-faq-item.is-open .mlm-faq-icon {
  transform: rotate(45deg);
}

.mlm-faq-a {
  display: none;
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--mlm-muted);
}

.mlm-faq-item.is-open .mlm-faq-a {
  display: block;
}

/* ---- CTA band ---- */
.mlm-cta-band-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 72px;
  scroll-margin-top: 80px;
}

.mlm-cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--mlm-radius-card);
  background: var(--mlm-gradient);
  background-size: 200% 200%;
  animation: mlmGradShift 12s ease infinite;
  padding: clamp(36px, 5vw, 60px);
  text-align: center;
  box-shadow: 0 24px 50px rgba(47, 128, 237, 0.3);
}

.mlm-cta-band h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 14px;
}

.mlm-cta-band p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto 28px;
  max-width: 520px;
}

.mlm-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- Footer ---- */
#footer.mlm-footer {
  background: var(--mlm-ink);
  color: #fff;
  padding: 0;
  margin-top: 0;
}

.mlm-footer-inner {
  max-width: var(--mlm-max);
  margin: 0 auto;
  padding: 56px 24px 32px;
}

.mlm-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  margin-bottom: 40px;
}

.mlm-footer-brand img {
  width: 42px;
  height: auto;
}

.mlm-footer-brand-name {
  font-size: 17px;
}

.mlm-footer-brand-name strong {
  font-weight: 800;
}

.mlm-footer-brand-name span {
  font-weight: 500;
}

.mlm-footer-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mlm-slate);
  margin: 14px 0 0;
  max-width: 260px;
}

.mlm-footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mlm-muted-light);
  margin-bottom: 14px;
}

.mlm-footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mlm-footer-links a,
.mlm-footer-links span {
  font-size: 14px;
  color: #cbd5e1;
  text-decoration: none;
}

.mlm-footer-links a:hover {
  color: var(--mlm-cyan);
}

.mlm-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--mlm-muted-light);
}

/* ---- Reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Forms (shared funnel + checkout) ---- */
.mlm-input,
.mlm-funnel-form select.mlm-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(17, 24, 39, 0.22);
  border-radius: var(--mlm-radius-pill);
  font-family: inherit;
  font-size: 15px;
  background: #fff;
}

.mlm-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

.mlm-field {
  margin-bottom: 16px;
}

/* ---- Hide PS catalog noise on billing shop ---- */
#products .product-miniature .add-to-cart,
.product-add-to-cart {
  display: none !important;
}

@media (max-width: 768px) {
  .mlm-header-inner {
    height: auto;
    min-height: 72px;
    padding: 12px 16px;
  }

  .mlm-logo-link img {
    height: 52px;
  }

  .mlm-nav {
    gap: 12px 16px;
  }

  .mlm-nav a:not(.mlm-btn) {
    display: none;
  }

  .mlm-hero-visual {
    height: 320px;
  }
}
