/*
 * MEP TASARIM — controlled UI/UX enhancement layer
 *
 * This file is deliberately additive. It does not redefine the Bootstrap
 * grid, column widths, content order or calculator field identifiers.
 */

.mep-ux {
  --mep-ink: #0d1325;
  --mep-ink-soft: #1d2942;
  --mep-teal: #145157;
  --mep-green: #2d7365;
  --mep-cyan: #25a8c7;
  --mep-accent: #f0a333;
  --mep-paper: #ffffff;
  --mep-canvas: #f4f7f8;
  --mep-line: #d9e3e7;
  --mep-muted: #5f6f7c;
  --mep-shadow-sm: 0 6px 20px rgba(13, 19, 37, 0.08);
  --mep-shadow-md: 0 16px 44px rgba(13, 19, 37, 0.12);
  color: #4f5d68;
  background-color: var(--mep-canvas);
  background-image:
    radial-gradient(circle at 8% 12%, rgba(37, 168, 199, 0.055), transparent 22rem),
    radial-gradient(circle at 93% 42%, rgba(45, 115, 101, 0.045), transparent 26rem);
}

.mep-ux ::selection {
  color: #fff;
  background: var(--mep-teal);
}

.mep-ux a,
.mep-ux button,
.mep-ux input,
.mep-ux select,
.mep-ux textarea {
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.mep-ux a:focus,
.mep-ux button:focus,
.mep-ux input:focus,
.mep-ux select:focus,
.mep-ux textarea:focus,
.mep-ux [tabindex]:focus {
  outline: 2px solid #fff !important;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #0b6ea8 !important;
}

@supports selector(:focus-visible) {
  .mep-ux a:focus:not(:focus-visible),
  .mep-ux button:focus:not(:focus-visible),
  .mep-ux input:focus:not(:focus-visible),
  .mep-ux select:focus:not(:focus-visible),
  .mep-ux textarea:focus:not(:focus-visible),
  .mep-ux [tabindex]:focus:not(:focus-visible) {
    outline: none !important;
  }

  .mep-ux a:focus-visible,
  .mep-ux button:focus-visible,
  .mep-ux input:focus-visible,
  .mep-ux select:focus-visible,
  .mep-ux textarea:focus-visible,
  .mep-ux [tabindex]:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px #0b6ea8 !important;
  }
}

/* Persistent navigation: same footprint, clearer surface and current page. */
.mep-ux .main-nav {
  background-color: rgba(13, 19, 37, 0.97) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 10px 28px rgba(13, 19, 37, 0.2);
  -webkit-backdrop-filter: saturate(135%) blur(10px);
  backdrop-filter: saturate(135%) blur(10px);
}

.mep-ux .navbar-brand img {
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.22));
}

.mep-ux .navbar-brand .mep-brand-heading {
  display: block;
  margin-top: 5px;
}

.mep-ux .navbar-right > li > a {
  position: relative;
}

.mep-ux .navbar-right > li > a::after {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mep-cyan), var(--mep-accent));
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mep-ux .navbar-right > li > a:hover::after,
.mep-ux .navbar-right > li > a:focus::after,
.mep-ux .navbar-right > li.active > a::after,
.mep-ux .navbar-right > li > a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.mep-ux .navbar-right > li.active > a,
.mep-ux .navbar-right > li > a[aria-current="page"] {
  background-color: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.mep-ux .language-switch {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.mep-ux .language-switch button[aria-pressed="true"] {
  color: var(--mep-ink);
  background: linear-gradient(135deg, #fff, #dff6f2);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Home hero: CSS-only technical drawing texture, without new layout boxes. */
.page-home #home-slider::before {
  position: absolute;
  z-index: 12;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image:
    linear-gradient(rgba(127, 225, 236, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 225, 236, 0.13) 1px, transparent 1px),
    radial-gradient(circle at 78% 26%, transparent 0 37px, rgba(240, 163, 51, 0.22) 38px 39px, transparent 40px),
    linear-gradient(135deg, transparent 48%, rgba(127, 225, 236, 0.14) 49%, transparent 50%);
  background-size: 52px 52px, 52px 52px, auto, 260px 260px;
  content: "";
  opacity: 0.28;
  pointer-events: none;
}

.page-home .carousel-fade .carousel-inner .item::after {
  background:
    linear-gradient(110deg, rgba(4, 12, 28, 0.9) 0%, rgba(13, 19, 37, 0.68) 48%, rgba(20, 81, 87, 0.56) 100%);
}

.page-home #home-slider .caption {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.48);
}

.page-home #home-slider .caption img {
  filter: drop-shadow(0 7px 20px rgba(0, 0, 0, 0.38));
}

.page-home .caption .btn-start {
  border-color: rgba(255, 255, 255, 0.55);
  background: linear-gradient(135deg, rgba(13, 91, 75, 0.96), rgba(23, 109, 123, 0.96));
  box-shadow: 0 9px 26px rgba(0, 0, 0, 0.25);
}

.page-home .caption .btn-start:hover,
.page-home .caption .btn-start:focus {
  border-color: rgba(255, 255, 255, 0.85);
  background: linear-gradient(135deg, var(--mep-green), #176d7b);
  box-shadow: 0 12px 30px rgba(4, 12, 28, 0.34);
  transform: translateY(-2px);
}

.page-home #home-slider {
  --mep-hero-shift: 16px;
  --mep-twin-rx: 0deg;
  --mep-twin-ry: 0deg;
}

/*
 * Hero digital twin: three lightweight edge clusters combine mechanical
 * routes, a 3D engineering model and software data flow. The centre remains
 * deliberately clear for the existing logo, message and call to action.
 */
.page-home .mep-digital-twin {
  position: absolute;
  z-index: 13;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  contain: layout paint;
  opacity: 0.82;
  pointer-events: none;
  user-select: none;
  transition: opacity 800ms ease;
}

.page-home .mep-twin-scene {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  perspective: 1100px;
  transform: perspective(1100px) rotateX(var(--mep-twin-rx)) rotateY(var(--mep-twin-ry));
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}

.page-home .mep-twin-cluster {
  position: absolute;
  color: rgba(186, 249, 255, 0.92);
  opacity: 0.64;
  transform-style: preserve-3d;
}

.page-home .mep-twin-mechanical {
  top: 27%;
  left: 3.5%;
  width: 23vw;
  max-width: 300px;
  height: 300px;
}

.page-home .mep-twin-engineering {
  top: 13%;
  right: 3.5%;
  width: 22vw;
  max-width: 300px;
  height: 240px;
}

.page-home .mep-twin-software {
  right: 4%;
  bottom: 12%;
  width: 22vw;
  max-width: 300px;
  height: 210px;
}

.page-home .mep-twin-icon {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(168, 244, 250, 0.72);
  border-radius: 50%;
  background: rgba(11, 42, 61, 0.58);
  box-shadow:
    0 0 0 7px rgba(43, 193, 188, 0.08),
    0 0 28px rgba(68, 225, 226, 0.24);
  font-size: 21px;
}

.page-home .mep-twin-icon::after {
  position: absolute;
  top: -9px;
  right: -9px;
  bottom: -9px;
  left: -9px;
  border: 1px solid rgba(127, 225, 236, 0.28);
  border-radius: inherit;
  content: "";
  opacity: 0.7;
}

.page-home .mep-twin-halo {
  position: absolute;
  width: 118px;
  height: 118px;
  border: 1px dashed rgba(127, 225, 236, 0.38);
  border-radius: 50%;
  box-shadow: inset 0 0 24px rgba(37, 168, 199, 0.08);
}

.page-home .mep-twin-mechanical .mep-twin-icon {
  top: 72px;
  left: 17px;
}

.page-home .mep-twin-mechanical .mep-twin-halo {
  top: 37px;
  left: -18px;
}

.page-home .mep-twin-engineering .mep-twin-icon {
  top: 25px;
  right: 16px;
}

.page-home .mep-twin-engineering .mep-twin-halo {
  top: -10px;
  right: -19px;
}

.page-home .mep-twin-software .mep-twin-icon {
  right: 15px;
  bottom: 38px;
}

.page-home .mep-twin-software .mep-twin-halo {
  right: -20px;
  bottom: 3px;
}

.page-home .mep-twin-route {
  position: absolute;
  border-color: rgba(104, 223, 225, 0.68);
  box-shadow: 0 0 14px rgba(58, 196, 200, 0.1);
}

.page-home .mep-twin-route--one {
  top: 96px;
  left: 55px;
  width: calc(100% - 58px);
  height: 94px;
  border-top: 2px solid;
  border-right: 2px solid;
  border-radius: 0 24px 0 0;
}

.page-home .mep-twin-route--two {
  top: 43px;
  left: 24px;
  width: calc(100% - 82px);
  height: 48px;
  border-bottom: 2px solid;
  border-left: 2px solid;
  border-radius: 0 0 0 20px;
}

.page-home .mep-twin-route::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid rgba(221, 253, 255, 0.88);
  border-radius: 50%;
  background: rgba(37, 168, 199, 0.78);
  box-shadow: 0 0 13px rgba(127, 225, 236, 0.68);
  content: "";
}

