@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

* {
    margin:0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body[dir="rtl"] {
  font-family: 'Tajawal';
}

body[dir="ltr"] {
  font-family: 'Ubuntu';
}

.toggle-dark-mode {
  left: 0;
}

.toggle-lang {
  right: 0;
}

.toggle-dark-mode, .toggle-lang {
  position: fixed;
  bottom: 10px;
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 50px;
  z-index: 9999 !important;
}

body.dark-mode .toggle-dark-mode {
  background: #fff;
}

body .toggle-dark-mode img {filter: invert(0);}
body.dark-mode  footer {
  background: #000 !important;
}
body.dark-mode footer .mazo-copy {
  color: #fff !important;
}

body .toggle-dark-mode img {
  filter: invert(1);
}

body.dark-mode {
  background-color: #121212;
  color: #ffffff;
}

body.dark-mode header {
  background-color: rgba(30, 30, 30, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .brand-mark,
body.dark-mode .brand-name {
  color: #f2f6f8;
}

body.dark-mode .hero-title {
  color: #f5f8fa;
}

body.dark-mode .hero-lead {
  color: #b7c4cd;
}

body.dark-mode .head-main.hero-stage {
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(93, 153, 191, 0.22), transparent 60%),
    linear-gradient(180deg, #121212 0%, #171c20 55%, #1a2228 100%);
}

body.dark-mode a {
  color: #dddddd !important;
}

body.dark-mode a.dnl,
body.dark-mode header .download-app {
  color: #153044 !important;
}

body.dark-mode .testimonial-item,
body.dark-mode .cta-call {
  border-color: rgba(255,255,255,0.08);
}



.cp {cursor: pointer;}

ul {
  margin: 0;
  padding: 0;
}

ul li img {
  width: 35px;
}

ul li {
  list-style: none;
  font-size: 23px;
}

.bred {
    border: 2px solid red;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  box-shadow: none;
  border-bottom: 1px solid transparent;
  padding: 14px 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(21, 48, 68, 0.08);
  padding: 10px 0;
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #153044;
}

.brand-mark .brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.head-main, section {
  margin-top: 0 !important;
}

header .logo img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 12px;
}

header .navbar-hrefs {
  display: flex;
  align-items: center;
  gap: 8px;
}

header .navbar-hrefs a {
    position: relative;
    margin: 0 14px;
    text-decoration: none;
    color: #1a3344;
    font-weight: 500;
    font-size: 0.98rem;
    transition: color 0.25s ease;
}

body[dir="rtl"] header .navbar-hrefs a::after {
  right: 0;
}

body[dir="ltr"] header .navbar-hrefs a::after {
  left: 0;
}

header .navbar-hrefs a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  background-color: #3d8eb5;
  width: 0;
  height: 2px;
  border-radius: 2px;
  transition: width 0.25s ease;
}

header .navbar-hrefs a:hover,
header .navbar-hrefs a.active {
  color: #2f6f90;
}
header .navbar-hrefs a:hover::after,
header .navbar-hrefs a.active::after {
  width: 100%;
}

header .download-app {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    background: linear-gradient(135deg, #e8f4fa 0%, #d4ebf5 100%);
    color: #153044;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid rgba(61, 142, 181, 0.25);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

header .download-app:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #dceff8 0%, #c5e2f0 100%);
  border-color: rgba(61, 142, 181, 0.45);
  color: #153044;
}

/* ===== Hero ===== */
.head-main.hero-stage {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background:
      radial-gradient(ellipse 80% 55% at 50% -10%, rgba(93, 153, 191, 0.28), transparent 60%),
      radial-gradient(ellipse 50% 40% at 85% 40%, rgba(232, 244, 250, 0.9), transparent 55%),
      radial-gradient(ellipse 45% 35% at 10% 55%, rgba(245, 239, 230, 0.55), transparent 50%),
      linear-gradient(180deg, #f7fafc 0%, #eef5f9 42%, #e8f0f5 100%);
}

.hero-atmosphere {
    position: absolute;
    inset: 0;
    background-image: url('../assets/img/bg-hero.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
}

.head-main::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(920px, 92%);
    margin: 0 auto;
    padding-top: clamp(7.5rem, 14vh, 9.5rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-brand {
    margin: 0 0 0.65rem;
    font-size: clamp(0.95rem, 1.4vw, 1.1rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2f6f90;
    opacity: 0;
    animation: heroRise 0.7s ease forwards;
}

.hero-title {
    margin: 0 0 0.85rem;
    font-size: clamp(2.1rem, 5vw, 3.55rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #122836;
    max-width: 16ch;
    opacity: 0;
    animation: heroRise 0.75s ease 0.12s forwards;
}

.hero-lead {
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 400;
    line-height: 1.55;
    color: #3d5566;
    max-width: 28ch;
    opacity: 0;
    animation: heroRise 0.75s ease 0.22s forwards;
}

.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 1.6rem;
    opacity: 0;
    animation: heroRise 0.75s ease 0.34s forwards;
}

.hero-cta a {
    display: block;
    width: clamp(140px, 18vw, 175px);
    transition: transform 0.25s ease;
}

.hero-cta a:hover {
    transform: translateY(-3px);
}

.head-main .download-btns img,
.hero-cta img {
    width: 100%;
    height: auto;
    display: block;
}

.container-mobiles.hero-phones {
    position: relative;
    z-index: 1;
    bottom: auto;
    margin-top: auto;
    width: min(880px, 96%);
    height: clamp(280px, 48vh, 520px);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
}

.container-mobiles .mobile-center,
.container-mobiles .mobile-left,
.container-mobiles .mobile-right {
    position: absolute;
    bottom: 0;
}

.container-mobiles .mobile-center {
    left: 50%;
    transform: translateX(-50%) translateY(24px);
    z-index: 3;
    opacity: 0;
    animation: phoneRiseCenter 1s ease 0.35s forwards;
}

.container-mobiles .mobile-center img {
    width: clamp(220px, 28vw, 360px);
    height: auto;
    filter: drop-shadow(0 28px 40px rgba(18, 40, 54, 0.22));
}

.container-mobiles .mobile-left {
    left: 18%;
    transform: translateX(-20%) translateY(40px) rotate(-8deg);
    z-index: 1;
    opacity: 0;
    animation: phoneRiseLeft 1s ease 0.55s forwards;
}

.container-mobiles .mobile-left img,
.container-mobiles .mobile-right img {
    width: clamp(160px, 20vw, 270px);
    height: auto;
    filter: drop-shadow(0 18px 28px rgba(18, 40, 54, 0.16));
}

.container-mobiles .mobile-right {
    right: 18%;
    left: auto;
    transform: translateX(20%) translateY(40px) rotate(8deg);
    z-index: 1;
    opacity: 0;
    animation: phoneRiseRight 1s ease 0.55s forwards;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes phoneRiseCenter {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(64px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(12px);
  }
}

@keyframes phoneRiseLeft {
  from {
    opacity: 0;
    transform: translateX(-35%) translateY(80px) rotate(-8deg);
  }
  to {
    opacity: 0.92;
    transform: translateX(-20%) translateY(28px) rotate(-8deg);
  }
}

@keyframes phoneRiseRight {
  from {
    opacity: 0;
    transform: translateX(35%) translateY(80px) rotate(8deg);
  }
  to {
    opacity: 0.92;
    transform: translateX(20%) translateY(28px) rotate(8deg);
  }
}

.feature-subtitle {
    width: auto;
}

.download-appx img  {
  width: 200px;
}

/* ===== Shared section intro ===== */
.section-intro {
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #122836;
  line-height: 1.25;
}

.section-lead {
  margin: 0 auto;
  max-width: 36ch;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: #4a6272;
}

body.dark-mode .section-title { color: #f3f7fa; }
body.dark-mode .section-lead { color: #a9b8c3; }

/* ===== Why MartIt ===== */
.why-martit {
  position: relative;
  padding: clamp(4rem, 8vh, 6rem) 0;
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(212, 148, 74, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 45% at 0% 80%, rgba(93, 153, 191, 0.1), transparent 50%),
    #f8fafb;
  overflow: hidden;
}

body.dark-mode .why-martit {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(212, 148, 74, 0.08), transparent 55%),
    #151515;
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

body[dir="ltr"] .why-layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

body[dir="ltr"] .why-device {
  order: -1;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-martit .icon-txt {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--icon-color, #eef5f9);
  transition: background 0.45s ease, transform 0.3s ease;
}

.why-martit .icon-txt img {
  width: 26px;
  height: 26px;
}

.why-martit .icon-txt-1 { --icon-color: #e8f3f9; }
.why-martit .icon-txt-2 { --icon-color: #e9eefc; }
.why-martit .icon-txt-3 { --icon-color: #f8e9f1; }
.why-martit .icon-txt-4 { --icon-color: #f7ecd9; }

.feature-sect {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: transparent;
  border: 1px solid transparent;
  opacity: 0.42;
  transition: opacity 0.45s ease, background 0.45s ease, border-color 0.45s ease, transform 0.35s ease;
}

.feature-sect.is-active {
  opacity: 1;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(18, 40, 54, 0.06);
  transform: translateY(-2px);
}

body.dark-mode .feature-sect.is-active {
  background: rgba(34, 34, 34, 0.95);
  border-color: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.feature-sect.is-active .icon-txt {
  transform: scale(1.05);
}

.folx {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.feature-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #153044;
  line-height: 1.35;
}

.feature-subtitle {
  width: auto;
  max-width: 38ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #5a6f7d;
}

body.dark-mode .feature-title { color: #f0f4f7; }
body.dark-mode .feature-subtitle { color: #a7b6c1; }

.why-device {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-preview {
  position: relative;
  width: min(280px, 72vw);
  aspect-ratio: 1339 / 2716;
  height: auto;
}

.mobile-preview::before,
.mobile-preview::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 180px;
  height: 180px;
  border-radius: 40%;
  z-index: 0;
  pointer-events: none;
}

.mobile-preview::before {
  right: -20px;
  background: rgba(93, 153, 191, 0.18);
}

.mobile-preview::after {
  left: -40px;
  background: rgba(212, 148, 74, 0.14);
}

.mobile-preview img {
  position: relative;
  display: block;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

/* منطقة الشاشة الشفافة في القالب — مقاسة بدقة من preview.png */
.mobile-screen {
  position: absolute;
  top: 2.95%;
  bottom: 2.95%;
  left: 5.98%;
  right: 5.98%;
  z-index: 1;
  overflow: hidden;
  border-radius: 10% / 4.6%;
  background: #0d141a;
}

/* الفيديو أطول بشوية ومزحوط لفوق عشان شريط الحالة المسجّل جوه الفيديو يتقص */
.mobile-screen video {
  position: absolute;
  top: -7.5%;
  left: 0;
  width: 100%;
  height: 107.5%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* ===== Screenshots ===== */
.app-screenshots {
  position: relative;
  padding: clamp(4rem, 8vh, 6.5rem) 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(93, 153, 191, 0.12), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f3f7fa 100%);
  overflow: hidden;
}

body.dark-mode .app-screenshots {
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(93, 153, 191, 0.12), transparent 55%),
    linear-gradient(180deg, #121212 0%, #171b1f 100%);
}

.shots-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 0 1.5rem;
}

.screenshot-card {
  position: relative;
  margin: 0;
  padding: 0;
  width: clamp(190px, 27vw, 280px);
  flex-shrink: 0;
  border-radius: 26px;
  background: transparent;
  cursor: pointer;
  will-change: transform;
  transition:
    transform 0.55s cubic-bezier(0.22, 0.9, 0.28, 1),
    filter 0.55s ease,
    opacity 0.45s ease;
}

.screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  border: 1px solid rgba(18, 40, 54, 0.08);
  filter: drop-shadow(0 20px 32px rgba(18, 40, 54, 0.16));
  transition: filter 0.55s ease;
}

/* الجانبيتان داخلتان تحت الوسطى بميلان خفيف */
.screenshot-card-1 {
  z-index: 1;
  transform: translateX(38%) translateY(26px) rotate(-7deg) scale(0.86);
  filter: brightness(0.96);
  opacity: 0.95;
}

.screenshot-card-3 {
  z-index: 1;
  transform: translateX(-38%) translateY(26px) rotate(7deg) scale(0.86);
  filter: brightness(0.96);
  opacity: 0.95;
}

.screenshot-card-2 {
  z-index: 3;
  transform: translateY(-6px) scale(1.05);
}

.screenshot-card-2 img {
  filter: drop-shadow(0 30px 48px rgba(18, 40, 54, 0.24));
}

/* الـ hover: الصورة تطلع فوق الكل، تعتدل، وترتفع */
.shots-stage:hover .screenshot-card:not(:hover) {
  filter: brightness(0.9) saturate(0.9);
  opacity: 0.75;
}

.screenshot-card-1:hover {
  z-index: 4;
  transform: translateX(20%) translateY(-18px) rotate(-1.5deg) scale(1.02);
  filter: brightness(1);
  opacity: 1;
}

.screenshot-card-3:hover {
  z-index: 4;
  transform: translateX(-20%) translateY(-18px) rotate(1.5deg) scale(1.02);
  filter: brightness(1);
  opacity: 1;
}

.screenshot-card-2:hover {
  z-index: 4;
  transform: translateY(-22px) scale(1.1);
  filter: brightness(1);
  opacity: 1;
}

.screenshot-card:hover img {
  filter: drop-shadow(0 36px 56px rgba(18, 40, 54, 0.3));
}

body.dark-mode .screenshot-card img {
  border-color: rgba(255, 255, 255, 0.08);
  filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.45));
}

body.dark-mode .screenshot-card:hover img {
  filter: drop-shadow(0 36px 56px rgba(0, 0, 0, 0.6));
}

.hover-zoom {
  transition: transform 0.4s ease;
}

/* ظهور الموبايلات (legacy keyframes kept for safety) */
@keyframes fadeInCenter {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(0%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(0%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(50%) scale(1);
    }
}

.video-preview {
  width: 100%;
  height: 100%;
}

/* ===== Video explain ===== */
.video-explain {
  padding: clamp(4rem, 8vh, 6.5rem) 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212, 148, 74, 0.08), transparent 55%),
    #ffffff;
}

body.dark-mode .video-explain {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212, 148, 74, 0.1), transparent 55%),
    #121212;
}

.video-showcase {
  max-width: 980px;
  margin: 0 auto;
}

/* Apple-style segmented control */
.video-segmented-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 0 1.75rem;
}

.video-segmented {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 4px;
  background: rgba(18, 40, 54, 0.07);
  border-radius: 14px;
  max-width: 100%;
}

body.dark-mode .video-segmented {
  background: rgba(255, 255, 255, 0.1);
}

.segmented-indicator {
  position: absolute;
  top: 4px;
  left: 0;
  height: calc(100% - 8px);
  border-radius: 11px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(18, 40, 54, 0.08),
    0 4px 12px rgba(18, 40, 54, 0.08);
  transition: transform 0.35s cubic-bezier(0.22, 0.9, 0.28, 1), width 0.35s cubic-bezier(0.22, 0.9, 0.28, 1);
  z-index: 0;
  pointer-events: none;
}

body.dark-mode .segmented-indicator {
  background: #2a2f35;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.segmented-btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  color: #5a6f7d;
  font: inherit;
  font-weight: 700;
  font-size: clamp(0.88rem, 1.5vw, 0.98rem);
  padding: 0.7rem 1.35rem;
  border-radius: 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.segmented-btn.is-active {
  color: #122836;
}

body.dark-mode .segmented-btn {
  color: rgba(255, 255, 255, 0.55);
}

body.dark-mode .segmented-btn.is-active {
  color: #f5f8fa;
}

.segmented-btn:focus-visible {
  outline: 2px solid #3d8eb5;
  outline-offset: 2px;
}

.video-show {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 16 / 9;
  background: #122836;
  cursor: pointer;
  isolation: isolate;
}

.video-thumb {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 24px;
  overflow: hidden;
}

.video-thumb img {
  width: 100% !important;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.28s ease, transform 0.35s ease;
}

.video-thumb img.is-switching {
  opacity: 0;
  transform: scale(1.02);
}

.video-preview {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #0d1a22;
  border-radius: 24px;
}

.video-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

.video-show .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 84px;
  height: 84px;
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.video-show .play-btn:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: #fff;
}

.play-btn-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  animation: playPulse 2.2s ease-out infinite;
  pointer-events: none;
}

.video-show .play-btn img {
  width: 28px;
  height: 28px;
  margin-inline-start: 3px;
}

.video-show.is-playing .video-thumb,
.video-show.is-playing .play-btn {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.video-show .video-thumb,
.video-show .play-btn {
  transition: opacity 0.35s ease;
}

@keyframes playPulse {
  0% {
    transform: scale(0.92);
    opacity: 0.85;
  }
  70% {
    transform: scale(1.18);
    opacity: 0;
  }
  100% {
    transform: scale(1.18);
    opacity: 0;
  }
}

/* ===== Testimonials ===== */
.testimonials {
  padding: clamp(4rem, 8vh, 6.5rem) 0 3rem;
  background:
    radial-gradient(ellipse 80% 55% at 50% 100%, rgba(93, 153, 191, 0.1), transparent 55%),
    linear-gradient(180deg, #f7fafc 0%, #eef4f8 100%);
}

body.dark-mode .testimonials {
  background:
    radial-gradient(ellipse 80% 55% at 50% 100%, rgba(93, 153, 191, 0.1), transparent 55%),
    #151515;
}

.testimonial-carousel {
  padding: 1.5rem 0 2.5rem !important;
}

.testimonial-item {
  position: relative;
  text-align: center;
  padding: 3.25rem 1.6rem 1.75rem;
  margin: 2.5rem 0.4rem 0.5rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(18, 40, 54, 0.06);
  border-radius: 22px;
  box-shadow: none;
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.testimonial-item:hover {
  transform: translateY(-4px);
  border-color: rgba(93, 153, 191, 0.28);
  background: #fff;
}

body.dark-mode .testimonial-item {
  background: rgba(28, 28, 28, 0.92);
  border-color: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.testimonial-item .user-avatar {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(18, 40, 54, 0.12);
}

body.dark-mode .testimonial-item .user-avatar {
  border-color: #222;
}

.testimonial-item .stars {
  margin: 0.35rem 0 0.85rem;
  color: #d4944a;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

.testimonial-quote {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #3d5566;
}

body.dark-mode .testimonial-quote {
  color: #b7c4cd;
}

.testimonial-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #153044;
}

body.dark-mode .testimonial-name {
  color: #f0f4f7;
}

.owl-theme .owl-dots .owl-dot span {
  background: rgba(93, 153, 191, 0.3);
  transition: background 0.25s ease, transform 0.25s ease;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #3d8eb5;
  transform: scale(1.15);
}

/* ===== CTA ===== */
.CTA {
  padding: 3.5rem 0 2.25rem;
  overflow: visible;
}

.CTA .container {
  overflow: visible;
}

.cta-call {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.55fr);
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 240px;
  height: auto;
  overflow: visible;
  border-radius: 24px;
  padding: 1.15rem 1.6rem 1.15rem clamp(1.4rem, 3vw, 2.2rem);
  background:
    radial-gradient(ellipse 55% 80% at 100% 50%, rgba(212, 148, 74, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 70% at 0% 0%, rgba(93, 153, 191, 0.22), transparent 50%),
    linear-gradient(135deg, #163246 0%, #1e4a63 48%, #2a5f7a 100%);
  color: #fff;
}

body[dir="ltr"] .cta-call {
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1.2fr);
}

body[dir="ltr"] .mobile-cta {
  order: -1;
}

.cta-copy {
  position: relative;
  z-index: 2;
  padding: 0.35rem 0;
}

.cta-title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: none;
  white-space: nowrap;
}

.cta-points {
  margin: 0 0 1rem;
  padding: 0;
}

.cta-points li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.92);
}

.cta-points li img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.download-appx {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: auto !important;
  max-width: 460px;
}

.download-appx a {
  display: block;
  width: clamp(110px, 14vw, 138px);
  transition: transform 0.25s ease;
}

.download-appx a:hover {
  transform: translateY(-3px);
}

.download-appx img {
  width: 100%;
  height: auto;
  display: block;
}

.mobile-cta {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 3;
  align-self: end;
  height: 100%;
  margin-bottom: -0.15rem;
}

.mobile-cta img {
  width: min(195px, 46vw);
  height: auto;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.32));
  transform: translateY(-42%);
}

/* ===== Footer ===== */
.site-footer {
  text-align: center;
  padding: 2.4rem 0 2rem;
  background: #0f1c26;
  color: rgba(255, 255, 255, 0.78);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-bottom: 1.15rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82) !important;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.footer-links a:hover {
  color: #fff !important;
}

.footer-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
}

.footer-social .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.85) !important;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none !important;
  border: 0 !important;
  border-bottom: none !important;
  box-shadow: none !important;
  transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.footer-social .icon::before,
.footer-social .icon::after {
  content: none !important;
  display: none !important;
}

.footer-social .icon i {
  font-size: 1.35rem;
  line-height: 1;
  text-decoration: none !important;
  border: 0 !important;
}

.footer-social .icon:hover,
.footer-social .icon:focus,
.footer-social .icon:active {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  text-decoration: none !important;
}

.site-footer .mazo-copy {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55) !important;
}

body.dark-mode footer,
body.dark-mode .site-footer {
  background: #0a1218 !important;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { box-shadow: 0 0 0 30px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

