/*
Theme Name: Muzli 1:1
Description: Pixel-perfect reconstruction of muz.li as a WordPress theme.
Author: Designer Reconstruction
Version: 2.0
*/

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif&family=Poppins:wght@300;400;500;600&display=swap');

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; border: 0 solid #e5e7eb; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; }
body { margin: 0; font-family: Poppins, sans-serif; background: #fff; color: #000; line-height: 1.5; }
h1, h2, h3, h4, h5, h6, p { margin: 0; font-size: inherit; font-weight: inherit; }
h1, h2 { font-family: "Instrument Serif", Georgia, serif; }
a { color: #2E54FF; text-decoration: inherit; }
img, svg, video { display: block; max-width: 100%; height: auto; }
svg { display: inline-block; }
ul { list-style: none; margin: 0; padding: 0; }
button { cursor: pointer; font-family: inherit; }

/* ============================================
   ICON FONT
   ============================================ */
@font-face {
  font-display: swap;
  font-family: icomoon;
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/icomoon.woff') format('woff'),
       url('assets/fonts/icomoon.ttf') format('truetype');
}
[class*=" icon-"], [class^="icon-"] {
  font-family: icomoon !important;
  speak: none;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
}
.icon-muzli::before { content: "\e90b"; }
.icon-muzli-full::before { content: "\e948"; }
.icon-menu::before { content: "\e90c"; }
.icon-user::before { content: "\e90f"; }
.icon-play::before { content: "\e923"; }

@media (max-width: 767px) {
  .site-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
  }
  .site-footer .brand { grid-column: span 2; }
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 65px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: center;
  background: #ffffff;
  font-size: 14px;
  box-shadow: 0 2px 40px 0 rgba(0,0,0,0.10);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
@media (min-width: 768px) {
  .site-header { box-shadow: none; }
}

.site-header .logo {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 24px;
  color: #000;
  text-decoration: none;
}
.site-header .logo .icon-muzli {
  width: 40px;
  height: 40px;
  margin-right: 8px;
  display: inline-block;
  font-size: 22px;
  line-height: 40px;
  text-align: center;
}

.site-header nav {
  display: none;
  align-items: center;
  gap: 16px;
  justify-self: end;
  padding-right: 16px;
}
@media (min-width: 768px) {
  .site-header nav { display: flex; }
}
.site-header nav a:not(.cta) {
  color: #303030;
  opacity: 0.7;
  font-weight: 400;
  padding: 8px;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.15s ease-in;
}
.site-header nav a:not(.cta):hover { color: #000; opacity: 1; }
.site-header nav a.cta {
  background: #2E54FF;
  color: #fff !important;
  opacity: 1;
  border-radius: 9999px;
  padding: 8px 20px;
  text-decoration: none;
}
.site-header nav a.cta:hover { background: #2c4de2; }

.site-header .dropdown { position: relative; line-height: 36px; white-space: nowrap; user-select: none; }
.site-header .dropdown > span {
  color: #303030;
  cursor: pointer;
  font-weight: 400;
  opacity: 0.7;
  padding: 12px 8px;
}
.site-header .dropdown .icon-play {
  display: inline-block;
  font-size: 0.6em;
  line-height: 17px;
  margin-left: 0.5em;
  rotate: 90deg;
  color: #000;
}
.site-header .dropdown ul {
  position: absolute;
  right: 0;
  top: 40px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(0,0,0,0.1);
  min-width: 200px;
  padding: 16px 0;
  display: grid;
  gap: 8px;
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.15s ease-in;
}
.site-header .dropdown.active ul { height: auto; opacity: 1; }
.site-header .dropdown ul li { height: 40px; line-height: 40px; margin: 0 16px; }
.site-header .dropdown ul li a {
  color: #303030 !important;
  opacity: 1 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.site-header .icon-user {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsla(0,0%,76%,0.3);
  border-radius: 50%;
  cursor: pointer;
}

.site-header .jobs-badge {
  font-size: 9px;
  line-height: 12px;
  padding: 1px 5px;
  margin-left: 4px;
  background: #009649;
  color: #fff;
  border-radius: 9999px;
}

/* Hamburger */
.hamburger { display: none; }
@media (max-width: 767px) {
  .site-header { display: flex; justify-content: center; }
  .site-header .logo .title { display: none; }
  .hamburger { display: contents; }
}
.hamburger .trigger {
  color: #303030;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 100;
  display: inline-block;
}
.hamburger .icon-menu {
  display: inline-block;
  font-size: 20px;
  height: 40px;
  line-height: 40px;
  margin: 12px;
  text-align: center;
  width: 40px;
  transition: all 0.15s ease-in;
}
.hamburger .container {
  background: #000;
  height: 100vh;
  left: -315px;
  padding: 0;
  position: fixed;
  text-align: left;
  top: 0;
  transition: all 0.15s ease-in-out;
  width: 315px;
  z-index: 10;
}
.hamburger .container .controls { height: 65px; line-height: 65px; }
.hamburger .container .controls .icon-menu { transform: rotate(90deg); }
.hamburger .container ul { padding: 0 20px; }
.hamburger .container ul li { height: 40px; line-height: 40px; }
.hamburger .container ul li.large a { font-size: 20px; font-weight: 600; line-height: 2.5; }
.hamburger .container ul li a {
  color: #fff;
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 3;
  text-decoration: none;
}
.hamburger .container ul li.separator { height: 1px; background: #333; margin: 12px 0; }
.hamburger .container > .icon-muzli {
  position: absolute;
  bottom: 20px;
  left: 16px;
  font-size: 28px;
  opacity: 0.3;
  color: #fff;
}
.hamburger .overlay {
  background: rgba(0,0,0,0.7);
  bottom: 0;
  height: 100dvh;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  right: 0;
  transition: opacity 0.15s ease-in-out;
  z-index: 1;
  pointer-events: none;
}
.hamburger.active .trigger { position: fixed; }
.hamburger.active .trigger i { color: #fff; transform: rotate(90deg); }
.hamburger.active .container { box-shadow: 0 2px 60px rgba(0,0,0,0.5); left: 0; }
.hamburger.active .overlay { opacity: 1; pointer-events: all; }

/* ============================================
   MAIN LAYOUT
   ============================================ */
.site-main { margin-top: 64px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  text-align: center;
  margin: 160px auto 0;
  max-width: 72rem;
  padding: 0 28px;
  animation: slideIn 2s cubic-bezier(0.54,0.46,0.54,0.94) forwards;
  opacity: 0;
  transform: translateY(-10px);
}
@media (max-width: 768px) {
  .hero { animation: none; opacity: 1; transform: none; margin-top: 160px; }
}
.hero h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 3rem;
  line-height: 1.375;
  margin-bottom: 24px;
  margin-top: 160px;
  font-weight: 400;
}
@media (min-width: 768px) {
  .hero h1 { font-size: 5.3rem; }
}
.hero h2 {
  font-weight: 200;
  font-family: Poppins, sans-serif;
  font-size: 1.25rem;
  margin-bottom: 4px;
}
@media (min-width: 768px) {
  .hero h2 { font-size: 1.875rem; }
}
.hero .disclaimer {
  margin-top: 16px;
  font-size: 0.875rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #404565;
}
@media (min-width: 768px) {
  .hero .disclaimer { font-size: 1rem; }
}
.hero .learn-more { color: #2E54FF; }
a.uhover { position: relative; }
a.uhover:hover::before { scale: 1 1; }
a.uhover::before {
  background-color: rgb(46,84,255);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  scale: 0 1;
  transition: scale 0.15s ease-in-out;
  width: 100%;
}

.hero .cta-row {
  padding: 32px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

/* CTA buttons */
.cta-main {
  background: #2E54FF;
  color: #fff;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  line-height: 40px;
  padding: 12px 48px;
  font-weight: 400;
  font-size: 18px;
  height: 4rem;
  text-decoration: none;
  transition: background-color 0.3s;
}
.cta-main:hover { background: #2c4de2; }
.cta-main svg { margin-right: 8px; flex-shrink: 0; }
.cta-main.light {
  background: #fff;
  color: #405E7D;
  display: inline-flex;
  justify-content: center;
  transition: all 0.2s ease-in-out;
}
.cta-main.light:hover {
  background: #2c4de2;
  color: #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  translate: 0 -5px;
}

/* ============================================
   FEED SLIDER (scrolling design grid)
   ============================================ */
.feed-slider {
  cursor: pointer;
  height: 50vh;
  margin: 20px 0 40px;
  overflow: hidden;
  position: relative;
}
@media (min-width: 768px) {
  .feed-slider { height: 80vh; margin-bottom: 80px; }
}
.feed-slider .scroll {
  animation: scrollGrid 180s linear infinite;
  background-image: url('https://bobo.muzli.cloud/1742113902229-images.webp');
  background-position: 0 0;
  background-repeat: repeat-x;
  background-size: auto 100%;
  height: 100%;
  width: 100vw;
}
@media (min-width: 769px) {
  .feed-slider .scroll {
    background-image: image-set(
      url('https://bobo.muzli.cloud/1742113902229-images.webp') 1x,
      url('https://bobo.muzli.cloud/1742114086312-imagesX2-min.webp') 2x
    );
  }
}
@keyframes scrollGrid {
  0% { background-position: 0 0; }
  100% { background-position: -2420px 0; }
}

/* ============================================
   STORIES / TESTIMONIALS
   ============================================ */
.stories-block {
  max-width: 80rem;
  margin: 160px auto;
  padding: 0 28px;
}
@media (max-width: 768px) {
  .stories-block { margin: 80px 0; text-align: center; }
}
.stories-block .stories {
  min-height: 400px;
  position: relative;
}
.stories-block .story {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  transition: all 0.5s ease-in;
}
.stories-block .story.active {
  opacity: 1;
  pointer-events: all;
}
@media (max-width: 768px) {
  .stories-block .story { position: static; height: 0; }
  .stories-block .story.active { height: auto; }
}
.stories-block .story h3 {
  color: #000;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.875rem;
  margin: 32px 0 0;
  font-family: Poppins, sans-serif;
}
.stories-block .story h4 {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.875rem;
  font-family: Poppins, sans-serif;
}
.stories-block .story h4 a { color: rgba(0,0,0,0.5); text-decoration: none; }
.stories-block .story p {
  color: #000;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 130%;
  margin: 16px 0 0;
  max-width: 56rem;
  text-align: center;
}

.user-image-wrapper {
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.1));
  position: relative;
}
.user-image-wrapper::before {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' viewBox='0 0 120 120'%3E%3Cpath stroke='%23fff' stroke-width='6' d='M33.389 4.107C42.423 3.486 52.04 3 60 3s17.577.486 26.611 1.107a31.44 31.44 0 0 1 29.282 29.282C116.514 42.423 117 52.04 117 60s-.486 17.577-1.107 26.611a31.44 31.44 0 0 1-29.282 29.282C77.577 116.514 67.96 117 60 117s-17.577-.486-26.611-1.107A31.44 31.44 0 0 1 4.107 86.611C3.486 77.577 3 67.96 3 60s.486-17.577 1.107-26.611A31.44 31.44 0 0 1 33.39 4.107Z'/%3E%3C/svg%3E");
  background-size: contain;
  bottom: -1px;
  content: "";
  left: -1px;
  position: absolute;
  right: -1px;
  top: -1px;
  z-index: 2;
}
.user-image-wrapper img {
  height: 7.5rem;
  width: 7.5rem;
  padding: 5px;
  object-fit: cover;
  -webkit-mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 120 120'%3E%3Cpath fill='%23000' d='M1.114 33.183A34.44 34.44 0 0 1 33.183 1.114C42.242.491 51.939 0 60 0s17.758.491 26.817 1.114a34.44 34.44 0 0 1 32.069 32.069C119.509 42.242 120 51.939 120 60s-.491 17.758-1.114 26.817a34.444 34.444 0 0 1-32.069 32.069C77.758 119.509 68.061 120 60 120s-17.758-.491-26.817-1.114A34.44 34.44 0 0 1 1.114 86.817C.491 77.758 0 68.061 0 60s.491-17.758 1.114-26.817'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 120 120'%3E%3Cpath fill='%23000' d='M1.114 33.183A34.44 34.44 0 0 1 33.183 1.114C42.242.491 51.939 0 60 0s17.758.491 26.817 1.114a34.44 34.44 0 0 1 32.069 32.069C119.509 42.242 120 51.939 120 60s-.491 17.758-1.114 26.817a34.444 34.444 0 0 1-32.069 32.069C77.758 119.509 68.061 120 60 120s-17.758-.491-26.817-1.114A34.44 34.44 0 0 1 1.114 86.817C.491 77.758 0 68.061 0 60s.491-17.758 1.114-26.817'/%3E%3C/svg%3E");
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100%;
  mask-size: 100%;
}

.stories-block .slider {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 0 0 32px;
}
@media (max-width: 768px) {
  .stories-block .slider { display: none; }
}
.stories-block .slider .pill {
  background: #d9d9d9;
  border-radius: 100px;
  cursor: pointer;
  height: 4px;
  transition: all 0.35s ease-in;
  width: 9px;
}
.stories-block .slider .pill:hover { background: #000; }
.stories-block .slider .pill.active { background: #2e54ff; width: 16px; }

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
  margin: 0 auto 40px;
  max-width: 80rem;
  padding: 0 28px;
}
@media (min-width: 768px) {
  .content-section { text-align: center; }
}
.content-section h3 {
  font-size: 1.5rem;
  line-height: 2rem;
  margin-bottom: 24px;
  font-family: Poppins, sans-serif;
  font-weight: 600;
}
.content-section p {
  font-size: 0.875rem;
  color: #404565;
  line-height: 1.6;
  max-width: 58rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .content-section p { font-size: 1rem; }
}
.content-section .highlight {
  background: url('https://bobo.muzli.cloud/highlight.png') no-repeat 0;
  background-size: 100%;
  font-weight: 600;
  padding: 0 8px;
  color: inherit;
}
.content-section picture,
.content-section .figure picture { display: block; }
.content-section picture img { margin: 0 auto; }

.block.offgrid { margin-top: 160px; }
.block.offgrid picture { margin-top: 40px; margin-bottom: 144px; display: block; }
@media (min-width: 640px) {
  .block.offgrid picture { margin-bottom: 80px; }
}

.block.grid-columns {
  display: grid;
  gap: 40px;
  align-items: center;
  margin-top: 20px !important;
  width: calc(100vw - 18%);
  max-width: 80rem;
}
@media (min-width: 768px) {
  .block.grid-columns { grid-template-columns: 1fr 1fr; text-align: left; }
}
.block.grid-columns .text-left { text-align: left; }
.block.grid-columns .text-left h3,
.block.grid-columns .text-left p { text-align: left; margin-left: 0; }
.block.grid-columns .text-left p + p { margin-top: 12px; }
.block.grid-columns.wide { max-width: 1460px; gap: 80px; }
@media (min-width: 768px) {
  .block.grid-columns .figure.order-first { order: -1; }
}

/* ============================================
   BOTTOM CTA
   ============================================ */
.bottom-cta {
  margin-top: 160px;
  display: flex;
  color: #fff;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  background-image: url('https://muz.li/_nuxt/bottom-cta.DeKcUYew.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 60vh;
  padding: 100px 28px;
  width: 100%;
  max-width: none;
}
@media (min-width: 768px) {
  .bottom-cta { background-size: 150%; }
  .bottom-cta h3 { font-size: 3rem; line-height: 1.375; }
}
.bottom-cta .icon {
  display: inline-block;
  margin-bottom: 40px;
  font-size: 22px;
  width: 56px;
  height: 56px;
  line-height: 56px;
  color: #405E7D;
  border-radius: 9999px;
  background: #fff;
}
.bottom-cta h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #fff;
  font-family: Poppins, sans-serif;
}
.bottom-cta p {
  max-width: 42rem;
  margin: 0 auto 48px;
  font-size: 1.125rem;
  line-height: 1.5;
  color: #fff;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
  margin: 160px auto;
  max-width: 160rem;
  width: calc(100vw - 18%);
  padding: 0 28px;
}
@media (max-width: 768px) {
  .reviews { margin: 80px 0; width: auto; }
}
.reviews h3 {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  font-family: Poppins, sans-serif;
}
.reviews .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  font-weight: 300;
  text-align: left;
  max-width: 64rem;
  margin: 80px auto 0;
}
@media (min-width: 768px) {
  .reviews .grid { grid-template-columns: 1fr 1fr; }
}
.reviews .grid p { margin-bottom: 8px; color: #404565; }
.reviews .grid a {
  background: url('https://bobo.muzli.cloud/stars@2x.png') no-repeat right 2px;
  background-size: 6rem;
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-top: 16px;
  padding-right: 112px;
  color: #2E54FF;
  text-decoration: none;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: rgba(46,84,255,0.10);
  color: #404565;
  padding: 40px;
  font-size: 14px;
  line-height: 2;
}
@media (min-width: 768px) {
  .site-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 80px 160px;
  }
}
.site-footer .brand { grid-column: span 2; }
@media (min-width: 768px) {
  .site-footer .brand { grid-column: span 1; padding-right: 64px; }
}
.site-footer .icon-muzli-full {
  display: block;
  font-size: 26px;
  margin-bottom: 24px;
}
.site-footer h5 {
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.75rem;
  margin-bottom: 16px;
  color: #404565;
  font-family: Poppins, sans-serif;
}
.site-footer ul { display: flex; flex-direction: column; gap: 12px; line-height: 1.25rem; }
.site-footer a { color: #404565; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand p { line-height: 1.25rem; margin-bottom: 16px; }

.site-copy {
  font-size: 14px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  color: #404565;
}
@media (min-width: 768px) {
  .site-copy {
    grid-template-columns: 1fr 1fr;
    padding: 40px 112px;
  }
  .site-copy .langs { justify-self: end; }
}
.site-copy a { color: #2E54FF; text-decoration: none; }
.site-copy a:hover { text-decoration: underline; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes slideIn {
  to { opacity: 1; transform: translateY(0); }
}