.page-home .mep-twin-route--one::after {
  top: -5px;
  right: -5px;
}

.page-home .mep-twin-route--two::after {
  bottom: -5px;
  left: -5px;
}

.page-home .mep-twin-packet {
  position: absolute;
  z-index: 2;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7fe1ec;
  box-shadow:
    0 0 0 4px rgba(127, 225, 236, 0.12),
    0 0 15px rgba(127, 225, 236, 0.9);
  opacity: 0;
}

.page-home .mep-twin-packet--one {
  top: 93px;
  left: 56px;
}

.page-home .mep-twin-packet--two {
  top: 43px;
  left: 20px;
}

.page-home .mep-twin-cube {
  position: absolute;
  top: 101px;
  right: 78px;
  width: 68px;
  height: 68px;
  transform: rotateX(-24deg) rotateY(36deg);
  transform-style: preserve-3d;
}

.page-home .mep-twin-face {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 1px solid rgba(155, 239, 244, 0.66);
  background-image:
    linear-gradient(rgba(127, 225, 236, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 225, 236, 0.11) 1px, transparent 1px);
  background-color: rgba(20, 81, 87, 0.1);
  background-size: 17px 17px;
  box-shadow: inset 0 0 24px rgba(37, 168, 199, 0.12);
}

.page-home .mep-twin-face--front {
  transform: translateZ(34px);
}

.page-home .mep-twin-face--right {
  transform: rotateY(90deg) translateZ(34px);
}

.page-home .mep-twin-face--top {
  transform: rotateX(90deg) translateZ(34px);
}

.page-home .mep-twin-terminal {
  position: absolute;
  top: 29px;
  left: 4px;
  width: 62%;
  max-width: 174px;
  height: 104px;
  border: 1px solid rgba(143, 234, 239, 0.56);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(127, 225, 236, 0.14) 0 18px, transparent 18px),
    rgba(8, 31, 48, 0.32);
  box-shadow:
    inset 0 0 25px rgba(37, 168, 199, 0.08),
    0 12px 30px rgba(0, 0, 0, 0.08);
  transform: perspective(600px) rotateY(-16deg) rotateX(4deg);
  transform-origin: 100% 50%;
}

.page-home .mep-twin-terminal::before {
  position: absolute;
  top: 7px;
  left: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f0a333;
  box-shadow: 8px 0 rgba(127, 225, 236, 0.7), 16px 0 rgba(43, 193, 188, 0.7);
  content: "";
}

.page-home .mep-twin-code-line {
  position: absolute;
  left: 16px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(127, 225, 236, 0.82), rgba(43, 193, 188, 0.2));
}

.page-home .mep-twin-code-line::after {
  position: absolute;
  top: -2px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7fe1ec;
  box-shadow: 0 0 10px rgba(127, 225, 236, 0.8);
  content: "";
  opacity: 0;
}

.page-home .mep-twin-code-line--one {
  top: 39px;
  width: 72%;
}

.page-home .mep-twin-code-line--two {
  top: 58px;
  width: 52%;
}

.page-home .mep-twin-code-line--three {
  top: 77px;
  width: 64%;
}

.page-home.mep-hero-motion .mep-digital-twin {
  opacity: 0;
}

.page-home.mep-hero-motion.mep-hero-ready .mep-digital-twin {
  opacity: 0.82;
}

.page-home.mep-hero-motion.mep-hero-ready .mep-twin-halo {
  animation: mepTwinHalo 14s linear infinite;
}

.page-home.mep-hero-motion.mep-hero-ready .mep-twin-icon::after {
  animation: mepTwinPulse 3.6s ease-out infinite;
}

.page-home.mep-hero-motion.mep-hero-ready .mep-twin-packet--one {
  animation: mepTwinPacketX 4.8s linear infinite 700ms;
}

.page-home.mep-hero-motion.mep-hero-ready .mep-twin-packet--two {
  animation: mepTwinPacketY 4.2s linear infinite 2s;
}

.page-home.mep-hero-motion.mep-hero-ready .mep-twin-cube {
  animation: mepTwinCubeFloat 7.5s ease-in-out infinite;
}

.page-home.mep-hero-motion.mep-hero-ready .mep-twin-terminal {
  animation: mepTwinTerminalFloat 6.8s ease-in-out infinite 900ms;
}

.page-home.mep-hero-motion.mep-hero-ready .mep-twin-code-line::after {
  animation: mepTwinData 3.4s ease-in-out infinite;
}

.page-home.mep-hero-motion.mep-hero-ready .mep-twin-code-line--two::after {
  animation-delay: 1.1s;
}

.page-home.mep-hero-motion.mep-hero-ready .mep-twin-code-line--three::after {
  animation-delay: 2.2s;
}

@keyframes mepTwinHalo {
  to {
    transform: rotate(360deg);
  }
}

@keyframes mepTwinPulse {
  0% {
    opacity: 0.66;
    transform: scale(0.78);
  }

  70%,
  100% {
    opacity: 0;
    transform: scale(1.32);
  }
}

@keyframes mepTwinPacketX {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }

  12%,
  82% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(clamp(115px, 16vw, 224px), 0, 0);
  }
}

@keyframes mepTwinPacketY {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }

  15%,
  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(0, 48px, 0);
  }
}

@keyframes mepTwinCubeFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotateX(-24deg) rotateY(36deg);
  }

  50% {
    transform: translate3d(0, -9px, 14px) rotateX(-20deg) rotateY(44deg);
  }
}

@keyframes mepTwinTerminalFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) perspective(600px) rotateY(-16deg) rotateX(4deg);
  }

  50% {
    transform: translate3d(0, -7px, 10px) perspective(600px) rotateY(-11deg) rotateX(2deg);
  }
}

@keyframes mepTwinData {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0);
  }

  18%,
  78% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(70px, 0, 0);
  }
}

/*
 * Keep Bootstrap's carousel state model, but scope the visual transition to a
 * true cross-fade on the homepage. The outgoing slide remains fully painted
 * underneath the incoming slide, so no white frame can appear between images.
 */
.page-home #home-slider.carousel-fade .carousel-inner > .item {
  left: 0 !important;
  -webkit-transform: none !important;
  transform: none !important;
  transition: opacity 360ms ease !important;
}

.page-home #home-slider.carousel-fade .carousel-inner > .item.active {
  display: block;
  opacity: 1;
  z-index: 1;
}

.page-home #home-slider.carousel-fade .carousel-inner > .item.mep-slide-target {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0 !important;
  display: block;
  width: 100%;
  opacity: 0;
  pointer-events: none;
}

.page-home #home-slider.carousel-fade .carousel-inner > .item.mep-slide-target.is-visible {
  opacity: 1;
}

.page-home.mep-hero-motion #home-slider::before {
  opacity: 0;
  transform: scale(1.018);
}

.page-home.mep-hero-motion #home-slider .mep-hero-logo,
.page-home.mep-hero-motion #home-slider .mep-hero-title,
.page-home.mep-hero-motion #home-slider .mep-hero-message,
.page-home.mep-hero-motion #home-slider .mep-hero-cta {
  opacity: 0;
  transform: translate3d(0, var(--mep-hero-shift), 0);
  animation: none;
}

