/* MusixFly Home — Grootin + Ditto inspired */

.mf-home {
  background: #0a0a0a;
}

/* ── HERO (Grootin: massive centered type + product shot) ── */
.mf-hero {
  position: relative;
  padding: 100px 24px 0;
  text-align: center;
  overflow: hidden;
}

.mf-hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120vw);
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(19, 141, 254, 0.22) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.mf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(16, 185, 129, 0.06), transparent),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(19, 141, 254, 0.1), transparent);
  pointer-events: none;
}

.mf-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.mf-eyebrow {
  display: inline-block;
  padding: 12px 24px;
  margin-bottom: 32px;
  border: 1px solid rgba(19, 141, 254, 0.45);
  border-radius: 999px;
  background: rgba(19, 141, 254, 0.14);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #138dfe;
}

.mf-hero__title {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: clamp(44px, 8.5vw, 88px) !important;
  font-weight: 800 !important;
  line-height: 0.98 !important;
  margin-bottom: 32px !important;
  letter-spacing: -0.045em !important;
  color: #fff !important;
}

.mf-hero__title mark {
  display: inline-block;
}

.mf-hero__sub {
  font-size: clamp(18px, 2.2vw, 22px) !important;
  color: #a9bdda !important;
  max-width: 720px;
  margin: 0 auto 40px !important;
  line-height: 1.55 !important;
}

.mf-hero__sub strong {
  color: #fff;
  font-weight: 700;
}

.mf-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 56px;
}

.mf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.mf-btn--primary {
  background: linear-gradient(135deg, #138dfe, #0b6fd4);
  color: #0a0a0a;
  box-shadow: 0 16px 40px rgba(19, 141, 254, 0.45);
}

.mf-btn--primary:hover {
  transform: translateY(-4px);
  color: #0a0a0a;
  box-shadow: 0 20px 48px rgba(19, 141, 254, 0.55);
}

.mf-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.mf-btn--ghost:hover {
  border-color: #138dfe;
  color: #138dfe;
  background: rgba(19, 141, 254, 0.08);
}

.mf-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 64px;
}

@media (min-width: 640px) {
  .mf-hero-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mf-hero-stat {
  padding: 28px 18px;
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}

.mf-hero-stat__num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: #138dfe;
  line-height: 1;
  margin-bottom: 10px;
}

.mf-hero-stat__label {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mf-hero__visual {
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.mf-showcase--hero {
  margin: 0;
  transform: perspective(1200px) rotateX(4deg);
  transition: transform 0.5s ease;
}

.mf-showcase--hero:hover {
  transform: perspective(1200px) rotateX(0deg);
}

.mf-showcase--hero .mf-showcase__inner {
  padding: 8px;
}

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

/* ── PLATFORMS (Grootin logo strip) ── */
.mf-platforms {
  padding: 56px 24px;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #0e0e0e, #111);
}

.mf-platforms__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 36px 56px;
  max-width: 1100px;
  margin: 0 auto;
}

.mf-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.7;
  filter: grayscale(0.3);
  transition: opacity 0.25s, transform 0.25s, filter 0.25s;
}

.mf-platform:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-4px) scale(1.05);
}

.mf-platform img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.mf-platform span {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── TICKER (Grootin marquee) ── */
.mf-ticker {
  overflow: hidden;
  padding: 28px 0;
  background: #138dfe;
  border-bottom: none;
}

.mf-ticker__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: mf_ticker 22s linear infinite;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.mf-ticker__track em {
  font-style: normal;
  color: #0a0a0a;
}

@keyframes mf_ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── TRUST BAR ── */
.mf-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
  padding: 40px 24px;
  max-width: 1100px;
  margin: 0 auto;
  background: #0a0a0a;
}

.mf-trust span {
  padding: 12px 20px;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
}

.mf-trust i {
  color: #10b981;
  margin-right: 10px;
}

/* ── SECTIONS (Ditto numbered blocks) ── */
.mf-section {
  padding: 110px 24px;
}

.mf-section--dark {
  background: #0e0e0e;
}

.mf-section__head {
  max-width: 780px;
  margin: 0 auto 64px;
  text-align: center;
}

.mf-section__num {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #138dfe;
  margin-bottom: 20px;
}

.mf-section__title {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: clamp(32px, 5vw, 52px) !important;
  line-height: 1.05 !important;
  margin-bottom: 24px !important;
  color: #fff !important;
}

