/* ========================================
   MOBILE STYLES
   ======================================== */

html,
body {
  overflow-x: hidden;
}

/* ========================================
   HAMBURGER MENU & MOBILE MENU
   ======================================== */

.hamburger-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  gap: 6px;
  z-index: 101;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 46px 16px 24px;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 99;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-panel {
  position: relative;
  width: min(100%, 390px);
  background: rgba(255, 255, 255, 0.97);
  border-radius: 10px;
  padding: 48px 14px 16px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.55);
  transform: translateY(-10px) scale(0.98);
  transition: transform 0.28s ease;
}

.mobile-menu.active .mobile-menu-panel {
  transform: translateY(0) scale(1);
}

.mobile-menu-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #8d9199;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.mobile-menu-links a {
  display: block;
  padding: 14px 8px;
  color: #183a8f;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 0;
}

.mobile-menu-links li:last-child {
  margin-top: 14px;
}

.nav-cta-mobile {
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 999px;
  box-shadow: none;
}

.mobile-menu-links .nav-cta-mobile + .nav-cta-mobile {
  margin-top: 10px;
}

@media (max-width: 420px) {
  .mobile-menu {
    padding-top: 42px;
  }

  .mobile-menu-panel {
    width: 100%;
  }
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 932px) {

  .vertical-bar {
    width: 2px;
    height: 60px;
    background: var(--text);
    border: 1px solid var(--text);
    margin-right: 10px;
  }


  #features .section-subtitle{
    padding: 10px;
  }


  #features i{
    display: none;
  }

  .social-icons-container{
    text-align: center;
  }
  
  #functions img{
    height:auto!important;
  }

  .mock-screen .mock-screen-text{
    bottom:-80px;
  }
  .mock-screen .mock-screen-text span:nth-child(2){
    font-size: 1rem;
    text-align: left;
  }

  .partners{
    margin-top: 12%;
  }

  body {
    padding-top: 78px;
  }

  nav {
    padding: 15px 20px;
    transition: background 0.3s ease, box-shadow 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  nav.scrolled {
    padding: 10px 20px;
  }

  .nav-logo img {
    width: 180px;
  }

  .nav-links {
    display: none !important;
  }

  .hamburger-menu {
    display: flex;
  }

  body.menu-open nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  #features {
    padding: 90px 0 60px;
  }

  #features .container-mid > .d-flex,
  #features .d-flex.justify-content-between {
    flex-direction: column;
    align-items: center !important;
    gap: 32px;
    margin-top: 48px;
  }

  #features .left-col{
    margin-bottom: 10%;
  }

  #features .left-col .justify-content-end{
    justify-content: center !important;
  }

  #features .left-col,
  #features .right-col {
    width: 100%;
    justify-content: center !important;
  }

  #features .left-col > div,
  #features .right-col > div {
    width: 100%;
    gap: 28px !important;
  }

  #features .left-col .d-flex,
  #features .right-col .d-flex {
    align-items: center !important;
    text-align: center !important;
  }

  #features .big-circle {
    width: 240px;
    height: 240px;
    margin: 0 auto;
  }

  #features .big-circle::before {
    width: 270px;
    height: 270px;
  }

  #features .big-circle img {
    width: 215px;
  }

  #features .row[style="margin-top: 3%"] {
    margin-top: 32px !important;
  }

  #features .col-12.text-end.pe-5 {
    padding-right: 0 !important;
    text-align: center !important;
  }

  #features .col-12.text-end.pe-5 img {
    max-width: 220px;
    width: 100%;
    height: auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .pricing-card {
    width: 100% !important;
  }

  #functions .function-box{
    height: 120px!important;
  }
}