.page-home.mep-hero-motion #home-slider .mep-hero-logo {
  transform: translate3d(0, var(--mep-hero-shift), 0) scale(0.96);
}

.page-home.mep-hero-motion.mep-hero-ready #home-slider .mep-hero-logo,
.page-home.mep-hero-motion.mep-hero-ready #home-slider .mep-hero-title,
.page-home.mep-hero-motion.mep-hero-ready #home-slider .mep-hero-message,
.page-home.mep-hero-motion.mep-hero-ready #home-slider .mep-hero-cta {
  opacity: 1;
  transform: none;
}

.page-home.mep-hero-motion.mep-hero-ready #home-slider::before {
  animation: mepHeroGridIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-home.mep-hero-motion.mep-hero-ready #home-slider .item.active .mep-hero-logo,
.page-home.mep-hero-motion.mep-hero-ready #home-slider .item.mep-slide-target.is-visible .mep-hero-logo {
  animation: mepHeroLogoIn 700ms cubic-bezier(0.22, 1, 0.36, 1) 100ms backwards;
}

.page-home.mep-hero-motion.mep-hero-ready #home-slider .item.active .mep-hero-title,
.page-home.mep-hero-motion.mep-hero-ready #home-slider .item.mep-slide-target.is-visible .mep-hero-title {
  animation: mepHeroContentIn 560ms cubic-bezier(0.22, 1, 0.36, 1) 220ms backwards;
}

.page-home.mep-hero-motion.mep-hero-ready #home-slider .item.active .mep-hero-message,
.page-home.mep-hero-motion.mep-hero-ready #home-slider .item.mep-slide-target.is-visible .mep-hero-message {
  animation: mepHeroContentIn 620ms cubic-bezier(0.22, 1, 0.36, 1) 340ms backwards;
}

.page-home.mep-hero-motion.mep-hero-ready #home-slider .item.active .mep-hero-cta,
.page-home.mep-hero-motion.mep-hero-ready #home-slider .item.mep-slide-target.is-visible .mep-hero-cta {
  animation: mepHeroContentIn 540ms cubic-bezier(0.22, 1, 0.36, 1) 480ms backwards;
}

@keyframes mepHeroGridIn {
  from {
    opacity: 0;
    transform: scale(1.018);
  }

  to {
    opacity: 0.28;
    transform: scale(1);
  }
}

@keyframes mepHeroLogoIn {
  from {
    opacity: 0;
    transform: translate3d(0, var(--mep-hero-shift), 0) scale(0.96);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes mepHeroContentIn {
  from {
    opacity: 0;
    transform: translate3d(0, var(--mep-hero-shift), 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.page-home .left-control,
.page-home .right-control {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(13, 19, 37, 0.36);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.page-home .left-control:focus {
  left: 30px;
}

.page-home .mep-service-list {
  margin: 4px 0 0;
  padding-left: 20px;
}

@media (max-height: 560px) and (orientation: landscape) {
  .page-home #home-slider .caption {
    top: 50%;
    margin-top: 0;
    padding: 54px 44px 16px;
    transform: translateY(-50%);
  }

  .page-home #home-slider .caption img {
    width: clamp(88px, 25vh, 140px);
    height: auto;
  }

  .page-home #home-slider .caption br {
    display: none;
  }

  .page-home #tohash {
    display: none;
  }

  .page-home #home-slider .caption p {
    margin-bottom: 7px;
  }

  .page-home .caption .btn-start {
    margin-top: 9px;
    padding: 9px 24px;
  }
}

.page-home .right-control:focus {
  right: 30px;
}

/* Headings gain hierarchy through paint only; box metrics remain untouched. */
.mep-ux .heading h1,
.mep-ux .heading h2 {
  color: var(--mep-ink);
  text-decoration-color: rgba(37, 168, 199, 0.55);
  text-decoration-line: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 9px;
}

.page-tools .mep-page-title,
.page-calculator .mep-page-title {
  font-size: 30px;
}

.page-calculator .mep-subheading {
  font-size: 24px;
}

/* Calculation pages use clean typographic hierarchy instead of decorative underlines. */
.page-tools .mep-page-title,
.page-tools #rig .rig-title,
.page-calculator .mep-page-title,
.page-calculator .mep-subheading,
.page-calculator .hesaplar u,
.page-calculator .hesaplar > p a,
.page-calculator .hesaplar input[readonly] {
  text-decoration: none !important;
}

.mep-ux .parallax .heading h1,
.mep-ux .parallax .heading h2,
.mep-ux #contact-us .heading h1,
.mep-ux #contact-us .heading h2,
.mep-ux #contact-uss .heading h1,
.mep-ux #contact-uss .heading h2 {
  color: #fff;
  text-decoration-color: rgba(127, 225, 236, 0.72);
}

/* Existing six-column service layout is retained; only surface treatment changes. */
.page-home #services {
  position: relative;
  isolation: isolate;
  background-color: #fbfcfd;
}

.page-home #services::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image:
    linear-gradient(rgba(20, 81, 87, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 81, 87, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  opacity: 0.46;
  pointer-events: none;
}

.page-home .service-icon {
  background: linear-gradient(145deg, var(--mep-teal), var(--mep-green));
  box-shadow:
    0 12px 28px rgba(20, 81, 87, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.page-home .our-services .col-sm-4:hover .service-icon {
  background: linear-gradient(145deg, var(--mep-ink-soft), var(--mep-teal));
  box-shadow: 0 15px 32px rgba(13, 19, 37, 0.24);
}

.page-home #about-us {
  position: relative;
}

.page-home #about-us::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    linear-gradient(110deg, rgba(13, 19, 37, 0.86), rgba(20, 81, 87, 0.66)),
    repeating-linear-gradient(90deg, transparent 0 95px, rgba(127, 225, 236, 0.08) 96px);
  content: "";
  pointer-events: none;
}

.page-home #about-us > .container {
  position: relative;
}

.page-home .progress {
  overflow: hidden;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.82);
}

.page-home .progress-bar {
  background-image: linear-gradient(90deg, var(--mep-green), var(--mep-cyan));
}

.page-home #portfolio .overlay {
  background:
    linear-gradient(145deg, rgba(13, 19, 37, 0.94), rgba(20, 81, 87, 0.84));
}

.page-home #portfolio .folio-item:hover .folio-image {
  -webkit-transform: scale(1.055);
  transform: scale(1.055);
}

.page-home #portfolio .folio-item:focus-within .folio-image {
  -webkit-transform: scale(1.055);
  transform: scale(1.055);
}

.page-home #portfolio .folio-item:focus-within .overlay {
  bottom: 0;
  height: 100%;
  opacity: 0.84;
}

.page-home #portfolio .folio-item:focus-within .overlay .folio-info {
  margin-top: 0;
  margin-bottom: 0;
  opacity: 1;
}

.page-home #portfolio .folio-item:focus-within .folio-overview .folio-expand {
  margin-top: 0;
  margin-left: 0;
}

.page-home #portfolio .folio-item:focus {
  outline: 3px solid var(--mep-focus);
  outline-offset: -3px;
}

.page-home .folio-overview a {
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.26);
}

.page-home #features i {
  color: #8ee8e8;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.2));
}

/* Existing contact sections and footer keep their geometry. */
.mep-ux #contact-us,
.mep-ux #contact-uss {
  position: relative;
}

.mep-ux #footer {
  background:
    linear-gradient(135deg, var(--mep-ink) 0%, #14243c 58%, var(--mep-teal) 100%) !important;
}

.mep-ux #footer .social-icons ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  line-height: 1;
}

.mep-ux #footer .social-icons ul {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  vertical-align: top;
}

.mep-ux #footer .social-icons ul li {
  display: flex;
  float: none;
  margin: 0;
}

.mep-ux #footer .social-icons ul li a i {
  display: block;
  margin: 0;
  line-height: 1;
}