.mf-section__desc {
  font-size: 18px !important;
  color: #94a3b8 !important;
  line-height: 1.6 !important;
}

.mf-section__desc strong {
  color: #fff;
}

/* ── FEATURE GRID (Grootin bento cards) ── */
.mf-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .mf-features { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .mf-features { grid-template-columns: repeat(3, 1fr); }
}

.mf-feature {
  padding: 36px 32px;
  background: linear-gradient(165deg, #161616 0%, #1c1c1c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.mf-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #138dfe, #10b981);
  opacity: 0;
  transition: opacity 0.3s;
}

.mf-feature:hover {
  border-color: rgba(19, 141, 254, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.mf-feature:hover::before {
  opacity: 1;
}

.mf-feature__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(19, 141, 254, 0.18);
  border-radius: 16px;
  color: #138dfe;
  font-size: 24px;
  margin-bottom: 24px;
}

.mf-feature h3 {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 22px !important;
  margin-bottom: 14px !important;
  color: #fff !important;
}

.mf-feature p {
  font-size: 16px !important;
  color: #94a3b8 !important;
  line-height: 1.65 !important;
}

.mf-feature__tag {
  display: inline-block;
  margin-top: 20px;
  font-size: 30px;
  font-weight: 800;
  color: #138dfe;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
}

/* ── STEPS (Ditto 01/02/03) ── */
.mf-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1240px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .mf-steps { grid-template-columns: repeat(3, 1fr); }
}

.mf-step {
  padding: 48px 36px;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  position: relative;
}

.mf-step__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #138dfe 30%, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}

.mf-step h3 {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: 24px !important;
  margin-bottom: 16px !important;
  color: #fff !important;
}

.mf-step p {
  font-size: 17px !important;
  color: #94a3b8 !important;
  line-height: 1.6 !important;
}

/* ── SPLIT SHOWCASE ── */
.mf-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .mf-split { grid-template-columns: 1fr 1fr; }
  .mf-split--flip .mf-split__media { order: 2; }
}

.mf-split__text h2 {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: clamp(30px, 4vw, 44px) !important;
  line-height: 1.08 !important;
  margin-bottom: 24px !important;
  color: #fff !important;
}

.mf-split__text p {
  font-size: 17px !important;
  color: #a9bdda !important;
  margin-bottom: 18px !important;
  line-height: 1.65 !important;
}

.mf-checklist {
  list-style: none;
  margin: 28px 0;
}

.mf-checklist li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 17px !important;
  color: #e2e8f0 !important;
  margin-bottom: 16px !important;
}

.mf-checklist i {
  color: #138dfe;
  margin-top: 6px;
  font-size: 18px;
  flex-shrink: 0;
}

.mf-split__media img {
  width: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
}

/* ── CTA BAND ── */
.mf-cta {
  margin: 0 24px 110px;
  padding: 88px 48px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(19, 141, 254, 0.18), rgba(16, 185, 129, 0.1)),
    #111;
  border: 1px solid rgba(19, 141, 254, 0.35);
  border-radius: 32px;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.mf-cta h2 {
  font-family: 'Space Grotesk', sans-serif !important;
  font-size: clamp(32px, 5vw, 48px) !important;
  margin-bottom: 24px !important;
  color: #fff !important;
}

.mf-cta p {
  font-size: 18px !important;
  color: #a9bdda !important;
  max-width: 600px;
  margin: 0 auto 36px !important;
}

/* ── LAPTOP SHOWCASE ── */
.mf-showcase {
  max-width: 1040px;
  margin: 0 auto;
  padding: 4px;
  background: linear-gradient(135deg, #138dfe, transparent 45%, #10b981);
  border-radius: 24px;
}

.mf-showcase__inner {
  background: #111;
  border-radius: 20px;
  padding: 24px;
  position: relative;
}

.mf-laptop-frame {
  width: 100%;
  display: block;
}

.mf-laptop-screen {
  position: absolute;
  top: 4.5%;
  left: 11.5%;
  width: 77%;
  border-radius: 4px;
}

@media (max-width: 640px) {
  .mf-hero {
    padding-top: 80px;
  }

  .mf-hero__title {
    font-size: clamp(40px, 12vw, 56px) !important;
  }

  .mf-hero-stat__num {
    font-size: 32px;
  }

  .mf-ticker__track {
    font-size: 20px;
  }

  .mf-section {
    padding: 72px 20px;
  }

  .mf-cta {
    padding: 56px 24px;
  }
}