@media (max-width: 768px) {
  /* GLOBAL */
  #features i{
    display: none;
  }

  #features .section-subtitle{
    padding: 10px;
  }

  .section {
    padding: 60px 20px;
  }

  .container-max,
  .container-mid,
  .container-small,
  .container-narrow {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ========================================
   HERO
   ======================================== */

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
    padding: 60px 20px;
  }

  .hero p {
    margin: 0 auto 24px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
  }

  .hero-visual img {
    max-width: 350px;
  }

  /* ========================================
   PARTNERS
   ======================================== */

  .partners-box {
    flex-direction: column;
    gap: 30px;
    width: 100%;
    padding: 20px 16px;
  }

  .partners-box.owl-loaded .owl-stage {
    display: flex;
    align-items: center;
  }

  .partners-box.owl-loaded .owl-item {
    display: flex;
    justify-content: center;
  }

  .partner-logo {
    min-height: 84px;
    padding-inline: 12px;
  }

  .partner-logo img {
    max-width: min(220px, 100%);
  }

  /* ========================================
   STATS
   ======================================== */

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  /* ========================================
   FEATURES
   ======================================== */

  #features .big-circle {
    width: 220px;
    height: 220px;
  }

  #features .big-circle::before {
    width: 245px;
    height: 245px;
  }

  #features .big-circle img {
    width: 200px;
  }

  /* ========================================
   DEVICE SECTION
   ======================================== */

  .device-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .device-inner a {
    margin: auto;
  }

  /* ========================================
   FUNCTIONS
   ======================================== */

  #functions .row {
    flex-direction: column;
    gap: 40px;
  }

  .function-box {
    max-width: 100%;
  }

  .function-box-inner {
    align-items: flex-start;
  }

  .function-content h6 {
    margin-bottom: 4px;
  }

  /* ========================================
   POS SECTION
   ======================================== */

  .pos-box {
    grid-template-columns: 1fr;
    padding: 40px 25px;
    text-align: center;
  }

  .pos-image img {
    max-width: 240px;
  }

  .pos-warranty {
    right: -13px;
    bottom: -20px;
    width: 112px;
    padding: 14px;
    font-size: 0.82rem;
    border-radius: 50% 50% 50% 10px;
  }

  .carousel-section {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .device-slide {
    padding: 0;
  }

  .device-slide__content {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 28px 18px 32px;
    border-radius: 20px;
  }

  .device-slide__copy {
    max-width: 100%;
    gap: 14px;
  }

  .device-slide__copy h2 {
    font-size: 2rem;
  }

  .device-slide__features {
    padding-left: 18px;
  }

  .device-slide__features li {
    font-size: 0.92rem;
  }

  .device-slide__cta {
    width: auto;
    justify-content: center;
  }

  .device-slide__visual {
    min-height: auto;
    padding-right: 38px;
  }

  .device-frame {
    min-height: 240px;
    max-width: 100%;
    padding: 16px;
  }

  .device-frame img {
    max-height: 220px;
  }

  .device-frame--wide img {
    transform: rotate(-8deg) scale(1.01);
  }

  .device-carousel .owl-dots {
    margin-top: 18px;
  }

  .device-frame img{
    position: relative;
    left: 0;
  }

  /* ========================================
   HOW IT WORKS
   ======================================== */

  .steps {
    flex-direction: column;
    gap: 30px;
  }

  .step p {
    margin-left: 0;
  }

  .step:not(:last-child)::after {
    display: none;
  }

  /* ========================================
   FEATURES GRID
   ======================================== */

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 22px 18px;
  }

  .logos-section {
    padding: 20px 20px 44px;
  }

  .logos-title {
    margin-bottom: 20px;
  }

  .img-slider:not(.owl-loaded) {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .img-slider.owl-loaded .owl-stage {
    display: flex;
    align-items: center;
  }

  .img-slider.owl-loaded .owl-item {
    display: flex;
    justify-content: center;
  }

  .logo-item {
    min-height: 84px;
    width: 100%;
    justify-content: center;
    padding-inline: 12px;
  }

  .logo-item img {
    max-width: min(220px, 100%);
  }

  .device-visual img{
    height: 300px;
  }

  /* ========================================
   PRICING
   ======================================== */

  #pricing .w-100 {
    width: 100% !important;
  }

  #pricing .col-12.d-flex.flex-lg-row.flex-column {
    width: 100%;
    align-items: stretch !important;
    gap: 20px !important;
  }

  #pricing .col-xl-3.col-lg-3.col-md-12 {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    flex: 0 0 100%;
  }

  #pricing .pricing-card,
  #pricing .featured-plan {
    width: 100% !important;
    max-width: 100%;
    padding: 28px 24px;
  }

  #pricing .featured-plan {
    order: 0;
  }

  #pricing .featured-top {
    gap: 12px;
    flex-wrap: wrap;
  }

  #pricing .featured-badge {
    margin-left: auto;
  }

  #pricing .plan-price,
  #pricing .featured-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
  }

  #pricing .plan-price-eur {
    font-size: 2.5rem !important;
    line-height: 1;
  }

  #pricing .plan-btn,
  #pricing .featured-btn {
    width: 100%;
    min-height: 52px;
  }

  #pricing .plan-features {
    gap: 12px;
    margin-bottom: 0;
  }

  .social-icons-container{
    text-align: center;
  }

  #pricing .plan-features li {
    align-items: flex-start;
    line-height: 1.5;
  }
  
  #pricing .plan-features li:last-child {
    font-size: 13.5px;
  }

  #pricing .plan-features i {
    margin-top: 3px;
    flex: 0 0 auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  /* ========================================
   EMAIL CTA
   ======================================== */

  .cta-email-box {
    padding: 40px 25px;
  }

  .cta-email-form {
    flex-direction: column;
    gap: 10px;
    background: transparent;
  }

  .cta-email-form button {
    width: 100%;
  }

  /* ========================================
   FAQ
   ======================================== */

  .faq-header {
    font-size: 0.95rem;
  }

  .faq-content {
    font-size: 0.9rem;
  }

  /* ========================================
   DEMO FORM
   ======================================== */

  .demo-box {
    padding: 40px 25px;
  }

  /* ========================================
   FOOTER
   ======================================== */

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
  }

  .footer-contact-grid {
    flex-direction: column;
    gap: 20px;
  }

  .footer-offices-grid {
    flex-direction: column;
    gap: 15px;
  }

  .social-icons {
    justify-content: center;
  }

  .mobile-footer-contact,
  .mobile-footer-offices {
    flex-direction: row;
    gap: 14px;
  }

  .mobile-footer-contact > div,
  .mobile-footer-offices > div {
    margin-right: 0 !important;
  }

  #functions img{
    height:auto!important;
  }

  #functions .function-box{
    height: 120px!important;
  }
}


.owl-carousel .owl-item img{
  width: unset!important;
}