.mep-ux .float {
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: linear-gradient(145deg, #128c7e, #075e54) !important;
  box-shadow: 0 12px 32px rgba(7, 94, 84, 0.34) !important;
}

.mep-ux .float::before {
  position: absolute;
  z-index: -1;
  top: -7px;
  right: -7px;
  bottom: -7px;
  left: -7px;
  border: 1px solid rgba(53, 221, 115, 0.48);
  border-radius: 50%;
  content: "";
  animation: mep-whatsapp-pulse 2.4s ease-out infinite;
}

@keyframes mep-whatsapp-pulse {
  0% { opacity: 0.75; transform: scale(0.86); }
  75%, 100% { opacity: 0; transform: scale(1.18); }
}

/* Inner pages: paint existing wrappers, never replace their layout model. */
.page-inner {
  background-color: var(--mep-canvas);
}

.page-inner > .heading {
  background:
    radial-gradient(circle at 8% 0, rgba(37, 168, 199, 0.09), transparent 20rem),
    linear-gradient(180deg, #fff, #f5f8f9);
}

.page-about .program-policy-card,
.page-privacy #privacy-policy .policy-card {
  border-color: rgba(20, 81, 87, 0.16);
}

.page-about #hakkimizda .about-logo img {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Mobile products hub: flat, readable surfaces with clear policy routes. */
.page-mobile {
  background: #f5f8f9;
}

.page-mobile .mobile-hub-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(127, 225, 236, 0.2), transparent 18rem),
    linear-gradient(125deg, var(--mep-ink) 0%, #12384a 56%, var(--mep-teal) 100%);
}

.page-mobile .mobile-hub-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(127, 225, 236, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 225, 236, 0.08) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  opacity: 0.58;
  pointer-events: none;
}

.page-mobile .mobile-hub-hero .container {
  position: relative;
}

.page-mobile .mobile-eyebrow,
.page-about .mobile-teaser .mobile-eyebrow {
  margin: 0 0 14px;
  color: #84e0df;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.page-mobile .mobile-hub-hero h1 {
  max-width: 820px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
}

.page-mobile .mobile-hub-lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.75;
}

.page-mobile .mobile-hub-actions,
.page-mobile .mobile-app-links,
.page-mobile .mobile-support-actions,
.page-about .mobile-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-mobile .mobile-cta,
.page-about .mobile-teaser-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.page-mobile .mobile-cta-primary,
.page-about .mobile-teaser-link {
  border-color: #7fe1e6;
  color: var(--mep-ink);
  background: #8ee8e8;
}

.page-mobile .mobile-cta:hover,
.page-mobile .mobile-cta:focus,
.page-about .mobile-teaser-link:hover,
.page-about .mobile-teaser-link:focus {
  border-color: #fff;
  color: var(--mep-ink);
  background: #fff;
  text-decoration: none;
}

.page-mobile .mobile-hub-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.page-mobile .mobile-hub-fact {
  min-width: 180px;
  flex: 1 1 0;
  padding: 22px 26px 0 0;
}

.page-mobile .mobile-hub-fact strong,
.page-mobile .mobile-hub-fact span {
  display: block;
}

.page-mobile .mobile-hub-fact strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 24px;
}

.page-mobile .mobile-hub-fact span {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.page-mobile .mobile-apps-section,
.page-mobile .mobile-privacy-section {
  padding: 78px 0;
}

.page-mobile .mobile-section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.page-mobile .mobile-section-heading h2,
.page-mobile .mobile-support-copy h2,
.page-about .mobile-teaser h2 {
  margin: 0 0 12px;
  color: var(--mep-ink);
  font-size: 32px;
  line-height: 1.2;
}

.page-mobile .mobile-section-heading p,
.page-mobile .mobile-support-copy p,
.page-about .mobile-teaser p {
  margin-bottom: 0;
  color: #61707a;
  font-size: 16px;
  line-height: 1.75;
}

.page-mobile .mobile-app-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid rgba(20, 81, 87, 0.14);
}

.page-mobile .mobile-app-item:first-child {
  border-top: 1px solid rgba(20, 81, 87, 0.14);
}

.page-mobile .mobile-app-icon {
  display: inline-flex;
  width: 66px;
  height: 66px;
  flex: 0 0 66px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--mep-teal), var(--mep-cyan));
  box-shadow: 0 12px 26px rgba(20, 81, 87, 0.16);
  font-size: 27px;
}

.page-mobile .mobile-app-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.page-mobile .mobile-app-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.page-mobile .mobile-app-title-row h3 {
  margin: 0;
  color: var(--mep-ink);
  font-size: 24px;
  line-height: 1.3;
}

.page-mobile .mobile-platform {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--mep-teal);
  background: rgba(20, 130, 122, 0.1);
  font-size: 12px;
  font-weight: 700;
}

.page-mobile .mobile-app-summary {
  max-width: 920px;
  margin-bottom: 13px;
  color: #586872;
  font-size: 15px;
  line-height: 1.72;
}

.page-mobile .mobile-app-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.page-mobile .mobile-app-features li {
  position: relative;
  flex: 0 1 280px;
  margin: 0;
  padding-left: 18px;
  color: #45545f;
  line-height: 1.55;
}

.page-mobile .mobile-app-features li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mep-cyan);
  content: "";
}

.page-mobile .mobile-app-note {
  margin: 0 0 17px;
  color: #6b757d;
  font-size: 13px;
  line-height: 1.65;
}

.page-mobile .mobile-text-link,
.page-mobile .mobile-policy-list a,
.page-privacy .mobile-policy-back a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: #0d6f72;
  font-weight: 700;
  text-decoration: none;
}

.page-mobile .mobile-text-link:hover,
.page-mobile .mobile-text-link:focus,
.page-mobile .mobile-policy-list a:hover,
.page-mobile .mobile-policy-list a:focus,
.page-privacy .mobile-policy-back a:hover,
.page-privacy .mobile-policy-back a:focus {
  color: #094f61;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-mobile .mobile-game-section {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  color: #fff;
  background: linear-gradient(120deg, #0d1325, #173f4d);
}

.page-mobile .mobile-game-section .mobile-section-heading h2,
.page-mobile .mobile-game-section .mobile-app-title-row h3 {
  color: #fff;
}

.page-mobile .mobile-game-section .mobile-section-heading p,
.page-mobile .mobile-game-section .mobile-app-summary,
.page-mobile .mobile-game-section .mobile-app-note,
.page-mobile .mobile-game-section .mobile-app-features li {
  color: rgba(255, 255, 255, 0.78);
}

.page-mobile .mobile-game-section .mobile-app-item {
  padding-bottom: 0;
  border-color: rgba(255, 255, 255, 0.16);
}

.page-mobile .mobile-game-section .mobile-text-link {
  color: #91ebed;
}

.page-mobile .mobile-privacy-section {
  background: #fff;
}

.page-mobile .mobile-policy-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.page-mobile .mobile-policy-list li {
  flex: 1 1 320px;
  margin: 0;
  border-bottom: 1px solid rgba(20, 81, 87, 0.12);
}

.page-mobile .mobile-support {
  display: flex;
  align-items: center;
  gap: 36px;
  justify-content: space-between;
  padding: 54px 0 0;
}

.page-mobile .mobile-support-copy {
  max-width: 720px;
}

.page-mobile .mobile-support-actions .mobile-cta {
  border-color: var(--mep-teal);
  color: var(--mep-teal);
}

.page-mobile .mobile-support-actions .mobile-cta-primary {
  color: #fff;
  background: var(--mep-teal);
}

.page-about .mobile-teaser {
  padding: 64px 0;
  color: #fff;
  background: linear-gradient(120deg, var(--mep-ink), #164455);
}

.page-about .mobile-teaser .mobile-eyebrow {
  color: #8ee8e8;
}

.page-about .mobile-teaser h2,
.page-about .mobile-teaser p {
  color: #fff;
}

.page-about .mobile-teaser-copy {
  max-width: 790px;
  margin-bottom: 24px;
}

.page-privacy .mobile-policy-back {
  margin: -12px 0 20px;
}

.page-privacy .mobile-policy-back a {
  font-size: 14px;
}

.page-about .program-policy-card,
.page-privacy #privacy-policy .policy-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(244, 249, 249, 0.98));
}

.page-about .program-policy-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(var(--mep-teal), var(--mep-cyan));
  content: "";
}

.page-about .program-policy-card:hover {
  border-color: rgba(37, 168, 199, 0.42);
  box-shadow: 0 18px 42px rgba(13, 19, 37, 0.14);
}

