:root {
  --famify-blue: #0ea5e9;
  --famify-hero-bg: #f4fbff;
  --famify-text: #0f172a;
  --famify-muted: #475569;
}

body {
  color: var(--famify-text);
}

/* Navbar */
.navbar {
  background: #ffffffcc;
  backdrop-filter: blur(8px);
}
.navbar .nav-link {
  color: #334155;
  font-weight: 500;
}
.navbar .nav-link:hover {
  color: #0f172a;
}

/* Buttons */
.btn-famify {
  background: var(--famify-blue);
  border-color: var(--famify-blue);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding-inline: 22px;
}
.btn-famify:hover {
  background: #0b93d2;
  border-color: #0b93d2;
  color: #fff;
}

.btn-famify-outline {
  background: transparent;
  color: #1ea7fd;
  border: 2px solid #1ea7fd;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-famify-outline:hover {
  background: #1ea7fd;
  color: #fff;
}

.btn-famify-lg {
  padding: 14px 34px;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  background: var(--famify-hero-bg);
  border-bottom: 1px solid #e5eef7;
}
.hero h1 {
  letter-spacing: -0.02em;
}
.hero-lead {
  color: var(--famify-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}
.hero-lead strong {
  color: #0f172a;
  font-weight: 800;
}

.check-dot {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--famify-blue);
  display: inline-block;
  position: relative;
  flex: 0 0 18px;
  margin-top: 2px;
}
.check-dot::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Hero mock images */
.hero-mock {
  position: relative;
  min-height: 420px;
}

@media (max-width: 991.98px) {
  .hero-mock {
    min-height: auto;
  }
  .hero-mock .phone {
    position: static;
    width: 62%;
    transform: rotate(-6deg);
    margin-top: 18px;
  }
}

.famify-card-img {
  text-align: center;
}

.famify-card-img img {
  width: 200px;
}

.famify-card {
  border: solid 1px #e2e2e2;
  border-radius: 15px;
}

section#features,
section#hogyan {
  background: var(--famify-hero-bg);
}

#famifyFeaturesCarousel,
#reviewsCarousel,
#reviewsCarouselMobile {
  position: relative;
  padding-bottom: 28px; /* hely a pöttyöknek */
}

#famifyFeaturesCarousel .carousel-indicators [data-bs-target],
#reviewsCarousel .carousel-indicators [data-bs-target],
#reviewsCarouselMobile .carousel-indicators [data-bs-target] {
  background-color: #0ea5e9;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  opacity: 0.35;
}

#famifyFeaturesCarousel .carousel-indicators .active,
#reviewsCarousel .carousel-indicators .active,
#reviewsCarouselMobile .carousel-indicators .active {
  opacity: 1;
}

#famifyFeaturesCarousel .carousel-control-prev,
#famifyFeaturesCarousel .carousel-control-next,
#reviewsCarousel .carousel-control-prev,
#reviewsCarousel .carousel-control-next,
#reviewsCarouselMobile .carousel-control-prev,
#reviewsCarouselMobile .carousel-control-next {
  width: 44px;
  opacity: 1;
}

#famifyFeaturesCarousel .carousel-control-prev-icon,
#famifyFeaturesCarousel .carousel-control-next-icon,
#reviewsCarousel .carousel-control-prev-icon,
#reviewsCarousel .carousel-control-next-icon,
#reviewsCarouselMobile .carousel-control-prev-icon,
#reviewsCarouselMobile .carousel-control-next-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background-color: #0ea5e9;
  background-size: 18px 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

/* pozíció finomhangolás: ne a szélén legyen */
#famifyFeaturesCarousel .carousel-control-prev,
#reviewsCarousel .carousel-control-prev,
#reviewsCarouselMobile .carousel-control-prev {
  left: -22px;
}
#famifyFeaturesCarousel .carousel-control-next,
#reviewsCarousel .carousel-control-next,
#reviewsCarouselMobile .carousel-control-next {
  right: -22px;
}

div#reviewsCarouselMobile {
  display: none;
}

@media (max-width: 991.98px) {
  #famifyFeaturesCarousel .carousel-control-prev,
  #reviewsCarousel .carousel-control-prev,
  #reviewsCarouselMobile .carousel-control-prev {
    left: 6px;
  }
  #famifyFeaturesCarousel .carousel-control-next,
  #reviewsCarousel .carousel-control-next,
  #reviewsCarouselMobile .carousel-control-next {
    right: 6px;
  }

  div#reviewsCarousel {
    display: none;
  }

  div#reviewsCarouselMobile {
    display: block;
  }

  #reviewsCarouselMobile button.carousel-control-prev {
    left: -11px !important;
  }

  #reviewsCarouselMobile button.carousel-control-next {
    right: -6px !important;
  }
}

.benefit-card img {
  width: 100%;
}

.benefit-card {
  border: solid 1px #e2e2e2;
  border-radius: 15px;
}

.feature-card {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

/* videó keret */
.media-frame {
  border-radius: 22px;
  overflow: hidden;
  background: #0b1220;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.15);
}

/* videó fixen kitölt */
.media-el {
  width: 100%;
  height: auto;
  display: block;
}

section#minden-egy-helyen img {
  width: 50%;
  margin: 0 auto;
}

.review-card {
  background: #fbfbfb;
}

.stars {
  color: #f2a73b;
  font-size: 1.7em;
  margin-bottom: 10px;
}

.founder-quote {
  border-left: 5px solid #0ea5e9;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
}

section#features,
section#features .container,
div#famifyFeaturesCarousel {
  padding-bottom: 0 !important;
}

@media (max-width: 991.98px) {
  /* mobil logo középre */
  .navbar .mobile-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  /* mobil lenyíló menü mindig LEFELÉ */
  .navbar .mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 12px;
    margin-top: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    z-index: 1050;
  }

  .navbar .mobile-nav.collapsing {
    height: auto;
  }

  .navbar .nav-cta {
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
  }

  .navbar {
    height: 70px;
  }

  a.btn.btn-famify.btn-famify-lg {
    width: 100%;
  }

  .carousel-inner {
    padding-bottom: 60px;
  }

  .carousel-control-next,
  .carousel-control-prev {
    bottom: 150px;
  }
}
