/* Mortiflix theme — loaded after the Boozy template CSS.
   Groovy display type (Burra) + clean AI-style UI (Sora), iridescent accents on deep ink. */

@font-face { font-family: "Burra"; src: url("../fonts/burra/Burra-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Burra"; src: url("../fonts/burra/Burra-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Burra"; src: url("../fonts/burra/Burra-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Burra"; src: url("../fonts/burra/Burra-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Burra Expanded"; src: url("../fonts/burra/Burra-LightExpanded.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Burra Expanded"; src: url("../fonts/burra/Burra-RegularExpanded.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Burra Expanded"; src: url("../fonts/burra/Burra-MediumExpanded.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Sora"; src: url("../fonts/sora/sora-latin-wght.woff2") format("woff2-variations"), url("../fonts/sora/sora-latin-wght.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  /* template variables */
  --primary-font: "Sora", system-ui, sans-serif;
  --secondary-font: "Sora", system-ui, sans-serif;
  --primary-color: #b18cff;
  --body-color: #c9c4d8;
  --heading-color: #f5f2ff;
  --body-font-size: 17px;
  --body-line-height: 1.7;

  /* Mortiflix */
  --mf-ink: #0b0913;
  --mf-ink-2: #110e1c;
  --mf-line: rgba(255, 255, 255, 0.08);
  --mf-glass: rgba(255, 255, 255, 0.035);
  --mf-lav: #b18cff;
  --mf-pink: #ff8fd1;
  --mf-aqua: #7ce8f3;
  --mf-grad: linear-gradient(100deg, #b18cff 0%, #ff8fd1 50%, #7ce8f3 100%);
  --mf-display: "Burra Expanded", "Burra", "Sora", sans-serif;
  --mf-display-tight: "Burra", "Sora", sans-serif;
  --mf-radius: 22px;
}

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 90px; }
body.mf, body.mf .main { background: var(--mf-ink); color: var(--body-color); font-family: var(--primary-font); }
body.mf p { font-family: var(--primary-font); line-height: 1.7; }
.mf ::selection { background: rgba(177, 140, 255, 0.35); }

/* ---------- shared bits ---------- */
.mf-grad-text {
  background: var(--mf-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mf-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 242, 255, 0.6);
  margin-bottom: 18px;
}
.mf-h2 {
  font-family: var(--mf-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--heading-color);
  text-transform: uppercase;
  margin: 0;
}
.mf-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--primary-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.mf-pill-solid { background: var(--mf-grad); color: #150f22; }
.mf-pill-solid:hover { color: #150f22; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(177, 140, 255, 0.35); }
.mf-pill-ghost { color: #f5f2ff; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.03); }
.mf-pill-ghost:hover { color: #f5f2ff; border-color: rgba(177, 140, 255, 0.8); background: rgba(177, 140, 255, 0.12); }

.mf-section { padding: 140px 0; }
.mf-section-alt { background: var(--mf-ink-2); }
.mf-section-head { max-width: 860px; margin-bottom: 64px; }
@media (max-width: 767px) {
  .mf-section { padding: 96px 0; }
  .mf-section-head { margin-bottom: 44px; }
}

/* ---------- header ---------- */
.header01 { background: transparent; }
.header01.fixedHeader,
.header01.isSticky.fixedHeader {
  background: rgba(11, 9, 19, 0.72) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mf-line);
  box-shadow: none;
}
.mf-logo {
  font-family: var(--mf-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f5f2ff;
}
.mf-logo:hover { color: #f5f2ff; }
.mainMenu ul li a { font-family: var(--primary-font); font-weight: 500; font-size: 15px; letter-spacing: 0.02em; text-transform: none; }
.mainMenu ul li a:hover, .mainMenu ul li a span:hover { color: var(--mf-lav); }
.mainMenu ul li a::before, .mainMenu ul li a::after { display: none; }
.headerOniAccess { display: flex; align-items: center; gap: 18px; }
.mf-header-login { font-weight: 500; font-size: 15px; color: rgba(245, 242, 255, 0.8); }
.mf-header-login:hover { color: #fff; }
.mf-header-cta { padding: 10px 20px; font-size: 14px; }
@media (max-width: 575px) { .mf-header-cta { display: none; } }

/* ---------- hero ---------- */
.mf-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 160px 0 120px;
}
.mf-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.9;
  filter: saturate(1.15);
}
.mf-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 9, 19, 0.82) 0%, rgba(11, 9, 19, 0.55) 45%, rgba(11, 9, 19, 0.15) 100%),
    linear-gradient(180deg, rgba(11, 9, 19, 0.3) 0%, rgba(11, 9, 19, 0) 40%, var(--mf-ink) 100%);
}
.mf-hero-inner { position: relative; }
.mf-hero-title {
  font-family: var(--mf-display);
  font-weight: 400;
  font-size: clamp(46px, 8vw, 118px);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #f7f4ff;
  margin: 0 0 26px;
}
.mf-hero-sub { max-width: 560px; font-size: 19px; color: rgba(245, 242, 255, 0.78); margin-bottom: 38px; }
.mf-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (prefers-reduced-motion: reduce) { .mf-hero-video { display: none; } .mf-hero { background: url(../images/mf/hero-flow-poster.jpg) center/cover; } }

/* ---------- services ---------- */
.mf-card {
  height: 100%;
  padding: 38px 34px;
  border-radius: var(--mf-radius);
  background: var(--mf-glass);
  border: 1px solid var(--mf-line);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.mf-card:hover { transform: translateY(-4px); border-color: rgba(177, 140, 255, 0.45); background: rgba(177, 140, 255, 0.06); }
.mf-card-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(177, 140, 255, 0.25), rgba(124, 232, 243, 0.18));
  color: #f5f2ff;
  font-size: 20px;
  margin-bottom: 26px;
}
.mf-card h3 { font-family: var(--primary-font); font-weight: 600; font-size: 22px; letter-spacing: 0; text-transform: none; color: #f5f2ff; margin: 0 0 12px; }
.mf-card p { margin: 0; font-size: 16px; }

/* ---------- process ---------- */
.mf-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.mf-steps li { position: relative; padding-top: 70px; }
.mf-steps li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50px;
  right: -34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(177, 140, 255, 0.5), rgba(177, 140, 255, 0));
}
.mf-steps li:last-child::before { display: none; }
.mf-step-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--mf-grad);
  color: #150f22;
  font-weight: 600;
  font-size: 16px;
}
.mf-steps h3 { font-family: var(--primary-font); font-weight: 600; font-size: 19px; text-transform: none; letter-spacing: 0; color: #f5f2ff; margin: 0 0 10px; }
.mf-steps p { margin: 0; font-size: 15.5px; }
@media (max-width: 991px) { .mf-steps { grid-template-columns: repeat(2, 1fr); } .mf-steps li::before { display: none; } }
@media (max-width: 575px) { .mf-steps { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- pricing ---------- */
.mf-price {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 40px 34px 34px;
  border-radius: var(--mf-radius);
  background: var(--mf-glass);
  border: 1px solid var(--mf-line);
}
.mf-price-featured {
  background: linear-gradient(var(--mf-ink-2), var(--mf-ink-2)) padding-box, var(--mf-grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 20px 60px rgba(177, 140, 255, 0.12);
}
.mf-price-badge {
  position: absolute;
  top: -13px;
  right: 26px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--mf-grad);
  color: #150f22;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}
.mf-price-label { font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mf-lav); }
.mf-price-amount { font-family: var(--mf-display); font-size: 52px; line-height: 1; color: #f7f4ff; margin: 18px 0 14px; }
.mf-price-amount small { font-family: var(--primary-font); font-size: 15px; font-weight: 400; letter-spacing: 0; color: rgba(245, 242, 255, 0.6); }
.mf-price-desc { font-size: 15.5px; margin-bottom: 22px; }
.mf-price ul { list-style: none; padding: 0; margin: 0 0 30px; }
.mf-price ul li { padding: 7px 0; font-size: 15.5px; color: #e4def5; }
.mf-price ul li i { width: 22px; color: var(--mf-aqua); }
.mf-price ul li.mf-no { color: rgba(245, 242, 255, 0.5); }
.mf-price ul li.mf-no i { color: rgba(245, 242, 255, 0.35); }
.mf-price-btn { margin-top: auto; width: 100%; }
.mf-fine-print { margin: 34px 0 0; font-size: 13.5px; color: rgba(245, 242, 255, 0.45); max-width: 820px; }

/* ---------- contact ---------- */
.mf-contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 90px 30px;
  border-radius: 32px;
  border: 1px solid var(--mf-line);
  background: var(--mf-ink-2);
}
.mf-contact-glow {
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    radial-gradient(closest-side at 30% 40%, rgba(177, 140, 255, 0.28), transparent),
    radial-gradient(closest-side at 70% 60%, rgba(255, 143, 209, 0.2), transparent),
    radial-gradient(closest-side at 50% 90%, rgba(124, 232, 243, 0.14), transparent);
}
.mf-contact p { max-width: 560px; margin: 24px auto 34px; color: rgba(245, 242, 255, 0.78); }

/* ---------- footer ---------- */
.mf-footer { padding: 70px 0 40px; border-top: 1px solid var(--mf-line); }
.mf-footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.mf-footer-nav { display: flex; flex-wrap: wrap; gap: 26px; }
.mf-footer-nav a, .mf-footer-sister a { color: rgba(245, 242, 255, 0.8); font-size: 15px; }
.mf-footer-nav a:hover, .mf-footer-sister a:hover { color: var(--mf-lav); }
.mf-footer-sister { margin: 0; font-size: 14px; color: rgba(245, 242, 255, 0.5); }
.mf-footer-copy { margin: 40px 0 0; font-size: 13px; color: rgba(245, 242, 255, 0.4); }

/* ---------- template leftovers recolored ---------- */
#ball { border-color: var(--mf-lav) !important; }
#backtotop { background: rgba(177, 140, 255, 0.9); color: #150f22; }
.preloader-wrap { background: var(--mf-ink) !important; }
.loader_bar { background: var(--mf-grad) !important; }

/* phone header: narrower wordmark, quiet menu button */
.headerOniAccess .menu_btn { background: transparent !important; color: #f5f2ff !important; border: 1px solid rgba(255,255,255,0.2); border-radius: 12px; }
@media (max-width: 767px) {
  .mf-logo { font-family: var(--mf-display-tight); font-size: 22px; }
  .headerOniAccess { gap: 12px; }
  .mf-hero-shade { background: linear-gradient(180deg, rgba(11,9,19,0.55) 0%, rgba(11,9,19,0.5) 50%, var(--mf-ink) 100%); }
}