.page-privacy #privacy-policy .meta-box,
.page-privacy #privacy-policy .notice-box {
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(20, 81, 87, 0.06);
}

.page-privacy #privacy-policy .policy-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--mep-teal), var(--mep-cyan), var(--mep-accent));
  content: "";
}

/* Calculation hub: dimensions from imgslidercss.css stay authoritative. */
.page-tools #rig .rig-cell {
  border: 1px solid rgba(20, 81, 87, 0.11);
  border-radius: 14px;
  background:
    linear-gradient(145deg, #fff 0%, #f3f8f8 100%);
  box-shadow: var(--mep-shadow-sm);
}

.page-tools #rig .rig-cell h4 {
  color: var(--mep-ink);
  font-weight: 700;
}

.page-tools #rig .rig-cell .rig-title {
  margin: 10px 0;
  font-size: 18px;
}

.page-tools #rig .rig-cell > img {
  border-color: rgba(20, 81, 87, 0.12) !important;
  border-radius: 9px;
  filter: saturate(0.88) contrast(1.03);
}

.page-tools #rig .rig-overlay {
  background:
    linear-gradient(145deg, rgba(13, 19, 37, 0.06), rgba(37, 168, 199, 0.25));
  pointer-events: none;
}

/* Reference grid: its existing grid/flex definitions are untouched. */
.page-references #referanslarimiz.container {
  width: 100%;
}

.page-references #referanslarimiz > .container {
  width: 100%;
  max-width: 1140px;
}

.page-references .reference-subtitle {
  font-size: 24px;
}

.page-references .logo-item {
  border-color: rgba(20, 81, 87, 0.13);
  border-radius: 12px;
  background:
    linear-gradient(145deg, #fff 0%, #f5f9f9 100%);
  box-shadow: var(--mep-shadow-sm);
}

.page-references .logo-item img {
  width: auto;
  height: auto;
  filter: grayscale(0.12) saturate(0.9);
  transition: filter 180ms ease, transform 180ms ease;
}

.page-references .logo-item:hover {
  border-color: rgba(37, 168, 199, 0.42);
  box-shadow: 0 13px 30px rgba(13, 19, 37, 0.14);
}

.page-references .logo-item:hover img {
  filter: grayscale(0) saturate(1.06);
}

/* Calculators: field names, sizes, values and formula scripts remain intact. */
.page-calculator .hesaplar > div {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-calculator .hesaplar .bilgiDiv,
.page-calculator .hesaplar .bilgiSonuc,
.page-calculator .hesaplar #log {
  border-color: rgba(20, 81, 87, 0.2);
  border-radius: 11px;
  box-shadow: 0 5px 18px rgba(13, 19, 37, 0.075);
}

.page-calculator .hesaplar .bilgiDiv {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.page-calculator .hesaplar .bilgiSonuc:not(#centerbox1) {
  background-image:
    linear-gradient(135deg, rgba(45, 115, 101, 0.075), rgba(37, 168, 199, 0.045));
}

.page-calculator .hesaplar input[type="text"],
.page-calculator .hesaplar input[type="number"],
.page-calculator .hesaplar select,
.page-calculator .hesaplar textarea {
  max-width: 100%;
  border-color: #82929e !important;
  border-radius: 8px !important;
  background-color: #fff;
  color: var(--mep-ink);
  box-shadow: inset 0 1px 2px rgba(13, 19, 37, 0.055);
}

.page-calculator .hesaplar input[readonly],
.page-calculator .hesaplar textarea[readonly] {
  border-color: transparent !important;
  background-color: transparent;
  box-shadow: none;
}

.page-calculator .hesaplar input::placeholder,
.page-calculator .hesaplar textarea::placeholder {
  color: #5d6873;
  opacity: 1;
}

.page-calculator .hesaplar input[type="button"]:not(.js-copy),
.page-calculator .hesaplar button:not(.language-switch button) {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--mep-teal), var(--mep-green)) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(20, 81, 87, 0.22);
}

.page-calculator .hesaplar input[type="button"]:not(.js-copy):hover,
.page-calculator .hesaplar input[type="button"]:not(.js-copy):focus,
.page-calculator .hesaplar button:not(.language-switch button):hover,
.page-calculator .hesaplar button:not(.language-switch button):focus {
  background: linear-gradient(135deg, var(--mep-green), #176d7b) !important;
  box-shadow: 0 10px 24px rgba(20, 81, 87, 0.28);
  transform: translateY(-1px);
}

.page-calculator .hesaplar .js-copy {
  border-color: transparent !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, var(--mep-ink-soft), var(--mep-teal)) !important;
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(13, 19, 37, 0.18);
}

.page-calculator .hesaplar input[type="radio"],
.page-calculator .hesaplar input[type="checkbox"] {
  accent-color: var(--mep-teal);
}

.page-calculator .tg {
  overflow: hidden;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(13, 19, 37, 0.065);
}

.page-calculator .tg th {
  color: var(--mep-ink);
  background: rgba(20, 81, 87, 0.075);
}

.page-calculator .hesaplar .is-result-updated {
  animation: mep-result-highlight 720ms ease-out;
}

@keyframes mep-result-highlight {
  0% { box-shadow: 0 0 0 0 rgba(37, 168, 199, 0.42); }
  100% { box-shadow: 0 0 0 11px rgba(37, 168, 199, 0); }
}

/* Non-flow utility controls added by ux-enhancements.js. */
.mep-skip-link {
  position: fixed;
  z-index: 1000000;
  top: 10px;
  left: 10px;
  padding: 10px 15px;
  border-radius: 8px;
  color: #fff !important;
  background: var(--mep-ink);
  box-shadow: var(--mep-shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-150%);
}

.mep-skip-link:focus {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mep-scroll-progress {
  position: fixed;
  z-index: 999999;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--mep-cyan), var(--mep-green), var(--mep-accent));
  box-shadow: 0 1px 6px rgba(37, 168, 199, 0.35);
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.mep-back-to-top {
  position: fixed;
  z-index: 98;
  right: 28px;
  bottom: 112px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--mep-ink-soft), var(--mep-teal));
  box-shadow: 0 10px 26px rgba(13, 19, 37, 0.24);
  font-size: 20px;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(10px);
}

.mep-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
}

.mep-toast {
  position: fixed;
  z-index: 1000001;
  bottom: 28px;
  left: 50%;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(13, 19, 37, 0.94);
  box-shadow: var(--mep-shadow-md);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mep-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mep-sr-status {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (hover: hover) {
  .page-tools #rig .rig-cell:hover,
  .page-references .logo-item:hover {
    transform: translateY(-3px);
  }
}

@media (hover: none) {
  .page-home .left-control {
    left: 30px;
  }

  .page-home .right-control {
    right: 30px;
  }

  .page-home #portfolio .folio-item .overlay {
    bottom: 0;
    height: 100%;
    opacity: 0.68;
  }

  .page-home #portfolio .folio-item .overlay .folio-info {
    margin-top: 0;
    margin-bottom: 0;
    opacity: 1;
  }

  .page-home #portfolio .folio-item .folio-overview .folio-expand {
    margin-top: 0;
    margin-left: 0;
  }

  .page-tools #rig .rig-overlay {
    display: none;
  }
}

@media (min-width: 1200px) {
  .mep-ux .navbar-right > li > a {
    padding-right: 10px;
    padding-left: 10px;
  }

  .mep-ux .navbar-right > li > a::after {
    right: 10px;
    left: 10px;
  }

  .mep-ux .navbar-nav > li.language-menu {
    padding-left: 8px;
  }
}

@media (max-width: 767px) {
  .page-mobile .mobile-hub-hero {
    padding: 64px 0 52px;
  }

  .page-mobile .mobile-hub-hero h1 {
    font-size: 38px;
  }

  .page-mobile .mobile-hub-lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .page-mobile .mobile-hub-actions,
  .page-mobile .mobile-support-actions,
  .page-about .mobile-teaser-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .page-mobile .mobile-cta,
  .page-about .mobile-teaser-link {
    width: 100%;
  }

  .page-mobile .mobile-hub-facts {
    margin-top: 38px;
  }

  .page-mobile .mobile-hub-fact {
    min-width: 50%;
    padding-top: 18px;
  }

  .page-mobile .mobile-apps-section,
  .page-mobile .mobile-privacy-section,
  .page-mobile .mobile-game-section {
    padding: 54px 0;
  }

  .page-mobile .mobile-section-heading h2,
  .page-mobile .mobile-support-copy h2,
  .page-about .mobile-teaser h2 {
    font-size: 27px;
  }

  .page-mobile .mobile-app-item {
    flex-direction: column;
    gap: 18px;
    padding: 28px 0;
  }

  .page-mobile .mobile-app-icon {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
    font-size: 23px;
  }

  .page-mobile .mobile-app-title-row h3 {
    width: 100%;
    font-size: 21px;
  }

  .page-mobile .mobile-app-features {
    display: block;
  }

  .page-mobile .mobile-app-features li {
    margin-bottom: 8px;
  }

  .page-mobile .mobile-support {
    align-items: stretch;
    flex-direction: column;
    padding-top: 42px;
  }

  .page-about .mobile-teaser {
    padding: 50px 0;
  }

  .page-privacy .mobile-policy-back {
    margin-top: 0;
  }

  .page-home #home-slider {
    --mep-hero-shift: 10px;
  }

  .page-home .left-control {
    left: 16px;
  }

  .page-home .right-control {
    right: 16px;
  }

  .page-tools .mep-page-title,
  .page-calculator .mep-page-title {
    font-size: 26px;
  }

  .mep-ux .navbar-right > li > a::after {
    right: auto;
    bottom: 4px;
    left: 15px;
    width: 42px;
  }

  .mep-back-to-top {
    right: 18px;
    bottom: 98px;
  }

  .page-calculator .tg {
    width: 100% !important;
    max-width: 100%;
    table-layout: auto !important;
  }

  .page-calculator .tg col {
    width: auto !important;
  }

  .page-about #hakkimizda .about-content p,
  .page-contact section#hakkimizda.container p,
  .page-contact section#hakkimizda.container li,
  .page-privacy #privacy-policy p,
  .page-privacy #privacy-policy li {
    text-align: left;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
}

@media (max-width: 768px) {
  .page-privacy #privacy-policy > .container {
    width: 100%;
  }

  .mep-ux .language-switch {
    color: #fff;
    background: rgba(13, 19, 37, 0.72);
    border-color: rgba(255, 255, 255, 0.42);
  }

  .mep-ux .language-switch button {
    color: #fff;
  }

  .mep-ux .language-switch button[aria-pressed="true"] {
    color: #222;
  }
}

@media (max-width: 991px) {
  .mep-ux .parallax {
    background-attachment: scroll;
  }

  .page-home .mep-digital-twin,
  .page-home.mep-hero-motion.mep-hero-ready .mep-digital-twin {
    opacity: 0.62;
  }

  .page-home .mep-twin-cluster {
    opacity: 0.48;
  }

  .page-home .mep-twin-mechanical {
    top: 34%;
    left: -26px;
    width: 220px;
    height: 210px;
  }

  .page-home .mep-twin-engineering {
    top: 14%;
    right: -24px;
    width: 210px;
    height: 190px;
  }

  .page-home .mep-twin-software {
    right: -20px;
    bottom: 13%;
    width: 210px;
    height: 170px;
  }

  .page-home .mep-twin-route--two,
  .page-home .mep-twin-packet--two {
    display: none;
  }

  .page-home .mep-twin-terminal {
    width: 126px;
    height: 88px;
  }

  .page-home .mep-twin-code-line--three {
    display: none;
  }

  /* Keep the brand and collapsed menu reachable in the first phone/tablet viewport. */
  .page-home .main-nav {
    position: absolute !important;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
  }

  .page-home .main-nav .navbar-collapse {
    max-height: calc(100vh - 52px);
    overflow-y: auto !important;
    background: rgba(13, 19, 37, 0.98);
  }
}

@media (max-width: 767px) {
  .page-home .mep-digital-twin,
  .page-home.mep-hero-motion.mep-hero-ready .mep-digital-twin {
    opacity: 0.5;
  }

  .page-home .mep-twin-cluster {
    width: 150px;
    height: 130px;
    opacity: 0.42;
  }

  .page-home .mep-twin-mechanical {
    top: 59%;
    left: -56px;
  }

  .page-home .mep-twin-engineering {
    top: 15%;
    right: -47px;
  }

  .page-home .mep-twin-software {
    right: -47px;
    bottom: 17%;
  }

  .page-home .mep-twin-route,
  .page-home .mep-twin-packet,
  .page-home .mep-twin-terminal {
    display: none;
  }

  .page-home .mep-twin-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .page-home .mep-twin-halo {
    width: 88px;
    height: 88px;
  }

  .page-home .mep-twin-mechanical .mep-twin-icon {
    top: 31px;
    left: 61px;
  }

  .page-home .mep-twin-mechanical .mep-twin-halo {
    top: 4px;
    left: 34px;
  }

  .page-home .mep-twin-engineering .mep-twin-icon {
    top: 10px;
    right: 51px;
  }

  .page-home .mep-twin-engineering .mep-twin-halo {
    top: -17px;
    right: 24px;
  }

  .page-home .mep-twin-software .mep-twin-icon {
    right: 51px;
    bottom: 29px;
  }

  .page-home .mep-twin-software .mep-twin-halo {
    right: 24px;
    bottom: 2px;
  }

  .page-home .mep-twin-cube {
    top: 72px;
    right: 53px;
    width: 50px;
    height: 50px;
  }

  .page-home .mep-twin-face--front {
    transform: translateZ(25px);
  }

  .page-home .mep-twin-face--right {
    transform: rotateY(90deg) translateZ(25px);
  }

  .page-home .mep-twin-face--top {
    transform: rotateX(90deg) translateZ(25px);
  }
}

@media (max-height: 560px) and (orientation: landscape) {
  .page-home .mep-digital-twin,
  .page-home.mep-hero-motion.mep-hero-ready .mep-digital-twin {
    opacity: 0.42;
  }

  .page-home .mep-twin-software,
  .page-home .mep-twin-route,
  .page-home .mep-twin-packet {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .mep-ux .navbar-header {
    float: none;
  }

  .mep-ux .navbar-toggle {
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.06);
  }

  .mep-ux .navbar-toggle .icon-bar {
    background-color: #fff;
  }

  .mep-ux .navbar-collapse {
    clear: both;
    width: 100%;
    max-height: calc(100vh - 120px);
    overflow-y: auto !important;
  }

  .mep-ux .navbar-collapse.collapse {
    display: none !important;
  }

  .mep-ux .navbar-collapse.collapse.in {
    display: block !important;
  }

  .mep-ux .navbar-nav,
  .mep-ux .navbar-right {
    float: none !important;
    margin: 0;
  }

  .mep-ux .navbar-nav > li {
    float: none;
  }

  .mep-ux .navbar-nav > li > a {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .mep-ux .navbar-nav > li.language-menu {
    justify-content: flex-start;
    margin-top: 0;
    padding: 8px 15px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .mep-twin-scene {
    --mep-twin-rx: 0deg;
    --mep-twin-ry: 0deg;
    transform: perspective(1100px) rotateX(0deg) rotateY(0deg) !important;
    transition: none !important;
  }

  .page-home .mep-digital-twin,
  .page-home .mep-digital-twin *,
  .page-home .mep-digital-twin *::before,
  .page-home .mep-digital-twin *::after {
    animation: none !important;
    transition: none !important;
  }

  .page-home #home-slider.carousel-fade .carousel-inner > .item,
  .page-home #home-slider.carousel-fade .carousel-inner > .item.mep-slide-target {
    transition: none !important;
  }

  .page-home.mep-hero-motion #home-slider::before {
    opacity: 0.28 !important;
    transform: none !important;
    animation: none !important;
  }

  .page-home.mep-hero-motion #home-slider .mep-hero-logo,
  .page-home.mep-hero-motion #home-slider .mep-hero-title,
  .page-home.mep-hero-motion #home-slider .mep-hero-message,
  .page-home.mep-hero-motion #home-slider .mep-hero-cta {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .mep-ux *,
  .mep-ux *::before,
  .mep-ux *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .mep-ux .wow {
    visibility: visible !important;
  }
}

@media print {
  .mep-scroll-progress,
  .mep-back-to-top,
  .mep-toast,
  .mep-skip-link,
  .mep-consent-banner,
  .mep-privacy-settings,
  .page-home .mep-digital-twin,
  .mep-ux .float {
    display: none !important;
  }
}

/* Mobile product detail pages */
.page-mobile-product {
  color: #172033;
  background: #f4f7f8;
}

.page-mobile-product .app-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 74px;
  color: #fff;
  background:
    linear-gradient(rgba(122, 222, 224, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 222, 224, 0.07) 1px, transparent 1px),
    radial-gradient(circle at 88% 18%, rgba(21, 173, 178, 0.34), transparent 32%),
    linear-gradient(120deg, #0b1c30 0%, #0d3344 58%, #0d575c 100%);
  background-size: 54px 54px, 54px 54px, auto, auto;
}

.page-mobile-product .app-detail-hero::after {
  position: absolute;
  right: -110px;
  bottom: -190px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(122, 222, 224, 0.16);
  border-radius: 50%;
  content: "";
}

.page-mobile-product .app-detail-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 72px;
}

.page-mobile-product .app-detail-copy {
  flex: 1 1 53%;
  min-width: 0;
}

.page-mobile-product .app-breadcrumb,
.page-release-notes .app-breadcrumb,
.page-web-privacy .app-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.035em;
}

.page-mobile-product .app-breadcrumb a,
.page-release-notes .app-breadcrumb a,
.page-web-privacy .app-breadcrumb a {
  color: #84e2e3;
}

.page-mobile-product .mobile-eyebrow,
.page-release-notes .mobile-eyebrow,
.page-web-privacy .mobile-eyebrow {
  margin: 0 0 14px;
  color: #84e2e3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.page-mobile-product .app-detail-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.page-mobile-product .app-detail-lead,
.page-release-notes .app-detail-lead,
.page-web-privacy .app-detail-lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 19px;
  line-height: 1.75;
}

.page-mobile-product .app-detail-platforms,
.page-mobile-product .app-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.page-mobile-product .app-detail-platforms {
  margin-top: 26px;
}

.page-mobile-product .app-detail-actions {
  margin-top: 28px;
}

.page-mobile-product .mobile-cta,
.page-web-privacy .mobile-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 8px;
  color: #fff;
  background: transparent;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.page-mobile-product .mobile-cta-primary,
.page-web-privacy .mobile-cta-primary {
  border-color: #7fe1e6;
  color: #102238;
  background: #8ee8e8;
}

.page-mobile-product .mobile-cta:hover,
.page-mobile-product .mobile-cta:focus,
.page-web-privacy .mobile-cta:hover,
.page-web-privacy .mobile-cta:focus {
  border-color: #fff;
  color: #102238;
  background: #fff;
  text-decoration: none;
}

.page-mobile-product .app-detail-actions .mobile-cta {
  min-height: 48px;
}

.page-mobile-product .mobile-platform {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(132, 226, 227, 0.35);
  border-radius: 999px;
  color: #a7f0f0;
  background: rgba(132, 226, 227, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.page-mobile-product .mobile-text-link,
.page-release-notes .mobile-text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: #0d6f72;
  font-weight: 700;
  text-decoration: none;
}

.page-mobile-product .mobile-text-link:hover,
.page-mobile-product .mobile-text-link:focus,
.page-release-notes .mobile-text-link:hover,
.page-release-notes .mobile-text-link:focus {
  color: #094f61;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-mobile-product .app-store-status {
  flex: 1 0 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.page-mobile-product .app-store-status i {
  margin-right: 6px;
  color: #84e2e3;
}

.page-mobile-product .app-detail-visual {
  position: relative;
  flex: 0 1 470px;
  min-height: 520px;
}

.page-mobile-product .app-detail-icon {
  position: absolute;
  top: 8px;
  right: 4px;
  z-index: 3;
  width: 92px;
  height: 92px;
  border: 5px solid rgba(255, 255, 255, 0.86);
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.page-mobile-product .app-screenshot-stack {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 22px;
  height: 100%;
}

.page-mobile-product .app-screenshot-stack img {
  width: min(47%, 245px);
  height: auto;
  border: 5px solid rgba(255, 255, 255, 0.88);
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.page-mobile-product .app-screenshot-stack img:last-child {
  transform: translateY(38px);
}

.page-mobile-product .app-detail-visual-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  border: 1px solid rgba(132, 226, 227, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(132, 226, 227, 0.17), transparent 64%);
  text-align: center;
}

.page-mobile-product .app-detail-visual-placeholder .app-placeholder-kicker {
  color: #84e2e3;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.page-mobile-product .app-detail-visual-placeholder strong {
  margin: 10px 0 0;
  color: #fff;
  font-size: 92px;
  font-weight: 300;
  line-height: 1;
}

.page-mobile-product .app-detail-visual-placeholder > span:not(.app-placeholder-kicker) {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.page-mobile-product .app-detail-visual-placeholder i {
  margin-top: 28px;
  color: #84e2e3;
  font-size: 42px;
}

.page-mobile-product .app-detail-body {
  background: #f4f7f8;
}

.page-mobile-product .app-detail-section {
  padding: 70px 0;
  border-top: 1px solid #d6e1e4;
}

.page-mobile-product .app-detail-section:first-child {
  border-top: 0;
}

.page-mobile-product .app-detail-section .mobile-eyebrow {
  color: #087f83;
}

.page-mobile-product .app-detail-section h2,
.page-release-notes h1,
.page-web-privacy h1 {
  margin: 0 0 22px;
  color: #172033;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -0.025em;
}

.page-mobile-product .app-detail-section > p:not(.mobile-eyebrow),
.page-mobile-product .app-detail-section dd,
.page-mobile-product .app-detail-section li,
.page-release-notes .release-note-item li,
.page-web-privacy .web-privacy-section {
  color: #56636c;
  font-size: 16px;
  line-height: 1.75;
}

.page-mobile-product .app-detail-feature-list {
  display: flex;
  flex-wrap: wrap;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.page-mobile-product .app-detail-feature-list li {
  position: relative;
  width: 50%;
  margin: 0;
  padding: 12px 20px 12px 46px;
}

.page-mobile-product .app-detail-feature-list li::before {
  position: absolute;
  top: 19px;
  left: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1cabb2;
  content: "";
}

.page-mobile-product .app-detail-workflow ol {
  display: flex;
  gap: 34px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.page-mobile-product .app-detail-workflow li {
  display: flex;
  flex: 1 1 0;
  gap: 18px;
  margin: 0;
  padding-top: 22px;
  border-top: 2px solid #1cabb2;
}

.page-mobile-product .app-detail-workflow li > span {
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: #0c6b70;
  font-weight: 700;
}

.page-mobile-product .app-detail-workflow strong {
  display: block;
  margin-bottom: 8px;
  color: #172033;
  font-size: 18px;
}

.page-mobile-product .app-detail-workflow p {
  margin: 0;
}

.page-mobile-product .app-detail-trust-row {
  display: flex;
  gap: 54px;
  margin: 36px 0 30px;
}

.page-mobile-product .app-detail-trust-row > div {
  flex: 1 1 0;
  padding-left: 24px;
  border-left: 3px solid #1cabb2;
}

.page-mobile-product .app-detail-trust-row h3 {
  margin: 0 0 12px;
  color: #172033;
  font-size: 20px;
}

.page-mobile-product .app-detail-trust-row h3 i {
  margin-right: 8px;
  color: #087f83;
}

.page-mobile-product .app-detail-trust-row p {
  margin: 0;
  color: #56636c;
  line-height: 1.75;
}

.page-mobile-product .app-release-date {
  margin: 24px 0;
  color: #172033 !important;
}

.page-mobile-product .app-detail-faq dl {
  margin: 34px 0 0;
}

.page-mobile-product .app-detail-faq dl > div {
  padding: 24px 0;
  border-bottom: 1px solid #d6e1e4;
}

.page-mobile-product .app-detail-faq dt {
  margin-bottom: 8px;
  color: #172033;
  font-size: 18px;
  font-weight: 700;
}

.page-mobile-product .app-detail-faq dd {
  margin: 0;
}

.page-mobile-product .app-detail-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 34px;
  margin: 26px 0 34px;
  padding: 0;
  list-style: none;
}

.page-mobile-product .app-detail-related li {
  width: calc(50% - 17px);
  margin: 0;
  border-bottom: 1px solid #d6e1e4;
}

.page-mobile-product .app-detail-related li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  color: #0b7479;
  font-weight: 700;
}

.page-mobile [data-hub-links] {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.page-mobile .mobile-release-teaser {
  padding: 76px 0;
  border-top: 1px solid #d6e1e4;
  border-bottom: 1px solid #d6e1e4;
  background: #edf4f5;
}

.page-mobile .mobile-release-teaser .mobile-eyebrow {
  color: #087f83;
}

.page-mobile .mobile-release-teaser h2 {
  margin: 0 0 18px;
  color: #172033;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.page-mobile .mobile-release-teaser p:not(.mobile-eyebrow) {
  max-width: 850px;
  margin-bottom: 24px;
  color: #56636c;
  font-size: 17px;
  line-height: 1.75;
}

.page-privacy .mobile-policy-back {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.page-privacy .mobile-policy-back .mobile-policy-product {
  color: #087f83;
}

/* Release notes and website privacy */
.page-release-notes,
.page-web-privacy {
  color: #172033;
  background: #f4f7f8;
}

.page-release-notes .release-notes-hero,
.page-web-privacy .web-privacy-hero {
  padding: 74px 0 90px;
  background:
    linear-gradient(180deg, #102238 0, #16394a 430px, #f4f7f8 430px);
}

.page-release-notes .app-breadcrumb,
.page-web-privacy .app-breadcrumb {
  margin-bottom: 38px;
}

.page-release-notes h1,
.page-web-privacy h1 {
  max-width: 860px;
  color: #fff;
  font-size: clamp(44px, 6vw, 68px);
}

.page-release-notes .app-detail-lead,
.page-web-privacy .app-detail-lead {
  margin-bottom: 88px;
}

.page-release-notes .release-note-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 56px;
  padding: 22px 0;
  border-top: 1px solid #cad8dc;
  border-bottom: 1px solid #cad8dc;
}

.page-release-notes .release-note-index a {
  color: #087f83;
  font-weight: 700;
}

.page-release-notes .release-note-item {
  padding: 54px 0;
  border-top: 1px solid #cad8dc;
}

.page-release-notes .release-note-item:first-child {
  border-top: 0;
}

.page-release-notes .release-note-date {
  margin: 0 0 10px;
  color: #087f83;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.page-release-notes .release-note-item h2 {
  margin: 0 0 22px;
  color: #172033;
  font-size: 34px;
  font-weight: 400;
}

.page-release-notes .release-note-item ul {
  margin: 0 0 22px;
  padding-left: 22px;
}

.page-release-notes .release-note-item .mobile-app-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.page-web-privacy .web-privacy-section {
  padding: 48px 0;
  border-top: 1px solid #cad8dc;
}

.page-web-privacy .web-privacy-section:first-of-type {
  border-top: 0;
}

.page-web-privacy .web-privacy-section h2 {
  margin: 0 0 20px;
  color: #172033;
  font-size: 32px;
  font-weight: 400;
}

.page-web-privacy .web-privacy-section ul {
  margin: 22px 0;
  padding-left: 24px;
}

.page-web-privacy .web-privacy-section a:not(.mobile-cta) {
  color: #087f83;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Explicit analytics choice */
.mep-consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  min-height: 88px;
  margin: 0 auto;
  padding: 18px 22px;
  border: 1px solid rgba(132, 226, 227, 0.34);
  border-radius: 12px;
  color: #eef8f9;
  background: rgba(10, 29, 46, 0.98);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32);
}

.mep-consent-banner[hidden] {
  display: none !important;
}

.mep-consent-copy {
  flex: 1 1 auto;
}

.mep-consent-copy strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 16px;
}

.mep-consent-copy p {
  margin: 0;
  color: rgba(238, 248, 249, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

.mep-consent-copy a {
  color: #84e2e3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mep-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.mep-consent-actions button,
.mep-privacy-settings {
  min-height: 40px;
  border: 1px solid rgba(132, 226, 227, 0.48);
  border-radius: 7px;
  padding: 9px 16px;
  color: #f4fbfb;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.mep-consent-actions .mep-consent-accept {
  border-color: #84e2e3;
  color: #09243a;
  background: #84e2e3;
}

.mep-consent-actions button:hover,
.mep-consent-actions button:focus,
.mep-privacy-settings:hover,
.mep-privacy-settings:focus {
  border-color: #fff;
  color: #09243a;
  background: #fff;
}

.mep-privacy-settings {
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.78);
}

.mep-privacy-choice-status {
  margin-left: 8px;
  color: #84e2e3;
  font-weight: 600;
}

@media (max-width: 991px) {
  .page-mobile-product .app-detail-hero-inner {
    gap: 32px;
  }

  .page-mobile-product .app-detail-visual {
    flex-basis: 360px;
    min-height: 430px;
  }

  .page-mobile-product .app-detail-icon {
    width: 76px;
    height: 76px;
  }

  .page-mobile-product .app-detail-workflow ol {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .page-mobile-product .app-detail-hero {
    padding: 54px 0 58px;
  }

  .page-mobile-product .app-detail-hero-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .page-mobile-product .app-detail-hero h1,
  .page-release-notes h1,
  .page-web-privacy h1 {
    font-size: 40px;
  }

  .page-mobile-product .app-detail-lead,
  .page-release-notes .app-detail-lead,
  .page-web-privacy .app-detail-lead {
    font-size: 16px;
    line-height: 1.7;
  }

  .page-mobile-product .app-detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .page-mobile-product .app-detail-actions .mobile-cta {
    justify-content: center;
    width: 100%;
  }

  .page-mobile-product .app-detail-visual {
    flex-basis: auto;
    min-height: 390px;
  }

  .page-mobile-product .app-detail-icon {
    top: 0;
    right: 0;
    width: 68px;
    height: 68px;
    border-width: 4px;
    border-radius: 16px;
  }

  .page-mobile-product .app-screenshot-stack {
    align-items: center;
    gap: 12px;
  }

  .page-mobile-product .app-screenshot-stack img {
    border-width: 3px;
    border-radius: 18px;
  }

  .page-mobile-product .app-screenshot-stack img:last-child {
    transform: translateY(24px);
  }

  .page-mobile-product .app-detail-visual-placeholder {
    min-height: 330px;
  }

  .page-mobile-product .app-detail-visual-placeholder strong {
    font-size: 72px;
  }

  .page-mobile-product .app-detail-section {
    padding: 52px 0;
  }

  .page-mobile .mobile-release-teaser {
    padding: 56px 0;
  }

  .page-mobile .mobile-release-teaser h2 {
    font-size: 31px;
  }

  .page-mobile-product .app-detail-section h2,
  .page-release-notes .release-note-item h2,
  .page-web-privacy .web-privacy-section h2 {
    font-size: 29px;
  }

  .page-mobile-product .app-detail-feature-list {
    margin-right: 0;
    margin-left: 0;
  }

  .page-mobile-product .app-detail-feature-list li {
    width: 100%;
    padding-right: 0;
    padding-left: 28px;
  }

  .page-mobile-product .app-detail-feature-list li::before {
    left: 0;
  }

  .page-mobile-product .app-detail-trust-row {
    flex-direction: column;
    gap: 28px;
  }

  .page-mobile-product .app-detail-related ul {
    display: block;
  }

  .page-mobile-product .app-detail-related li {
    width: 100%;
  }

  .page-release-notes .release-notes-hero,
  .page-web-privacy .web-privacy-hero {
    padding: 52px 0 64px;
    background:
      linear-gradient(180deg, #102238 0, #16394a 500px, #f4f7f8 500px);
  }

  .page-release-notes .app-detail-lead,
  .page-web-privacy .app-detail-lead {
    margin-bottom: 70px;
  }

  .page-release-notes .release-note-item {
    padding: 42px 0;
  }

  .mep-consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .mep-consent-actions {
    width: 100%;
  }

  .mep-consent-actions button {
    flex: 1 1 0;
  }
}
